cvs: phpweb /manual add-note.php

From: Date: Sat, 17 May 2003 20:39:46 +0000
Subject: cvs: phpweb /manual add-note.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17774@lists.php.net to get a copy of this message
jacques Sat May 17 16:39:46 2003 EDT Modified files: /phpweb/manual add-note.php Log: * Removing all E_NOTICE errors. I've also added $Id:$ tag on the top of the file for checking versions on the various mirrors. --jm Index: phpweb/manual/add-note.php diff -u phpweb/manual/add-note.php:1.44 phpweb/manual/add-note.php:1.45 --- phpweb/manual/add-note.php:1.44 Tue May 13 07:39:09 2003 +++ phpweb/manual/add-note.php Sat May 17 16:39:46 2003 @@ -1,4 +1,6 @@ <?php +/* $Id: add-note.php,v 1.45 2003/05/17 20:39:46 jacques Exp $ */ + // Sitewide functions include_once 'prepend.inc'; @@ -211,8 +213,8 @@ else {?> <form method="post" action="<?php echo $PHP_SELF; ?>"> <input type="hidden" name="sect" value="<?php echo clean($sect); ?>" /> - <input type="hidden" name="redirect" value="<?php echo clean($redirect); ?>" /> - <input type="hidden" name="lang" value="<?php echo clean($lang); ?>" /> + <input type="hidden" name="redirect" value="<?php if (isset($redirect)) { echo clean($redirect); } ?>" /> + <input type="hidden" name="lang" value="<?php if (isset($lang)) { echo clean($lang); } ?>" /> <table border="0" cellpadding="5" cellspacing="0" bgcolor="#d0d0d0"> <tr> <td colspan="2"> @@ -231,7 +233,7 @@ </tr> <tr valign="top"> <td><b>Your notes:</b></td> - <td><textarea name="note" rows="20" cols="60" wrap="virtual"><?php echo clean($note); ?></textarea><br> + <td><textarea name="note" rows="20" cols="60" wrap="virtual"><?php if (isset($note)) { echo clean($note); } ?></textarea><br> </td> </tr> <tr>

« previous php.mirrors (#17774) next »