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();
k\_arg = "";
s\_arg = "";
m\_arg = "";
o\_arg = "";
b\_arg = "";
function initialize () \{
for (i = 0; i < document.links.length; i++)
savedhrefs[i] = document.links[i].href;
\}
function update\_hrefs () \{
for (i = 0; i < document.links.length; i++)
document.links[i].href = savedhrefs[i] + k\_arg + s\_arg + m\_arg + o\_arg + b\_arg;
\}
function k\_update (value) \{
if (value != _cgiargk_) k\_arg = "&k=" + value;
else k\_arg = "";
update\_hrefs();
\}
function s\_update (value) \{
if (value != _cgiargs_) s\_arg = "&s=" + value;
else s\_arg = "";
update\_hrefs();
\}
function m\_update () \{
value = document.PrefForm.m.options[document.PrefForm.m.selectedIndex].value;
if (value != _cgiargm_) m\_arg = "&r=1&m=" + value;
else m\_arg = "";
update\_hrefs();
\}
function o\_update () \{
value = document.PrefForm.o.options[document.PrefForm.o.selectedIndex].value;
if (value != _cgiargo_) o\_arg = "&r=1&o=" + value;
else o\_arg = "";
update\_hrefs();
\}
function b\_update (value) \{
if (value != _cgiargb_) b\_arg = "&b=" + value;
else b\_arg = "";
update\_hrefs();
\}
function l\_update () \{
value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value;
location.href = location.href + k\_arg + s\_arg + m\_arg + o\_arg + b\_arg + "&l=" + value;
\}
function v\_update () \{
value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value;
location.href = location.href + k\_arg + s\_arg + m\_arg + o\_arg + b\_arg + "&v=" + value;
\}
}
#######################################################################
# headers
# these are overridden so we can put an onLoad event handler
# in the
} ####################################################################### # https ####################################################################### _httpiconhpref_ {_httpimg_/h\_pref.gif} _httpiconhpref_ [l=mi] {_httpimg_/mh\_pref.gif} _widthhpref_ {200} _widthhpref_ [l=mi] {220} _heighthpref_ {57} ####################################################################### # icons ####################################################################### _iconthispage_ {} _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: } _textformat_ {Interface format: } _textsimplemode_ {simple query mode} _textadvancedmode_ {advanced query mode (allows boolean searching using !, &, |, and parenthesis)} ####################################################################### # 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.}