Email Cloak v1.0

Requires Pixelpost v1.7
Type: Addon
Author: Diese E-Mail-Adresse ist gegen Spambots geschützt! Sie müssen JavaScript aktivieren, damit Sie sie sehen können.
License: GNU GPL 3.0

Addon that cloaks all emails in content from spambots via Javascript. You don't have to care about email encryption, just enter an email address and the addon will replace the email with a mailto link with email cloaked.

Email Cloak produces valid XHTML 1.1 code.

Valid XHTML 1.1

Detailed description

Email Cloack searches for derivatives of link code
  • <a href="mailto:email@example.com">email@example.com</a>
  • <a href="mailto:email@example.com">anytext</a>
  • <a href="mailto:email@example.com?subject=Text">email@example.com</a>
  • <a href="mailto:email@example.com?subject=Text">anytext</a>

or plain text
  • email@example.com

and replaces an email with a mailto link with email cloaked.

Use it

  • Put the email_cloak.php in your addons folder.
  • Go to your admin panel and activate the Email Cloak Addon.
  • (optional) Select how emails will be displayed by changing the variable $mode in email_cloak.php
    • $mode = 0; Non-linkable Text
    • $mode = 1; As linkable mailto address

Download

Email Cloak v1.0