svn: /web/php-bugs/trunk/ lbugs.php
| From: | Philip Olson | Date: | Sat, 21 Nov 2009 08:18:37 +0000 |
| Subject: | svn: /web/php-bugs/trunk/ lbugs.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6584@lists.php.net to get a copy of this message | ||
philip Sat, 21 Nov 2009 08:18:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291111
Log:
Removed addLinks() redefinition, as it's already defined in the newly included functions.inc
Changed paths:
U web/php-bugs/trunk/lbugs.php
Modified: web/php-bugs/trunk/lbugs.php
===================================================================
--- web/php-bugs/trunk/lbugs.php 2009-11-21 08:12:02 UTC (rev 291110)
+++ web/php-bugs/trunk/lbugs.php 2009-11-21 08:18:37 UTC (rev 291111)
@@ -55,14 +55,3 @@
echo "</pre>";
}
}
-
-function addlinks($text) {
- $text = htmlspecialchars($text);
- $new_text = ereg_replace("(http:[^ \n\t]*)","<a
href=\"\1-=-\">\1</a>",$text);
- $new_text = ereg_replace("(ftp:[^ \n\t]*)","<a
href=\"\1-=-\">\1</a>",$text);
- $new_text = ereg_replace("[.,]-=-\"","\"",$new_text);
- $new_text = ereg_replace("-=-\"","\"",$new_text);
- return $new_text;
-}
-
-?>