add_perm_templ.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
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(templ_perm_edit)) {
    25 if (!verify_permission('templ_perm_edit')) {
    26 	error(ERR_PERM_EDIT_PERM_TEMPL);
    26 	error(ERR_PERM_EDIT_PERM_TEMPL);
    27 } else {
    27 } else {
    28 
    28 
    29 	if (isset($_POST['commit'])) {
    29 	if (isset($_POST['commit'])) {
    30 		add_perm_templ($_POST);	
    30 		add_perm_templ($_POST);