[aur-dev] [PATCH] process_account_form(): Highlight errors

Lukas Fleischer archlinux at cryptocrack.de
Tue Mar 19 09:26:46 EDT 2013


Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 web/lib/acctfuncs.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index c202f47..61a856b 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -184,7 +184,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
 		}
 	}
 	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, "", "",
 				$R, $L, $I, $K, $UID);
 	} else {
-- 
1.8.2.480.g556678c



More information about the aur-dev mailing list