make postIcon link to originating website

This commit is contained in:
Andrew Dolgov 2010-11-11 12:37:52 +03:00
parent 5ae8f858a9
commit f412e5ad48
2 changed files with 6 additions and 2 deletions

View File

@ -4160,7 +4160,7 @@
if ($feed_site_url) { if ($feed_site_url) {
$target = "target=\"_blank\""; $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>"; truncate_string($feed_title,30)."</a>";
} else { } else {
if ($feed_id < -10) { if ($feed_id < -10) {
@ -4924,7 +4924,10 @@
print "</div>"; 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\">"; print "<div class=\"postContent\">";

View File

@ -53,6 +53,7 @@ div.postReply div.postIcon {
float : right; float : right;
border : 0px; border : 0px;
margin : 5px; margin : 5px;
display : inline;
} }
div.postReply div.postEnclosures { div.postReply div.postEnclosures {