]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
daemon2: actually handle --quiet option
[tt-rss.git] / index.php
index 570bba6d4738454c3997d160a4fa78269081c8b4..5c5f706d1d57fa2a05cddb917d2a91228247752c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -35,9 +35,6 @@
                if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) {
                        header('Location: backend.php?op=digest');
                        exit;
-               } else if ($mobile->isMobile()) {
-                       header('Location: mobile/index.php');
-                       exit;
                }
        }
 
@@ -53,7 +50,7 @@
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
-       <title><?php echo get_site_title() ?></title>
+       <title>Tiny Tiny RSS</title>
 
        <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
        <?php echo stylesheet_tag("tt-rss.css"); ?>
@@ -80,7 +77,6 @@
                                "lib/dojo/dojo.js",
                                "lib/dijit/dijit.js",
                                "lib/dojo/tt-rss-layer.js",
-                               "localized_js.php",
                                "errors.php?mode=js") as $jsfile) {
 
                echo javascript_tag($jsfile);
                print get_minified_js(array("tt-rss",
                        "functions", "feedlist", "viewfeed", "FeedTree"));
 
+               init_js_translations();
        ?>
        </script>
 
        </div>
 </div>
 
+<div style="display : none" onclick="Element.hide(this)" id="small_article_preview"></div>
+
 <div id="header">
        <img id="net-alert" style="display : none"
                title="<?php echo __("Communication problem with server.") ?>"
                        <option value="published"><?php echo __('Published') ?></option>
                        <option value="unread"><?php echo __('Unread') ?></option>
                        <!-- <option value="noscores"><?php echo __('Ignore Scoring') ?></option> -->
-                       <option value="updated"><?php echo __('Updated') ?></option>
                </select>
 
                <select title="<?php echo __('Sort articles') ?>"