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