Dotclear


Ignore:
Timestamp:
10/03/13 10:56:45 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Open outgoing links in new window and append "new window" to title attribute only if javascript is enabled
Closes #1586

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r2166 r2225  
    148148               foreach ($feed->items as $item) 
    149149               { 
    150                     $dt = isset($item->link) ? '<a href="'.$item->link.'" title="'.$item->title.' ('.__('new window').')">'. 
     150                    $dt = isset($item->link) ? '<a href="'.$item->link.'" class="outgoing" title="'.$item->title.'">'. 
    151151                         $item->title.' <img src="images/outgoing-blue.png" alt="" /></a>' : $item->title; 
    152152                
     
    179179      
    180180          foreach ($__resources['doc'] as $k => $v) { 
    181                $doc_links .= '<li><a href="'.$v.'" title="'.$k.' ('.__('new window').')">'.$k. 
     181               $doc_links .= '<li><a class="outgoing" href="'.$v.'" title="'.$k.'">'.$k. 
    182182               ' <img src="images/outgoing-blue.png" alt="" /></a></li>'; 
    183183          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map