]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
Arabic translation
[tt-rss.git] / index.php
index 303eacda0a454de3b6504555edafcbfe10734046..79d4ad58df25010fba89e39331c20c6c8a90e4a3 100644 (file)
--- a/index.php
+++ b/index.php
 <head>
        <title>Tiny Tiny RSS</title>
 
-       <?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
-       <?php stylesheet_tag("css/layout.css"); ?>
+       <script type="text/javascript">
+               var __ttrss_version = "<?php echo VERSION ?>"
+       </script>
+
+       <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
+       <?php echo stylesheet_tag("css/layout.css"); ?>
 
        <?php if ($_SESSION["uid"]) {
                $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
                if ($theme && file_exists("themes/$theme")) {
-                       stylesheet_tag("themes/$theme");
+                       echo stylesheet_tag("themes/$theme");
                } else {
-                       stylesheet_tag("themes/default.css");
+                       echo stylesheet_tag("themes/default.css");
                }
        }
        ?>
 
        <?php
        foreach (array("lib/prototype.js",
-                               "lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls",
+                               "lib/scriptaculous/scriptaculous.js?load=effects,controls",
                                "lib/dojo/dojo.js",
                                "lib/dojo/tt-rss-layer.js",
                                "errors.php?mode=js") as $jsfile) {
 
-               javascript_tag($jsfile);
+               echo javascript_tag($jsfile);
 
        } ?>