]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
temporarily enable entity loader when importing opml because idk
[tt-rss.git] / prefs.php
index 3a6410bdf79636ca8bbd6848f7df95b0daefee0b..191f452c4e11cad86e0639cbe238ef45447244e6 100644 (file)
--- a/prefs.php
+++ b/prefs.php
 <head>
        <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title>
 
+       <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")) {
+               if ($theme && theme_valid("$theme")) {
                        echo stylesheet_tag("themes/$theme");
                } else {
                        echo stylesheet_tag("themes/default.css");
@@ -90,7 +94,7 @@
 
 <body id="ttrssPrefs" class="claro">
 
-<div id="notify" class="notify" style="display : none"></div>
+<div id="notify" class="notify"></div>
 <div id="cmdline" style="display : none"></div>
 
 <div id="overlay">