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">
|
||||
<ul class="nav navbar-nav">
|
||||
<?php
|
||||
if ($hesk_settings['kb_enable'] !== 2) {
|
||||
$active = '';
|
||||
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_HOME') {
|
||||
$active = 'class="active"';
|
||||
@ -310,6 +311,10 @@ if ($modsForHesk_settings['show_icons']) {
|
||||
</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if ($hesk_settings['kb_enable']) {
|
||||
$active = '';
|
||||
if (defined('PAGE_TITLE') && PAGE_TITLE == 'CUSTOMER_KB') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user