Ignore:
Timestamp:
1999-09-08T13:01:57+12:00 (25 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/pref.dm

    r454 r548  
    1010# link on this page
    1111
    12 _javalinks_ {_imagehome__imageabout__imagehelp_}
    13 _javalinks_ [version=text] {
     12_javalinks_ {_imagehome__imagehelp_}
     13_javalinks_ [v=1] {
    1414_imagehome_<br>
    15 _imageabout_<br>
    1615_imagehelp_<br>
    1716}
     
    3433    m\_arg = "";
    3534    o\_arg = "";
     35    b\_arg = "";
    3636
    3737    function initialize () \{
     
    4242    function update\_hrefs () \{
    4343        for (i = 0; i < document.links.length; i++)
    44             document.links[i].href = savedhrefs[i] + k\_arg + s\_arg + m\_arg + o\_arg;
     44            document.links[i].href = savedhrefs[i] + k\_arg + s\_arg + m\_arg + o\_arg + b\_arg;
    4545    \}
    4646
     
    7171    \}
    7272
     73    function b\_update (value) \{
     74        if (value != _cgiargb_) b\_arg = "&b=" + value;
     75        else b\_arg = "";
     76        update\_hrefs();
     77    \}
     78
    7379    function l\_update () \{
    7480        value = document.PrefForm.l.options[document.PrefForm.l.selectedIndex].value;
    75         location.href = location.href + k\_arg + s\_arg + m\_arg + o\_arg + "&l=" + value;
     81        location.href = location.href + k\_arg + s\_arg + m\_arg + o\_arg + b\_arg + "&l=" + value;
    7682    \}
    7783
    7884    function v\_update () \{
    7985        value = document.PrefForm.v.options[document.PrefForm.v.selectedIndex].value;
    80         location.href = location.href + k\_arg + s\_arg + m\_arg + o\_arg + "&v=" + value;
     86        location.href = location.href + k\_arg + s\_arg + m\_arg + o\_arg + b\_arg + "&v=" + value;
    8187    \}
    8288}
     
    94100
    95101# this declaration ends up being the same as style=restrict, never mind
    96 _header_[version=text] {_cgihead_
    97 _htmlhead_(onLoad="initialize();")_pagebanner_
    98 }
    99 
    100 # style=restrict lacks the sidestripe, version links and
    101 # language links
    102 _header_[style=restrict] {_cgihead_
     102_header_[v=1] {_cgihead_
    103103_htmlhead_(onLoad="initialize();")_pagebanner_
    104104}
     
    143143}
    144144
     145_modeoption_ {
     146<input type=radio name=b value=0 onClick="b\_update(0);"
     147        _If_(_cgiargb_,, checked)>_textsimplemode_<br>
     148<input type=radio name=b value=1 onClick="b\_update(1);"
     149        _If_(_cgiargb_, checked)>_textadvancedmode_
     150}
     151
    145152_languageoption_ {
    146153_textlanguage_
     
    177184
    178185<p>
     186_modeoption_
     187
     188<p>
    179189_languageoption_
    180190
     
    192202
    193203_httpiconhpref_ {_httpimg_/h\_pref.gif}
    194 _httpiconhpref_ [language=mi] {_httpimg_/mh\_pref.gif}
     204_httpiconhpref_ [l=mi] {_httpimg_/mh\_pref.gif}
    195205_widthhpref_ {200}
    196 _widthhpref_ [language=mi] {220}
     206_widthhpref_ [l=mi] {220}
    197207_heighthpref_ {57}
    198208
     
    203213
    204214_iconthispage_ {<img src="_httpiconhpref_" alt="_textpreferences_" width="_widthhpref_" height="_heighthpref_">}
    205 _iconthispage_ [language=mi] {<img src="_httpimg_/mh\_pref.gif" alt="" width="220" height="57">}
     215_iconthispage_ [l=mi] {<img src="_httpimg_/mh\_pref.gif" alt="" width="220" height="57">}
    206216
    207217
     
    218228_textlanguage_ {Interface language: }
    219229_textformat_ {Interface format: }
     230_textsimplemode_ {simple query mode}
     231_textadvancedmode_ {advanced query mode (allows boolean searching using !, &, |, and parenthesis)}
    220232
    221233#######################################################################
     
    223235#######################################################################
    224236
    225 _textpreferences_ [language=mi] {Whiriwhiringa}
    226 _textignorecase_ [language=mi] { hei aha te p&uuml; matua me te p&uuml; iti}
    227 _textmatchcase_ [language=mi] { me tika te p&uuml; matua me te p&uuml; iti}
    228 _textstem_ [language=mi] { hei aha te k&uuml;muri}
    229 _textnostem_ [language=mi] { me tika te k&uuml;muri}
    230 _textprefop_ [language=mi] {Whakahokia mai te _maxdocoption_ kupu, &auml;, kia _hitsperpageoption_ kupu ki ia wh&auml;rangi.}
    231 
    232 
    233 
    234 
    235 
    236 
     237_textpreferences_ [l=mi] {Whiriwhiringa}
     238_textignorecase_ [l=mi] { hei aha te p&uuml; matua me te p&uuml; iti}
     239_textmatchcase_ [l=mi] { me tika te p&uuml; matua me te p&uuml; iti}
     240_textstem_ [l=mi] { hei aha te k&uuml;muri}
     241_textnostem_ [l=mi] { me tika te k&uuml;muri}
     242_textprefop_ [l=mi] {Whakahokia mai te _maxdocoption_ kupu, &auml;, kia _hitsperpageoption_ kupu ki ia wh&auml;rangi.}
     243
     244
     245
     246
     247
     248
Note: See TracChangeset for help on using the changeset viewer.