<a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
<xen:if is="{$thread.discussion_type} == 'poll'"><span style="color: #ff0000">{xen:phrase poll} </span> : </xen:if>