mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
27 lines
876 B
Smarty
27 lines
876 B
Smarty
{if $messages|count > 0}
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>{lang}wcf.global.objectID{/lang}</th>
|
|
<th>{lang}chat.general.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}
|