X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=2aa4891eff0be65f3dd3d009e48657eebbce2910;hb=f820f205d0ec1c5ce9027e49755fc8642b0c5b42;hp=5a37c0e988a719282e4cda9363cdeb936162ddf8;hpb=96f19f11d741617b997b4533df50ff8a5b17f46b;p=tt-rss.git diff --git a/index.php b/index.php index 5a37c0e9..2aa4891e 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,8 @@ Fatal Error: You forgot to copy config.php-dist to config.php and edit it.\n"; @@ -35,13 +39,15 @@ if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) { header('Location: backend.php?op=digest'); exit; - } else if ($mobile->isMobile()) { - header('Location: mobile/index.php'); + } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) { + header('Location: backend.php?op=mobile'); + exit; + } else if ($mobile->isMobile() && $pluginhost->get_plugin("digest")) { + header('Location: backend.php?op=digest'); exit; } } - login_sequence($link); no_cache_incantation(); @@ -53,7 +59,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - <?php echo PAGE_TITLE ?> + Tiny Tiny RSS @@ -80,7 +86,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); @@ -102,6 +107,7 @@ print get_minified_js(array("tt-rss", "functions", "feedlist", "viewfeed", "FeedTree")); + init_js_translations(); ?> @@ -126,21 +132,10 @@ - +
 
-
@@ -173,8 +168,9 @@ + + -