mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
acctfuncs.inc.php: Fix indentation
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
1aec9f7124
commit
5463bdeff6
1 changed files with 3 additions and 2 deletions
|
@ -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.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue