|
Main sidebar
|
PITS /
01215Summary: Add intermap prefix to link classname
Created: 2010-07-29 10:42
Status: Open
Category: Feature
Assigned:
Priority: 22
Version: 2.2.17
OS:
Description:
It's often nice to style links by their type, and I have a few custom (inside function LinkIMap()) $FmtV['$LinkImap'] = strtolower(trim($imap, ':')); (earlier in pmwiki.php) $UrlLinkFmt = "<a class='urllink \$LinkImaplink' href='\$LinkUrl' title='\$LinkAlt' rel='nofollow'>\$LinkText</a>"; ...then CSS could style "httplink", "httpslink", "wikipedialink", etc. and I wouldn't need the custom |