{include file='header' pageTitle='chat.acp.log.title'}

{lang}{@$pageTitle}{/lang}

{lang}wcf.global.filter{/lang}
{if $errorField == 'date'} {lang}chat.acp.log.date.error.{$errorType}{/lang} {/if}
{if $messages|count == 0} {if $errorField === ""}

{lang}wcf.global.noItems{/lang}

{/if} {else}

{lang}chat.acp.log.title{/lang} {#$messages|count}

{foreach from=$messages item='message'} {/foreach}
{lang}wcf.global.objectID{/lang} {lang}chat.general.time{/lang} {lang}wcf.user.username{/lang} {lang}chat.acp.log.message{/lang}
{$message->messageID} {$message->time|date:'H:i:s'}

{@$message->getUserProfile()->getAvatar()->getImageTag(24)}

{$message->username} {@$message->getFormattedMessage('text/simplified-html')}
{/if} {include file='footer'}