-
-
Notifications
You must be signed in to change notification settings - Fork 689
/
online_user_info.tpl.php
23 lines (17 loc) · 1.22 KB
/
online_user_info.tpl.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php if (($online_user = $chat->online_user) !== false) : ?>
<?php include(erLhcoreClassDesign::designtpl('lhchat/chat_tabs/online_user_info_pre.tpl.php'));?>
<?php if ($information_tab_online_user_info_enabled == true) : ?>
<div role="tabpanel" class="tab-pane<?php if ($chatTabsOrderDefault == 'online_user_info_tab') print ' active';?>" id="online-user-info-tab-<?php echo $chat->id?>">
<a class="btn btn-secondary btn-xs" rel="<?php echo $chat->id?>" onclick="lhinst.refreshOnlineUserInfo($(this))"><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/adminchat','Refresh')?></a>
<div id="online-user-info-<?php echo $chat->id?>">
<?php include(erLhcoreClassDesign::designtpl('lhchat/online_user/online_user_info.tpl.php')); ?>
</div>
</div>
<?php endif;?>
<?php include(erLhcoreClassDesign::designtpl('lhchat/chat_tabs/online_user_info_chats_pre.tpl.php'));?>
<?php if ($information_tab_online_user_info_chats_enabled == true) : ?>
<div role="tabpanel" class="tab-pane" id="online-user-info-chats-tab-<?php echo $chat->id?>">
<?php include(erLhcoreClassDesign::designtpl('lhchat/chat_tabs/online_user_info_chats_list_override.tpl.php'));?>
</div>
<?php endif; ?>
<?php endif; ?>