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

move Zoom stylesheet to a separate file

update stylesheet/javascript tag helpers to return output instead of
printing it
This commit is contained in:
Andrew Dolgov
2014-01-28 01:39:24 +04:00
parent 8d6fd8be85
commit cdbcb2778a
6 changed files with 22 additions and 89 deletions

View File

@@ -56,15 +56,15 @@
<head>
<title>Tiny Tiny RSS</title>
<?php stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php stylesheet_tag("css/layout.css"); ?>
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php echo stylesheet_tag("css/layout.css"); ?>
<?php if ($_SESSION["uid"]) {
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
if ($theme && file_exists("themes/$theme")) {
stylesheet_tag("themes/$theme");
echo stylesheet_tag("themes/$theme");
} else {
stylesheet_tag("themes/default.css");
echo stylesheet_tag("themes/default.css");
}
}
?>
@@ -91,7 +91,7 @@
"lib/dojo/tt-rss-layer.js",
"errors.php?mode=js") as $jsfile) {
javascript_tag($jsfile);
echo javascript_tag($jsfile);
} ?>