[pmwiki-users] $IMapLinkFmt (was: Getting an URL from a cookbook recipe)

Sebastian Siedentopf schlaefer at macnews.de
Thu Jan 26 12:13:00 CST 2006


Am 26.01.2006 um 14:37 schrieb Patrick R. Michaud:

> LinkIMap() then uses the value of $UrlLinkFmt to generate the link;
> it defaults to:
>
>    "<a class='urllink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>"
>
> There's also an $IMapLinkFmt array that allows each scheme to have
> its own custom formatting default, but AFAICT PmWiki isn't using this
> capability yet (although I think some recipes may be doing so).

Maybe stupid question, just to be shure: If I use $IMapLinkFmt in a  
cookbook recipe, I'm responsible for restoring the original value of  
$IMapLinkFmt afterwards, because it can be set by the user in  
config.php for example. Right?

Sebastian






More information about the pmwiki-users mailing list