search for: _doautolinks_email_callback

Displaying 1 result from an estimated 1 matches for "_doautolinks_email_callback".

2011 Feb 01
2
Enabeling E-Mail Name
...Adding e-mail links with names. I came up with a little hack I want to share with you. Old Syntax: (mailto:$mailadress@$mailhost) New Syntax: (mailto:$mailadress@$mailhost[ My Name) changes: 1) function doAutoLinks: insert '(?:\W*(.*))' in RegEx before the '>' line 2) function _doAutoLinks_email_callback: insert '$text = $matches[3];' before line starting with $link = ... 3) function encodeEmailAdress: a) change signature to ($addr, $text) b) wrap the line starting with $text = ... so it reads 'if ($text == "") { $text = ... }' pretty easy, istn't it? Greetings,...