Hi Dan,

I found and fixed a bug, maybe for the next release:

PROBLEM:
When using "<a href="http://www.google.com";>external link</a>",
boltwire displays a link to the current page instead.

SOLUTION:
Change line 663 from "markups.php" from:

if (isset($args['href'])) $args['href'] = $scriptURL .
BOLTpageshortcuts($args[1]);

to:
{       if( (strpos($args['href'],"http://";) === false) && (strpos($args
['href'],"ftp://";) === false) )
        $scriptURL . BOLTpageshortcuts($args[1]);
}

EXPLANATION:
If a URL starts with http or ftp, boltwire does not try to convert the
page-name to an url, and the url stays unchanged. Otherwise the
conversion from page name to URL would fail (for external link) and
pageshortcuts returns the current page.

cheers,

Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to