From 82896346ecfe54670162e53bf07daf609595e18c Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 14 Jun 2015 15:27:44 -0400 Subject: [PATCH] #196 Can now update permission templates --- admin/manage_permission_templates.php | 114 +++++++++++++++++--------- language/en/text.php | 1 + 2 files changed, 74 insertions(+), 41 deletions(-) diff --git a/admin/manage_permission_templates.php b/admin/manage_permission_templates.php index d82f36b9..318e1315 100644 --- a/admin/manage_permission_templates.php +++ b/admin/manage_permission_templates.php @@ -52,8 +52,7 @@ hesk_checkPermission('can_man_cat'); /* What should we do? */ if ( $action = hesk_REQUEST('a') ) { - if ($action == 'linkcode') {generate_link_code();} - elseif ( defined('HESK_DEMO') ) {hesk_process_messages($hesklang['ddemo'], 'manage_categories.php', 'NOTICE');} + if ($action == 'save') {save();} } /* Print header */ @@ -87,43 +86,49 @@ else {return false;} ?>
-

-
- - - - - - - - - - - - - - - -
- - - - - - - - -
-
+

+
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + +
" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">