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

27 lines
875 B
Smarty
Raw Normal View History

{if $messages|count > 0}
<table class="table">
<thead>
<tr>
<th>{lang}wcf.global.objectID{/lang}</th>
2014-02-27 17:55:53 +00:00
<th>{lang}chat.global.time{/lang}</th>
<th colspan="2">{lang}wcf.user.username{/lang}</th>
<th>{lang}chat.acp.log.message{/lang}</th>
</tr>
</thead>
<tbody>
{foreach from=$messages item="message"}
<tr>
<td class="columnID">{$message->messageID}</td>
<td style="width: 1px !important;">{$message->time|date:"H:i:s"}</td>
<td class="columnIcon"><p class="framed">{@$message->getUserProfile()->getAvatar()->getImageTag(24)}</p></td>
<td class="columnTitle columnUsername right" style="width: 1px !important;">{$message->username}</td>
<td>{@$message->getFormattedMessage("text/simplified-html")}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p class="info">{lang}wcf.global.noItems{/lang}</p>
{/if}