Don't show home and ticket tabs when helpdesk in KB-only mode
This commit is contained in:
parent
165121abc0
commit
e6ff8672cf
@ -283,6 +283,7 @@ if ($modsForHesk_settings['show_icons']) {
|
|||||||
<div class="navbar-collapse collapse">
|
<div class="navbar-collapse collapse">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<?php
|
<?php
|
||||||
|
if ($hesk_settings['kb_enable'] !== 2) {
|
||||||
$active = '';
|
$active = '';
|
||||||
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_HOME') {
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_HOME') {
|
||||||
$active = 'class="active"';
|
$active = 'class="active"';
|
||||||
@ -310,6 +311,10 @@ if ($modsForHesk_settings['show_icons']) {
|
|||||||
</a></li>
|
</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<?php if ($hesk_settings['kb_enable']) {
|
<?php if ($hesk_settings['kb_enable']) {
|
||||||
$active = '';
|
$active = '';
|
||||||
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_KB') {
|
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_KB') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user