-
-
- {{* Insert comment box of threaded children *}}
- {{if $item.threaded}}{{if $item.comment}}{{if $item.indent==comment}}
- <div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">
- {{$item.comment}}
- </div>
- {{/if}}{{/if}}{{/if}}
-
-
- {{foreach $item.children as $child}}
- {{*
- {{if $child.type == tag}}
- {{include file="wall_item_tag.tpl" item=$child}}
- {{else}}
- {{include file="{{$item.template}}" item=$child}}
- {{/if}}
- *}}
- {{include file="{{$item.template}}" item=$child}}
- {{/foreach}}
-
- {{* Insert the comment box of the top level post at the bottom of the thread.
- Display this comment box if there are any comments. If not hide it. In this
- case it could be opend with the "comment" button *}}
+ </div>
+ {{foreach $item.children as $child}}
+ {{include file="{{$item.template}}" item=$child}}
+ {{/foreach}}
+
+ {{* Insert the comment box of the top level post at the bottom of the thread.
+ Display this comment box if there are any comments. If not hide it. In this
+ case it could be opend with the "comment" button *}}
+ {{if $item.comment && $item.thread_level==1}}