cvs: php-bugs-web / bug.php /include functions.inc

From: Date: Mon, 18 Apr 2005 08:04:39 +0000
Subject: cvs: php-bugs-web / bug.php /include functions.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-27965@lists.php.net to get a copy of this message
derick Mon Apr 18 04:04:39 2005 EDT Modified files: /php-bugs-web bug.php /php-bugs-web/include functions.inc Log: - More spam, and stop adding links for now. http://cvs.php.net/diff.php/php-bugs-web/bug.php?r1=1.72&r2=1.73&ty=u Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.72 php-bugs-web/bug.php:1.73 --- php-bugs-web/bug.php:1.72 Tue Mar 29 05:13:57 2005 +++ php-bugs-web/bug.php Mon Apr 18 04:04:38 2005 @@ -515,6 +515,7 @@ echo ($edit == 1 && $com_id !== 0 && in_array($user, $trusted_developers)) ? "<a href=\"$PHP_SELF?id=$id&amp;edit=1&amp;delete_comment=$com_id\">[delete]</a>\n" : ''; echo "<pre class=\"note\">"; $note = addlinks(preg_replace("/(\r?\n){3,}/","\n\n",wordwrap($comment,72,"\n",1))); + $note = wordwrap($comment,72,"\n",1); echo preg_replace('/(bug\ *#([0-9]+))/i', "<a href=\"$PHP_SELF?id=\\2\">\\1</a>", $note); echo "</pre>\n"; echo "</div>"; http://cvs.php.net/diff.php/php-bugs-web/include/functions.inc?r1=1.150&r2=1.151&ty=u Index: php-bugs-web/include/functions.inc diff -u php-bugs-web/include/functions.inc:1.150 php-bugs-web/include/functions.inc:1.151 --- php-bugs-web/include/functions.inc:1.150 Sat Apr 16 18:36:55 2005 +++ php-bugs-web/include/functions.inc Mon Apr 18 04:04:39 2005 @@ -19,7 +19,7 @@ if (substr_count(strtolower($string), 'http://') > 5) { return true; } - if (preg_match("/(spy)|(bdsm)|(massage)|(mortage)|(sex)/i", $string)) { + if (preg_match("/(asian)|(spy)|(bdsm)|(massage)|(mortage)|(sex)/i", $string)) { return true; } return false;

« previous php.mirrors (#27965) next »