summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorArt4 <[email protected]>2015-02-19 23:17:43 +0100
committerArt4 <[email protected]>2015-02-19 23:17:43 +0100
commitd9c042c4c536f1afbf206aeea09b0b127b7b6418 (patch)
tree9d7ef18c6d9d4c8f8f4d1c9a5dbfceeb9fd5acf4 /prefs.php
parentcf42b79120290ee5866136a0c4656e6999f06045 (diff)
parent4ca621a36016de1fbb5447e1c1de0b607ba94a7c (diff)
Merge branch 'master' into patch-1
Conflicts: locale/de_DE/LC_MESSAGES/messages.po
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.php b/prefs.php
index 6a83295f8..191f452c4 100644
--- a/prefs.php
+++ b/prefs.php
@@ -41,7 +41,7 @@
<?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");
@@ -94,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">