add_user.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
child 185 6baa2f78d3fe
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    20  */
    20  */
    21 
    21 
    22 require_once("inc/toolkit.inc.php");
    22 require_once("inc/toolkit.inc.php");
    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($_POST["commit"]) {
    29 		add_new_user($_POST);
    29 		add_new_user($_POST);
    30 		success(SUC_USER_ADD);
    30 		success(SUC_USER_ADD);