summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-11 12:37:52 +0300
committerAndrew Dolgov <[email protected]>2010-11-11 12:37:52 +0300
commitf412e5ad48ad6d4341f2746e52f289e0a51ab190 (patch)
treed5bdf271ded3dae708a0f2cbf2f6c69bbc03aae9 /functions.php
parent5ae8f858a96c5cee498202ac372fe02aba9198b1 (diff)
make postIcon link to originating website
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php7
1 files changed, 5 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\">";