{if $oUserCurrent}
{/if}

{$aLang.comment_title} ({$iCountComment})

{if $iTargetType=='topic'} RSS {/if} {$aLang.comment_collapse} / {$aLang.comment_expand}
{literal} {/literal} {assign var="nesting" value="-1"} {foreach from=$aComments item=oComment name=rublist} {assign var="cmtlevel" value=$oComment->getLevel()} {if $cmtlevel>$oConfig->GetValue('module.comment.max_tree')} {assign var="cmtlevel" value=$oConfig->GetValue('module.comment.max_tree')} {/if} {if $nesting < $cmtlevel} {elseif $nesting > $cmtlevel} {section name=closelist1 loop=`$nesting-$cmtlevel+1`}
{/section} {elseif not $smarty.foreach.rublist.first} {/if}
{include file='comment.tpl'} {assign var="nesting" value=$cmtlevel} {if $smarty.foreach.rublist.last} {section name=closelist2 loop=`$nesting+1`}
{/section} {/if} {/foreach}
{if $bAllowNewComment} {$sNoticeNotAllow} {else} {if $oUserCurrent}

{$sNoticeCommentAdd}

{if !$oConfig->GetValue('view.tinymce')}
 
{/if}
 
{else} {$aLang.comment_unregistered}
{/if} {/if}