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
  • inc/admin/lib.dc.page.php

    r2202 r2225  
    136136          '<form action="index.php" method="post" id="top-info-blog">'. 
    137137          $blog_box. 
    138           '<p><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site'). 
    139           ' ('.__('new window').')'.'">'.__('Go to site').'<img src="images/outgoing.png" alt="" /></a>'. 
     138          '<p><a href="'.$core->blog->url.'" class="outgoing" title="'.__('Go to site'). 
     139          '">'.__('Go to site').'<img src="images/outgoing.png" alt="" /></a>'. 
    140140          '</p></form>'. 
    141141          '<ul id="top-info-user">'. 
     
    583583          self::jsVar('dotclear.msg.help', 
    584584               __('Need help?')). 
     585          self::jsVar('dotclear.msg.new_window', 
     586               __('new window')). 
    585587          self::jsVar('dotclear.msg.help_hide', 
    586588               __('Hide')). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map