summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-01-28 01:39:24 +0400
committerAndrew Dolgov <[email protected]>2014-01-28 01:39:24 +0400
commitcdbcb2778a8aef8ad4677056c42cb3caad18cd0c (patch)
tree4277aa50d15ef5e300128e5c52ff59c6e6f532b6 /prefs.php
parent8d6fd8be85fb00ccc2e63af39ceb11f90f411147 (diff)
move Zoom stylesheet to a separate file
update stylesheet/javascript tag helpers to return output instead of printing it
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/prefs.php b/prefs.php
index 6c203bd2a..75b8c116d 100644
--- a/prefs.php
+++ b/prefs.php
@@ -32,15 +32,15 @@
<head>
<title>Tiny Tiny RSS : <?php echo __("Preferences") ?></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");
}
}
?>
@@ -57,7 +57,7 @@
"lib/dojo/tt-rss-layer.js",
"errors.php?mode=js") as $jsfile) {
- javascript_tag($jsfile);
+ echo javascript_tag($jsfile);
} ?>