Changeset 725 for trunk/gsdl/macros/pref.dm
- Timestamp:
- 1999-10-19T16:27:42+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/pref.dm
r666 r725 34 34 argo = ""; 35 35 argb = ""; 36 argel = ""; 37 argil = ""; 36 38 37 39 function initialize () \{ … … 42 44 function updatehrefs () \{ 43 45 for (i = 0; i < document.links.length; i++) 44 document.links[i].href = savedhrefs[i] + argk + args + argm + argo + argb ;46 document.links[i].href = savedhrefs[i] + argk + args + argm + argo + argb + argel + argil; 45 47 \} 46 48 … … 77 79 \} 78 80 81 function updateel () \{ 82 value = document.PrefForm.el.options[document.PrefForm.el.selectedIndex].value; 83 if (value != "_cgiargel_") argel = "&el=" + value; 84 else argel = ""; 85 updatehrefs(); 86 \} 87 88 function updateil () \{ 89 value = document.PrefForm.il.options[document.PrefForm.il.selectedIndex].value; 90 if (value != "_cgiargil_") argil = "&il=" + value; 91 else argil = ""; 92 updatehrefs(); 93 \} 94 79 95 function updatel () \{ 80 96 value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value; 81 location.href = location.href + argk + args + argm + argo + argb + "&l=" + value;97 location.href = location.href + argk + args + argm + argo + argb + argel + argil + "&l=" + value; 82 98 \} 83 99 84 100 function updatev () \{ 85 101 value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value; 86 location.href = location.href + argk + args + argm + argo + argb + "&v=" + value;102 location.href = location.href + argk + args + argm + argo + argb + argel + argil + "&v=" + value; 87 103 \} 88 104 89 105 function updatew () \{ 90 106 value = document.PrefForm.w.options[document.PrefForm.w.selectedIndex].value; 91 location.href = location.href + argk + args + argm + argo + argb + "&nw=" + value;107 location.href = location.href + argk + args + argm + argo + argb + argel + argil + "&nw=" + value; 92 108 \} 93 109 … … 160 176 } 161 177 178 _extlinkoption_ { 179 _textextlink_ 180 <select name="el" onChange="updateel();"> 181 <option value="prompt"_If_("_cgiargel_" eq "prompt", selected)> 182 through intermediate page 183 <option value="direct"_If_("_cgiargel_" eq "direct", selected)> 184 go directly there 185 </select> 186 } 187 188 _intlinkoption_ { 189 _textintlink_ 190 <select name="il" onChange="updateil();"> 191 <option value="l"_If_("_cgiargil_" eq "l", selected)> 192 the digital library 193 <option value="w"_If_("_cgiargil_" eq "w", selected)> 194 the Web 195 </select> 196 } 197 198 162 199 _languageoption_ { 163 200 _textlanguage_ … … 196 233 <input type="hidden" name="e" value="_compressedoptions_"> 197 234 198 <p>_caseoption_ 199 200 <p>_stemoption_ 235 <p> 236 _caseoption_ 237 238 <p> 239 _stemoption_ 201 240 202 241 <p> … … 205 244 <p> 206 245 _modeoption_ 246 247 <p> 248 _extlinkoption_ 249 250 <p> 251 _intlinkoption_ 207 252 208 253 <p> … … 249 294 _textnostem_ { whole word must match} 250 295 _textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.} 296 _textextlink_ {Access to external Web pages: } 297 _textintlink_ {Source documents retrieved from:} 251 298 _textlanguage_ {Interface language: } 252 299 _textencoding_ {Encoding: }
Note:
See TracChangeset
for help on using the changeset viewer.