{$message->published|strtotime|prepareDate} {$contact->getTrueName()}
{if="isset($status)"}{$status}
{else} {if="isset($message)"} {if="preg_match('#^\?OTR#', $message->body)"}{$c->__('message.encrypted')}
{elseif="stripTags(prepareString($message->body)) != ''"}{$message->body|prepareString|stripTags}
{/if} {/if} {/if}