[PATCH] /phpweb/include/shared-manual.inc
| From: | Tobias Schlitt | Date: | Sun, 19 Jan 2003 22:54:39 +0000 |
| Subject: | [PATCH] /phpweb/include/shared-manual.inc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-93558@lists.php.net to get a copy of this message | ||
Hi y'all!
While posting some answer to the german php-newsgroup i
thought, that it would be cool to have a link to comments on
the manual. I just made this little patch for realizing that.
Would be cool, if you can apply it to
/phpweb/include/shared-manual.inc.
<patch>
--- shared-manual.inc.php Sun Jan 19 23:42:57 2003
+++ shared-manual.inc.php-old Sun Jan 19 23:47:41 2003
@@ -130,13 +130,6 @@
if ($name && $name != "php-general@lists.php.net" && $name
!= "user@example.com") {
if (ereg("(.+)@(.+)\.(.+)",$name)) {
$name = safeEmail($name);
- // Toby, 01/19/2003, adding copy-able link to
user-notes - if ($id) {
- $ref_url = 'http://' . $SERVER_NAME .
- (($SERVER_PORT==80) ? '' :
':'.$SERVER_PORT ) ..
- $PHP_SELF;
- $name = make_link($ref_url, $name, false,
"#$id"); - }
}
echo "<b>".$name."</b><br>\n";
}
@@ -373,4 +366,4 @@
}
</patch>
Regards,
Toby
--
<?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*
5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*
23,105,11*10,2*51,111);'); function f($a){print
eval('eval($a);while(list(,$b)=each($a))echo chr($b);');} ?>