1 | package preferences
|
---|
2 |
|
---|
3 | # set within server
|
---|
4 |
|
---|
5 | # collectionoption is only set when cross-collection searching is turned on
|
---|
6 | _collectionoption_ {}
|
---|
7 |
|
---|
8 | # this macro will be set to "1" when the "source docs retrived from dl/web
|
---|
9 | # button is required - i.e. whenever PreferenceDocsFromWeb isn't set to false
|
---|
10 | # in collect.cfg
|
---|
11 | _PreferenceDocsFromWeb_ {}
|
---|
12 |
|
---|
13 | # this macro will be set to _textprefschanged_ when the "set preferences"
|
---|
14 | # button has been pressed
|
---|
15 | _prefschanged_ {}
|
---|
16 |
|
---|
17 | #######################################################################
|
---|
18 | # java images/scripts
|
---|
19 | #######################################################################
|
---|
20 |
|
---|
21 | # the _javalinks_ macros are the flashy image links at the top right of
|
---|
22 | # the page. this is overridden here as we don't want a 'preferences'
|
---|
23 | # link on this page
|
---|
24 |
|
---|
25 | _javalinks_ {_imagehome__imagehelp_}
|
---|
26 | _javalinks_ [v=1] {
|
---|
27 | _imagehome_<br>
|
---|
28 | _imagehelp_<br>
|
---|
29 | }
|
---|
30 |
|
---|
31 |
|
---|
32 | #######################################################################
|
---|
33 | # scripts
|
---|
34 | # note that changing either the "m" or the "o" argument
|
---|
35 | # from the preferences page necessitates reseting the "r"
|
---|
36 | # argument to 1
|
---|
37 | #######################################################################
|
---|
38 |
|
---|
39 | _ccsfunctions_ {argcc = "";
|
---|
40 | savedccs = new Object();
|
---|
41 |
|
---|
42 | function initialize () \{
|
---|
43 | for (i = 0; i < document.links.length; i++)
|
---|
44 | savedhrefs[i] = document.links[i].href;
|
---|
45 |
|
---|
46 | // only add form search option if mgpp (ct arg) and javascript
|
---|
47 | _If_("_cgiargct_" eq "1",var opt=new Option\("_textformsearch_"\, "1"\); document.PrefForm.qt.options[1]=opt;,//)_If_("_cgiargqt_" eq "1",opt.selected=1;)
|
---|
48 |
|
---|
49 | s = "_cgiargcc_";
|
---|
50 | a = s.split (",");
|
---|
51 | for (i = 0; i < a.length ;i++) \{
|
---|
52 | for (j = 0; j < document.PrefForm.cc.length; j++) \{
|
---|
53 | if (a[i] == document.PrefForm.elements["cc"][j].value) \{
|
---|
54 | document.PrefForm.elements["cc"][j].checked = true;
|
---|
55 | savedccs[a[i]] = 1;
|
---|
56 | argcc = argcc + "&cc=" + a[i];
|
---|
57 | break;
|
---|
58 | \} else \{
|
---|
59 | savedccs[a[i]] = 0;
|
---|
60 | \}
|
---|
61 | \}
|
---|
62 | \}
|
---|
63 | updatehrefs();
|
---|
64 | \}
|
---|
65 |
|
---|
66 | function updatecc (collection) \{
|
---|
67 | if (savedccs[collection] == 1) savedccs[collection] = 0;
|
---|
68 | else savedccs[collection] = 1;
|
---|
69 |
|
---|
70 | var i;
|
---|
71 | argcc = "";
|
---|
72 | var changed = 0;
|
---|
73 | for (i in savedccs)
|
---|
74 | if (savedccs[i] == 1) \{
|
---|
75 | argcc += "&cc=" + i;
|
---|
76 | changed = 1;
|
---|
77 | \}
|
---|
78 | if (changed == 1) argcc += "&r=1";
|
---|
79 | updatehrefs();
|
---|
80 | \}
|
---|
81 | }
|
---|
82 |
|
---|
83 | _standardfunctions_ {
|
---|
84 | function initialize () \{
|
---|
85 | for (i = 0; i < document.links.length; i++)
|
---|
86 | savedhrefs[i] = document.links[i].href;
|
---|
87 | // only add form search option if mgpp (ct arg) and javascript
|
---|
88 | _If_("_cgiargct_" eq "1",var opt=new Option\("_textformsearch_"\, "1"\); document.PrefForm.qt.options[1]=opt;,//)_If_("_cgiargqt_" eq "1",opt.selected=1;)
|
---|
89 | \}
|
---|
90 | }
|
---|
91 |
|
---|
92 | _getargsfunction_ {
|
---|
93 | function getargs () \{
|
---|
94 | return argk + args + argm + argo + argrd + arghd + argb + argqb + argfqn_If_(_collectionoption_,_ccsargs_)_If_(_htmloptions_,_htmlargs_);
|
---|
95 | \}
|
---|
96 | }
|
---|
97 |
|
---|
98 | _ccsargs_ {+ argcc}
|
---|
99 | _htmlargs_ {+ argel + argil + argfc + arghl}
|
---|
100 |
|
---|
101 | _htmlfunctions_ {argel = "";
|
---|
102 | argil = "";
|
---|
103 | argfc = "";
|
---|
104 | arghl = "";
|
---|
105 |
|
---|
106 | function updateel () \{
|
---|
107 | value = document.PrefForm.el.options[document.PrefForm.el.selectedIndex].value;
|
---|
108 | if (value != "_cgiargel_") argel = "&el=" + value;
|
---|
109 | else argel = "";
|
---|
110 | updatehrefs();
|
---|
111 | \}
|
---|
112 |
|
---|
113 | function updateil () \{
|
---|
114 | value = document.PrefForm.il.options[document.PrefForm.il.selectedIndex].value;
|
---|
115 | if (value != "_cgiargil_") argil = "&il=" + value;
|
---|
116 | else argil = "";
|
---|
117 | updatehrefs();
|
---|
118 | \}
|
---|
119 |
|
---|
120 | function updatefc(value) \{
|
---|
121 | if (value != _cgiargfc_) argfc = "&fc=" + value + "&f=" + value;
|
---|
122 | else argfc = "";
|
---|
123 | updatehrefs();
|
---|
124 | \}
|
---|
125 |
|
---|
126 | function updatehl(value) \{
|
---|
127 | if (value != _cgiarghl_) arghl = "&hl=" + value;
|
---|
128 | else arghl = "";
|
---|
129 | updatehrefs();
|
---|
130 | \}
|
---|
131 | }
|
---|
132 |
|
---|
133 | _pagescriptextra_ {
|
---|
134 | // preferences scripts generated from \_preferences:pagescriptextra\_
|
---|
135 |
|
---|
136 | savedhrefs = new Object();
|
---|
137 |
|
---|
138 | argk = "";
|
---|
139 | args = "";
|
---|
140 | argm = "";
|
---|
141 | argrd = "";
|
---|
142 | argo = "";
|
---|
143 | argb = "";
|
---|
144 | arghd = "";
|
---|
145 | argqb = "";
|
---|
146 | argfqn = "";
|
---|
147 |
|
---|
148 | _If_(_collectionoption_,_ccsfunctions_,_standardfunctions_)
|
---|
149 | _If_(_htmloptions_,_htmlfunctions_)
|
---|
150 | _getargsfunction_
|
---|
151 | function updatehrefs () \{
|
---|
152 | for (i = 0; i < document.links.length; i++)
|
---|
153 | document.links[i].href = savedhrefs[i] + getargs();
|
---|
154 | \}
|
---|
155 |
|
---|
156 | function updatek (value) \{
|
---|
157 | if (value != _cgiargk_) argk = "&k=" + value;
|
---|
158 | else argk = "";
|
---|
159 | updatehrefs();
|
---|
160 | \}
|
---|
161 |
|
---|
162 | function updates (value) \{
|
---|
163 | if (value != _cgiargs_) args = "&s=" + value;
|
---|
164 | else args = "";
|
---|
165 | updatehrefs();
|
---|
166 | \}
|
---|
167 |
|
---|
168 | function updatem () \{
|
---|
169 | value = document.PrefForm.m.options[document.PrefForm.m.selectedIndex].value;
|
---|
170 | if (value != _cgiargm_) argm = "&r=1&m=" + value;
|
---|
171 | else argm = "";
|
---|
172 | updatehrefs();
|
---|
173 | \}
|
---|
174 |
|
---|
175 | function updaterd () \{
|
---|
176 | if (document.PrefForm.rd.checked)
|
---|
177 | _If_("_cgiargrd_" eq "1",argrd="";,argrd="&rd=1";)
|
---|
178 | else
|
---|
179 | _If_("_cgiargrd_" ne "1",argrd="";,argrd="&rd=0";)
|
---|
180 | updatehrefs();
|
---|
181 | \}
|
---|
182 |
|
---|
183 | function updateo () \{
|
---|
184 | value = document.PrefForm.o.options[document.PrefForm.o.selectedIndex].value;
|
---|
185 | if (value != _cgiargo_) argo = "&r=1&o=" + value;
|
---|
186 | else argo = "";
|
---|
187 | updatehrefs();
|
---|
188 | \}
|
---|
189 |
|
---|
190 | function updatefqn () \{
|
---|
191 | value = document.PrefForm.fqn.options[document.PrefForm.fqn.selectedIndex].value;
|
---|
192 | if (value != _cgiargfqn_) argfqn = "&fqn=" + value;
|
---|
193 | else argfqn = "";
|
---|
194 | updatehrefs();
|
---|
195 | \}
|
---|
196 |
|
---|
197 | function updateb (value) \{
|
---|
198 | if (value != _cgiargb_) argb = "&b=" + value;
|
---|
199 | else argb = "";
|
---|
200 | updatehrefs();
|
---|
201 | \}
|
---|
202 |
|
---|
203 | function updatehd() \{
|
---|
204 | arghd="";
|
---|
205 | if (document.PrefForm.hd[0].checked) \{
|
---|
206 | if ("_cgiarghd_" != "0") arghd = "&hd=0";
|
---|
207 | \}
|
---|
208 | else \{
|
---|
209 | value = document.PrefForm.hdn[document.PrefForm.hdn.selectedIndex].value;
|
---|
210 | if (_cgiarghd_ != value) arghd = "&hd="+value;
|
---|
211 | \}
|
---|
212 | updatehrefs();
|
---|
213 | \}
|
---|
214 |
|
---|
215 | function updateqb(value) \{
|
---|
216 | if (value != _cgiargqb_) argqb = "&qb=" + value;
|
---|
217 | else argqb = "";
|
---|
218 | updatehrefs();
|
---|
219 | \}
|
---|
220 |
|
---|
221 | function updatel () \{
|
---|
222 | value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value;
|
---|
223 | href = location.href;
|
---|
224 | if (href.match(/&l=\\w\\w/)) href = href.replace(/&l=\\w\\w/, "&l=" + value);
|
---|
225 | else href += "&l=" + value;
|
---|
226 | if (!location.href.match(/&nl=1$/)) href += "&nl=1";
|
---|
227 | location.href = href + getargs();
|
---|
228 | \}
|
---|
229 |
|
---|
230 | function updatev () \{
|
---|
231 | value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value;
|
---|
232 | href = location.href;
|
---|
233 | if (href.match(/&v=\\d/)) href = href.replace(/&v=\\d/, "&v=" + value);
|
---|
234 | else href += "&v=" + value;
|
---|
235 | location.href = href + getargs();
|
---|
236 | \}
|
---|
237 |
|
---|
238 | function updatew () \{
|
---|
239 | value = document.PrefForm.w.options[document.PrefForm.w.selectedIndex].value;
|
---|
240 | href = location.href;
|
---|
241 | if (href.match(/&nw=[^&]+/)) href = href.replace(/&nw=[^&]+/, "&nw=" + value);
|
---|
242 | else href += "&nw=" + value;
|
---|
243 | if (!location.href.match(/&nl=0$/)) href += "&nl=0";
|
---|
244 | location.href = href + getargs();
|
---|
245 | \}
|
---|
246 |
|
---|
247 | function updateqt () \{
|
---|
248 | value = document.PrefForm.qt.options[document.PrefForm.qt.selectedIndex].value;
|
---|
249 | location.href = location.href + "&qt=" + value + getargs();
|
---|
250 | \}
|
---|
251 | }
|
---|
252 |
|
---|
253 |
|
---|
254 | #######################################################################
|
---|
255 | # headers
|
---|
256 | # these are overridden so we can put an onLoad event handler
|
---|
257 | # in the <body> tag of this page
|
---|
258 | #######################################################################
|
---|
259 |
|
---|
260 |
|
---|
261 | _header_ {_cgihead_
|
---|
262 | _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer__pagebanner_
|
---|
263 | }
|
---|
264 |
|
---|
265 | # this declaration ends up being the same as style=restrict, never mind
|
---|
266 | _header_[v=1] {_cgihead_
|
---|
267 | _htmlhead_(onLoad="initialize();")_pagebanner_
|
---|
268 | }
|
---|
269 |
|
---|
270 |
|
---|
271 | #######################################################################
|
---|
272 | # page content
|
---|
273 | #######################################################################
|
---|
274 |
|
---|
275 | _pagetitle_ {_collectionname_: _textpreferences_}
|
---|
276 | _imagethispage_ {_iconthispage_}
|
---|
277 |
|
---|
278 | _htmloptions_ {}
|
---|
279 |
|
---|
280 | _htmloptionson_ {
|
---|
281 | <p>
|
---|
282 | <tr>_fcoption_</tr>
|
---|
283 | <p>
|
---|
284 | <tr>_hloption_</tr>
|
---|
285 | <p>
|
---|
286 | <tr>_extlinkoption_</tr>
|
---|
287 | _If_(_PreferenceDocsFromWeb_,<p>
|
---|
288 | <tr>_intlinkoption_</tr>)
|
---|
289 | }
|
---|
290 |
|
---|
291 | _fcoption_ {
|
---|
292 | <td valign=baseline>Document page layout</td>
|
---|
293 | <td><input type=radio name=fc value=1 onClick="updatefc(1);"
|
---|
294 | _If_(_cgiargfc_, checked)>navigation bar at top<br>
|
---|
295 | <input type=radio name=fc value=0 onClick="updatefc(0);"
|
---|
296 | _If_(_cgiargfc_,, checked)>no navigation bar</td>
|
---|
297 | }
|
---|
298 |
|
---|
299 | _hloption_ {
|
---|
300 | <td valign=baseline>Search term highlighting</td>
|
---|
301 | <td><input type=radio name=hl value=1 onClick="updatehl(1);"
|
---|
302 | _If_(_cgiarghl_, checked)>highlight search terms<br>
|
---|
303 | <input type=radio name=hl value=0 onClick="updatehl(0);"
|
---|
304 | _If_(_cgiarghl_,, checked)>don't highlight search terms</td>
|
---|
305 | }
|
---|
306 |
|
---|
307 | #search pref options
|
---|
308 | _boxsizeoption_{
|
---|
309 | <td valign=baseline>_textqueryboxsize_</td>
|
---|
310 | <td><input type=radio name=qb value=0 onClick="updateqb(0);"
|
---|
311 | _If_(_cgiargqb_,, checked)>_textregbox_<br>
|
---|
312 | <input type=radio name=qb value=1 onClick="updateqb(1);"
|
---|
313 | _If_(_cgiargqb_, checked)>_textbigbox_</td>
|
---|
314 | }
|
---|
315 |
|
---|
316 | _caseoption_ {
|
---|
317 | <td valign=baseline>_textcasediffs_</td>
|
---|
318 | <td><input type=radio name=k value=1 onClick="updatek(1);"
|
---|
319 | _If_(_cgiargk_, checked)>_textignorecase_<br>
|
---|
320 | <input type=radio name=k value=0 onClick="updatek(0);"
|
---|
321 | _If_(_cgiargk_,, checked)>_textmatchcase_</td>
|
---|
322 | }
|
---|
323 |
|
---|
324 | _caseoption_ [l=ar] {}
|
---|
325 | _caseoption_ [l=zh] {}
|
---|
326 |
|
---|
327 | _stemoption_ {
|
---|
328 | <td valign=baseline>_textwordends_</td>
|
---|
329 | <td><input type=radio name=s value=1 onClick="updates(1);"
|
---|
330 | _If_(_cgiargs_, checked)>_textstem_<br>
|
---|
331 | <input type=radio name=s value=0 onClick="updates(0);"
|
---|
332 | _If_(_cgiargs_,, checked)>_textnostem_</td>
|
---|
333 | }
|
---|
334 |
|
---|
335 | _stemoption_ [l=zh] {}
|
---|
336 |
|
---|
337 |
|
---|
338 | _modeoption_ {
|
---|
339 | <td valign=baseline>_textquerymode_</td>
|
---|
340 | <td><input type=radio name=b value=0 onClick="updateb(0);"
|
---|
341 | _If_(_cgiargb_,, checked)>_textsimplemode_<br>
|
---|
342 | <input type=radio name=b value=1 onClick="updateb(1);"
|
---|
343 | _If_(_cgiargb_, checked)>_textadvancedmode_</td>
|
---|
344 | }
|
---|
345 |
|
---|
346 |
|
---|
347 | _searchhistoryop_ {
|
---|
348 | <td valign=baseline>_textsearchhistory_</td>
|
---|
349 | <td><input type=radio name="hd" value=0 onClick="updatehd();"
|
---|
350 | _If_("_cgiarghd_" eq "0", checked)>_textnohistorydisplay_<br>
|
---|
351 | <input type=radio name="hd" value=1 onClick="updatehd();"
|
---|
352 | _If_("_cgiarghd_" eq "0",, checked)>_texthistorydisplay_</td>
|
---|
353 | }
|
---|
354 |
|
---|
355 | _relateddocop_ {
|
---|
356 | <td colspan=2><nobr><input type=checkbox name="rd" value=1 onClick="updaterd();" _If_("_cgiargrd_" eq "1", checked)>
|
---|
357 | Display related documents</nobr></td>
|
---|
358 | }
|
---|
359 |
|
---|
360 | _historynumrecords_{<select name="hdn" onChange="updatehd();">
|
---|
361 | <option value="5"_If_("_cgiarghd_" eq "5", selected)>5
|
---|
362 | <option value="10"_If_("_cgiarghd_" eq "10", selected)>10
|
---|
363 | <option value="15"_If_("_cgiarghd_" eq "15", selected)>15
|
---|
364 | <option value="20"_If_("_cgiarghd_" eq "20", selected)>20
|
---|
365 | </select>}
|
---|
366 |
|
---|
367 | _maxdocoption_ {
|
---|
368 | <select name="m" onChange="updatem();">
|
---|
369 | <option value="50"_If_("_cgiargm_" eq "50", selected)>50
|
---|
370 | <option value="100"_If_("_cgiargm_" eq "100", selected)>100
|
---|
371 | <option value="200"_If_("_cgiargm_" eq "200", selected)>200
|
---|
372 | </select>
|
---|
373 | }
|
---|
374 |
|
---|
375 | _hitsperpageoption_ {
|
---|
376 | <select name="o" onChange="updateo();">
|
---|
377 | <option value="10"_If_("_cgiargo_" eq "10", selected)>10
|
---|
378 | <option value="20"_If_("_cgiargo_" eq "20", selected)>20
|
---|
379 | <option value="50"_If_("_cgiargo_" eq "50", selected)>50
|
---|
380 | <option value="100")_If_("_cgiargo_" eq "100", selected)>_textall_
|
---|
381 | </select>
|
---|
382 | }
|
---|
383 |
|
---|
384 | _extlinkoption_ {
|
---|
385 | <td>_textextlink_</td>
|
---|
386 | <td><select name="el" onChange="updateel();">
|
---|
387 | <option value="prompt"_If_("_cgiargel_" eq "prompt", selected)>
|
---|
388 | _textlinkinterm_
|
---|
389 | <option value="direct"_If_("_cgiargel_" eq "direct", selected)>
|
---|
390 | _textlinkdirect_
|
---|
391 | </select></td>
|
---|
392 | }
|
---|
393 |
|
---|
394 | _intlinkoption_ {
|
---|
395 | <td>_textintlink_</td>
|
---|
396 | <td><select name="il" onChange="updateil();">
|
---|
397 | <option value="l"_If_("_cgiargil_" eq "l", selected)>
|
---|
398 | _textdigitlib_
|
---|
399 | <option value="w"_If_("_cgiargil_" eq "w", selected)>
|
---|
400 | _textweb_
|
---|
401 | </select></td>
|
---|
402 | }
|
---|
403 |
|
---|
404 | # set from within pageaction
|
---|
405 | _languageoption_ {}
|
---|
406 | _encodingoption_ {}
|
---|
407 |
|
---|
408 | _formatoption_ {
|
---|
409 | <td>_textformat_</td>
|
---|
410 | <td><select name="v" onChange="updatev();">
|
---|
411 | <option value="0"_If_("_cgiargv_" eq "0", selected)>_textgraphical_
|
---|
412 | <option value="1"_If_("_cgiargv_" eq "1", selected)>_texttextual_
|
---|
413 | </select></td>
|
---|
414 | }
|
---|
415 |
|
---|
416 | _content_ {
|
---|
417 | <center>
|
---|
418 | _navigationbar_
|
---|
419 | </center>
|
---|
420 | _If_(_prefschanged_,<p>_prefschanged_<br><center>_iconblankbar_</center>)
|
---|
421 |
|
---|
422 | <blockquote>
|
---|
423 |
|
---|
424 | <form name=PrefForm method=get action="_gwcgi_">
|
---|
425 |
|
---|
426 | <input type="hidden" name="e" value="_decodedcompressedoptions_">
|
---|
427 |
|
---|
428 | _If_(_collectionoption_,_collectionprefs_)
|
---|
429 | _presentationprefs_
|
---|
430 | _If_("_cgiargct_" eq "1",_mgppsearchprefs_,_mgsearchprefs_)
|
---|
431 |
|
---|
432 | </blockquote>
|
---|
433 | </form>
|
---|
434 | }
|
---|
435 |
|
---|
436 | #search prefs for mg collections
|
---|
437 | _mgsearchprefs_ {
|
---|
438 | <center><table border=0 cellpadding=0 cellspacing=0 width=_pagewidth_><tr>
|
---|
439 | <td><h3>_textsearchprefs_</h3></td>
|
---|
440 | <td align=right><input type=submit name="bp" value="_textsetprefs_"></td>
|
---|
441 | </tr></table></center>
|
---|
442 |
|
---|
443 | <table>
|
---|
444 | <tr>_boxsizeoption_</tr>
|
---|
445 |
|
---|
446 | <tr>_caseoption_</tr>
|
---|
447 |
|
---|
448 | <tr>_stemoption_</tr>
|
---|
449 |
|
---|
450 | <tr>_modeoption_</tr>
|
---|
451 |
|
---|
452 | <tr>_searchhistoryop_</tr>
|
---|
453 |
|
---|
454 | <!--
|
---|
455 | Don't include this for now
|
---|
456 | <tr>_relateddocop_</tr>
|
---|
457 | -->
|
---|
458 |
|
---|
459 | <tr><td colspan=2>_textprefop_</td></tr>
|
---|
460 | </table>
|
---|
461 | </blockquote>
|
---|
462 | _iconblankbar_
|
---|
463 | <blockquote>
|
---|
464 | }
|
---|
465 |
|
---|
466 | _collectionprefs_ {
|
---|
467 | <h3>_textcollectionprefs_</h3>
|
---|
468 | _collectionoption_
|
---|
469 | </blockquote>
|
---|
470 | _iconblankbar_
|
---|
471 | <blockquote>
|
---|
472 | }
|
---|
473 |
|
---|
474 | _presentationprefs_ {
|
---|
475 | <h3>_textpresentationprefs_</h3>
|
---|
476 | <table>_htmloptions_
|
---|
477 |
|
---|
478 | _If_(_languageoption_,<tr><td>_textlanguage_</td><td>_languageoption_</td></tr>)
|
---|
479 |
|
---|
480 | _If_(_encodingoption_,<tr><td>_textencoding_</td><td>_encodingoption_</td></tr>)
|
---|
481 |
|
---|
482 | <tr>_formatoption_</tr></table>
|
---|
483 | </blockquote>
|
---|
484 | _iconblankbar_
|
---|
485 | <blockquote>
|
---|
486 | }
|
---|
487 |
|
---|
488 | #######################################################
|
---|
489 | ## new stuff for prefs for form vs text search - for mgpp collections
|
---|
490 | _mgppsearchprefs_ {
|
---|
491 | <h3>_textsearchprefs_</h3>
|
---|
492 | <table>
|
---|
493 | <tr>_searchtypeop_</tr>
|
---|
494 |
|
---|
495 | _If_(_cgiargqt_,_formsearchoptions_,_textsearchoptions_)
|
---|
496 |
|
---|
497 | <tr>_caseoption_</tr>
|
---|
498 |
|
---|
499 | <tr>_stemoption_</tr>
|
---|
500 |
|
---|
501 | <tr>_searchhistoryop_</tr>
|
---|
502 |
|
---|
503 | <tr><td colspan=2>_textprefop_</td></tr></table>
|
---|
504 | <input type=submit value="Update settings"><!--non-javascript users only-->
|
---|
505 | </blockquote>
|
---|
506 | _iconblankbar_
|
---|
507 | <blockquote>
|
---|
508 | }
|
---|
509 |
|
---|
510 |
|
---|
511 | _searchtypeop_ {
|
---|
512 | <td>_texttypesearch_</td>
|
---|
513 | <td><select name="qt" onChange="updateqt();">
|
---|
514 | <option value="0"_If_("_cgiargqt_" eq "0", selected)>_texttextsearch_
|
---|
515 | <!-- textformsearch option done in initialize function -->
|
---|
516 | </select></td>
|
---|
517 | }
|
---|
518 |
|
---|
519 | _formsearchoptions_ {
|
---|
520 | <tr>_formmodeoption_</tr>
|
---|
521 | }
|
---|
522 |
|
---|
523 | _textsearchoptions_ {
|
---|
524 | <tr>_boxsizeoption_</tr>
|
---|
525 | <tr>_modeoption_</tr>
|
---|
526 | }
|
---|
527 |
|
---|
528 | _formmodeoption_{
|
---|
529 | <td valign=baseline>_textformtype_</td>
|
---|
530 | <td><input type=radio name=b value=0 onClick="updateb(0);"
|
---|
531 | _If_(_cgiargb_,, checked)>_textsimple_<br>
|
---|
532 | <input type=radio name=b value=1 onClick="updateb(1);"
|
---|
533 | _If_(_cgiargb_, checked)>_textadvanced_<br>
|
---|
534 | _formnumoption_</td>
|
---|
535 | }
|
---|
536 |
|
---|
537 | _formnumoption_ {_textwith_
|
---|
538 | <select name="fqn" onChange="updatefqn();">
|
---|
539 | <option value="2"_If_("_cgiargfqn_" eq "2", selected)>2
|
---|
540 | <option value="4"_If_("_cgiargfqn_" eq "4", selected)>4
|
---|
541 | <option value="6"_If_("_cgiargfqn_" eq "6", selected)>6
|
---|
542 | <option value="8"_If_("_cgiargfqn_" eq "8", selected)>8
|
---|
543 | </select>_textfields_</td>
|
---|
544 | }
|
---|
545 |
|
---|
546 |
|
---|
547 | #######################################################################
|
---|
548 | # icons
|
---|
549 | #######################################################################
|
---|
550 |
|
---|
551 | _iconthispage_ {<img src="_httpiconhpref_" alt="_textpreferences_" title="_textpreferences_" width="_widthhpref_" height="_heighthpref_">}
|
---|