add_user.php
changeset 185 6baa2f78d3fe
parent 126 cb06e3e29ed8
child 195 5ac118d6556c
equal deleted inserted replaced
184:b60b88b1ae08 185:6baa2f78d3fe
    23 include_once("inc/header.inc.php");
    23 include_once("inc/header.inc.php");
    24 
    24 
    25 if (!verify_permission('user_add_new')) {
    25 if (!verify_permission('user_add_new')) {
    26 	error(ERR_PERM_ADD_USER);
    26 	error(ERR_PERM_ADD_USER);
    27 } else {
    27 } else {
    28 	if($_POST["commit"]) {
    28 	if(isset($_POST["commit"])) {
    29 		add_new_user($_POST);
    29 		add_new_user($_POST);
    30 		success(SUC_USER_ADD);
    30 		success(SUC_USER_ADD);
    31 	}
    31 	}
    32 
    32 
    33 	echo "     <h2>" . _('Add user') . "</h2>\n";
    33 	echo "     <h2>" . _('Add user') . "</h2>\n";