Browse Source

Small change

tags/3.1.0
Mike Koch 2 years ago
parent
commit
3a7db2f7ca
2 changed files with 20 additions and 30 deletions
  1. 16
    27
      admin/admin_settings.php
  2. 4
    3
      language/en/text.php

+ 16
- 27
admin/admin_settings.php View File

@@ -3715,39 +3715,28 @@ $modsForHesk_settings = mfh_getSettings();
<div class="col-xs-12">
<div class="form-group">
<label for="admin-color-scheme"
class="col-sm-3 col-xs-5 control-label"><?php echo $hesklang['color_scheme']; ?>
class="col-sm-3 col-xs-5 control-label"><?php echo $hesklang['color_preset']; ?>
<i class="fa fa-question-circle settingsquestionmark" data-toggle="popover"
data-placement="left"
title="<?php echo $hesklang['color_scheme']; ?>"
data-content="<?php echo $hesklang['color_scheme_help']; ?>"></i>
title="<?php echo $hesklang['color_preset']; ?>"
data-content="<?php echo $hesklang['color_preset_help']; ?>"></i>
</label>

<div class="col-sm-9 col-xs-7">
<select name="admin-color-scheme" class="form-control">
<option value="skin-blue"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-blue') { echo 'selected'; } ?>>Blue</option>
<option value="skin-blue-light"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-blue-light') { echo 'selected'; } ?>>Blue (Light)</option>
<option value="skin-yellow"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-yellow') { echo 'selected'; } ?>>Yellow</option>
<option value="skin-yellow-light"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-yellow-light') { echo 'selected'; } ?>>Yellow (Light)</option>
<option value="skin-green"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-green') { echo 'selected'; } ?>>Green</option>
<option value="skin-green-light"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-green-light') { echo 'selected'; } ?>>Green (Light)</option>
<option value="skin-purple"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-purple') { echo 'selected'; } ?>>Purple</option>
<option value="skin-purple-light"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-purple-light') { echo 'selected'; } ?>>Purple (Light)</option>
<option value="skin-red"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-red') { echo 'selected'; } ?>>Red</option>
<option value="skin-red-light"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-red-light') { echo 'selected'; } ?>>Red (Light)</option>
<option value="skin-black"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-black') { echo 'selected'; } ?>>Black</option>
<option value="skin-black-light"
<?php if ($modsForHesk_settings['admin_color_scheme'] == 'skin-black-light') { echo 'selected'; } ?>>Black (Light)</option>
<option value="SELECT"><?php echo $hesklang['select_a_preset']; ?></option>
<option value="skin-blue">Blue</option>
<option value="skin-blue-light">Blue (Light)</option>
<option value="skin-yellow">Yellow</option>
<option value="skin-yellow-light">Yellow (Light)</option>
<option value="skin-green">Green</option>
<option value="skin-green-light">Green (Light)</option>
<option value="skin-purple">Purple</option>
<option value="skin-purple-light">Purple (Light)</option>
<option value="skin-red">Red</option>
<option value="skin-red-light">Red (Light)</option>
<option value="skin-black">Black</option>
<option value="skin-black-light">Black (Light)</option>
</select>
</div>
<script>

+ 4
- 3
language/en/text.php View File

@@ -2082,8 +2082,6 @@ $hesklang['canned_responses_dropdown_title'] = 'Canned Responses';
$hesklang['helpdesk_settings'] = 'Helpdesk Settings';
$hesklang['click_to_toggle'] = 'Click to toggle';
$hesklang['see_all_messages'] = 'See All Messages';
$hesklang['color_scheme'] = 'Color Scheme';
$hesklang['color_scheme_help'] = 'The color scheme for the backend to use.';

// ADDED OR MODIFIED IN Mods for HESK 3.1.0
$hesklang['stack_trace_header'] = 'Stack Trace';
@@ -2155,7 +2153,10 @@ $hesklang['font_weight'] = 'Font Weight';
$hesklang['font_weight_help'] = 'The font weight for text';
$hesklang['normal'] = 'Normal';
$hesklang['bold'] = 'Bold';

$hesklang['color_preset'] = 'Color Preset';
$hesklang['color_preset_help'] = 'Select a color preset for the backend, or define custom colors below.';
$hesklang['select_a_preset'] = '-- Select a Preset --';
;

// DO NOT CHANGE BELOW
if (!defined('IN_SCRIPT')) die('PHP syntax OK!');

Loading…
Cancel
Save