]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/forumadd.tmpl
Valid XHMTL code
[SourceForge/phpwiki.git] / themes / default / templates / forumadd.tmpl
1 <?php
2   rcs_id('$Id: forumadd.tmpl,v 1.2 2008-08-21 18:03:43 vargenau Exp $');
3 ?>
4
5 <div class="wikiforum wikiforum-reply">
6 <form action="<?=$request->getPostURL()?>" method="post" class="wikiaction"
7       accept-charset="<?=CHARSET?>">
8   <input type="hidden" name="forum[pagename]" value="<?=$PAGENAME?>" />
9   <?= HiddenInputs($request->getArgs()) ?>
10   <table class="wikiforum-reply">
11      <caption><?=_("Post new")?></caption>
12      <col class="label" width="1*" /><col class="input" width="100*" />
13      <tr><th align="right"><?=_("Title:")?></th>
14          <td><input class="wikitext" type="text" size="60"
15                     maxlength="256" name="forum[summary]" value="<?= isset($forum['summary']) ? $forum['summary'] : '' ?>" /></td>
16      </tr>
17     <tr><th align="right"><?=_("Reply")?>:</th>
18          <td><textarea class="forumedit" rows="5" cols="60"
19                        name="forum[body]"><?= isset($forum['body']) ? $forum['body'] : ''?></textarea></td>
20      </tr>
21      <tr><td colspan="2" align="center" class="submit-button"
22              ><input type="submit" value="<?=_("Add Message")?>"
23                      name="forum[add]" class="wikiaction" /></td>
24      </tr>
25   </table>
26 </form>
27 </div>
28