From e944346c540fa07d685621ea2af7fb57ec553602 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 16 Jun 2008 06:21:57 +0100 Subject: change (wrong) _new link targets to _blank --- functions.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/functions.php b/functions.php index 2f2e33df9..b373ca91c 100644 --- a/functions.php +++ b/functions.php @@ -3757,7 +3757,7 @@ } else { return "New version of Tiny-Tiny RSS ($latest_version) is available:
$content
- Visit official site for + Visit official site for download and update information."; } @@ -4018,7 +4018,7 @@ if ($feed_site_url) { if (!$bottom) { - $target = "target=\"_new\""; + $target = "target=\"_blank\""; } print "". truncate_string($feed_title,30).""; @@ -4036,7 +4036,7 @@ if (!$bottom && !$disable_feed) { print " - \"".__('Generated @@ -4551,7 +4551,7 @@ $link_target = ""; if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { - $link_target = "target=\"_new\""; + $link_target = "target=\"_blank\""; } $line = db_fetch_assoc($result); @@ -4666,7 +4666,7 @@ $line["content"] = sanitize_rss($link, $line["content"]); if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { - $line["content"] = preg_replace("/href=/i", "target=\"_new\" href=", $line["content"]); + $line["content"] = preg_replace("/href=/i", "target=\"_blank\" href=", $line["content"]); } print $line["content"]; @@ -4918,7 +4918,7 @@ alt=\"Publish article\" onclick='javascript:tPub($id)'>"; } -# $content_link = "" . +# $content_link = "" . # $line["title"] . ""; # $content_link = "