[pmwiki-users] Problem with approved URLs

Thomas -Balu- Walter list+pmwiki-users at b-a-l-u.de
Wed May 11 11:28:43 CDT 2005


Hello all 

I was trying to change external URLs as follows:

include_once('scripts/urlapprove.php');

// make approved URLs not include the rel="nofollow"-attribute
$UrlLinkFmt = "<a class='urllink' href='\$LinkUrl'>\$LinkText</a>";

// unapproved URLs should have it though:
$UnapprovedLinkFmt = "<a class='urllink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>";

Then I added a link to http://www.heise.de in my WikiSandbox and
approved it, but noticed that the unapproved link to PmWiki.org in the
SideBar pointed to http://www.heise.de too?

Is this a bug or am I too tired/stressed to see the problem?

     Balu



More information about the pmwiki-users mailing list