Changeset 1856 for trunk/gsdl/macros/pref.dm
- Timestamp:
- 2001-01-23T10:58:19+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/pref.dm
r1838 r1856 200 200 function updatel () \{ 201 201 value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value; 202 location.href = location.href + "& l=" + value + getargs();202 location.href = location.href + "&nl=1&l=" + value + getargs(); 203 203 \} 204 204 … … 210 210 function updatew () \{ 211 211 value = document.PrefForm.w.options[document.PrefForm.w.selectedIndex].value; 212 location.href = location.href + "&n w=" + value + getargs();212 location.href = location.href + "&nl=0&nw=" + value + getargs(); 213 213 \} 214 214 } … … 330 330 } 331 331 332 # set from within pageaction 332 333 _languageoption_ {} 333 334 _enlanguageoption_ {<option value="en"_If_("_cgiargl_",, selected)_If_("_cgiargl_" eq "en", selected)>_textlangeng_} 335 _delanguageoption_ {<option value="de"_If_("_cgiargl_" eq "de", selected)>_textlanggerman_} 336 _frlanguageoption_ {<option value="fr"_If_("_cgiargl_" eq "fr", selected)>_textlangfrench_} 337 _eslanguageoption_ {<option value="es"_If_("_cgiargl_" eq "es", selected)>_textlangspanish_} 338 _milanguageoption_ {<option value="mi"_If_("_cgiargl_" eq "mi", selected)>_textlangmaori_} 339 _zhlanguageoption_ {<option value="zh"_If_("_cgiargl_" eq "zh", selected)>_textlangchinese_} 340 _arlanguageoption_ {<option value="ar"_If_("_cgiargl_" eq "ar", selected)>_textlangarabic_} 341 _ptlanguageoption_ {<option value="pt"_If_("_cgiargl_" eq "pt", selected)>_textlangportuguese_} 342 _nllanguageoption_ {<option value="nl"_If_("_cgiargl_" eq "nl", selected)>_textlangdutch_} 343 344 _encodingoption_ { 345 _textencoding_ 346 <select name="w" onChange="updatew();"> 347 <option value="w" _If_("_cgiargw_" eq "w",selected)>Western (ISO-8859-1) 348 <option value="u" _If_("_cgiargw_" eq "u",selected)>UTF-8 349 <option value="g" _If_("_cgiargw_" eq "g",selected)>GBK 350 <option value="a" _If_("_cgiargw_" eq "a",selected)>Arabic (windows 1256) 351 <option value="c" _If_("_cgiargw_" eq "c",selected)>Cyrillic (windows 1251) 352 </select> 353 } 334 _encodingoption_ {} 354 335 355 336 _formatoption_ { … … 365 346 _navigationbar_ 366 347 </center> 348 367 349 <blockquote> 368 350 … … 409 391 410 392 <p> 411 _ languageoption_412 413 <p> 414 _ encodingoption_393 _If_(_languageoption_,_textlanguage__languageoption_) 394 395 <p> 396 _If_(_encodingoption_,_textencoding__encodingoption_) 415 397 416 398 <p>
Note:
See TracChangeset
for help on using the changeset viewer.