|
|
|
@ -40,6 +40,7 @@ if (!function_exists('mfh_getSettings')) {
|
|
|
|
|
|
|
|
|
|
$modsForHesk_settings = array();
|
|
|
|
|
if (is_dir(HESK_PATH . 'install')) {
|
|
|
|
|
define('MAINTENANCE_MODE', true);
|
|
|
|
|
$modsForHesk_settings['navbar_title_url'] = 'javascript:;';
|
|
|
|
|
$modsForHesk_settings['rtl'] = 0;
|
|
|
|
|
$modsForHesk_settings['use_bootstrap_theme'] = 1;
|
|
|
|
@ -55,14 +56,14 @@ if (is_dir(HESK_PATH . 'install')) {
|
|
|
|
|
$modsForHesk_settings['dropdownItemTextHoverColor'] = '#262626';
|
|
|
|
|
$modsForHesk_settings['dropdownItemTextHoverBackgroundColor'] = '#f5f5f5';
|
|
|
|
|
$modsForHesk_settings['questionMarkColor'] = '#000000';
|
|
|
|
|
$modsForHesk_settings['enable_calendar'] = 1;
|
|
|
|
|
} else {
|
|
|
|
|
$modsForHesk_settings = mfh_getSettings();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title><?php echo(isset($hesk_settings['tmp_title']) ? $hesk_settings['tmp_title'] : $hesk_settings['hesk_title']); ?></title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=<?php echo $hesklang['ENCODING']; ?>"/>
|
|
|
|
@ -283,7 +284,7 @@ if ($modsForHesk_settings['show_icons']) {
|
|
|
|
|
<div class="navbar-collapse collapse">
|
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
|
<?php
|
|
|
|
|
if ($hesk_settings['kb_enable'] !== 2) {
|
|
|
|
|
if ($hesk_settings['kb_enable'] !== 2 && !defined('MAINTENANCE_MODE')) {
|
|
|
|
|
$active = '';
|
|
|
|
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_HOME') {
|
|
|
|
|
$active = 'class="active"';
|
|
|
|
@ -313,9 +314,7 @@ if ($modsForHesk_settings['show_icons']) {
|
|
|
|
|
</li>
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<?php if ($hesk_settings['kb_enable']) {
|
|
|
|
|
if ($hesk_settings['kb_enable'] && !defined('MAINTENANCE_MODE')) {
|
|
|
|
|
$active = '';
|
|
|
|
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_KB') {
|
|
|
|
|
$active = 'class="active"';
|
|
|
|
@ -328,7 +327,7 @@ if ($modsForHesk_settings['show_icons']) {
|
|
|
|
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_CALENDAR') {
|
|
|
|
|
$active = ' active';
|
|
|
|
|
}
|
|
|
|
|
if ($modsForHesk_settings['enable_calendar'] == 1):
|
|
|
|
|
if ($modsForHesk_settings['enable_calendar'] == 1 && !defined('MAINTENANCE_MODE')):
|
|
|
|
|
?>
|
|
|
|
|
<li class="<?php echo $active; ?>">
|
|
|
|
|
<a href="<?php echo HESK_PATH; ?>calendar.php"><i class="fa fa-calendar" <?php echo $iconDisplay; ?>></i> <?php echo $hesklang['calendar_title_case']; ?></a>
|
|
|
|
@ -338,11 +337,13 @@ if ($modsForHesk_settings['show_icons']) {
|
|
|
|
|
</ul>
|
|
|
|
|
<?php if ($hesk_settings['can_sel_lang']) { ?>
|
|
|
|
|
<div class="navbar-form navbar-right" role="search" style="margin-right: 20px; min-width: 80px;">
|
|
|
|
|
<?php
|
|
|
|
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_TICKET') {
|
|
|
|
|
hesk_getLanguagesAsFormIfNecessary($trackingID);
|
|
|
|
|
} else {
|
|
|
|
|
hesk_getLanguagesAsFormIfNecessary();
|
|
|
|
|
<?php
|
|
|
|
|
if (!defined('MAINTENANCE_MODE')) {
|
|
|
|
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_TICKET') {
|
|
|
|
|
hesk_getLanguagesAsFormIfNecessary($trackingID);
|
|
|
|
|
} else {
|
|
|
|
|
hesk_getLanguagesAsFormIfNecessary();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|