Commit 5463bdef authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

acctfuncs.inc.php: Fix indentation



Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 1aec9f71
......@@ -119,14 +119,15 @@ 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))
$error = __("The username is invalid.") . "<ul>\n"
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 )
. "</li>"
. "<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.");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment