mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
subverted error_list() to use msgbox
This commit is contained in:
parent
d8e16f226c
commit
3a76b0f6f0
@ -359,13 +359,21 @@
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
$html_error = '<table border="0" width="100%"><tr><td align="right"><b>' . lang($text)
|
if ($text == 'Error')
|
||||||
. '</b>: </td><td align="left">' . $errors[0] . '</td></tr>';
|
|
||||||
for ($i=1; $i<count($errors); $i++)
|
|
||||||
{
|
{
|
||||||
$html_error .= '<tr><td> </td><td align="left">' . $errors[$i] . '</td></tr>';
|
$text = '';
|
||||||
}
|
}
|
||||||
return $html_error . '</table>';
|
else
|
||||||
|
{
|
||||||
|
$text .= ': ';
|
||||||
|
}
|
||||||
|
reset($errors);
|
||||||
|
while(list(,$value) = each($errors))
|
||||||
|
{
|
||||||
|
$msgbox_input[$text.$value] = False;
|
||||||
|
|
||||||
|
}
|
||||||
|
return $this->msgbox($msgbox_input);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user