1 [% META title = 'Forum board' %]
3 <h2>[% board.category %] - [% board.board %]</h2>
5 [% IF UID > 0 %]<p><a href="[% c.uri_for('markBoardAsRead',board.fbid,time) %]">Mark threads as read</a></p>[% END %]
7 <form action="[% c.uri_for('moveThreads',board.fbid) %]" method="post">
17 [% FOR thread IN threads %]
18 <tr class="[% IF loop.count % 2 == 0 %]even[% ELSE %]odd[% END %]">
19 <td align="center">[% thread.unread %]</td>
20 <td align="center">[% thread.posts %]</td>
21 <td[% IF thread.sticky %] class="sticky"[% END %]><a href="[% c.uri_for('thread',thread.ftid)%]#NewPosts"> [% thread.subject %] </a></td>
22 <td align="left">[% thread.posting_date %]</td>
23 <td align="center">[% thread.username %]</td>
24 <td align="left">[% thread.last_post %]</td>
25 [% IF board.moderate %]
26 <td><input type="checkbox" name="t:[% thread.ftid %]"></td>
32 [% IF board.moderate %]
33 <p>Move checked threads to:
35 [% FOR category IN categories %]
36 <optgroup label="[% category.category %]">
37 [% FOR targetboard IN category.boards %]
38 <option value="[% targetboard.fbid %]">[% targetboard.board %]</option>
43 <input type="submit" name="cmd" value="Move">
49 <form action="[% c.uri_for('newThread',board.fbid) %]" method="post"><fieldset class="forum-post"> <legend>New Thread</legend>
50 <p>Subject: <input type="text" name="subject" value=""></p>
51 <textarea rows="25" cols="60" name="message" class="bbcode"></textarea>
53 <input type="submit" name="cmd" value="Submit">
54 <input type="submit" name="cmd" value="Preview">
57 [% INCLUDE inc/markitup.tt2 %]