<div class="messageContent">
<div class="title">
<xen:if is="{$thread.isNew} AND {$thread.haveReadData}">
<a href="{xen:link threads/unread, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</a>
<xen:else />
<a href="{xen:link posts, $thread.lastPostInfo}">{xen:helper threadPrefix, $thread}{$thread.title}</a>
</xen:if>
</div>
</div>