2 <!-- $Id: blog.tmpl,v 1.2 2003-01-11 22:22:57 carstenklapp Exp $ -->
4 $tableSummary = sprintf(_("Comments on %s by %s."), $PAGENAME, $AUTHOR);
7 //$div_wikiblog = "border:1px solid cyan;margin-bottom:1ex;margin-left:2em;margin-right:2em"; // border for visual debugging only
8 $div_wikiblog = "margin-bottom:1ex;margin-left:2em;margin-right:2em";
9 ///////////////////////////////////////////////////////////////////////
12 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ?>
13 <?php if ($SHOWHEADER) { ?>
14 <div class="wikiblog" style="<?=$div_wikiblog?>">
15 <h4><?=fmt("Comments on %s:", $PAGELINK)?></h4>
16 <?php } // SHOWHEADER ?>
18 <?php // One Blog comment
19 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ?>
20 <?php if ($SHOWBLOG) { ?>
21 <?php if (!$SHOWHEADER) { ?>
22 <div class="wikiblog" style="<?=$div_wikiblog?>">
23 <?php } //!SHOWHEADER ?>
24 <!-- FIXME: move table formatting to css -->
25 <table summary="<?=$tableSummary?>" class="wikiblog" border="0"
26 align="center" width="100%">
28 <td align="left"><strong><?= $DATELINK ?></strong></td>
29 <td align="right"><strong><?= $AUTHORLINK ?></strong></td>
32 <td colspan="1"><strong><?= $SUMMARY ?></strong>
33 <br /><?= $CONTENT ?></td><td></td>
36 <td><small><?= $EDITLINK ?> <?= $REMOVELINK ?></small></td>
38 <?php if ($DATEMODIFIED) { ?>
39 <small><?= fmt("Comment modified on %s by %s", $datemodified,
40 $authormodified) ?></small>
48 <?php // New comment form
49 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ?>
50 <?php if ($SHOWBLOGFORM) { ?>
52 <div class="wikiblog" style="<?=$div_wikiblog?>">
53 <h4><?=_("Add new comment:")?></h4>
54 <form action="<?=$PAGENAME?>" method="post" class="wikiaction"
55 accept-charset="<?=CHARSET?>">
56 <div class="wikiaction">
57 <input type="hidden" name="blog[page]" value="<?=$PAGENAME?>" />
58 <table align="center" border="0">
60 <th><?=_("Summary:")?></th>
61 <td><input class="wikitext" type="text" size="60"
62 maxlength="256" name="blog[summary]" value="" /></td>
65 <th><?=_("Comment:")?></th>
66 <td><textarea class="blogedit" rows="5" cols="51"
67 name="blog[body]" wrap="virtual"></textarea></td>
71 <td align="right"><input type="submit" value="<?=_("Submit")?>"
72 name="addblog" class="wikiaction" /></td>
78 <?php } //SHOWBLOGFORM ?>
81 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
82 // $Log: not supported by cvs2svn $
83 // Revision 1.1 2003/01/06 02:17:08 carstenklapp
84 // New template for WikiBlog plugin.