]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/forumadd.tmpl
Use CSS
[SourceForge/phpwiki.git] / themes / default / templates / forumadd.tmpl
1 <?php
2   // This template is used for the WikiForum plugin.
3 ?>
4 <div class="wikiforum wikiforum-reply">
5 <form action="<?php echo $request->getPostURL()?>" method="post" class="wikiaction"
6       accept-charset="UTF-8">
7   <input type="hidden" name="forum[pagename]" value="<?php echo $PAGENAME?>" />
8   <?php echo HiddenInputs($request->getArgs()) ?>
9   <table class="wikiforum-reply">
10      <caption><?php echo _("Post new")?></caption>
11      <col class="label" width="1*" /><col class="input" width="100*" />
12      <tr><th class="align-right"><?php echo _("Title:")?></th>
13          <td><input class="wikitext" type="text" size="60"
14                     maxlength="256" name="forum[summary]" value="<?php echo isset($forum['summary']) ? $forum['summary'] : '' ?>" /></td>
15      </tr>
16     <tr><th class="align-right"><?php echo _("Reply")?>:</th>
17          <td><textarea class="forumedit" rows="5" cols="60"
18                        name="forum[body]"><?php echo isset($forum['body']) ? $forum['body'] : ''?></textarea></td>
19      </tr>
20      <tr><td colspan="2" class="align-center" class="submit-button"
21              ><input type="submit" value="<?php echo _("Add Message")?>"
22                      name="forum[add]" class="wikiaction" /></td>
23      </tr>
24   </table>
25 </form>
26 </div>