Settings page uses new UI

merge-requests/27/head
Mike Koch 8 years ago
parent baf90b7a5d
commit 46be4939c1

@ -91,165 +91,11 @@ if (defined('HESK_DEMO')) {
$hesk_settings['recaptcha_private_key'] = $hesklang['hdemo'];
}
?>
<div class="row move-down-20">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><?php echo $hesklang['installation_information']; ?></div>
<table class="table table-striped">
<tr>
<td class="text-right">
<?php echo $hesklang['v']; ?>:
</td>
<?php
$cellClass = '';
if ($hesk_settings['check_updates']) {
$latest = hesk_checkVersion();
if ($latest === true) {
$cellClass = 'success';
} elseif ($latest != -1) {
$cellClass = 'warning';
}
}
?>
<td class="pad-right-10 <?php echo $cellClass; ?>">
<?php echo $hesk_settings['hesk_version']; ?>
<?php
if ($hesk_settings['check_updates']) {
if ($latest === true) {
echo ' - <span class="green">' . $hesklang['hud'] . '</span> ';
} elseif ($latest != -1) {
// Is this a beta/dev version?
if (strpos($hesk_settings['hesk_version'], 'beta') || strpos($hesk_settings['hesk_version'], 'dev') || strpos($hesk_settings['hesk_version'], 'RC')) {
echo ' <span class="dark-orange">' . $hesklang['beta'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
} else {
echo ' - <span class="dark-orange bold">' . $hesklang['hnw'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['getup']; ?></a><?php
}
} else {
?> - <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
} else {
?> - <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
?>
</td>
</tr>
<tr>
<td class="text-right pad-up-5">
<?php echo $hesklang['mods_for_hesk_version']; ?>:
</td>
<?php
$cellClass = '';
if ($hesk_settings['check_updates']) {
$latest = hesk_checkMfhVersion($modsForHeskVersion);
if ($latest === true) {
$cellClass = 'success';
} elseif ($latest != -1) {
$cellClass = 'warning';
}
}
?>
<td class="pad-right-10 pad-up-5 <?php echo $cellClass; ?>">
<?php echo $modsForHeskVersion; ?>
<?php
if ($hesk_settings['check_updates']) {
if ($latest === true) {
echo ' - <span class="green">' . $hesklang['mfh_up_to_date'] . '</span>';
} else {
?> - <a href="https://mods-for-hesk.mkochcs.com" target="_blank"
class="orange bold"><?php echo $hesklang['hnw']; ?></a>
<?php
}
} else {
?> - <a
href="https://mods-for-hesk.mkochcs.com/versioncheck.php?version=<?php echo $modsForHeskVersion; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a>
<?php
}
?>
</td>
</tr>
<tr>
<td class="text-right">
<?php echo $hesklang['phpv']; ?>:
</td>
<td class="pad-right-10">
<?php echo defined('HESK_DEMO') ? $hesklang['hdemo'] : PHP_VERSION . ' ' . (function_exists('mysqli_connect') ? '(MySQLi)' : '(MySQL)'); ?>
</td>
</tr>
<tr>
<td class="text-right pad-up-5">
<?php echo $hesklang['mysqlv']; ?>:
</td>
<td class="pad-right-10 pad-up-5">
<?php echo defined('HESK_DEMO') ? $hesklang['hdemo'] : hesk_dbResult(hesk_dbQuery('SELECT VERSION() AS version')); ?>
</td>
</tr>
<tr>
<td class="text-right">
/hesk_settings.inc.php
</td>
<?php
$heskSettingsWritable = is_writable(HESK_PATH . 'hesk_settings.inc.php');
$cellClass = $heskSettingsWritable ? 'success' : 'danger';
?>
<td class="pad-right-10 <?php echo $cellClass; ?>">
<?php
if ($heskSettingsWritable) {
$enable_save_settings = 1;
echo '<font class="success">' . $hesklang['exists'] . '</font>, <font class="success">' . $hesklang['writable'] . '</font>';
} else {
echo '<font class="success">' . $hesklang['exists'] . '</font>, <font class="error">' . $hesklang['not_writable'] . '</font><br />' . $hesklang['e_settings'];
}
?>
</td>
</tr>
<tr>
<td class="text-right">
/<?php echo $hesk_settings['attach_dir']; ?>
</td>
<?php
$attachmentsExist = is_dir(HESK_PATH . $hesk_settings['attach_dir']);
$attachmentsWritable = is_writable(HESK_PATH . $hesk_settings['attach_dir']);
$cellClass = $attachmentsExist && $attachmentsWritable ? 'success' : 'danger';
?>
<td class="pad-right-10 <?php echo $cellClass; ?>">
<?php
if ($attachmentsExist) {
echo '<font class="success">' . $hesklang['exists'] . '</font>, ';
if (is_writable(HESK_PATH . $hesk_settings['attach_dir'])) {
$enable_use_attachments = 1;
echo '<font class="success">' . $hesklang['writable'] . '</font>';
} else {
echo '<font class="error">' . $hesklang['not_writable'] . '</font><br />' . $hesklang['e_attdir'];
}
} else {
echo '<font class="error">' . $hesklang['no_exists'] . '</font>, <font class="error">' . $hesklang['not_writable'] . '</font><br />' . $hesklang['e_attdir'];
}
?>
</td>
</tr>
</table>
</div>
</div>
<div class="col-md-8">
<?php
/* This will handle error, success and notice messages */
hesk_handle_messages();
/* This will handle error, success and notice messages */
hesk_handle_messages();
// Check file attachment limits
if ($hesk_settings['attachments']['use'] && !defined('HESK_DEMO')) {
// Check file attachment limits
if ($hesk_settings['attachments']['use'] && !defined('HESK_DEMO')) {
// Check number of attachments per post
if (version_compare(phpversion(), '5.2.12', '>=') && @ini_get('max_file_uploads') && @ini_get('max_file_uploads') < $hesk_settings['attachments']['max_number']) {
hesk_show_notice($hesklang['fatte1']);
@ -302,14 +148,14 @@ if (defined('HESK_DEMO')) {
hesk_show_notice($hesklang['fatte3']);
}
}
}
}
$hesklang['err_custname'] = addslashes($hesklang['err_custname']);
$hesklang['err_custname'] = addslashes($hesklang['err_custname']);
$modsForHesk_settings = mfh_getSettings();
?>
<script language="javascript" type="text/javascript"><!--
$modsForHesk_settings = mfh_getSettings();
?>
<script language="javascript" type="text/javascript"><!--
function hesk_checkFields() {
d = document.form1;
@ -538,43 +384,189 @@ if (defined('HESK_DEMO')) {
return i;
}
//-->
</script>
<h3><?php echo $hesklang['settings']; ?> <a href="javascript:void(0)"
onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['settings_intro']) . '\n\n' . hesk_makeJsString($hesklang['all_req']); ?>')"><i
class="fa fa-question-circle settingsquestionmark"></i></a></h3>
</script>
<section class="content">
<div class="box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['installation_information']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-minus"></i>
</button>
</div>
</div>
<div class="box-body">
<table class="table table-striped">
<tr>
<td class="text-right">
<?php echo $hesklang['v']; ?>:
</td>
<?php
$cellClass = '';
if ($hesk_settings['check_updates']) {
$latest = hesk_checkVersion();
<div class="footerWithBorder blankSpace"></div>
if ($latest === true) {
$cellClass = 'success';
} elseif ($latest != -1) {
$cellClass = 'warning';
}
}
?>
<td class="pad-right-10 <?php echo $cellClass; ?>">
<?php echo $hesk_settings['hesk_version']; ?>
<?php
if ($hesk_settings['check_updates']) {
if ($latest === true) {
echo ' - <span class="green">' . $hesklang['hud'] . '</span> ';
} elseif ($latest != -1) {
// Is this a beta/dev version?
if (strpos($hesk_settings['hesk_version'], 'beta') || strpos($hesk_settings['hesk_version'], 'dev') || strpos($hesk_settings['hesk_version'], 'RC')) {
echo ' <span class="dark-orange">' . $hesklang['beta'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
} else {
echo ' - <span class="dark-orange bold">' . $hesklang['hnw'] . '</span> '; ?> <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['getup']; ?></a><?php
}
} else {
?> - <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
} else {
?> - <a
href="http://www.hesk.com/update.php?v=<?php echo $hesk_settings['hesk_version']; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a><?php
}
?>
</td>
</tr>
<tr>
<td class="text-right pad-up-5">
<?php echo $hesklang['mods_for_hesk_version']; ?>:
</td>
<?php
$cellClass = '';
if ($hesk_settings['check_updates']) {
$latest = hesk_checkMfhVersion($modsForHeskVersion);
if ($latest === true) {
$cellClass = 'success';
} elseif ($latest != -1) {
$cellClass = 'warning';
}
}
?>
<td class="pad-right-10 pad-up-5 <?php echo $cellClass; ?>">
<?php echo $modsForHeskVersion; ?>
<?php
if ($hesk_settings['check_updates']) {
if ($latest === true) {
echo ' - <span class="green">' . $hesklang['mfh_up_to_date'] . '</span>';
} else {
?> - <a href="https://mods-for-hesk.mkochcs.com" target="_blank"
class="orange bold"><?php echo $hesklang['hnw']; ?></a>
<?php
}
} else {
?> - <a
href="https://mods-for-hesk.mkochcs.com/versioncheck.php?version=<?php echo $modsForHeskVersion; ?>"
target="_blank"><?php echo $hesklang['check4updates']; ?></a>
<?php
}
?>
</td>
</tr>
<tr>
<td class="text-right">
<?php echo $hesklang['phpv']; ?>:
</td>
<td class="pad-right-10">
<?php echo defined('HESK_DEMO') ? $hesklang['hdemo'] : PHP_VERSION . ' ' . (function_exists('mysqli_connect') ? '(MySQLi)' : '(MySQL)'); ?>
</td>
</tr>
<tr>
<td class="text-right pad-up-5">
<?php echo $hesklang['mysqlv']; ?>:
</td>
<td class="pad-right-10 pad-up-5">
<?php echo defined('HESK_DEMO') ? $hesklang['hdemo'] : hesk_dbResult(hesk_dbQuery('SELECT VERSION() AS version')); ?>
</td>
</tr>
<tr>
<td class="text-right">
/hesk_settings.inc.php
</td>
<?php
$heskSettingsWritable = is_writable(HESK_PATH . 'hesk_settings.inc.php');
$cellClass = $heskSettingsWritable ? 'success' : 'danger';
?>
<td class="pad-right-10 <?php echo $cellClass; ?>">
<?php
if ($heskSettingsWritable) {
$enable_save_settings = 1;
echo '<font class="success">' . $hesklang['exists'] . '</font>, <font class="success">' . $hesklang['writable'] . '</font>';
} else {
echo '<font class="success">' . $hesklang['exists'] . '</font>, <font class="error">' . $hesklang['not_writable'] . '</font><br />' . $hesklang['e_settings'];
}
?>
</td>
</tr>
<tr>
<td class="text-right">
/<?php echo $hesk_settings['attach_dir']; ?>
</td>
<?php
$attachmentsExist = is_dir(HESK_PATH . $hesk_settings['attach_dir']);
$attachmentsWritable = is_writable(HESK_PATH . $hesk_settings['attach_dir']);
$cellClass = $attachmentsExist && $attachmentsWritable ? 'success' : 'danger';
?>
<td class="pad-right-10 <?php echo $cellClass; ?>">
<?php
if ($attachmentsExist) {
echo '<font class="success">' . $hesklang['exists'] . '</font>, ';
if (is_writable(HESK_PATH . $hesk_settings['attach_dir'])) {
$enable_use_attachments = 1;
echo '<font class="success">' . $hesklang['writable'] . '</font>';
} else {
echo '<font class="error">' . $hesklang['not_writable'] . '</font><br />' . $hesklang['e_attdir'];
}
} else {
echo '<font class="error">' . $hesklang['no_exists'] . '</font>, <font class="error">' . $hesklang['not_writable'] . '</font><br />' . $hesklang['e_attdir'];
}
?>
</td>
</tr>
</table>
</div>
</div>
<h2>
<?php echo $hesklang['settings']; ?>
<a href="javascript:void(0)"
onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['settings_intro']) . '\n\n' . hesk_makeJsString($hesklang['all_req']); ?>')"><i
class="fa fa-question-circle settingsquestionmark"></i></a>
</h2>
<form method="post" action="admin_settings_save.php" name="form1" onsubmit="return hesk_checkFields()"
class="form-horizontal" role="form">
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#general" data-toggle="tab"><?php echo $hesklang['tab_1']; ?></a></li>
<li><a href="#helpdesk" data-toggle="tab"><?php echo $hesklang['tab_2']; ?></a></li>
<li><a href="#knowledgebase" data-toggle="tab"><?php echo $hesklang['tab_3']; ?></a></li>
<li>
<a href="#calendar" data-toggle="tab"><?php echo $hesklang['calendar_title_case']; ?>
<span class="label label-primary" data-toggle="tooltip"
title="<?php echo $hesklang['added_in_mods_for_hesk']; ?>">
<?php echo $hesklang['mods_for_hesk_acronym']; ?>
</span>
</a>
</li>
<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="#ticket-list" data-toggle="tab"><?php echo $hesklang['tab_7']; ?></a></li>
<li><a href="#misc" data-toggle="tab"><?php echo $hesklang['tab_5']; ?></a></li>
<li><a href="#colors" data-toggle="tab"><?php echo $hesklang['uiColors']; ?></a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content summaryList tabPadding">
<!-- General Settings -->
<div class="tab-pane fade in active" id="general">
<h6 class="bold"><?php echo $hesklang['gs']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<!-- General Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_1']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['gs']; ?></h4>
<div class="form-group">
<label for="s_site_title" class="col-sm-3 control-label"><?php echo $hesklang['wbst_title']; ?>
@ -657,7 +649,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['lgs']; ?></h6>
<h4 class="bold"><?php echo $hesklang['lgs']; ?></h4>
<div class="footerWithBorder blankSpace"></div>
<div class="form-group">
@ -692,9 +684,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['db']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['db']; ?></h4>
<div class="form-group">
<label for="s_db_host" class="col-sm-3 control-label"><?php echo $hesklang['db_host']; ?> <a
@ -816,13 +806,22 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
</div>
<!-- Helpdesk Settings -->
<div class="tab-pane fade in" id="helpdesk">
<h6 class="bold"><?php echo $hesklang['hd']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_2']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['hd']; ?></h4>
<div class="form-group">
<label for="s_hesk_title" class="col-sm-3 control-label"><?php echo $hesklang['hesk_title']; ?>
<a href="Javascript:void(0)"
@ -961,9 +960,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['features']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['features']; ?></h4>
<div class="row">
<div class="col-md-6">
<div class="form-group">
@ -1331,10 +1328,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['sp']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['sp']; ?></h4>
<div class="form-group">
<label for="s_secimg_use" class="col-sm-3 control-label"><?php echo $hesklang['use_secimg']; ?>
<a href="Javascript:void(0)"
@ -1469,11 +1463,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
<br/>
<h6 class="bold"><?php echo $hesklang['security']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['security']; ?></h4>
<div class="form-group">
<label for="s_attempt_limit" class="col-sm-4 control-label"><?php echo $hesklang['banlim']; ?>
<a href="Javascript:void(0)"
@ -1553,11 +1543,8 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
<br/>
<h6 class="bold"><?php echo $hesklang['attachments']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['attachments']; ?></h4>
<div class="form-group">
<label for="s_attach_use" class="col-sm-3 control-label"><?php echo $hesklang['attach_use'];
$onload_status = ''; ?> <a href="Javascript:void(0)"
@ -1668,13 +1655,22 @@ if (defined('HESK_DEMO')) {
value="<?php echo implode(',', $hesk_settings['attachments']['allowed_types']); ?>" <?php echo $onload_status; ?> />
</div>
</div>
</div>
</div>
<div class="tab-pane fade in" id="knowledgebase">
<h6 class="bold"><?php echo $hesklang['kb_set']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<!-- Knowledgebase Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_3']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<div class="form-group">
<label for="s_kb_enable" class="col-sm-4 control-label"><?php echo $hesklang['s_ekb']; ?> <a
href="Javascript:void(0)"
@ -1978,11 +1974,26 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
</div>
<!-- Calendar Tab -->
<div class="tab-pane fade in" id="calendar">
<h6 class="bold"><?php echo $hesklang['calendar_settings']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<!-- Calendar Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['calendar_title_case']; ?>
<span class="label label-primary" data-toggle="tooltip"
title="<?php echo $hesklang['added_in_mods_for_hesk']; ?>">
<?php echo $hesklang['mods_for_hesk_acronym']; ?>
</span>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['calendar_settings']; ?></h4>
<div class="form-group">
<label for="enable_calendar" class="col-sm-4 col-xs-12 control-label">
<?php echo $hesklang['enable_calendar']; ?>
@ -2057,14 +2068,24 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
</div>
<!-- Custom Fields Tab -->
<div class="tab-pane fade in" id="customFields">
<h6 class="bold"><?php echo $hesklang['custom_use']; ?> <a href="Javascript:void(0)"
<!-- Custom Field Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_4']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['custom_use']; ?> <a href="Javascript:void(0)"
onclick="Javascript:hesk_window('<?php echo $help_folder; ?>custom.html#41','400','500')"><i
class="fa fa-question-circle settingsquestionmark"></i></a></h6>
<div class="footerWithBorder blankSpace"></div>
class="fa fa-question-circle settingsquestionmark"></i></a></h4>
<div class="form-group">
@ -2160,13 +2181,22 @@ if (defined('HESK_DEMO')) {
?>
</table>
</div>
</div>
<!-- Email Tab -->
<div class="tab-pane fade in" id="email">
<h6 class="bold"><?php echo $hesklang['emlsend']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<!-- Email Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_6']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['emlsend']; ?></h4>
<div class="form-group">
<label for="s_smtp" class="col-sm-3 control-label"><?php echo $hesklang['emlsend2']; ?> <a
@ -2441,10 +2471,7 @@ if (defined('HESK_DEMO')) {
</div>
<!-- END SMTP SETTINGS DIV -->
<h6 class="bold"><?php echo $hesklang['emlpipe']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['emlpipe']; ?></h4>
<div class="form-group">
<label for="s_email_piping" class="col-sm-3 control-label"><?php echo $hesklang['emlpipe']; ?>
<a href="Javascript:void(0)"
@ -2462,10 +2489,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['pop3']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['pop3']; ?></h4>
<div class="form-group">
<label for="s_pop3" class="col-sm-3 control-label"><?php echo $hesklang['pop3']; ?> <a
href="Javascript:void(0)"
@ -2668,14 +2692,10 @@ if (defined('HESK_DEMO')) {
//-->
</script>
<!-- END POP3 TEST -->
</div>
<!-- END POP3 SETTINGS DIV -->
<h6 class="bold"><?php echo $hesklang['loops']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['loops']; ?></h4>
<div class="form-group">
<label for="s_loop_hits" class="col-sm-3 control-label"><?php echo $hesklang['looph']; ?> <a
href="Javascript:void(0)"
@ -2704,10 +2724,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['suge']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['suge']; ?></h4>
<div class="form-group">
<label for="s_detect_typos" class="col-sm-3 control-label"><?php echo $hesklang['suge']; ?> <a
href="Javascript:void(0)"
@ -2758,11 +2775,9 @@ if (defined('HESK_DEMO')) {
</table>
</div>
<h6 class="bold"><?php echo $hesklang['custnot']; ?> <a href="Javascript:void(0)"
<h4 class="bold"><?php echo $hesklang['custnot']; ?> <a href="Javascript:void(0)"
onclick="Javascript:hesk_window('<?php echo $help_folder; ?>email.html#65','400','500')"><i
class="fa fa-question-circle settingsquestionmark"></i></a></h6>
<div class="footerWithBorder blankSpace"></div>
class="fa fa-question-circle settingsquestionmark"></i></a></h4>
<div class="form-group">
<label for="s_notify_new"
class="col-sm-3 control-label"><?php echo $hesklang['notnew']; ?></label>
@ -2805,10 +2820,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['other']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['other']; ?></h4>
<div class="form-group">
<label for="s_strip_quoted" class="col-sm-3 control-label"><?php echo $hesklang['remqr']; ?> <a
href="Javascript:void(0)"
@ -2966,9 +2978,21 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
</div>
<!-- Ticket List Tab -->
<div class="tab-pane fade in" id="ticket-list">
<!-- Ticket List Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_7']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<div class="form-group">
<label for="s_open_only" class="col-sm-4 control-label"><?php echo $hesklang['fitl']; ?> <a
href="Javascript:void(0)"
@ -3010,7 +3034,6 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
<div class="blankSpace"></div>
<div class="form-group">
<label for="s_submittedformat" class="col-sm-4 control-label"><?php echo $hesklang['sdf']; ?> <a
href="Javascript:void(0)"
@ -3044,13 +3067,22 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
</div>
<!-- Miscellaneous Tab -->
<div class="tab-pane fade in" id="misc">
<h6 class="bold"><?php echo $hesklang['dat']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<!-- Misc Settings -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['tab_5']; ?>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['dat']; ?></h4>
<div class="form-group">
<label for="servertime" class="col-sm-4 control-label"><?php echo $hesklang['server_time']; ?>
<a href="Javascript:void(0)"
@ -3114,10 +3146,7 @@ if (defined('HESK_DEMO')) {
</div>
</div>
<h6 class="bold"><?php echo $hesklang['other']; ?></h6>
<div class="footerWithBorder blankSpace"></div>
<h4 class="bold"><?php echo $hesklang['other']; ?></h4>
<div class="form-group">
<label for="s_ip_whois" class="col-sm-4 control-label"><?php echo $hesklang['ip_whois']; ?> <a
href="Javascript:void(0)"
@ -3129,8 +3158,6 @@ if (defined('HESK_DEMO')) {
value="<?php echo $hesk_settings['ip_whois']; ?>"/>
</div>
</div>
<br>
<div class="form-group">
<label for="s_maintenance_mode" class="col-sm-4 control-label"><?php echo $hesklang['mms']; ?>
<a href="Javascript:void(0)"
@ -3276,11 +3303,26 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
<!-- Mods For Hesk: Color settings -->
<div class="tab-pane fade in" id="colors">
<h6 class="bold"><?php echo $hesklang['uiColors']; ?></h6>
</div>
<div class="footerWithBorder blankSpace"></div>
<!-- UI Colors -->
<div class="box collapsed-box">
<div class="box-header with-border">
<h1 class="box-title">
<?php echo $hesklang['uiColors']; ?>
<span class="label label-primary" data-toggle="tooltip"
title="<?php echo $hesklang['added_in_mods_for_hesk']; ?>">
<?php echo $hesklang['mods_for_hesk_acronym']; ?>
</span>
</h1>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="box-body">
<h4 class="bold"><?php echo $hesklang['uiColors']; ?></h4>
<div class="row">
<div class="col-sm-6 col-xs-12">
<div class="form-group">
@ -3481,9 +3523,8 @@ if (defined('HESK_DEMO')) {
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-9 col-sm-offset-3">
<br/>
</div>
<div class="form-group" style="margin-left: 10px">
<input type="hidden" name="token" value="<?php hesk_token_echo(); ?>"/>
<?php
if ($enable_save_settings) {
@ -3493,10 +3534,8 @@ if (defined('HESK_DEMO')) {
}
?>
</div>
</div>
</div>
</form>
</div>
</section>
<?php
require_once(HESK_PATH . 'inc/footer.inc.php');

Loading…
Cancel
Save