summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/prefs.php b/prefs.php
index 0add206e4..4caac2cea 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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"/>