Skip to content

Commit

Permalink
fix #1258
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Aug 29, 2018
1 parent 8631042 commit e2a5896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -21,7 +21,7 @@
<ul class="nav navbar-nav navbar-inline">
<?php include(erLhcoreClassDesign::designtpl('pagelayouts/parts/top_menu_chat_actions_pre.tpl.php'));?>
<?php if ($parts_top_menu_chat_actions_enabled == true && $currentUser->hasAccessTo('lhchat','allowchattabs')) : ?>
<li class="li-icon"><a title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('pagelayout/pagelayout','Chat tabs');?>" href="javascript:void(0)" onclick="javascript:lhinst.chatTabsOpen()"><i class="material-icons">chat</i></a></li>
<li class="li-icon"><a title="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('pagelayout/pagelayout','Chat tabs');?>" href="#" onclick="javascript:lhinst.chatTabsOpen()"><i class="material-icons">chat</i></a></li>
<?php endif;?>

<?php if ($currentUser->hasAccessTo('lhsystem','use')) : ?>
Expand Down
Expand Up @@ -2,7 +2,7 @@
<?php if ($parts_top_menu_chat_actions_enabled == true) :

if ($currentUser->hasAccessTo('lhchat','allowchattabs')) {
$menuItems[] = array('href' => 'javascript:void(0)', 'onclick' => 'javascript:lhinst.chatTabsOpen()' ,'iclass' => 'chat', 'text' => erTranslationClassLhTranslation::getInstance()->getTranslation('pagelayout/pagelayout','Chat tabs'));
$menuItems[] = array('href' => '#', 'onclick' => 'javascript:lhinst.chatTabsOpen()' ,'iclass' => 'chat', 'text' => erTranslationClassLhTranslation::getInstance()->getTranslation('pagelayout/pagelayout','Chat tabs'));
}

$menuItems[] = array('href' => erLhcoreClassDesign::baseurl('chat/list'),'iclass' => 'list', 'text' => erTranslationClassLhTranslation::getInstance()->getTranslation('pagelayout/pagelayout','Chats list'));
Expand Down

0 comments on commit e2a5896

Please sign in to comment.