]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/AddCommentPlugin
simplified Sidebar theme: table, not absolute css positioning
[SourceForge/phpwiki.git] / pgsrc / AddCommentPlugin
1 Date: Sat, 13 Mar 2004 11:26:41 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.8)
3 X-Rcs-Id: $Id: AddCommentPlugin,v 1.2 2004-04-01 15:57:20 rurban Exp $
4 Content-Type: application/x-phpwiki;
5   pagename=AddCommentPlugin;
6   pgsrc_version="2 $Revision: 1.2 $";
7   flags="";
8   markup=2;
9   charset=iso-8859-1
10 Content-Transfer-Encoding: binary
11
12 WikiPlugin to let users attach comments to the end of a page. Since v1.3.8.
13 Change the layout via the templates comment.tmpl and addcomment.tmpl, and the CSS classes
14 wikicomment, wikicomment-header, wikicomment-body, wikicomment-footer
15
16 !! Usage
17 <verbatim>
18      <?plugin AddComment order||=normal jshide||=0 mode||=show,add noheader||=0 ?>
19 </verbatim>
20
21 !! Plugin Arguments
22 __jshide__: |
23   Boolean if the comments and/or textbox should be initially hidden and on click expanded. Default: 0
24 __order__:  |
25   List comments in chronological (order=normal) or reverse order (order=reverse)
26 __mode__:  |
27   List of add and/or show.  Default: add,show
28 __noheader__:  |
29   Boolean if the "Comments" h2 header should be omitted. Default: 0
30 __pagename__:  |
31   Attach to which page? Default: current pagename
32
33 !! Known Problems
34
35 jshide does not work yet. Not very well tested.
36
37 !! Examples
38
39 <?plugin AddComment jshide||=1 ?>