diff --git a/functions.php b/functions.php index 5515781a8..da48affaa 100644 --- a/functions.php +++ b/functions.php @@ -3182,7 +3182,7 @@ if ($feed_site_url) { if (!$bottom) { - $target = "target=\"_blank\""; + $target = "target=\"_new\""; } print "$feed_title"; } else { @@ -4021,7 +4021,7 @@ print "".$line["title"].""; + target=\"_new\" href=\"".$line["link"]."\">".$line["title"].""; print $entry_author; @@ -4031,6 +4031,11 @@ print ""; + if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { + $line["content_preview"] = preg_replace("/href=/i", + "target=\"_new\" href=", $line["content_preview"]); + } + print "