process_account_form(): Highlight errors

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2013-03-19 14:26:16 +01:00
parent f1a4b508e5
commit de39a712b0

View file

@ -175,7 +175,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
} }
} }
if ($error) { if ($error) {
print "<span class='error'>".$error."</span><br/>\n"; print "<ul class='errorlist'><li>".$error."</li></ul>\n";
display_account_form($UTYPE, $A, $U, $T, $S, $E, "", "", display_account_form($UTYPE, $A, $U, $T, $S, $E, "", "",
$R, $L, $I, $K, $UID); $R, $L, $I, $K, $UID);
} else { } else {