From: Reini U. <ru...@us...> - 2004-04-18 05:44:12
|
Update of /cvsroot/phpwiki/phpwiki/themes/default/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26981/templates Added Files: wikiforum.tmpl forumadd.tmpl Log Message: no fine layout yet. --- NEW FILE: wikiforum.tmpl --- <?php // -*- php -*- rcs_id('$Id: wikiforum.tmpl,v 1.1 2004/04/18 05:44:04 rurban Exp $'); /* navigation headline: "MainForum / SubPage / ThisTopic" comes for free other templates: forum-topics.tmpl: summary list of topics this template: detailed list of threads per topic action: "newtopic" or "postreply" */ $CDATE = $Theme->formatDateTime($FORUM_CTIME); ?> <div class="wikiforum wikiforum-form"> <form action="<?=$request->getPostURL()?>" method="post" class="wikiaction" accept-charset="<?=CHARSET?>"> <input type="hidden" name="forum[title]" value="<?= $FORUM_PARENT ?>" /> <?= HiddenInputs($request->getArgs()) ?> <table class="wikiforum wikiforum-list"> <caption><?=_("New Topic")?> <?=_("Post new")?> </caption> <col class="label" width="10%" /><col width="100%" /> <tr><th align="center"><?=_("Author")?></th><th align="center"><?=_("Message")?></th></tr> <tr> <td align="left"><?=WikiLink($FORUM_CREATOR, 'if_known')?></td> <td> <table class="wikiforum wikiforum-message"> <tr><td align="left"><?=fmt("Posted: %s",$CDATE)?></td> <td align="right"><?=_("Reply")?></td></tr> <tr><td><?= $CONTENT ?></td></tr> </table> </td> </tr> </table> </form> </div> --- NEW FILE: forumadd.tmpl --- <?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> |