diff options
author | Andrew Dolgov <[email protected]> | 2013-03-28 21:04:29 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-28 21:04:29 +0400 |
commit | 5d40efc9b00fae24ab71d38c9508285a61743a8f (patch) | |
tree | 62fd761a97dda8fbf384c5a488346fddc6966cab /prefs.php | |
parent | 56b61583a2eb657964b136af14389c4e3cfad110 (diff) |
add ability to select CSS files in themes/
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -39,6 +39,14 @@ <?php echo stylesheet_tag("tt-rss.css"); ?> <?php echo stylesheet_tag("prefs.css"); ?> + <?php if ($_SESSION["uid"]) { + $theme = get_pref($link, "USER_CSS_THEME", $_SESSION["uid"], false); + if ($theme) { + echo stylesheet_tag("themes/$theme"); + } + } + ?> + <?php print_user_stylesheet($link) ?> <link rel="shortcut icon" type="image/png" href="images/favicon.png"/> |