From cdbcb2778a8aef8ad4677056c42cb3caad18cd0c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 28 Jan 2014 01:39:24 +0400 Subject: move Zoom stylesheet to a separate file update stylesheet/javascript tag helpers to return output instead of printing it --- include/functions.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 7cdeae3b6..6c6bf2661 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3260,8 +3260,10 @@ header("Content-Type: text/html"); $rv['content'] .= " - Tiny Tiny RSS - ".$line["title"]." - + Tiny Tiny RSS - ".$line["title"]."". + stylesheet_tag("css/tt-rss.css"). + stylesheet_tag("css/zoom.css")." + @@ -4306,7 +4308,7 @@ function stylesheet_tag($filename) { $timestamp = filemtime($filename); - echo "\n"; + return "\n"; } function javascript_tag($filename) { @@ -4321,7 +4323,7 @@ if ($query) $timestamp .= "&$query"; - echo "\n"; + return "\n"; } function calculate_dep_timestamp() { -- cgit v1.2.3