Errors are displayd in table and not via javascript

This commit is contained in:
katagia 2003-04-24 17:29:58 +00:00
parent d1b99b4713
commit a203a18d7c
1 changed files with 6 additions and 7 deletions

View File

@ -188,12 +188,6 @@ switch ($select) {
}
if ($error != "0") {
echo '<script language="javascript"> alert("';
echo $error;
echo '"); </script>';
}
if ( $create ) { // Create-Button was pressed
$_SESSION['account']->final_changegids = $f_final_changegids;
@ -237,7 +231,12 @@ echo '</title>
<form action="account.php" method="post">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<table rules="all" class="grouplist" width="100%">';
<table rules="all" class="account" width="100%">
<tr><td>';
if ($error != "0") echo $error;
echo '</td></tr>';
if (!$select) $select='general';
if ($createagain) $select='general';
if ($backmain) $select='backmain';