Location: PHPKode > projects > QuickSkin > QuickSkin_v5.0/_lib/qx/qx_hidemail.php
<?php
  /**
  * QuickSkin Extension hidemail
  * Protects email address from being scanned by spam bots
  *
  * Usage Example:
  * Content:  $template->assign('AUTHOR', 'hide@address.com' );
  * Template: Author: {hidemail:AUTHOR}
  * Result Source:   Author: andy&#64;codeworxtech&#46;com
  * Result Display:  Author: hide@address.com
  *
  * @author Andy Prevost hide@address.com
  */
  function qx_hidemail ( $param ) {
    return str_replace('@', '&#64;', str_replace('.', '&#46;', $param));
  }

?>
Return current item: QuickSkin