1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +00:00

add ability to select CSS files in themes/

This commit is contained in:
Andrew Dolgov
2013-03-28 21:04:29 +04:00
parent 56b61583a2
commit 5d40efc9b0
9 changed files with 47 additions and 10 deletions

View File

@@ -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"/>