diff --git a/classes/handler/public.php b/classes/handler/public.php index 31376ff60..27b33b4a5 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -427,9 +427,9 @@ class Handler_Public extends Handler { "; - stylesheet_tag("css/utility.css"); - javascript_tag("lib/prototype.js"); - javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"); + echo stylesheet_tag("css/utility.css"); + echo javascript_tag("lib/prototype.js"); + echo javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"); print "
"; @@ -788,8 +788,8 @@ class Handler_Public extends Handler { "; - stylesheet_tag("css/utility.css"); - javascript_tag("lib/prototype.js"); + echo stylesheet_tag("css/utility.css"); + echo javascript_tag("lib/prototype.js"); print " "; diff --git a/css/tt-rss.css b/css/tt-rss.css index 5cb9d8101..98ff38290 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -978,75 +978,6 @@ div.postHeader span.author { font-weight : normal; } -body#ttrssZoom { - margin-left : auto; - margin-right : auto; - padding : 20px; - max-width : 670px; - background : #f9fbff; -} - -body#ttrssZoom div.postHeader div.postFeedTitle { - float : left; - text-align : right; - padding-left : 0px; - font-size : 10px; -} - -body#ttrssZoom div.postHeader a.postComments { - text-align : right; - padding-left : 0px; - font-size : 10px; -} - -body#ttrssZoom div.postHeader div.postDate { - float : none; - text-align : right; - padding-left : 0px; - color : #777; - font-size : 10px; -} - -body#ttrssZoom div.postHeader div.postTags { - color : #777; - font-size : 10px; -} - -body#ttrssZoom div.postHeader div.postTitle { - white-space : normal; -} - -body#ttrssZoom div.postContent p { - max-width : 650px; - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} - -body#ttrssZoom div.postHeader { - margin : 10px; - border : 1px solid #ccc; -} - -body#ttrssZoom div.postReply { - border : 1px solid #ccc; - background : white; -} - -body#ttrssZoom div.postContent { - -} - -body#ttrssZoom div.footer { - margin-top : 1em; - text-align : center; -} - -body#ttrssZoom div.postContent img { - max-width : 650px; - height : auto; -} - select.attachments { display : block; margin-top : 10px; 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'] .= " -