{NOSPAM_EMAIL} Replacement Tag

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post by marcus@localhorst » Fri 10. Aug 2007, 09:39

hi,
i think this tag is not needed anymore.
set a standard email link and see the sourcecode of the site, the maillink is changed into some JS stuff.
as far es I know, phpwcms do this automatically.

greetings
marcus

User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus » Fri 10. Aug 2007, 12:30

"template/inc_script/frontend_render/disabled/makeEmailSpamSave.php"
// this script tries to replace all email addresses by
// code to avoid email harvesting by spam bots
// all "mailto:" links will be replaced by combination
// of onclick javascript function and "#" anchor
"changelog.txt"
2007-04-02
[FIX] makeEmailSpamSave.php fixed to handle additional attributes. Failed in case of such: <a href="..." class="class">
2007-02-27
[FIX] makeEmailSpamSave.php enhanced to avoid replacing email adresses in <input> and <textarea> fields.

Post Reply