#49 Getting started on the NuMods settings page
This commit is contained in:
parent
b5361d683a
commit
e357e62e0c
@ -471,8 +471,16 @@ if ( defined('HESK_DEMO') )
|
||||
<li><a href="#customFields" data-toggle="tab"><?php echo $hesklang['tab_4']; ?></a></li>
|
||||
<li><a href="#email" data-toggle="tab"><?php echo $hesklang['tab_6']; ?></a></li>
|
||||
<li><a href="#misc" data-toggle="tab"><?php echo $hesklang['tab_5']; ?></a></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" id="nuModsDropdown" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<?php echo $hesklang['numods']; ?><span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="nuModsDropdown">
|
||||
<li><a href="#numods-general" data-toggle="tab"><?php echo $hesklang['tab_1']; ?></a></li>
|
||||
<li><a href="#statuses" data-toggle="tab"><?php echo $hesklang['statuses']; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- Tab panes -->
|
||||
<div class="tab-content summaryList tabPadding">
|
||||
@ -1773,6 +1781,57 @@ if ( defined('HESK_DEMO') )
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- NuMods: General Settings -->
|
||||
<div class="tab-pane fade in" id="numods-general">
|
||||
<h6 style="font-weight: bold"><?php echo $hesklang['gs']; ?></h6>
|
||||
<div class="footerWithBorder blankSpace"></div>
|
||||
<div class="form-group">
|
||||
<label for="rtl" class="col-sm-3 col-xs-12 control-label">
|
||||
<?php echo 'Display site right-to-left:'; ?>
|
||||
<a href="#" onclick="javascript:alert('Check this box to convert the helpdesk to right-to-left');">
|
||||
<i class="fa fa-question-circle settingsquestionmark"></i>
|
||||
</a>
|
||||
</label>
|
||||
<div class="col-sm-9 col-xs-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" <?php if ($nuMods_settings['rtl']) {echo 'checked' ;} ?>> Display site right-to-left
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="show-icons" class="col-sm-3 col-xs-12 control-label">
|
||||
<?php echo 'Show icons:'; ?>
|
||||
<a href="#" onclick="javascript:alert('Check this box to show icons next to navigation bar items');">
|
||||
<i class="fa fa-question-circle settingsquestionmark"></i>
|
||||
</a>
|
||||
</label>
|
||||
<div class="col-sm-9 col-xs-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" <?php if ($nuMods_settings['show_icons']) {echo 'checked';} ?>> Show icons on navigation bar
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="maintenance-mode" class="col-sm-3 col-xs-12 control-label">
|
||||
<?php echo 'Maintenance Mode:'; ?>
|
||||
<a href="#" onclick="javascript:alert('Check this box to show icons next to navigation bar items');">
|
||||
<i class="fa fa-question-circle settingsquestionmark"></i>
|
||||
</a>
|
||||
</label>
|
||||
<div class="col-sm-9 col-xs-12">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" <?php if ($nuMods_settings['maintenance_mode']) {echo 'checked';} ?>> Enable Maintenance Mode
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- NuMods: Statuses -->
|
||||
<div class="tab-pane fade in" id="statuses">
|
||||
<h6 style="font-weight: bold"><?php echo $hesklang['basicProperties']; ?></h6>
|
||||
<div class="footerWithBorder blankSpace"></div>
|
||||
|
@ -37,7 +37,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}
|
||||
|
||||
// We will be installing this HESK version:
|
||||
define('HESK_NEW_VERSION','2.5.5');
|
||||
define('NUMODS_NEW_VERSION','1.3.1');
|
||||
define('NUMODS_NEW_VERSION','1.4.0');
|
||||
|
||||
// Other required files and settings
|
||||
define('INSTALL',1);
|
||||
|
@ -21,6 +21,9 @@ $hesklang['_COLLATE']='utf8_unicode_ci';
|
||||
// This is the email break line that will be used in email piping
|
||||
$hesklang['EMAIL_HR']='------ Reply above this line ------';
|
||||
|
||||
// ADDED OR MODIFIED IN NuMods 1.4.0
|
||||
$hesklang['numods'] = 'NuMods';
|
||||
|
||||
// ADDED OR MODIFIED IN NuMods 1.3.1
|
||||
$hesklang['autorefresh'] = 'Autorefresh:';
|
||||
$hesklang['autorefresh_restrictions'] = 'Enter value in milliseconds. Value must be greater than 1000 to use this feature. No fractional values.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user