{if $oUserCurrent}
{/if}

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

{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} {include file='comment_paging.tpl' aPagingCmt=$aPagingCmt} {if $bAllowNewComment} {$sNoticeNotAllow} {else} {if $oUserCurrent}

{$sNoticeCommentAdd}

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