Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv12763/class
Modified Files:
Comment.class
Log Message:
hide email addresses from harvesters
Index: Comment.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Comment.class,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Comment.class 2001/10/17 17:11:26 1.20
--- Comment.class 2001/11/14 18:07:23 1.21
***************
*** 234,240 ****
if ($ary[email] != "") {
$this->ctempl->set_var(array(
! EMAIL_LINK_ON => "<A HREF=\"mailto:" . $ary[email] . "\">",
EMAIL_LINK_OFF => "</A>",
! EMAIL => $ary[email]
));
} else {
--- 234,240 ----
if ($ary[email] != "") {
$this->ctempl->set_var(array(
! EMAIL_LINK_ON => "<A HREF=\"". str_html("mailto:" . $ary[email]) ."\">",
EMAIL_LINK_OFF => "</A>",
! EMAIL => str_html($ary[email])
));
} else {
|