cvs: phpweb /include shared-manual.inc
| From: | James Cox | Date: | Fri, 16 Aug 2002 17:48:11 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12000@lists.php.net to get a copy of this message | ||
imajes Fri Aug 16 13:48:11 2002 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
obfusicate emails.
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.143 phpweb/include/shared-manual.inc:1.144
--- phpweb/include/shared-manual.inc:1.143 Tue Aug 13 08:11:20 2002
+++ phpweb/include/shared-manual.inc Fri Aug 16 13:48:11 2002
@@ -29,7 +29,6 @@
global $NEXT, $PREV, $UP, $HOME, $TOC, $PHP_SELF, $DOCUMENT_ROOT;
global $SIDEBAR_DATA, $LANG;
- $SIDEBAR_DATA = '<!--UdmComment-->';
$SIDEBAR_DATA.= '<form method="get"
action="/manual-lookup.php">';
$SIDEBAR_DATA.= '<table border="0" cellpadding="4"
cellspacing="0">';
@@ -138,8 +137,9 @@
$name = htmlspecialchars($name);
if ($name && $name != "php-general@lists.php.net" && $name !=
"user@example.com") {
if (ereg("(.+)@(.+)\.(.+)",$name)) {
- echo "<a href=\"mailto:".$name."\">".$name."</a><br>\n";
- } else {
+ str_replace('@', ' at ', $name);
+ str_replace('.', ' dot ', $name);
+ }
echo "<b>".$name."</b><br>\n";
}
}