changeset 1156 | 417e66a664d0 |
parent 1127 | 4b858862c35c |
child 1174 | def792dd9b1b |
--- a/includes/wikiengine/render_xhtml.php Mon Dec 07 15:21:47 2009 -0500 +++ b/includes/wikiengine/render_xhtml.php Fri Dec 11 17:10:44 2009 -0500 @@ -144,6 +144,18 @@ return $text; } + + public function mailtonotext($pieces) + { + $pieces[2] = $pieces[1]; + return $this->mailtowithtext($pieces); + } + + public function mailtowithtext($pieces) + { + global $email; + return $email->encryptEmail($pieces[1], '', '', $pieces[2]); + } } // Alias internal link parsing to RenderMan's method