Browse Source

Revert "#57 Finished UI portion of customer category specification feature"

This reverts commit ef5e75696a.
merge-requests/2/head
Mike Koch 7 years ago
parent
commit
7b210df019
  1. 24
      admin/admin_settings.php
  2. 5
      admin/admin_settings_save.php
  3. 4
      language/en/text.php
  4. 3
      nuMods_settings.inc.php

24
admin/admin_settings.php

@ -1831,30 +1831,6 @@ if ( defined('HESK_DEMO') )
</div>
</div>
</div>
<div class="form-group">
<label for="customer-category" class="col-sm-4 col-xs-12 control-label"><?php echo $hesklang['customer_category']; ?>
<i class="fa fa-question-circle settingsquestionmark" data-toggle="popover" data-placement="left"
title="<?php echo $hesklang['customer_category']; ?>"
data-content="<?php echo $hesklang['customer_category_help']; ?>"></i>
</label>
<div class="col-sm-8 col-xs-12 form-inline">
<div class="radio">
<label>
<input type="radio" name="customer-category" value="0" <?php if ($nuMods_settings['customer_category'] == 0) {echo 'checked';} ?>> <?php echo $hesklang['off']; ?>
</label>
</div>&nbsp;&nbsp;
<div class="radio">
<label>
<input type="radio" name="customer-category" value="1" <?php if ($nuMods_settings['customer_category'] == 1) {echo 'checked';} ?>> <?php echo $hesklang['on_not_required']; ?>
</label>
</div>&nbsp;&nbsp;
<div class="radio">
<label>
<input type="radio" name="customer-category" value="0" <?php if ($nuMods_settings['customer_category'] == 2) {echo 'checked';} ?>> <?php echo $hesklang['on_required']; ?>
</label>
</div>
</div>
</div>
</div>
<!-- NuMods: Statuses -->
<div class="tab-pane fade in" id="statuses">

5
admin/admin_settings_save.php

@ -401,7 +401,6 @@ for ($i=1;$i<=20;$i++)
}
}
//-- Update the statuses
hesk_dbConnect();
$wasStatusDeleted = false;
@ -551,7 +550,6 @@ $set['dropdownItemTextColor'] = hesk_input(hesk_POST('dropdownItemTextColor'));
$set['dropdownItemTextHoverColor'] = hesk_input(hesk_POST('dropdownItemTextHoverColor'));
$set['questionMarkColor'] = hesk_input(hesk_POST('questionMarkColor'));
$set['dropdownItemTextHoverBackgroundColor'] = hesk_input(hesk_POST('dropdownItemTextHoverBackgroundColor'));
$set['customer-category'] = hesk_input(hesk_POST('customer-category'));
$nuMods_file_content='<?php
//-- NuMods Theme Color Settings
@ -576,9 +574,6 @@ $nuMods_settings[\'show_icons\'] = '.$set['show-icons'].';
//-- Set this to 1 to enable maintenance mode
$nuMods_settings[\'maintenance_mode\'] = '.$set['maintenance-mode'].';
//-- Set this to 0 for off, 1 for on/not required, or 2 for on and required
$nuMods_settings[\'customer_category\'] = '.$set['customer-category'].';
/* DO NOT EDIT ANYTHING BELOW THIS LINE */
$nuMods_settings[\'version\']= \''.$set['nuMods_version'].'\';';

4
language/en/text.php

@ -37,10 +37,6 @@ $hesklang['inactive_user'] = 'Your account is currently inactive. Contact an adm
$hesklang['notify_customer_email'] = 'Emails to customer on reply';
$hesklang['notify_customer_email_text'] = 'Don\'t send email notifications of replies to the customer by default';
$hesklang['cant_edit_admin'] = 'You cannot edit the God Admin (User ID = 1)';
$hesklang['customer_category'] = 'Allow Customer To Specify Category';
$hesklang['customer_category_help'] = 'Allow the customer to specify the category for their ticket';
$hesklang['on_required'] = 'On, required';
$hesklang['on_not_required'] = 'On, not required';
// ADDED OR MODIFIED IN NuMods 1.4.0
$hesklang['numods'] = 'NuMods';

3
nuMods_settings.inc.php

@ -22,8 +22,5 @@ $nuMods_settings['show_icons'] = 0;
//-- Set this to 1 to enable maintenance mode
$nuMods_settings['maintenance_mode'] = 0;
//-- Set this to 0 for off, 1 for on/not required, or 2 for on and required
$nuMods_settings['customer_category'] = 0;
/* DO NOT EDIT ANYTHING BELOW THIS LINE */
$nuMods_settings['version']= '1.4.1';
Loading…
Cancel
Save