{if $oUserCurrent}
{/if}

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

{if $sTargetType=='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')}
{hook run='form_add_comment_panel_begin'}   {hook run='form_add_comment_panel_end'}
{/if}
{hook run='form_add_comment_begin'} {hook run='form_add_comment_end'}
{else} {$aLang.comment_unregistered} {/if} {/if} {include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}