Changeset 2536
- Timestamp:
- 06/16/08 13:30:26 (2 months ago)
- Files:
-
- functions.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
functions.php
r2531 r2536 3758 3758 return "New version of Tiny-Tiny RSS ($latest_version) is available: 3759 3759 <div class='milestoneDetails'>$content</div> 3760 Visit <a target=\"_ new\" href=\"http://tt-rss.spb.ru/\">official site</a> for3760 Visit <a target=\"_blank\" href=\"http://tt-rss.spb.ru/\">official site</a> for 3761 3761 download and update information."; 3762 3762 } … … 4019 4019 if ($feed_site_url) { 4020 4020 if (!$bottom) { 4021 $target = "target=\"_ new\"";4021 $target = "target=\"_blank\""; 4022 4022 } 4023 4023 print "<a $target href=\"$feed_site_url\">". … … 4037 4037 if (!$bottom && !$disable_feed) { 4038 4038 print " 4039 <a target=\"_ new\"4039 <a target=\"_blank\" 4040 4040 href=\"backend.php?op=rss&id=$feed_id&is_cat=$is_cat$search_q\"> 4041 4041 <img class=\"noborder\" … … 4552 4552 4553 4553 if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { 4554 $link_target = "target=\"_ new\"";4554 $link_target = "target=\"_blank\""; 4555 4555 } 4556 4556 … … 4667 4667 4668 4668 if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { 4669 $line["content"] = preg_replace("/href=/i", "target=\"_ new\" href=", $line["content"]);4669 $line["content"] = preg_replace("/href=/i", "target=\"_blank\" href=", $line["content"]); 4670 4670 } 4671 4671 … … 4919 4919 } 4920 4920 4921 # $content_link = "<a target=\"_ new\" href=\"".$line["link"]."\">" .4921 # $content_link = "<a target=\"_blank\" href=\"".$line["link"]."\">" . 4922 4922 # $line["title"] . "</a>"; 4923 4923 … … 5113 5113 if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { 5114 5114 $line["content_preview"] = preg_replace("/href=/i", 5115 "target=\"_ new\" href=", $line["content_preview"]);5115 "target=\"_blank\" href=", $line["content_preview"]); 5116 5116 } 5117 5117