Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 220 lines (192 sloc) 3.384 kB
74a2a7d @docelic - docbook/xmldocs.css: minimal CSS adjustment
docelic authored
1 __NAME__ purpose
2 (deprecated) return content of the named form input field, defaulting to value 'default'
3 __END__
4
5
70a5390 @docelic Create the placeholders for almost all of the missing tag documentation
docelic authored
6 __NAME__ synopsis
7 <row>
8
9 <entry>
74a2a7d @docelic - docbook/xmldocs.css: minimal CSS adjustment
docelic authored
10 name
11 </entry>
12 <entry>
13 Yes
14 </entry>
15 <entry>
16 Yes
17 </entry>
18 <entry>
19 </entry>
20 <entry>
21 Name of the form variable.
22 </entry>
23
24 </row>
25 <row>
26
27 <entry>
70a5390 @docelic Create the placeholders for almost all of the missing tag documentation
docelic authored
28 default
29 </entry>
30 <entry>
74a2a7d @docelic - docbook/xmldocs.css: minimal CSS adjustment
docelic authored
31 Yes
32 </entry>
33 <entry>
34 Yes
35 </entry>
36 <entry>
37 <literal>default</literal>
38 </entry>
39 <entry>
40 Default value to return if the specified variable is <emphasis>missing or
41 evaluates to a false value</emphasis>.
42 </entry>
43
44 </row>
45 <row>
46
47 <entry>
48 values_space
49 </entry>
50 <entry>
51 <!-- POS -->
52 </entry>
53 <entry>
54 <!-- REQ -->
55 </entry>
56 <entry>
57 <!-- DFL -->
58 </entry>
59 <entry>
60 Specify "&glos-value;s space" in which to perform the operation.
61 </entry>
62
63 </row>
64 <row>
65
66 <entry>
67 set
68 </entry>
69 <entry>
70 <!-- POS -->
71 </entry>
72 <entry>
73 <!-- REQ -->
74 </entry>
75 <entry>
76 <!-- DFL -->
77 </entry>
78 <entry>
79 Set form field variable &glos-value; to the specified content.
80 </entry>
81
82 </row>
83 <row>
84
85 <entry>
86 filter
87 </entry>
88 <entry>
70a5390 @docelic Create the placeholders for almost all of the missing tag documentation
docelic authored
89 <!-- POS -->
90 </entry>
91 <entry>
92 <!-- REQ -->
93 </entry>
94 <entry>
95 <!-- DFL -->
96 </entry>
97 <entry>
74a2a7d @docelic - docbook/xmldocs.css: minimal CSS adjustment
docelic authored
98 Apply specified &glos-filter; to the variable content. The application of
99 a filter actually modifies the variable value in-place (in addition to,
100 of course, displaying the filtered content).
70a5390 @docelic Create the placeholders for almost all of the missing tag documentation
docelic authored
101 </entry>
102
103 </row>
74a2a7d @docelic - docbook/xmldocs.css: minimal CSS adjustment
docelic authored
104 <row>
105
106 <entry>
107 keep
108 </entry>
109 <entry>
110 <!-- POS -->
111 </entry>
112 <entry>
113 <!-- REQ -->
114 </entry>
115 <entry>
116 0
117 </entry>
118 <entry>
119 Only apply filter for display, and do not modify actual variable value?
120 </entry>
121
122 </row>
123 <row>
124
125 <entry>
126 scratch
127 </entry>
128 <entry>
129 <!-- POS -->
130 </entry>
131 <entry>
132 <!-- REQ -->
133 </entry>
134 <entry>
135 0
136 </entry>
137 <entry>
138 Along with setting a form field value, also create the variable/content
139 pair in the &glos-scratch; space?
140 </entry>
141
142 </row>
143 <row>
144
145 <entry>
146 enable_itl
147 </entry>
148 <entry>
149 <!-- POS -->
150 </entry>
151 <entry>
152 <!-- REQ -->
153 </entry>
154 <entry>
155 0
156 </entry>
157 <entry>
158 Allow &glos-ITL; tags to appear in the output? By default, all
159 "<literal>&#91;</literal>" characters are encoded as
160 "<literal>&amp;#91;</literal>".
161 </entry>
162
163 </row>
164 <row>
165
166 <entry>
167 enable_html
168 </entry>
169 <entry>
170 <!-- POS -->
171 </entry>
172 <entry>
173 <!-- REQ -->
174 </entry>
175 <entry>
176 0
177 </entry>
178 <entry>
179 Allow &glos-HTML; tags to appear in the output? By default, all
180 "<literal>&lt;</literal>" characters are encoded as
181 "<literal>&amp;lt;</literal>".
182 </entry>
183
184 </row>
6ec10b8 @docelic * fix interpolate/reparse attributes for about the first
docelic authored
185 &TAG_NON_CONTAINER;
74a2a7d @docelic - docbook/xmldocs.css: minimal CSS adjustment
docelic authored
186 __END__
187
188
189 __NAME__ description
190 The tag returns the named form input field &glos-value;.
191 Any &IC; tags in the output are &glos-HTML;- and &glos-ITL;-escaped by default
192 for security reasons.
193 </para><para>
194 This tag is very similar to &tag-value;, except that it provides the
195 default value for the <literal>default=</literal> parameter.
196
197 __END__
198
199 __NAME__ example: displaying user's first name
200 <programlisting>
201 Hello, [default fname Anonymous]!
202 </programlisting>
203 __END__
204
205 __NAME__ example: displaying user's first name in a modifiable field
206 <programlisting><![CDATA[
207 <form action="[process]">
208 Hello, <input type="text" name="fname" value="[default fname Anonymous]" />!
209 </form>
210 ]]></programlisting>
211 TODO: Add a submit button
212 __END__
213
214 __NAME__ example: displaying user's first name, or falling back to the default
215 <programlisting><![CDATA[
216 Hello, [default fname Anonymous]!
217 ]]></programlisting>
218 __END__
219
Something went wrong with that request. Please try again.