1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-09 17:41:33 +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

@@ -65,6 +65,14 @@
<?php echo stylesheet_tag("tt-rss.css"); ?>
<?php echo stylesheet_tag("cdm.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) ?>
<style type="text/css">