File: forumadd.tmpl

package info (click to toggle)
phpwiki 1.3.14-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 15,716 kB
  • ctags: 23,548
  • sloc: php: 88,295; sql: 1,476; sh: 1,378; perl: 765; makefile: 602; awk: 28
file content (28 lines) | stat: -rwxr-xr-x 1,221 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
  rcs_id('$Id: forumadd.tmpl,v 1.1 2004/04/18 05:44:04 rurban Exp $');
?>

<div class="wikiforum wikiforum-reply">
<form action="<?=$request->getPostURL()?>" method="post" class="wikiaction"
      accept-charset="<?=CHARSET?>">
  <input type="hidden" name="forum[pagename]" value="<?=$PAGENAME?>" />
  <?= HiddenInputs($request->getArgs()) ?>
  <table class="wikiforum-reply">
     <caption><?=_("Post new")?></caption>
     <col class="label" width="1*" /><col class="input" width="100*" />
     <tr><th align="right"><?=_("Title:")?></th>
         <td><input class="wikitext" type="text" size="60"
                    maxlength="256" name="forum[summary]" value="<?= isset($forum['summary']) ? $forum['summary'] : '' ?>" /></td>
     </tr>
    <tr><th align="right"><?=_("Reply")?>:</th>
         <td><textarea class="forumedit" rows="5" cols="60"
                       name="forum[body]" wrap="virtual"><?= isset($forum['body']) ? $forum['body'] : ''?></textarea></td>
     </tr>
     <tr><td colspan="2" align="center" class="submit-button"
             ><input type="submit" value="<?=_("Add Message")?>"
                     name="forum[add]" class="wikiaction" /></td>
     </tr>
  </table>
</form>
</div>