| Derick Rethans 2005-04-18, 8:56 am |
| 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-bug...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&edit=1&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-bug...0&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;
|