Changeset 1269 in ExiteCMS for trunk/includes/core_functions.php


Ignore:
Timestamp:
02/12/08 00:30:05 (4 years ago)
Author:
hverton
Message:

added a title to the inserted wiki link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core_functions.php

    r1267 r1269  
    542542    if (isset($settings['wiki_forum_links']) && $settings['wiki_forum_links']) { 
    543543        // add the link to the wiki page 
    544         $text = preg_replace('#\[wiki\](.*?)\[/wiki\]#si', '<a href="'.BASEDIR.'modules/wiki/index.php?wakka=\1" class="wiki_link">\1</a>', $text); 
     544        $text = preg_replace('#\[wiki\](.*?)\[/wiki\]#si', '<a href="'.BASEDIR.'modules/wiki/index.php?wakka=\1" class="wiki_link" title="ExiteCMS Wiki">\1</a>', $text); 
    545545    } else { 
    546546        // strip the wiki bbcode 
Note: See TracChangeset for help on using the changeset viewer.