From 513511e77931c3bb2ef96e453322aa972d2c94d2 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Thu, 26 Jan 2006 17:06:21 +0000 Subject: [PATCH] add error message for [SPAM WORD] --- manual/add-note.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manual/add-note.php b/manual/add-note.php index ac9a81e6c..cc00a5380 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -103,6 +103,8 @@ if ($process) { print "

As a security precaution, we only allow a certain number of notes to be submitted per minute. At this time, this number has been exceeded. Please re-submit your note in about a minute.

"; } else if (strpos($result, '[SPAMMER]') !== FALSE) { print '

Your IP is listed in one of the spammers lists we use. If you think this is an error, please contact the webmaster.

'; + } else if (strpos($result, '[SPAM WORD]') !== FALSE) { + echo '

Your note contains a prohibited (usually SPAM) word. Please remove it and try again.

'; } else { echo ""; echo "

There was an internal error processing your submission. Please try to submit again later.

";