1 Date: Sat, 21 Feb 2009 21:11:24 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FWikiFormRichPlugin;
9 Content-Transfer-Encoding: binary
11 Create generic and enhanced forms, with various options:
13 * - editbox[] name=.. value=.. text=.. autocomplete=0|1
14 * - checkbox[] name=.. value=0|1 checked text=..
15 * - radio[] name=.. value=.. text=..
16 * - pulldown[] name=.. value=.. selected=.. text=.. autocomplete=0|1
17 * - combobox[] name=.. value=.. text=.. method=.. args=..
18 * - hidden[] name=.. value=..
20 * - action, submit buttontext, optional cancel button (bool)
21 * - method=get or post, Default: post.
23 Valid arguments for pulldown and editbox: autocomplete=1, Default: 0<br>
24 If autocomplete=1, additional arguments method and args may be used.
25 autocomplete together with dyn-methods (see below) should be used to handle larger lists (> 500).<br>
26 If no method is given, value will be used to fill in the valid values.<br>
28 method="xmlrpc:name [optional args]"
29 method="dynxmlrpc:url [optional args]"
30 method="url:http://server/wiki/method"
31 method="dynurl:http://server/wiki/method"
32 method="array:jsvariable"
33 method="plugin:pluginname [optional args]"
36 The plugin must return a pagelist.<br>
37 args are optional arguments, space seperated, for the method.<br>
38 A combobox is a pulldown with autocomplete=1.<br>
41 [Reini Urban|PhpWiki:ReiniUrban]
43 - Values which are constants are evaluated.
44 - The cancel button must be supported by the action.
45 (just some wikiadmin actions so far)
46 - improve layout by: nobr=1
47 - some allow values as list from <!plugin-list pluginname args !>
51 <<WikiFormRich action=dumpserial method=get
52 checkbox[] name=include value="all"
53 editbox[] name=directory value=DEFAULT_DUMP_DIR
54 editbox[] name=pages value=*
55 editbox[] name=exclude value="">>
57 <<WikiFormRich action=dumphtml method=get
58 editbox[] name=directory value=HTML_DUMP_DIR
59 editbox[] name=pages value="*"
60 editbox[] name=exclude value="">>
62 <<WikiFormRich action=loadfile method=get
63 editbox[] name=source value=DEFAULT_WIKI_PGSRC
64 checkbox[] name=overwrite value=1
65 editbox[] name=exclude value="">>
67 <<WikiFormRich action=TitleSearch method=get class=wikiadmin nobr=1
68 editbox[] name=s text=""
70 checkbox[] name=case_exact
71 checkbox[] name=regex>>
73 <<WikiFormRich action=FullTextSearch method=get class=wikiadmin nobr=1
74 editbox[] name=s text=""
76 checkbox[] name=case_exact
77 checkbox[] name=regex>>
79 <<WikiFormRich action=FuzzyPages method=get class=wikiadmin nobr=1
80 editbox[] name=s text=""
82 checkbox[] name=case_exact>>
84 <<WikiFormRich action=AppendText buttontext="AddPlugin"
85 radio[] name=s value=<!plugin-list BackLinks page=WikiPlugin limit=5 !>
88 <<WikiFormRich action=AppendText buttontext="AddPlugin"
89 combobox[] name=s text="" style="width:60px" value=<!plugin-list BackLinks page=WikiPlugin !>
93 <<WikiFormRich action=AppendText buttontext="AddCategory"
94 pulldown[] name=s text="Categories: " value=<!plugin-list TitleSearch s=Category !>
97 <<WikiFormRich action=SemanticSearch buttontext="AddRelation"
98 combobox[] name=relation method="xmlrpc:listRelations"
100 checkbox[] name=case_exact text="Case-exact?"
103 <<WikiFormRich action=AppendText buttontext="InsertTemplate"
104 combobox[] name=s text="Template: " method="plugin:titleSearch s=Template*"
108 <<WikiFormRich action=GoTo
109 editbox[] name=page text="GoTo: " method="dynxmlrpc:titleSearch s=H" style="width:100px" autocomplete=1
114 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]