]> ruin.nu Git - ndwebbie.git/blob - templates/viewthread.tmpl
some refactoring
[ndwebbie.git] / templates / viewthread.tmpl
1 <h2><TMPL_VAR NAME=Subject></h2>
2 <TMPL_LOOP Posts>
3 <TMPL_IF NewPosts>
4 <hr/>
5 <p><a name="NewPosts">New posts below:</a></p>
6 </TMPL_IF>
7 <fieldset class="forum-post">
8 <legend class="unread:<TMPL_VAR NAME=Unread>"><b><TMPL_VAR NAME=Username></b> : <TMPL_VAR NAME=Time></legend>
9 <TMPL_VAR NAME=Message>
10 </fieldset>
11 </TMPL_LOOP>
12 <TMPL_IF Post>
13 <form action="<TMPL_VAR NAME=PAGE>#NewPosts" method="post"><fieldset class="forum-post"> <legend>New Reply</legend>
14         <textarea rows="25" cols="60" name="message"></textarea>
15         <input type="hidden" name="cmd" value="forumpost"/>
16         <input type="hidden" name="t" value="<TMPL_VAR NAME=Id>"/>
17         <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
18         <br/>
19         <input type="submit" value="Submit"/>
20 </fieldset></form>
21 </TMPL_IF>