get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Discussion{/i18n}:
{$context->oDocument->getName()|sanitize}

{if $threads}

{i18n}Existing threads{/i18n}

{foreach from=$threads item=thread} {$threadrenderer->render($context, $thread)} {/foreach}
{i18n}Subject{/i18n} {i18n}Creator{/i18n} {i18n}Views{/i18n} {i18n}Replies{/i18n} {i18n}Last activity{/i18n} {i18n}State{/i18n}
{else}

{if ($closed_threads != 0)} {i18n arg_closed=$closed_threads}There are #closed# closed threads - use the "View All" option below to view them.{/i18n} {else} {i18n}There are no open threads for this document.{/i18n} {/if}

{/if}
{i18n}Create a new thread{/i18n} {foreach from=$fields item=oWidget} {$oWidget->render()} {/foreach}
{i18n}View all threads{/i18n}

{i18n}Click below to view all discussion threads on this document, including those that are closed.{/i18n}