From: Jimmy C. <ci...@us...> - 2003-06-28 16:00:46
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory sc8-pr-cvs1:/tmp/cvs-serv13704 Modified Files: Tag: SM-1_4-STABLE addressbook.php Log Message: Fix bug while modifying addresses, if you get an error, you can't resubmit the form at all. Index: addressbook.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/addressbook.php,v retrieving revision 1.58.2.2 retrieving revision 1.58.2.3 diff -u -w -r1.58.2.2 -r1.58.2.3 --- addressbook.php 26 Jun 2003 03:43:11 -0000 1.58.2.2 +++ addressbook.php 28 Jun 2003 15:57:14 -0000 1.58.2.3 @@ -233,7 +233,7 @@ echo html_tag( 'table', html_tag( 'tr', html_tag( 'td', - "\n". '<br><strong><font color="' . $color[2] . + "\n". '<strong><font color="' . $color[2] . '">' . _("ERROR") . ': ' . $abook->error . '</font></strong>' ."\n", 'center' ) ), @@ -245,10 +245,10 @@ html_tag( 'table', html_tag( 'tr', html_tag( 'td', - "\n". '<br><strong>' . _("Update address") . '</strong>' ."\n", + "\n". '<strong>' . _("Update address") . '</strong>' ."\n", 'center', $color[0] ) ), - 'center', '', 'width="100%"' ) . + 'center', '', 'width="100%"' ); address_form("editaddr", _("Update address"), $newdata); echo '<INPUT TYPE=hidden NAME=oldnick VALUE="' . htmlspecialchars($oldnick) . "\">\n" . |