<xen:elseif is="{$widget.options.type} == 'recent'" />
<xen:foreach loop="$threads" value="$thread">
<xen:include template="wf_widget_threads_thread_sidebar">
<xen:set var="$_threadLink">{xen:if '{$visitor.user_id} > 0', {xen:link threads/unread, $thread}, {xen:link posts, {xen:array 'post_id={$thread.last_post_id}'}}}</xen:set>
<xen:set var="$_secondRow">
{xen:phrase wf_x_replied, 'user=<a href="{xen:link 'members', $thread}">{$thread.username}</a>'} <xen:datetime time="{$thread.last_post_date}" />
</xen:set>
</xen:include>
</xen:foreach>