diff options
author | Andrew Dolgov <[email protected]> | 2010-11-11 12:37:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-11 12:37:52 +0300 |
commit | f412e5ad48ad6d4341f2746e52f289e0a51ab190 (patch) | |
tree | d5bdf271ded3dae708a0f2cbf2f6c69bbc03aae9 | |
parent | 5ae8f858a96c5cee498202ac372fe02aba9198b1 (diff) |
make postIcon link to originating website
-rw-r--r-- | functions.php | 7 | ||||
-rw-r--r-- | tt-rss.css | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/functions.php b/functions.php index da10098ec..61be7fa66 100644 --- a/functions.php +++ b/functions.php @@ -4160,7 +4160,7 @@ 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) { @@ -4924,7 +4924,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\">"; diff --git a/tt-rss.css b/tt-rss.css index 356166799..d44952c77 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -53,6 +53,7 @@ div.postReply div.postIcon { float : right; border : 0px; margin : 5px; + display : inline; } div.postReply div.postEnclosures { |