users.php
changeset 69 025700cc92cd
parent 66 9e9876afefcc
child 71 e1b918eaf69a
equal deleted inserted replaced
68:0b8572de80f5 69:025700cc92cd
    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');