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/post.php

    r2181 r2225  
    420420 
    421421if ($post_id && $post->post_status == 1) { 
    422      echo '<p><a class="onblog_link" href="'.$post->getURL().'" onclick="window.open(this.href);return false;" title="'.$post_title.' ('.__('new window').')'.'">'.__('Go to this entry on the site').' <img src="images/outgoing-blue.png" alt="" /></a></p>'; 
     422     echo '<p><a class="onblog_link outgoing" href="'.$post->getURL().'" title="'.$post_title.'">'.__('Go to this entry on the site').' <img src="images/outgoing-blue.png" alt="" /></a></p>'; 
    423423} 
    424424if ($post_id) 
Note: See TracChangeset for help on using the changeset viewer.

Sites map