source: temp/test-xoops.ec-cube.net/html/modules/system/templates/system_comments_thread.html @ 405

Revision 405, 1.2 KB checked in by root, 20 years ago (diff)
Line 
1<{section name=i loop=$comments}>
2<br />
3<table cellspacing="1" class="outer">
4  <tr>
5    <th width="20%"><{$lang_poster}></th>
6    <th><{$lang_thread}></th>
7  </tr>
8  <{include file="db:system_comment.html" comment=$comments[i]}>
9</table>
10
11<{if $show_threadnav == true}>
12<div style="text-align:left; margin:3px; padding: 5px;">
13<a href="<{$comment_url}>"><{$lang_top}></a> | <a href="<{$comment_url}>&amp;com_id=<{$comments[i].pid}>&amp;com_rootid=<{$comments[i].rootid}>#newscomment<{$comments[i].pid}>"><{$lang_parent}></a>
14</div>
15<{/if}>
16
17<{if $comments[i].show_replies == true}>
18<!-- start comment tree -->
19<br />
20<table cellspacing="1" class="outer">
21  <tr>
22    <th width="50%"><{$lang_subject}></th>
23    <th width="20%" align="center"><{$lang_poster}></th>
24    <th align="right"><{$lang_posted}></th>
25  </tr>
26  <{foreach item=reply from=$comments[i].replies}>
27  <tr>
28    <td class="even"><{$reply.prefix}> <a href="<{$comment_url}>&amp;com_id=<{$reply.id}>&amp;com_rootid=<{$reply.root_id}>"><{$reply.title}></a></td>
29    <td class="odd" align="center"><{$reply.poster.uname}></td>
30    <td class="even" align="right"><{$reply.date_posted}></td>
31  </tr>
32  <{/foreach}>
33</table>
34<!-- end comment tree -->
35<{/if}>
36
37<{/section}>
Note: See TracBrowser for help on using the repository browser.