acctfuncs.inc.php: Fix indentation

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-06-05 15:16:13 +02:00
parent 1aec9f7124
commit 5463bdeff6

View file

@ -119,7 +119,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
$error = __("Missing User ID");
}
if (!$error && !valid_username($U) && !user_is_privileged($editor_user))
if (!$error && !valid_username($U) && !user_is_privileged($editor_user)) {
$error = __("The username is invalid.") . "<ul>\n"
."<li>" . __("It must be between %s and %s characters long",
USERNAME_MIN_LEN, USERNAME_MAX_LEN )
@ -127,6 +127,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
. "<li>" . __("Start and end with a letter or number") . "</li>"
. "<li>" . __("Can contain only one period, underscore or hyphen.")
. "</li>\n</ul>";
}
if (!$error && $P && $C && ($P != $C)) {
$error = __("Password fields do not match.");