2013-05-08 08:23:17 +00:00
|
|
|
{{foreach $threads as $thread}}
|
|
|
|
<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper">
|
|
|
|
{{foreach $thread.items as $item}}
|
2012-07-25 04:06:23 +00:00
|
|
|
{{if $item.comment_firstcollapsed}}
|
|
|
|
<div class="hide-comments-outer">
|
2013-05-08 08:23:17 +00:00
|
|
|
<span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span>
|
2012-07-25 04:06:23 +00:00
|
|
|
</div>
|
2013-05-08 08:23:17 +00:00
|
|
|
<div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;">
|
|
|
|
{{/if}}
|
|
|
|
{{if $item.comment_lastcollapsed}}</div>{{/if}}
|
2012-07-25 04:06:23 +00:00
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{include file="{{$item.template}}"}}
|
2012-07-25 04:06:23 +00:00
|
|
|
|
|
|
|
|
2013-05-08 08:23:17 +00:00
|
|
|
{{/foreach}}
|
2012-07-25 04:06:23 +00:00
|
|
|
</div>
|
2013-05-08 08:23:17 +00:00
|
|
|
{{/foreach}}
|