diff options
author | Andrew Dolgov <[email protected]> | 2014-01-28 01:39:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-01-28 01:39:24 +0400 |
commit | cdbcb2778a8aef8ad4677056c42cb3caad18cd0c (patch) | |
tree | 4277aa50d15ef5e300128e5c52ff59c6e6f532b6 /index.php | |
parent | 8d6fd8be85fb00ccc2e63af39ceb11f90f411147 (diff) |
move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of
printing it
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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); } ?> |