-
- {{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 *}}
- {{if $item.comment && $item.thread_level==1}}
- {{if $item.total_comments_num}}
- <div class="comment-fake-form" id="comment-fake-form-{{$item.id}}">
- <textarea id="comment-fake-text-{{$item.id}}" class="comment-fake-text-empty form-control" placeholder="{{$item.reply_label}}" onFocus="commentOpenUI(this, {{$item.id}});" rows="1"></textarea>
- </div>
- {{/if}}
- <div class="wall-item-comment-wrapper well well-small" id="item-comments-{{$item.id}}" data-display="block" style="display: none">{{$item.comment nofilter}}</div>
+ </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}}
+ {{if $item.total_comments_num}}
+ <div class="comment-fake-form" id="comment-fake-form-{{$item.id}}">
+ <textarea id="comment-fake-text-{{$item.id}}" class="comment-fake-text-empty form-control" placeholder="{{$item.reply_label}}" onFocus="commentOpenUI(this, {{$item.id}});" rows="1"></textarea>
+ </div>