diff --git a/admin/admin_settings.php b/admin/admin_settings.php index b39c1385..ec46f3d7 100644 --- a/admin/admin_settings.php +++ b/admin/admin_settings.php @@ -954,6 +954,32 @@ if ( defined('HESK_DEMO') ) +
+ +
+ +
+ +
+ +
+
diff --git a/admin/admin_settings_save.php b/admin/admin_settings_save.php index a987e284..597fff54 100644 --- a/admin/admin_settings_save.php +++ b/admin/admin_settings_save.php @@ -496,6 +496,14 @@ for ($i=1;$i<=20;$i++) $set['hesk_version'] = $hesk_settings['hesk_version']; +// Process quick help sections +hesk_dbConnect(); +hesk_dbQuery("UPDATE `".hesk_dbEscape($hesk_settings['db_pfix'])."quick_help_sections` SET `show` = '0'"); +$postArray = hesk_POST_array('quick_help_sections'); +foreach ($postArray as $value) { + hesk_dbQuery("UPDATE `".hesk_dbEscape($hesk_settings['db_pfix'])."quick_help_sections` SET `show` = '1' WHERE `id` = '".intval($value)."'"); +} + // Save the modsForHesk_settings.inc.php file $set['rtl'] = empty($_POST['rtl']) ? 0 : 1; $set['show-icons'] = empty($_POST['show-icons']) ? 0 : 1; diff --git a/language/en/text.php b/language/en/text.php index 98f8ef26..a934805c 100644 --- a/language/en/text.php +++ b/language/en/text.php @@ -27,6 +27,11 @@ $hesklang['sort_alphabetically'] = 'Sort alphabetically'; $hesklang['category_sort'] = 'Category Sorting'; $hesklang['category_sort_help'] = 'Determines if categories shown on the manage categories page and all dropdowns are sorted by the user-defined order (default), or sorted alphabetically.'; +$hesklang['quick_help_sections'] = 'Quick Help Sections'; +$hesklang['quick_help_sections_help'] = 'Check the checkbox to show the "Quick Help" sections on the left-hand side, or uncheck to not show.'; +$hesklang['create_ticket'] = 'Create ticket'; +$hesklang['view_ticket_form'] = 'View ticket form'; +$hesklang['knowledgebase'] = 'Knowledgebase section'; // ADDED OR MODIFIED IN Mods for HESK 2.3.0 $hesklang['sm_icon'] = 'Icon';