Changeset 2536

Show
Ignore:
Timestamp:
06/16/08 13:30:26 (2 months ago)
Author:
www-ttrss
Message:

[project @ change (wrong) _new link targets to _blank]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • functions.php

    r2531 r2536  
    37583758                                        return "New version of Tiny-Tiny RSS ($latest_version) is available: 
    37593759                                                <div class='milestoneDetails'>$content</div> 
    3760                                                 Visit <a target=\"_new\" href=\"http://tt-rss.spb.ru/\">official site</a> for 
     3760                                                Visit <a target=\"_blank\" href=\"http://tt-rss.spb.ru/\">official site</a> for 
    37613761                                                download and update information.";       
    37623762                                } 
     
    40194019                        if ($feed_site_url) { 
    40204020                                if (!$bottom) { 
    4021                                         $target = "target=\"_new\""; 
     4021                                        $target = "target=\"_blank\""; 
    40224022                                } 
    40234023                                print "<a $target href=\"$feed_site_url\">". 
     
    40374037                        if (!$bottom && !$disable_feed) { 
    40384038                                print " 
    4039                                         <a target=\"_new\"  
     4039                                        <a target=\"_blank\"  
    40404040                                                href=\"backend.php?op=rss&id=$feed_id&is_cat=$is_cat$search_q\"> 
    40414041                                                <img class=\"noborder\"  
     
    45524552 
    45534553                        if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { 
    4554                                 $link_target = "target=\"_new\""; 
     4554                                $link_target = "target=\"_blank\""; 
    45554555                        } 
    45564556 
     
    46674667 
    46684668                        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"]); 
    46704670                        } 
    46714671 
     
    49194919                                } 
    49204920 
    4921 #                               $content_link = "<a target=\"_new\" href=\"".$line["link"]."\">" . 
     4921#                               $content_link = "<a target=\"_blank\" href=\"".$line["link"]."\">" . 
    49224922#                                       $line["title"] . "</a>"; 
    49234923 
     
    51135113                                        if (get_pref($link, 'OPEN_LINKS_IN_NEW_WINDOW')) { 
    51145114                                                $line["content_preview"] = preg_replace("/href=/i",  
    5115                                                         "target=\"_new\" href=", $line["content_preview"]); 
     5115                                                        "target=\"_blank\" href=", $line["content_preview"]); 
    51165116                                        } 
    51175117