]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
move Zoom stylesheet to a separate file
[tt-rss.git] / prefs.php
index fcf21cf2e8a71169f2ae345d708716ee8be7a458..75b8c116d61a800bbf6fe1ce05982a1205fb2feb 100644 (file)
--- a/prefs.php
+++ b/prefs.php
 <head>
        <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>
 
-       <?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
-       <?php stylesheet_tag("css/layout.css"); ?>
+       <?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");
                }
        }
        ?>
                                "lib/dojo/tt-rss-layer.js",
                                "errors.php?mode=js") as $jsfile) {
 
-               javascript_tag($jsfile);
+               echo javascript_tag($jsfile);
 
        } ?>
 
        <script type="text/javascript">
                require({cache:{}});
        <?php
-               require 'lib/jshrink/Minifier.php';
+               require_once 'lib/jshrink/Minifier.php';
 
                foreach (PluginHost::getInstance()->get_plugins() as $n => $p) {
                        if (method_exists($p, "get_prefs_js")) {