ID Password
Hacks. : Modify siteurl BBcode to open in _self
Posted by Bandit-X on Jan-27-2007 (2647 reads)

Purpose: Changes The siteurl BBcode to open the link in the same window

file: class/module.textsanitizer.php

        $patterns[] = "/\[siteurl=(['\"]?)([^\"'<>]*)\\1](.*)\[\/siteurl\]/sU";
        $replacements[] = '<a href="'.XOOPS_URL.'/\\2" target="_self">\\3</a>';

*"_self" was added

Rating: 9.00 (2 votes) - Rate this News -

Other articles
Mar-11-2016 - Hello 2016!
Jan-01-2010 - Happy New Year 2010
Nov-13-2009 - Announcement Nov .2009
Jul-26-2008 - LatestNews v. 0.6 is Released
Jun-16-2008 - LatestNews v. 0.5 is Released

The comments are owned by the poster. We aren't responsible for their content.
Poster Thread