コード例 #1
0
ファイル: class-string.php プロジェクト: JoFumc/jofweb
 function emit()
 {
     /* Step 1: Generate HTML string */
     $estr = '<a ';
     /* HREF */
     $estr .= 'href="' . $this->url . '" ';
     /* Title */
     if (null != $this->meta) {
         $estr .= 'title="' . $this->meta . '" ';
     }
     /* Any other attributes */
     foreach ($this->attributes as $a) {
         $estr .= $a;
     }
     /* Close start tag */
     $estr .= '>';
     /* Label */
     $estr .= $this->label;
     /* End tag */
     $estr .= '</a>';
     /* Emit it */
     string_obfuscate($estr, $this->ob_type);
 }
コード例 #2
0
ファイル: util-html.php プロジェクト: JoFumc/jofweb
function html_email($addr = 'nobody@nowhere')
{
    string_obfuscate($addr, OBFUSCATE_CHUNK);
}