delete_perm_templ.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    33 }
    33 }
    34 
    34 
    35 if ($perm_templ == "-1"){
    35 if ($perm_templ == "-1"){
    36 	error(ERR_INV_INPUT);
    36 	error(ERR_INV_INPUT);
    37 } else {
    37 } else {
    38 	if (!(verify_permission(user_edit_templ_perm))) {
    38 	if (!(verify_permission('user_edit_templ_perm'))) {
    39 		error(ERR_PERM_DEL_PERM_TEMPL);
    39 		error(ERR_PERM_DEL_PERM_TEMPL);
    40 	} else {
    40 	} else {
    41 		$templ_details = get_permission_template_details($perm_templ);
    41 		$templ_details = get_permission_template_details($perm_templ);
    42 		echo "     <h2>" . _('Delete permission template') . " \"" . $templ_details['name'] . "\"</h2>\n";
    42 		echo "     <h2>" . _('Delete permission template') . " \"" . $templ_details['name'] . "\"</h2>\n";
    43 
    43