cvs: phpweb /manual add-note.php

From: Date: Fri, 09 Jun 2006 11:24:47 +0000
Subject: cvs: phpweb /manual add-note.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-31735@lists.php.net to get a copy of this message
nlopess Fri Jun 9 11:24:47 2006 UTC Modified files: /phpweb/manual add-note.php Log: add error message for [CLOSED] server error http://cvs.php.net/viewcvs.cgi/phpweb/manual/add-note.php?r1=1.68&r2=1.69&diff_format=u Index: phpweb/manual/add-note.php diff -u phpweb/manual/add-note.php:1.68 phpweb/manual/add-note.php:1.69 --- phpweb/manual/add-note.php:1.68 Thu Apr 20 18:36:59 2006 +++ phpweb/manual/add-note.php Fri Jun 9 11:24:46 2006 @@ -1,5 +1,5 @@ <?php -// $Id: add-note.php,v 1.68 2006/04/20 18:36:59 philip Exp $ +// $Id: add-note.php,v 1.69 2006/06/09 11:24:46 nlopess Exp $ $_SERVER['BASE_PAGE'] = 'manual/add-note.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc'; @@ -105,6 +105,8 @@ print '<p class="formerror">Your IP is listed in one of the spammers lists we use. If you think this is an error, please contact the <a href="mailto:webmaster@php.net">webmaster</a>.</p>'; } else if (strpos($result, '[SPAM WORD]') !== FALSE) { echo '<p class="formerror">Your note contains a prohibited (usually SPAM) word. Please remove it and try again.</p>'; + } else if (strpos($result, '[CLOSED]') !== FALSE) { + echo '<p class="formerror">Due to some technical problems this service isn\'t currently working. Please try again later. Sorry for any inconvenience.</p>'; } else { echo "<!-- $result -->"; echo "<p class=\"formerror\">There was an internal error processing your submission. Please try to submit again later.</p>";

« previous php.mirrors (#31735) next »