1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Improve chat template

- Add missing userNotice include in roomList
- Add missing template event for buttons
This commit is contained in:
Tim Düsterhus 2014-03-06 00:19:43 +01:00
parent 63fb3cdd9c
commit ecb82e74d7

View File

@ -150,12 +150,14 @@
<span class="invisible">{lang}chat.global.scroll{/lang}</span> <span class="invisible">{lang}chat.global.scroll{/lang}</span>
</a> </a>
</li> </li>
<li> <li>
<a id="timsChatFullscreen" accesskey="f" class="button timsChatToggle jsTooltip" title="{lang}chat.global.fullscreen{/lang}" data-status="0"> <a id="timsChatFullscreen" accesskey="f" class="button timsChatToggle jsTooltip" title="{lang}chat.global.fullscreen{/lang}" data-status="0">
<span class="icon icon16 icon-fullscreen"></span> <span class="icon icon16 icon-fullscreen"></span>
<span class="invisible">{lang}chat.global.fullscreen{/lang}</span> <span class="invisible">{lang}chat.global.fullscreen{/lang}</span>
</a> </a>
</li> </li>
<li> <li>
<a id="timsChatNotify" accesskey="n" class="button timsChatToggle jsTooltip" title="{lang}chat.global.notify{/lang}" data-status="0"> <a id="timsChatNotify" accesskey="n" class="button timsChatToggle jsTooltip" title="{lang}chat.global.notify{/lang}" data-status="0">
<span class="icon icon16 icon-bell-alt"></span> <span class="icon icon16 icon-bell-alt"></span>
@ -192,12 +194,15 @@
<span class="invisible">{lang}chat.global.clear{/lang}</span> <span class="invisible">{lang}chat.global.clear{/lang}</span>
</a> </a>
</li> </li>
<li> <li>
<a id="timsChatMark" class="button timsChatToggle jsTooltip" title="{lang}chat.global.mark{/lang}" data-status="0"> <a id="timsChatMark" class="button timsChatToggle jsTooltip" title="{lang}chat.global.mark{/lang}" data-status="0">
<span class="icon icon16 icon-check"></span> <span class="icon icon16 icon-check"></span>
<span class="invisible">{lang}chat.global.mark{/lang}</span> <span class="invisible">{lang}chat.global.mark{/lang}</span>
</a> </a>
</li> </li>
{event name='buttons'}
</ul> </ul>
</nav> </nav>
</div> </div>
@ -208,6 +213,8 @@
<h1>{lang}chat.global.title{/lang}</h1> <h1>{lang}chat.global.title{/lang}</h1>
</header> </header>
{include file='userNotice'}
<div id="chatRoomListContainer" class="container marginTop"> <div id="chatRoomListContainer" class="container marginTop">
<ul class="containerList"> <ul class="containerList">
{include application='chat' file='boxRoomList' showEmptyRooms=true} {include application='chat' file='boxRoomList' showEmptyRooms=true}