aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/conversation.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/conversation.tpl')
-rwxr-xr-xview/tpl/conversation.tpl20
1 files changed, 20 insertions, 0 deletions
diff --git a/view/tpl/conversation.tpl b/view/tpl/conversation.tpl
new file mode 100755
index 000000000..82c7be922
--- /dev/null
+++ b/view/tpl/conversation.tpl
@@ -0,0 +1,20 @@
+<div id="threads-begin"></div>
+{{foreach $threads as $thread}}
+<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper generic-content-wrapper">
+ {{foreach $thread.items as $item}}
+ {{if $item.comment_firstcollapsed}}
+ <div class="hide-comments-outer">
+ <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>
+ </div>
+ <div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;">
+ {{/if}}
+ {{if $item.comment_lastcollapsed}}</div>{{/if}}
+
+ {{include file="{{$item.template}}"}}
+
+
+ {{/foreach}}
+</div>
+{{/foreach}}
+<div id="threads-end"></div>
+<div id="conversation-end"></div>