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