2009-11-30 19:46:45 +00:00
|
|
|
{assign var='comments' value=$myquery->get_comments($id,$type)}
|
2010-01-25 13:18:18 +00:00
|
|
|
{if $comments}
|
|
|
|
{foreach from=$comments item=comment}
|
|
|
|
{include file="$style_dir/blocks/comments/comment.html" comment=$comment type=$type}
|
|
|
|
{/foreach}
|
|
|
|
{else}
|
2009-11-30 19:46:45 +00:00
|
|
|
<div id="latest_comment_container">
|
|
|
|
<div align="center" class="no_comments">
|
2010-02-10 05:54:08 +00:00
|
|
|
<em>{lang code='no_comments'}</em>
|
2009-11-30 19:46:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2010-01-25 13:18:18 +00:00
|
|
|
{/if}
|
2009-11-30 19:46:45 +00:00
|
|
|
{if $comments}
|
|
|
|
<div id="latest_comment_container"></div>
|
|
|
|
{/if}
|