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