function invisimail_help in Invisimail 6
Same name and namespace in other branches
- 5 invisimail.module \invisimail_help()
Implementation of hook_help().
File
- ./
invisimail.module, line 16 - This module provides a filter that will search content for email addresses and replace them with their ascii equivalents before display. This is not a complete protection from spam harvesters, but it is some help.
Code
function invisimail_help($section) {
switch ($section) {
case 'admin/help#invisimail':
return t('<p>The invisimail module privides a filter to hide email addresses from email harvesting spam-bots.</p><p>How it works: Invisimail scans content for email addresses and then converts each character of the address to its ASCII-code equivalent. The email address will appear normally on the page, but the source html will not appear as an email address. For even more security, the filter can use a JavaScript write command to further obscure the email address.</p><p>For example:<br /><i>you@example.com</i> will appear in the html source as: <div style="font-family:courier;border:1px solid #666;padding: 5px">&#121;&#111;&#117;&#64;&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;&#99;&#111;&#109;</div></p><p>With the JavaScript and Auto-link options enabled, the source would become: <div style="font-family:courier;border:1px solid #666;padding: 5px"><script type=\'text/javascript\'><!--<br />
document.write(\'<a href= "&#109;&#97;&#105;&#108;&#116;&#111;&#58;\' + \'&#121;&#111;&#117;&#64;\' + \'&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;\' + \'&#99;&#111;&#109;\' + \'">\' + \'&#121;&#111;&#117;&#64;\' + \'&#101;&#120;&#97;&#109;&#112;&#108;&#101;&#46;\' + \'&#99;&#111;&#109;\' + \'</a>\');<br />
//--><br />
</script></div></p><p>Doesn\'t look like an email address, does it?</p><p>Of course the best protection against spam-bots is to not publish an email address at all, but on a community site some users are going to publish email addresses. Invisimail provides another level of security to keep them from recieving spam.</p><p>To configure Invisimail, select "configure" next to the <a href="%url">input format</a> you\'d like to use. Enable "Encode Email Addresses" and submit the form. Then select the "configure" tab to choose options for Invisimail.</p>', array(
'%url' => url('admin/filters'),
));
}
}