2012-04-14 22:21:33 +00:00
|
|
|
<div id="sidebarContent" class="sidebarContent">
|
2012-03-04 15:03:58 +00:00
|
|
|
<nav class="timsChatSidebarTabs">
|
|
|
|
<ul>
|
2013-01-26 21:46:54 +00:00
|
|
|
<li id="toggleUsers" class="active"><a title="{lang}chat.general.users{/lang}">{lang}chat.general.users{/lang} <span class="badge">0</span></a></li>
|
|
|
|
<li id="toggleRooms"><a title="{lang}chat.general.rooms{/lang}" data-refresh-url="{link application='chat' controller="Chat" action="RefreshRoomList"}{/link}">{lang}chat.general.rooms{/lang} <span class="badge">{#$rooms|count}</span><span class="ajaxLoad icon icon32 icon-spinner"></span></a></li>
|
2012-03-04 15:03:58 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div id="sidebarContainer">
|
|
|
|
<ul id="timsChatUserList">
|
|
|
|
</ul>
|
2012-04-14 22:21:33 +00:00
|
|
|
<nav id="timsChatRoomList" class="sidebarMenu" style="display: none;">
|
2012-03-04 15:03:58 +00:00
|
|
|
<div>
|
|
|
|
<ul>
|
|
|
|
{foreach from=$rooms item='roomListRoom'}
|
|
|
|
{if $roomListRoom->canEnter()}
|
|
|
|
<li{if $roomListRoom->roomID == $room->roomID} class="activeMenuItem"{/if}>
|
2013-01-19 19:36:40 +00:00
|
|
|
<a href="{link application='chat' controller='Chat' object=$roomListRoom}{/link}" class="timsChatRoom">{$roomListRoom}</a>
|
2012-03-04 15:03:58 +00:00
|
|
|
</li>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
2013-01-26 21:46:54 +00:00
|
|
|
<div><button type="button">{lang}chat.general.forceRefresh{/lang}</button></div>
|
2012-03-04 15:03:58 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|