Obfuscating the Contact Us email and keeping it human readable.
Go to Design / Library / Layouts / Terms and Conditions / About Us
and replace all code there with:-
// extract and obfuscate email address
$aboutustext = '';
// now look for Email: YourName [at] YourCompanyEmail [dot] com
if ( preg_match('/(.*Email: )(.*?) [at] (.*?)(";
echo "document.write('$ename' + String.fromCharCode(60 + 4) + '$domain');";
echo "";
echo $emailbits[4];
}
else
{
echo $aboutustext;
}
|