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

move stylesheets to css/, reference default tt-rss stylesheets from

default.css to make custom themes easier
This commit is contained in:
Andrew Dolgov
2013-05-19 21:22:01 +04:00
parent a5eca88750
commit 5bbc4bb4b0
18 changed files with 23 additions and 20 deletions

View File

@@ -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");
}
}
?>