summaryrefslogtreecommitdiffstats
path: root/wiki/src/templates/forumpage.tmpl
blob: 8cb58279b16a045745cd0aa9721f3caf94071193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<TMPL_IF FIRST>

<table class="forum-posts">

<thead>
  <tr>
    <td class="forum-post-title">Thread</td>
    <td class="forum-post-numcomments">Replies</td>
    <td class="forum-post-updated">Updated</td>
    <td class="forum-post-published">Started</td>
  </tr>
</thead>

</TMPL_IF>

<tr class="forum-post">

<td class="forum-post-title">
<TMPL_IF NAME="PERMALINK">
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</TMPL_IF>
</td>

<td class="forum-post-numcomments">
  <TMPL_VAR COMMENTSLINK>
</td>

<td class="forum-post-updated">
  <TMPL_VAR MTIME>
</td>

<td class="forum-post-published">
  <TMPL_VAR CTIME>
</td>

</tr> <!-- .forum-post -->

<TMPL_IF LAST>
</table>
</TMPL_IF>