summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-06-16 06:33:28 +0100
committerAndrew Dolgov <[email protected]>2008-06-16 06:33:28 +0100
commit562ecfcf3b59b3c682fcf395eb152898895814a9 (patch)
tree713463a25f665a47a3c615578d1cba9355378658
parente944346c540fa07d685621ea2af7fb57ec553602 (diff)
change (wrong) _new link targets to _blank (2)
-rw-r--r--help/2.php2
-rw-r--r--modules/opml_domdoc.php4
-rw-r--r--modules/opml_domxml.php4
-rw-r--r--modules/pref-feed-browser.php6
-rw-r--r--modules/pref-feeds.php2
5 files changed, 9 insertions, 9 deletions
diff --git a/help/2.php b/help/2.php
index e14e92745..5cf9f1225 100644
--- a/help/2.php
+++ b/help/2.php
@@ -6,5 +6,5 @@
<p><?php echo __("Multiple and inverse matching are supported. All matching filters are considered when article is being imported and all actions executed in sequence. Inverse matching reverts matching result, e.g. filter matching XYZZY in title with inverse flag will match all articles, except those containing string XYZZY in title.") ?></p>
-<p><?php echo __("See also:")?> <a target="_new" href="http://tt-rss.spb.ru/trac/wiki/ContentFilters">ContentFilters (wiki)</a>
+<p><?php echo __("See also:")?> <a target="_blank" href="http://tt-rss.spb.ru/trac/wiki/ContentFilters">ContentFilters (wiki)</a>
diff --git a/modules/opml_domdoc.php b/modules/opml_domdoc.php
index fcad76ed2..a29a1eb69 100644
--- a/modules/opml_domdoc.php
+++ b/modules/opml_domdoc.php
@@ -96,8 +96,8 @@
feed_url = '$feed_url'
AND owner_uid = '$owner_uid'");
- print "<tr><td><a target='_new' href='$site_url'><b>$feed_title</b></a></b>
- (<a target='_new' href=\"$feed_url\">rss</a>)</td>";
+ print "<tr><td><a target='_blank' href='$site_url'><b>$feed_title</b></a></b>
+ (<a target='_blank' href=\"$feed_url\">rss</a>)</td>";
if (db_num_rows($result) > 0) {
print "<td>".__('Already imported.')."</td>";
diff --git a/modules/opml_domxml.php b/modules/opml_domxml.php
index 77ee816bd..9364145b1 100644
--- a/modules/opml_domxml.php
+++ b/modules/opml_domxml.php
@@ -99,8 +99,8 @@
feed_url = '$feed_url'
AND owner_uid = '$owner_uid'");
- print "<tr><td><a target='_new' href='$site_url'><b>$feed_title</b></a></b>
- (<a target='_new' href=\"$feed_url\">rss</a>)</td>";
+ print "<tr><td><a target='_blank' href='$site_url'><b>$feed_title</b></a></b>
+ (<a target='_blank' href=\"$feed_url\">rss</a>)</td>";
if (db_num_rows($result) > 0) {
print "<td>".__("Already imported.")."</td>";
diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php
index 28c6efe7f..0cbb06e9e 100644
--- a/modules/pref-feed-browser.php
+++ b/modules/pref-feed-browser.php
@@ -36,8 +36,8 @@
$last_updated = date($short_date, strtotime($last_updated));
}
- print __("Site:")." <a target=\"_new\" href='$site_url'>$site_url</a> ".
- "(<a target=\"_new\" href='$feed_url'>feed</a>), ".
+ print __("Site:")." <a target=\"_blank\" href='$site_url'>$site_url</a> ".
+ "(<a target=\"_blank\" href='$feed_url'>feed</a>), ".
__("Last updated:")." $last_updated";
print "</div>";
@@ -66,7 +66,7 @@
$entry_dt = date($short_date, strtotime($line["updated"]));
}
- print "<li><a target=\"_new\" href=\"" . $line["link"] . "\">" . $line["title"] . "</a>" .
+ print "<li><a target=\"_blank\" href=\"" . $line["link"] . "\">" . $line["title"] . "</a>" .
"&nbsp;<span class=\"insensitive\">($entry_dt)</span></li>";
}
print "</ul></div>";
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index 44a345e28..8041b8cc1 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -1153,7 +1153,7 @@
$url_path = article_publish_url($link);
- print "<p><a class=\"visibleLink\" id=\"pubGenAddress\" target=\"_new\" href=\"$url_path\">Link to published articles feed.</a></p>";
+ print "<p><a class=\"visibleLink\" id=\"pubGenAddress\" target=\"_blank\" href=\"$url_path\">Link to published articles feed.</a></p>";
print "<p><input type=\"submit\" onclick=\"return pubRegenKey()\" class=\"button\"
value=\"".__('Generate another link')."\">";