diff options
author | Andrew Dolgov <[email protected]> | 2013-05-19 21:22:01 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-19 21:22:01 +0400 |
commit | 5bbc4bb4b04519036946db961ddea551fdf2eb6c (patch) | |
tree | 78bc9a94551c8899ac2c1479811fedd568e8dd00 /prefs.php | |
parent | a5eca8875078f7fea55e009a47694a2111354ae6 (diff) |
move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,13 +33,13 @@ <title>Tiny Tiny RSS : <?php echo __("Preferences") ?></title> <?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?> - <?php stylesheet_tag("tt-rss.css"); ?> - <?php stylesheet_tag("prefs.css"); ?> <?php if ($_SESSION["uid"]) { $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false); - if ($theme) { + if ($theme && file_exists("themes/$theme")) { stylesheet_tag("themes/$theme"); + } else { + stylesheet_tag("themes/default.css"); } } ?> |