equal
deleted
inserted
replaced
35 $error = _('Password length should be at least 8 characters.'); |
35 $error = _('Password length should be at least 8 characters.'); |
36 } |
36 } |
37 else |
37 else |
38 { |
38 { |
39 add_user($_POST["username"], $_POST["password"], $_POST["fullname"], $_POST["email"], $_POST["level"], $_POST["description"], $_POST["active"]); |
39 add_user($_POST["username"], $_POST["password"], $_POST["fullname"], $_POST["email"], $_POST["level"], $_POST["description"], $_POST["active"]); |
40 clean_page($BASE_URL . $BASE_PATH . "users.php"); |
40 clean_page("users.php"); |
41 } |
41 } |
42 } |
42 } |
43 else |
43 else |
44 { |
44 { |
45 $error = _('Usernames can\'t contain spaces'); |
45 $error = _('Usernames can\'t contain spaces'); |