]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/wikiforum.tmpl
Use HTML 5 DOCTYPE; force CHARSET=utf-8
[SourceForge/phpwiki.git] / themes / default / templates / wikiforum.tmpl
1 <?php
2 /* 
3 navigation headline: "MainForum / SubPage / ThisTopic" comes for free
4
5 other templates: forum-topics.tmpl: summary list of topics
6
7 this  template:  detailed list of threads per topic
8
9 action: "newtopic" or "postreply"
10 */
11 $CDATE = $WikiTheme->formatDateTime($FORUM_CTIME);
12 ?>
13 <div class="wikiforum wikiforum-form">
14 <form action="<?php echo $request->getPostURL()?>" method="post" class="wikiaction"
15       accept-charset="UTF-8">
16   <input type="hidden" name="forum[title]" value="<?php echo $FORUM_PARENT ?>" />
17   <?php echo HiddenInputs($request->getArgs()) ?>
18   <table class="wikiforum wikiforum-list">
19     <caption><?php echo _("New Topic")?>  &nbsp;&nbsp; <?php echo _("Post new")?> </caption>
20     <col class="label" width="10%" /><col width="100%" />
21     <tr><th align="center"><?php echo _("Author")?></th><th align="center"><?php echo _("Message")?></th></tr>
22
23     <tr>
24       <td align="left"><?php echo WikiLink($FORUM_CREATOR, 'if_known')?></td>
25       <td>
26         <table class="wikiforum wikiforum-message">
27           <tr><td align="left"><?php echo fmt("Posted: %s",$CDATE)?></td>
28               <td align="right"><?php echo _("Reply")?></td></tr>
29           <tr><td><?php echo $CONTENT ?></td></tr>
30         </table>
31      </td>
32    </tr>
33
34   </table>
35 </form>
36 </div>
37