• {$url = $contact->getPhoto('s')} {if="$url"} {else} {/if} {if="$caps && in_array($caps->type, array('handheld', 'phone'))"} {/if} {if="$caps && $caps->type == 'web'"} {/if}

    {$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}