]> git.wh0rd.org - tt-rss.git/commitdiff
make postIcon link to originating website
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Nov 2010 09:37:52 +0000 (12:37 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 11 Nov 2010 09:37:52 +0000 (12:37 +0300)
functions.php
tt-rss.css

index da10098ec51107a7c988a3d9a294af9c1bacfa87..61be7fa66133ca46bdcfe70b51e29f29579fee22 100644 (file)
 
                        if ($feed_site_url) {
                                $target = "target=\"_blank\"";
-                               print "<a title=\"".__("Visit the website")."\"$target href=\"$feed_site_url\">".
+                               print "<a title=\"".__("Visit the website")."\" $target href=\"$feed_site_url\">".
                                        truncate_string($feed_title,30)."</a>";
                        } else {
                                if ($feed_id < -10) {
 
                        print "</div>";
 
-                       print "<div class=\"postIcon\">" . $feed_icon . "</div>";
+                       print "<div class=\"postIcon\">" . 
+                               "<a target=\"_blank\" title=\"".__("Visit the website")."\"$ 
+                               href=\"".htmlspecialchars($feed_site_url)."\">".
+                               $feed_icon . "</a></div>";
 
                        print "<div class=\"postContent\">";
 
index 356166799fb833f120f8fb75ffec5cde8f7e8e09..d44952c779884bcdd8987ecfd1452e066aa287b8 100644 (file)
@@ -53,6 +53,7 @@ div.postReply div.postIcon {
        float : right;
        border : 0px;
        margin : 5px;
+       display : inline;
 }
 
 div.postReply div.postEnclosures {