Dotclear

Changeset 2225:7d94f2597021 for plugins


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
  • plugins/pages/page.php

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

Sites map