Lines 200-207
Link Here
|
200 |
<div class="hint">Note: you should have no reasons to modify the following default values</div> |
200 |
<div class="hint">Note: you should have no reasons to modify the following default values</div> |
201 |
<ol> |
201 |
<ol> |
202 |
<li><label for="preftype">Variable type:</label> |
202 |
<li><label for="preftype">Variable type:</label> |
203 |
<div class="hint"> (<span class="variabletype" id="Free">Free</span>, <span class="variabletype" id="Choice">Choice</span>, <span class="variabletype" id="YesNo">YesNo</span>, <span class="variabletype" id="Integer">Integer</span>, <span class="variabletype" id="Textarea">Textarea</span>, <span class="variabletype" id="Float">Float</span>, <span class="variabletype" id="Themes">Themes</span>, <span class="variabletype" id="Languages">Languages</span>, <span class="variabletype" id="Upload">Upload</span> or <span class="variabletype" id="ClassSources">ClassSources</span>)</div> |
203 |
<select name="preftype" id="preftype"> |
204 |
<input type="text" name="preftype" id="preftype" value="[% preftype %]" size="40" maxlength="40" /></li> |
204 |
[%- IF (preftype && preftype == 'Free') || !preftype -%] |
|
|
205 |
<option value="Free" selected>Free</option> |
206 |
[%- ELSE -%] |
207 |
<option value="Free">Free</option> |
208 |
[% END %] |
209 |
[%- IF (preftype && preftype == 'Choice') -%] |
210 |
<option value="Choice" selected>Choice</option> |
211 |
[%- ELSE -%] |
212 |
<option value="Choice">Choice</option> |
213 |
[% END %] |
214 |
[%- IF (preftype && preftype == 'YesNo') -%] |
215 |
<option value="YesNo" selected>YesNo</option> |
216 |
[%- ELSE -%] |
217 |
<option value="YesNo">YesNo</option> |
218 |
[% END %] |
219 |
[%- IF (preftype && preftype == 'Integer') -%] |
220 |
<option value="Integer" selected>Integer</option> |
221 |
[%- ELSE -%] |
222 |
<option value="Integer">Integer</option> |
223 |
[% END %] |
224 |
[%- IF (preftype && preftype == 'Textarea') -%] |
225 |
<option value="Textarea" selected>Textarea</option> |
226 |
[%- ELSE -%] |
227 |
<option value="Textarea">Textarea</option> |
228 |
[% END %] |
229 |
[%- IF (preftype && preftype == 'Float') -%] |
230 |
<option value="Float" selected>Float</option> |
231 |
[%- ELSE -%] |
232 |
<option value="Float">Float</option> |
233 |
[% END %] |
234 |
[%- IF (preftype && preftype == 'Themes') -%] |
235 |
<option value="Themes" selected>Themes</option> |
236 |
[%- ELSE -%] |
237 |
<option value="Themes">Themes</option> |
238 |
[% END %] |
239 |
[%- IF (preftype && preftype == 'Languages') -%] |
240 |
<option value="Languages" selected>Languages</option> |
241 |
[%- ELSE -%] |
242 |
<option value="Languages">Languages</option> |
243 |
[% END %] |
244 |
[%- IF (preftype && preftype == 'Upload') -%] |
245 |
<option value="Upload" selected>Upload</option> |
246 |
[%- ELSE -%] |
247 |
<option value="Upload">Upload</option> |
248 |
[% END %] |
249 |
[%- IF (preftype && preftype == 'ClassSources') -%] |
250 |
<option value="ClassSources" selected>ClassSources</option> |
251 |
[%- ELSE -%] |
252 |
<option value="ClassSources">ClassSources</option> |
253 |
[% END %] |
254 |
</select> |
205 |
<li><label for="prefoptions">Variable options:</label> |
255 |
<li><label for="prefoptions">Variable options:</label> |
206 |
<div class="hint">(a choice list for choice (separated by |) or cols|rows for texarea)</div> |
256 |
<div class="hint">(a choice list for choice (separated by |) or cols|rows for texarea)</div> |
207 |
<input type="text" name="prefoptions" id="prefoptions" value="[% prefoptions %]" size="60" maxlength="80" /></li> |
257 |
<input type="text" name="prefoptions" id="prefoptions" value="[% prefoptions %]" size="60" maxlength="80" /></li> |
208 |
- |
|
|