Roxen.git/
server/
modules/
tags/
wizard_tag.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1997-11-14
1997-11-14 19:39:06 by Per Hedbor <ph@opera.com>
276a37b05911577ed6de552a2db5225da850ac02 (
26
lines) (+
24
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Added doc
Rev: server/modules/tags/tablify.pike:1.9
Rev: server/modules/tags/wizard_tag.pike:1.2
3:
* made by Per Hedbor */
-
constant cvs_version = "$Id: wizard_tag.pike,v 1.
1
1997/11/14
06
:
51
:
15
per Exp $";
+
constant cvs_version = "$Id: wizard_tag.pike,v 1.
2
1997/11/14
19
:
39
:
06
per Exp $";
constant thread_safe=1; #include <module.h> inherit "module";
11:
mixed *register_module() {
-
return ({MODULE_PARSER,"Wizard generator",("Generates wizards"),({}),1,});
+
return ({MODULE_PARSER,"Wizard generator",
+
("Generates wizards
<p>\n
"
+
"Syntax:<br>\n"
+
"<br>"
+
"<wizard name=\"A Name\" done=\"url to go to when ok or cancel is pressed\"><br>"
+
" <page><br>"
+
" A page (RXML code, with two extra tags, <var> and <cvar>, see below
)
<br>"
+
" </page><br>"
+
" <page><br>"
+
" Another page...<br>"
+
" </page><br>"
+
"</wizard><br>"
+
"<br>"
+
"<var <br>"
+
" <nobr>type=\"string|password|list|text|radio|checkbox|int|float|color|font|toggle|select|select_multiple\"</nobr><br>"
+
" name=\"var_name\"<br>"
+
" options=\"foo
,
bar,gazonk\" --
(
for select and select_multiple) --<br>"
+
" default=\"default value\"<br>"
+
" rows=num and cols=num -- (for text) --<br>"
+
" size=chars -- (for most) --><br>"
+
"<cvar -- same as var,but the default value is the contents of the container --><br>"
+
"</cvar><br>"),(
{}),1,});
} string internal_page(string t, mapping args, string contents, mapping f)