diff --git a/admin/admin_settings.php b/admin/admin_settings.php index d08fcb4d..1f2ff5f4 100644 --- a/admin/admin_settings.php +++ b/admin/admin_settings.php @@ -2094,6 +2094,21 @@ if ( defined('HESK_DEMO') ) +
+ +
+
+ +
+
+
diff --git a/admin/admin_settings_save.php b/admin/admin_settings_save.php index a59bbaea..3943d3fc 100644 --- a/admin/admin_settings_save.php +++ b/admin/admin_settings_save.php @@ -613,6 +613,7 @@ $set['show-icons'] = empty($_POST['show-icons']) ? 0 : 1; $set['custom-field-setting'] = empty($_POST['custom-field-setting']) ? 0 : 1; $set['customer-email-verification-required'] = empty($_POST['email-verification']) ? 0 : 1; $set['html_emails'] = empty($_POST['html_emails']) ? 0 : 1; +$set['use_bootstrap_theme'] = empty($_POST['use_bootstrap_theme']) ? 0 : 1; if ($set['customer-email-verification-required']) { @@ -663,7 +664,10 @@ $modsForHesk_settings[\'html_emails\'] = '.$set['html_emails'].'; //-- Mailgun Settings $modsForHesk_settings[\'use_mailgun\'] = '.$set['use_mailgun'].'; $modsForHesk_settings[\'mailgun_api_key\'] = \''.$set['mailgun_api_key'].'\'; -$modsForHesk_settings[\'mailgun_domain\'] = \''.$set['mailgun_domain'].'\';'; +$modsForHesk_settings[\'mailgun_domain\'] = \''.$set['mailgun_domain'].'\'; + +//-- Set this to 1 to enable bootstrap-theme.css +$modsForHesk_settings[\'use_bootstrap_theme\'] = '.$set['use_bootstrap_theme'].';'; // Write the file if ( ! file_put_contents(HESK_PATH . 'modsForHesk_settings.inc.php', $modsForHesk_file_content) ) diff --git a/inc/header.inc.php b/inc/header.inc.php index 6638e67a..2ec5bc32 100644 --- a/inc/header.inc.php +++ b/inc/header.inc.php @@ -50,7 +50,7 @@ require(HESK_PATH . 'modsForHesk_settings.inc.php'); - + > diff --git a/inc/headerAdmin.inc.php b/inc/headerAdmin.inc.php index 8da4f1ba..6c056f5d 100644 --- a/inc/headerAdmin.inc.php +++ b/inc/headerAdmin.inc.php @@ -50,7 +50,7 @@ require(HESK_PATH . 'modsForHesk_settings.inc.php'); - + > diff --git a/language/en/text.php b/language/en/text.php index cd990735..469a0348 100644 --- a/language/en/text.php +++ b/language/en/text.php @@ -24,6 +24,8 @@ $hesklang['EMAIL_HR']='------ Reply above this line ------'; // ADDED OR MODIFIED IN Mods for HESK 2.1.0 $hesklang['e_mfh_settings'] = 'You will not be able to save your settings unless this file is writable by the script (CHMOD to 666)!'; $hesklang['mfh_up_to_date'] = 'Mods for HESK is up to date'; +$hesklang['use_bootstrap_theme'] = 'Use Boostrap Theme CSS'; +$hesklang['use_bootstrap_theme_help'] = 'Enable this to use the bootstrap-theme.css file. Use this for a more 3D look and feel, or disable it for a flatter look.'; // ADDED OR MODIFIED IN Mods For HESK 2.0.0 $hesklang['saved_ticket_tpl'] = 'Saved Templates'; diff --git a/modsForHesk_settings.inc.php b/modsForHesk_settings.inc.php index 850674d5..6a5e6e30 100644 --- a/modsForHesk_settings.inc.php +++ b/modsForHesk_settings.inc.php @@ -31,4 +31,7 @@ $modsForHesk_settings['html_emails'] = 1; //-- Mailgun Settings $modsForHesk_settings['use_mailgun'] = 0; $modsForHesk_settings['mailgun_api_key'] = ''; -$modsForHesk_settings['mailgun_domain'] = ''; \ No newline at end of file +$modsForHesk_settings['mailgun_domain'] = ''; + +//-- Set this to 1 to enable bootstrap-theme.css +$modsForHesk_settings['use_bootstrap_theme'] = 1; \ No newline at end of file