Changeset 548 for trunk/gsdl/macros/pref.dm
- Timestamp:
- 1999-09-08T13:01:57+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/pref.dm
r454 r548 10 10 # link on this page 11 11 12 _javalinks_ {_imagehome__image about__imagehelp_}13 _javalinks_ [v ersion=text] {12 _javalinks_ {_imagehome__imagehelp_} 13 _javalinks_ [v=1] { 14 14 _imagehome_<br> 15 _imageabout_<br>16 15 _imagehelp_<br> 17 16 } … … 34 33 m\_arg = ""; 35 34 o\_arg = ""; 35 b\_arg = ""; 36 36 37 37 function initialize () \{ … … 42 42 function update\_hrefs () \{ 43 43 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; 45 45 \} 46 46 … … 71 71 \} 72 72 73 function b\_update (value) \{ 74 if (value != _cgiargb_) b\_arg = "&b=" + value; 75 else b\_arg = ""; 76 update\_hrefs(); 77 \} 78 73 79 function l\_update () \{ 74 80 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; 76 82 \} 77 83 78 84 function v\_update () \{ 79 85 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; 81 87 \} 82 88 } … … 94 100 95 101 # 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_ 103 103 _htmlhead_(onLoad="initialize();")_pagebanner_ 104 104 } … … 143 143 } 144 144 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 145 152 _languageoption_ { 146 153 _textlanguage_ … … 177 184 178 185 <p> 186 _modeoption_ 187 188 <p> 179 189 _languageoption_ 180 190 … … 192 202 193 203 _httpiconhpref_ {_httpimg_/h\_pref.gif} 194 _httpiconhpref_ [l anguage=mi] {_httpimg_/mh\_pref.gif}204 _httpiconhpref_ [l=mi] {_httpimg_/mh\_pref.gif} 195 205 _widthhpref_ {200} 196 _widthhpref_ [l anguage=mi] {220}206 _widthhpref_ [l=mi] {220} 197 207 _heighthpref_ {57} 198 208 … … 203 213 204 214 _iconthispage_ {<img src="_httpiconhpref_" alt="_textpreferences_" width="_widthhpref_" height="_heighthpref_">} 205 _iconthispage_ [l anguage=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">} 206 216 207 217 … … 218 228 _textlanguage_ {Interface language: } 219 229 _textformat_ {Interface format: } 230 _textsimplemode_ {simple query mode} 231 _textadvancedmode_ {advanced query mode (allows boolean searching using !, &, |, and parenthesis)} 220 232 221 233 ####################################################################### … … 223 235 ####################################################################### 224 236 225 _textpreferences_ [l anguage=mi] {Whiriwhiringa}226 _textignorecase_ [l anguage=mi] { hei aha te pü matua me te pü iti}227 _textmatchcase_ [l anguage=mi] { me tika te pü matua me te pü iti}228 _textstem_ [l anguage=mi] { hei aha te kümuri}229 _textnostem_ [l anguage=mi] { me tika te kümuri}230 _textprefop_ [l anguage=mi] {Whakahokia mai te _maxdocoption_ kupu, ä, kia _hitsperpageoption_ kupu ki ia whärangi.}231 232 233 234 235 236 237 _textpreferences_ [l=mi] {Whiriwhiringa} 238 _textignorecase_ [l=mi] { hei aha te pü matua me te pü iti} 239 _textmatchcase_ [l=mi] { me tika te pü matua me te pü iti} 240 _textstem_ [l=mi] { hei aha te kümuri} 241 _textnostem_ [l=mi] { me tika te kümuri} 242 _textprefop_ [l=mi] {Whakahokia mai te _maxdocoption_ kupu, ä, kia _hitsperpageoption_ kupu ki ia whärangi.} 243 244 245 246 247 248
Note:
See TracChangeset
for help on using the changeset viewer.