{foreach from=$thread->getCommentsSortedByDate() item=oComment} {$commentrenderer->render($context, $oComment, $thread)} {/foreach} {if not $thread->getState()}
{i18n}Post a reply{/i18n} {foreach from=$replyfields item=oWidget} {$oWidget->render()} {/foreach}
{if $closefields}
{i18n}Close this thread{/i18n} {foreach from=$closefields item=oWidget} {$oWidget->render()} {/foreach}
{/if} {else}
Thread closed ({$thread->getCloseReason()})
{/if}