equal
deleted
inserted
replaced
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"; |