cvs: phpweb / submit-event.php

From: Date: Fri, 25 Apr 2003 22:49:49 +0000
Subject: cvs: phpweb / submit-event.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17086@lists.php.net to get a copy of this message
alindeman Fri Apr 25 18:49:49 2003 EDT Modified files: /phpweb submit-event.php Log: Don't display submit button if there were errors (make people correct errors and re-preview the post before submit) Index: phpweb/submit-event.php diff -u phpweb/submit-event.php:1.13 phpweb/submit-event.php:1.14 --- phpweb/submit-event.php:1.13 Fri Nov 22 13:22:45 2002 +++ phpweb/submit-event.php Fri Apr 25 18:49:49 2003 @@ -207,7 +207,7 @@ <tr> <td align="center" colspan="2"> <input type="submit" name="action" value="Preview" /> -<?php if (isset($in)) {?> +<?php if (isset($in) && !count ($errors)) {?> <input type="submit" name="action" value="Submit" /> <?php }?> </td>

« previous php.mirrors (#17086) next »