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>
|
2012-04-14 22:21:33 +00:00
|
|
|
<li id="toggleUsers" class="active"><a href="javascript:;" title="{lang}wcf.chat.users{/lang}">{lang}wcf.chat.users{/lang} <span class="badge">0</span></a></li>
|
|
|
|
<li id="toggleRooms"><a href="javascript:;" title="{lang}wcf.chat.rooms{/lang}" data-refresh-url="{link controller="Chat" action="RefreshRoomList"}{/link}">{lang}wcf.chat.rooms{/lang} <span class="badge">{#$rooms|count}</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}>
|
|
|
|
<a href="{link controller='Chat' object=$roomListRoom}{/link}" class="timsChatRoom">{$roomListRoom}</a>
|
|
|
|
</li>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
<div style="text-align: center;"><button type="button">{lang}wcf.chat.forceRefresh{/lang}</button></div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|