package preferences ####################################################################### # java images/scripts ####################################################################### # the _javalinks_ macros are the flashy image links at the top right of # the page. this is overridden here as we don't want a 'preferences' # link on this page _javalinks_ {_imagehome__imagehelp_} _javalinks_ [v=1] { _imagehome_
_imagehelp_
} ####################################################################### # scripts # note that changing either the "m" or the "o" argument # from the preferences page necessitates reseting the "r" # argument to 1 ####################################################################### _pagescriptextra_ { // preferences scripts generated from \_preferences:pagescriptextra\_ savedhrefs = new Object(); argk = ""; args = ""; argm = ""; argo = ""; argb = ""; function initialize () \{ for (i = 0; i < document.links.length; i++) savedhrefs[i] = document.links[i].href; \} function updatehrefs () \{ for (i = 0; i < document.links.length; i++) document.links[i].href = savedhrefs[i] + argk + args + argm + argo + argb; \} function updatek (value) \{ if (value != _cgiargk_) argk = "&k=" + value; else argk = ""; updatehrefs(); \} function updates (value) \{ if (value != _cgiargs_) args = "&s=" + value; else args = ""; updatehrefs(); \} function updatem () \{ value = document.PrefForm.m.options[document.PrefForm.m.selectedIndex].value; if (value != _cgiargm_) argm = "&r=1&m=" + value; else argm = ""; updatehrefs(); \} function updateo () \{ value = document.PrefForm.o.options[document.PrefForm.o.selectedIndex].value; if (value != _cgiargo_) argo = "&r=1&o=" + value; else argo = ""; updatehrefs(); \} function updateb (value) \{ if (value != _cgiargb_) argb = "&b=" + value; else argb = ""; updatehrefs(); \} function updatel () \{ value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value; location.href = location.href + argk + args + argm + argo + argb + "&l=" + value; \} function updatev () \{ value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value; location.href = location.href + argk + args + argm + argo + argb + "&v=" + value; \} function updatew () \{ value = document.PrefForm.w.options[document.PrefForm.w.selectedIndex].value; location.href = location.href + argk + args + argm + argo + argb + "&nw=" + value; \} } ####################################################################### # headers # these are overridden so we can put an onLoad event handler # in the tag of this page ####################################################################### _header_ {_cgihead_ _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer__pagebanner_ } # this declaration ends up being the same as style=restrict, never mind _header_[v=1] {_cgihead_ _htmlhead_(onLoad="initialize();")_pagebanner_ } ####################################################################### # page content ####################################################################### _pagetitle_ {_collectionname_: _textpreferences_} _imagethispage_ {_iconthispage_} _caseoption_ { _textignorecase_
_textmatchcase_ } _caseoption_ [l=zh] {} _stemoption_ { _textstem_
_textnostem_ } _stemoption_ [l=zh] {} _maxdocoption_ { } _hitsperpageoption_ { } _modeoption_ { _textsimplemode_
_textadvancedmode_ } _languageoption_ { _textlanguage_ } _encodingoption_ { _textencoding_ } _formatoption_ { _textformat_ } _content_ {
_navigationbar_

_caseoption_

_stemoption_

_textprefop_

_modeoption_

_languageoption_

_encodingoption_

_formatoption_

} ####################################################################### # https ####################################################################### _httpiconhpref_ {_httpimg_/h\_pref.gif} _httpiconhpref_ [l=mi] {_httpimg_/mh\_pref.gif} _widthhpref_ {200} _widthhpref_ [l=mi] {220} _heighthpref_ {57} ####################################################################### # icons ####################################################################### _iconthispage_ {_textpreferences_} _iconthispage_ [l=mi] {} ####################################################################### # english macros ####################################################################### _textpreferences_ {Preferences} _textignorecase_ { ignore case differences} _textmatchcase_ { upper/lower case must match} _textstem_ { ignore word endings} _textnostem_ { whole word must match} _textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.} _textlanguage_ {Interface language: } _textencoding_ {Encoding: } _textformat_ {Interface format: } _textsimplemode_ {simple query mode} _textadvancedmode_ {advanced query mode (allows boolean searching using !, &, |, and parenthesis)} _textgraphical_ {Graphical} _texttextual_ {Textual} ####################################################################### # chinese macros ####################################################################### _textprefop_ [l=zh] {查询最多返回    _maxdocoption_ 记录,每页返回 _hitsperpageoption_ 记录} _textlanguage_ [l=zh] {界面语言:} _textencoding_ [l=zh] {编码方式:} _textformat_ [l=zh] {界面格式:} ####################################################################### # maori macros ####################################################################### _textpreferences_ [l=mi] {Whiriwhiringa} _textignorecase_ [l=mi] { hei aha te pü matua me te pü iti} _textmatchcase_ [l=mi] { me tika te pü matua me te pü iti} _textstem_ [l=mi] { hei aha te kümuri} _textnostem_ [l=mi] { me tika te kümuri} _textprefop_ [l=mi] {Whakahokia mai te _maxdocoption_ kupu, ä, kia _hitsperpageoption_ kupu ki ia whärangi.} _textlanguage_ [l=mi] {Reo: } _textencoding_ [l=mi] {Whakatakotoranga pü: } _textformat_ [l=mi] {Whakatakotoranga whärangi: } _textsimplemode_ [l=mi] {te rapu whäiti} _textadvancedmode_ [l=mi] {te rapu whänui (ka taea te whakamahia ngä pü boolean, përä i te !, &, |, me te "()" hoki)} _textgraphical_ [l=mi] {Whakaahua} _texttextual_ [l=mi] {Käore he whakaahua}