1 | ###############
|
---|
2 | # PAGE STYLES #
|
---|
3 | ###############
|
---|
4 |
|
---|
5 | package Style
|
---|
6 |
|
---|
7 | # _content_ is outputted from the library program
|
---|
8 | _content_ {<center><blink><b><font size="7" color="#FF0000">UNDEFINED PAGE</font></b></blink></center>}
|
---|
9 |
|
---|
10 | # to use this style system output
|
---|
11 | # _header_
|
---|
12 | # all your page content, then
|
---|
13 | # _footer_
|
---|
14 |
|
---|
15 | # use the page parameter 'style' to choose the appropriate style
|
---|
16 |
|
---|
17 | # the style system uses
|
---|
18 | # _pagetitle_ - what gets displayed at the top of the browser window
|
---|
19 | # _pagebannerextra_ - anything extra you want displayed in the page banner
|
---|
20 | # _pagefooterextra_ - anything extra you want displayed in the footer
|
---|
21 | # _imagethispage_
|
---|
22 | # _linkotherlanguages_
|
---|
23 |
|
---|
24 | # defaults for the above macros
|
---|
25 | _pagetitle_ {_collectionname_}
|
---|
26 | _pagebannerextra_ {}
|
---|
27 | _pagefooterextra_ {}
|
---|
28 | _imagethispage_ {}
|
---|
29 |
|
---|
30 | # it also relies on lots of Globals, the most important of these are:
|
---|
31 | # _cookie_ - put in the cgi header
|
---|
32 | # _globalscripts_ - javascript stuff
|
---|
33 | # _httpiconchalk_ - the image down the left of the page
|
---|
34 | # _imagecollection_
|
---|
35 | # _imagehome_
|
---|
36 | # _imageabout_
|
---|
37 | # _imagehelp_
|
---|
38 | # _imagepref_
|
---|
39 | # _linkotherversion_
|
---|
40 |
|
---|
41 | _header_ {_cgihead_
|
---|
42 | _htmlhead_('background="_httpiconchalk_"')_startspacer__pagebanner_
|
---|
43 | }
|
---|
44 |
|
---|
45 | # this declaration ends up being the same as style=restrict, never mind
|
---|
46 | _header_[version=text] {_cgihead_
|
---|
47 | _htmlhead__pagebanner_
|
---|
48 | }
|
---|
49 |
|
---|
50 | # style=restrict lacks the sidestripe, version links and
|
---|
51 | # language links
|
---|
52 | _header_[style=restrict] {_cgihead_
|
---|
53 | _htmlhead__pagebanner_
|
---|
54 | }
|
---|
55 |
|
---|
56 |
|
---|
57 | # _cgihead_ {Content-type: text/html
|
---|
58 | # _cookie_
|
---|
59 | #
|
---|
60 | # }
|
---|
61 | _cgihead_{}
|
---|
62 |
|
---|
63 |
|
---|
64 | # htmlhead uses:
|
---|
65 | # _1_ - extra parameters for the body tag
|
---|
66 | # _pagetitle_
|
---|
67 | # _globalscripts_
|
---|
68 | _htmlhead_ {
|
---|
69 | <html>
|
---|
70 | <head>
|
---|
71 | <title>_pagetitle_</title>
|
---|
72 | _globalscripts_
|
---|
73 |
|
---|
74 | </head>
|
---|
75 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
76 | alink="\#cc9900" vlink="\#666633" _1_>
|
---|
77 | }
|
---|
78 |
|
---|
79 |
|
---|
80 | # _startspacer_ is a spacer to get past the 10010 graphic. It contains an open
|
---|
81 | # <table> tag which must eventually be closed by _endspacer_.
|
---|
82 | _startspacer_ {
|
---|
83 | <table border=0 cellspacing=0 cellpadding=0 width=100%>
|
---|
84 | <tr><td valign=top width=_widthspacer_><img src="_httpiconspacer_" width=_widthspacer_ height=_heightspacer_ alt="" border=0></td>
|
---|
85 | <td><center><table width=80%><tr><td>
|
---|
86 | }
|
---|
87 |
|
---|
88 |
|
---|
89 | # pagebanner uses :
|
---|
90 | # _imagecollection_
|
---|
91 | # _imagehome_
|
---|
92 | # _imageabout_
|
---|
93 | # _imagehelp_
|
---|
94 | # _imagepref_
|
---|
95 | # _imagethispage_
|
---|
96 | # _pagebannerextra_
|
---|
97 | _pagebanner_ {
|
---|
98 | <center>
|
---|
99 | <table width=537 cellspacing=0 cellpadding=0>
|
---|
100 | <tr valign=top>
|
---|
101 | <td rowspan=2 _alignleft_>_imagecollection_</td>
|
---|
102 | <td _alignright_>_imagehome__imageabout__imagehelp__imagepref_</td>
|
---|
103 | </tr>
|
---|
104 |
|
---|
105 | <tr>
|
---|
106 | <td _alignright_>_imagethispage_</td>
|
---|
107 | </tr>
|
---|
108 |
|
---|
109 | <tr>
|
---|
110 | <td colspan=2>_pagebannerextra_</td>
|
---|
111 | </tr>
|
---|
112 | </table>
|
---|
113 | </center>
|
---|
114 | }
|
---|
115 |
|
---|
116 | _pagebanner_[version=text] {
|
---|
117 | <_font_>
|
---|
118 | <center><h2><b><u>_imagecollection_</u></b></h2></center><p>
|
---|
119 | _imagehome_<br>
|
---|
120 | _imageabout_<br>
|
---|
121 | _imagehelp_<br>
|
---|
122 | _imagepref_<br>
|
---|
123 | _pagebannerextra_
|
---|
124 | </font>
|
---|
125 | <p>
|
---|
126 | }
|
---|
127 |
|
---|
128 |
|
---|
129 |
|
---|
130 | # note that _pagefooter_ is for individual pages
|
---|
131 | _footer_ {
|
---|
132 | <p>
|
---|
133 | <_font_>
|
---|
134 | _pagefooterextra_
|
---|
135 | <center>
|
---|
136 | _linkotherlanguages_
|
---|
137 | _linkotherversion_
|
---|
138 | </center>
|
---|
139 | </font>
|
---|
140 | </table>
|
---|
141 | _endspacer__htmlfooter_
|
---|
142 | }
|
---|
143 |
|
---|
144 |
|
---|
145 | _footer_[style=restrict] {_pagefooterextra_
|
---|
146 | _htmlfooter_
|
---|
147 | }
|
---|
148 |
|
---|
149 | _footer_[style=htmlonly] {_pagefooterextra_
|
---|
150 | _endspacer__htmlfooter_
|
---|
151 | }
|
---|
152 |
|
---|
153 | _endspacer_ {
|
---|
154 | </td></tr></table>
|
---|
155 | </center>
|
---|
156 | </td></tr>
|
---|
157 | </table>
|
---|
158 | }
|
---|
159 |
|
---|
160 | _htmlfooter_ {
|
---|
161 | </body>
|
---|
162 | </html>
|
---|
163 | }
|
---|
164 |
|
---|
165 |
|
---|
166 | # _alignleft_ and _alignright_ are overriden for right-to-left
|
---|
167 | # writing systems
|
---|
168 | _alignleft_ {align=left}
|
---|
169 | _alignright_ {align=right}
|
---|
170 |
|
---|
171 | #_smallfont_ {font face="Arial,Helvetica,Times" size="-2"}
|
---|
172 | #_font_ {font face="Arial,Helvetica,Times" size="-1"}
|
---|
173 | _font_ {font}
|
---|
174 | _smallfont_ {font size="-1"}
|
---|
175 |
|
---|
176 | _globalscripts_{
|
---|
177 | <script>
|
---|
178 | <!--
|
---|
179 | function img\_on(imgName) \{
|
---|
180 | if (version == "n3") \{
|
---|
181 | imgOn = eval(imgName + "\_on.src");
|
---|
182 | document [imgName].src = imgOn;
|
---|
183 | \}
|
---|
184 | \}
|
---|
185 |
|
---|
186 | function img\_off(imgName) \{
|
---|
187 | if (version == "n3") \{
|
---|
188 | imgOff = eval(imgName + "\_off.src");
|
---|
189 | document [imgName].src = imgOff;
|
---|
190 | \}
|
---|
191 | \}
|
---|
192 |
|
---|
193 | browserName = navigator.appName;
|
---|
194 | browserVer = parseInt(navigator.appVersion);
|
---|
195 | if ((browserName == "Netscape" || browserName == "Microsoft Internet Explorer")
|
---|
196 | && browserVer >= 3) version = "n3";
|
---|
197 | else version = "n2";
|
---|
198 |
|
---|
199 | if (version == "n3") \{
|
---|
200 | home\_on = new Image(_widthchomex_, _heightchomex_);
|
---|
201 | home\_on.src = "_httpiconchomeon_";
|
---|
202 | about\_on = new Image(_widthtaboutx_, _heighttaboutx_);
|
---|
203 | about\_on.src = "_httpicontabouton_";
|
---|
204 | help\_on = new Image(_widthchelpx_, _heightchelpx_);
|
---|
205 | help\_on.src = "_httpiconchelpon_";
|
---|
206 | pref\_on = new Image(_widthcprefx_, _heightcprefx_);
|
---|
207 | pref\_on.src = "_httpiconcprefon_";
|
---|
208 | search\_on = new Image(_widthtsrchx_, _heighttsrchx_);
|
---|
209 | search\_on.src = "_httpicontsrchon_";
|
---|
210 | titles\_on = new Image(_widthttitlx_, _heightttitlx_);
|
---|
211 | titles\_on.src = "_httpiconttitlon_";
|
---|
212 | authors\_on = new Image(_widthtauthx_, _heighttauthx_);
|
---|
213 | authors\_on.src = "_httpicontauthon_";
|
---|
214 |
|
---|
215 | home\_off = new Image(_widthchomex_, _heightchomex_);
|
---|
216 | home\_off.src = "_httpiconchomeof_";
|
---|
217 | about\_off = new Image(_widthtaboutx_, _heighttaboutx_);
|
---|
218 | about\_off.src = "_httpicontaboutof_";
|
---|
219 | help\_off = new Image(_widthchelpx_, _heightchelpx_);
|
---|
220 | help\_off.src = "_httpiconchelpof_";
|
---|
221 | pref\_off = new Image(_widthcprefx_, _heightcprefx_);
|
---|
222 | pref\_off.src = "_httpiconcprefof_";
|
---|
223 | search\_off = new Image(_widthtsrchx_, _heighttsrchx_);
|
---|
224 | search\_off.src = "_httpicontsrchof_";
|
---|
225 | titles\_off = new Image(_widthttitlx_, _heightttitlx_);
|
---|
226 | titles\_off.src = "_httpiconttitlof_";
|
---|
227 | authors\_off = new Image(_widthtauthx_, _heighttauthx_);
|
---|
228 | authors\_off.src = "_httpicontauthof_";
|
---|
229 | \}
|
---|
230 | // -->
|
---|
231 | </script>
|
---|
232 | }
|
---|
233 |
|
---|
234 |
|
---|
235 | #################
|
---|
236 | # GLOBAL MACROS #
|
---|
237 | #################
|
---|
238 |
|
---|
239 | package Global
|
---|
240 |
|
---|
241 | _linkotherlanguages_ {}
|
---|
242 |
|
---|
243 |
|
---|
244 | ############################################################################
|
---|
245 | # Macros whose values are set from within the server at runtime. These are #
|
---|
246 | # here only for reference and to set default values if required. #
|
---|
247 | ############################################################################
|
---|
248 |
|
---|
249 | _gwcgi_ {http://nowhere.nzdl.org/cgi-bin/gw}
|
---|
250 | _httpprefix_ {http://nowhere.nzdl.org}
|
---|
251 |
|
---|
252 | _cookie_ {}
|
---|
253 |
|
---|
254 | _collection_ {}
|
---|
255 | _compressedoptions_ {}
|
---|
256 | _querystring_ {}
|
---|
257 | _urlsafequerystring_ {}
|
---|
258 | _notdetached_ {0}
|
---|
259 | _istitle_ {0}
|
---|
260 |
|
---|
261 | ######################
|
---|
262 | # general web macros #
|
---|
263 | ######################
|
---|
264 |
|
---|
265 | _mailaddr_ {[email protected]}
|
---|
266 |
|
---|
267 |
|
---|
268 | ###############
|
---|
269 | # link macros #
|
---|
270 | ###############
|
---|
271 |
|
---|
272 | _g_ {00} # default
|
---|
273 |
|
---|
274 | _linkotherversion_ {
|
---|
275 | <a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&v=1&g=_g_">
|
---|
276 | _textgotext_
|
---|
277 | </a><br>
|
---|
278 | }
|
---|
279 |
|
---|
280 | _linkotherversion_[version=text] {
|
---|
281 | <a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&v=0&g=_g_">
|
---|
282 | _textgographics_
|
---|
283 | </a><br>
|
---|
284 | }
|
---|
285 |
|
---|
286 |
|
---|
287 | ###############
|
---|
288 | # http macros #
|
---|
289 | ###############
|
---|
290 |
|
---|
291 | # These contain the url without any quotes
|
---|
292 |
|
---|
293 |
|
---|
294 | _httpimg_ {_httpprefix_/images}
|
---|
295 |
|
---|
296 | _httpcollection_{_httpprefix_/collect/_collection_}
|
---|
297 |
|
---|
298 | _httppagex_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=p&p=_1_}
|
---|
299 | _httppagehome_ {_httppagex_(home)}
|
---|
300 | _httppageabout_ {_httppagex_(about)}
|
---|
301 | _httppagehelp_ {_httppagex_(help)}
|
---|
302 | _httppagepref_ {_httppagex_(preferences)}
|
---|
303 | _httpgreenstone_ {_httppagex_(gsdl)}
|
---|
304 |
|
---|
305 |
|
---|
306 | _httpquery_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=q}
|
---|
307 | _httpqueryresults_ {_httpquery_}
|
---|
308 | _httpbrowse_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=b}
|
---|
309 | _httptext_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=t}
|
---|
310 | _httpbrowsetitles_ {_httpbrowse_&d=T.1}
|
---|
311 | _httpbrowseauthors_ {_httpbrowse_&d=A.1}
|
---|
312 |
|
---|
313 |
|
---|
314 | _httpiconarrrght_ {_httpimg_/arrrght.gif}
|
---|
315 | _widtharrrght_ {23}
|
---|
316 | _heightarrrght_ {15}
|
---|
317 |
|
---|
318 | _httpiconbook_ {_httpimg_/book.gif}
|
---|
319 | _widthbook_ {18}
|
---|
320 | _heightbook_ {11}
|
---|
321 |
|
---|
322 | _httpiconbshelf_ {_httpimg_/bshelf.gif}
|
---|
323 | _widthbshelf_ {20}
|
---|
324 | _heightbshelf_ {16}
|
---|
325 |
|
---|
326 | _httpiconchalk_ {_httpimg_/chalk.gif}
|
---|
327 | _widthchalk_ {2000}
|
---|
328 | _heightchalk_ {10}
|
---|
329 |
|
---|
330 | _httpiconchelpof_ {_httpimg_/chelpof.gif}
|
---|
331 | _httpiconchelpon_ {_httpimg_/chelpon.gif}
|
---|
332 | _widthchelpx_ {38}
|
---|
333 | _heightchelpx_ {20}
|
---|
334 |
|
---|
335 | _httpiconchomeof_ {_httpimg_/chomeof.gif}
|
---|
336 | _httpiconchomeon_ {_httpimg_/chomeon.gif}
|
---|
337 | _widthchomex_ {41}
|
---|
338 | _heightchomex_ {20}
|
---|
339 |
|
---|
340 | _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
|
---|
341 | _widthclsdfldr_ {23}
|
---|
342 | _heightclsdfldr_ {15}
|
---|
343 |
|
---|
344 | _httpiconcontoff_ {_httpimg_/contoff.gif}
|
---|
345 | _httpiconconton_ {_httpimg_/conton.gif}
|
---|
346 | _widthcontx_ {76}
|
---|
347 | _heightcontx_ {17}
|
---|
348 |
|
---|
349 | _httpiconcprefof_ {_httpimg_/cprefof.gif}
|
---|
350 | _httpiconcprefon_ {_httpimg_/cprefon.gif}
|
---|
351 | _widthcprefx_ {85}
|
---|
352 | _heightcprefx_ {20}
|
---|
353 |
|
---|
354 | _httpicondivb_ {_httpimg_/divb.gif}
|
---|
355 | _widthdivb_ {537}
|
---|
356 | _heightdivb_ {17}
|
---|
357 |
|
---|
358 | _httpiconealltof_ {_httpimg_/ealltof.gif}
|
---|
359 | _httpiconeallton_ {_httpimg_/eallton.gif}
|
---|
360 | _widthealltx_ {44}
|
---|
361 | _heightealltx_ {30}
|
---|
362 |
|
---|
363 | _httpiconeconcof_ {_httpimg_/econcof.gif}
|
---|
364 | _httpiconeconcon_ {_httpimg_/econcon.gif}
|
---|
365 | _widtheconcx_ {65}
|
---|
366 | _heighteconcx_ {30}
|
---|
367 |
|
---|
368 | _httpiconedtchof_ {_httpimg_/edtchof.gif}
|
---|
369 | _httpiconedtchon_ {_httpimg_/edtchon.gif}
|
---|
370 | _widthedtchx_ {45}
|
---|
371 | _heightedtchx_ {30}
|
---|
372 |
|
---|
373 | _httpiconeexpcof_ {_httpimg_/eexpcof.gif}
|
---|
374 | _httpiconeexpcon_ {_httpimg_/eexpcon.gif}
|
---|
375 | _widtheexpcx_ {62}
|
---|
376 | _heighteexpcx_ {30}
|
---|
377 |
|
---|
378 | _httpiconetsecof_ {_httpimg_/etsecof.gif}
|
---|
379 | _httpiconetsecon_ {_httpimg_/etsecon.gif}
|
---|
380 | _widthetsecx_ {61}
|
---|
381 | _heightetsecx_ {30}
|
---|
382 |
|
---|
383 | _httpicongsdl_ {_httpimg_/gsdl.gif}
|
---|
384 | _widthgsdl_ {140}
|
---|
385 | _heightgsdl_ {77}
|
---|
386 |
|
---|
387 | _httpiconhauth_ {_httpimg_/h\_auth.gif}
|
---|
388 | _widthhauth_ {200}
|
---|
389 | _heighthauth_ {57}
|
---|
390 |
|
---|
391 | _httpiconhhelp_ {_httpimg_/h\_help.gif}
|
---|
392 | _widthhhelp_ {200}
|
---|
393 | _heighthhelp_ {57}
|
---|
394 |
|
---|
395 | _httpiconhpref_ {_httpimg_/h\_pref.gif}
|
---|
396 | _widthhpref_ {200}
|
---|
397 | _heighthpref_ {57}
|
---|
398 |
|
---|
399 | _httpiconhsearch_ {_httpimg_/h\_search.gif}
|
---|
400 | _widthhsearch_ {200}
|
---|
401 | _heighthsearch_ {57}
|
---|
402 |
|
---|
403 | _httpiconhtitle_ {_httpimg_/h\_title.gif}
|
---|
404 | _widthhtitle_ {200}
|
---|
405 | _heighthtitle_ {57}
|
---|
406 |
|
---|
407 | _httpiconitext_ {_httpimg_/itext.gif}
|
---|
408 | _widthitext_ {16}
|
---|
409 | _heightitext_ {21}
|
---|
410 |
|
---|
411 | _httpiconless_ {_httpimg_/less.gif}
|
---|
412 | _widthless_ {30}
|
---|
413 | _heightless_ {16}
|
---|
414 |
|
---|
415 | _httpiconmore_ {_httpimg_/more.gif}
|
---|
416 | _widthmore_ {30}
|
---|
417 | _heightmore_ {16}
|
---|
418 |
|
---|
419 | _httpiconopenbook_ {_httpimg_/openbook.gif}
|
---|
420 | _widthopenbook_ {28}
|
---|
421 | _heightopenbook_ {23}
|
---|
422 |
|
---|
423 | _httpiconopenfldr_ {_httpimg_/openfldr.gif}
|
---|
424 | _widthopenfldr_ {23}
|
---|
425 | _heightopenfldr_ {15}
|
---|
426 |
|
---|
427 | _httpiconqryresb_ {_httpimg_/qryresb.gif}
|
---|
428 | _widthqryresb_ {537}
|
---|
429 | _heightqryresb_ {17}
|
---|
430 |
|
---|
431 | _httpiconsmtext_ {_httpimg_/smtext.gif}
|
---|
432 | _widthsmtext_ {23}
|
---|
433 | _heightsmtext_ {15}
|
---|
434 |
|
---|
435 | _httpiconspacer_ {_httpimg_/spacer.gif}
|
---|
436 | _widthspacer_ {42}
|
---|
437 | _heightspacer_ {4}
|
---|
438 |
|
---|
439 | _httpicontabspace_ {_httpimg_/tabspace.gif}
|
---|
440 | _widthtabspace_ {23}
|
---|
441 | _heighttabspace_ {15}
|
---|
442 |
|
---|
443 | _httpicontauthgr_ {_httpimg_/tauthgr.gif}
|
---|
444 | _httpicontauthof_ {_httpimg_/tauthof.gif}
|
---|
445 | _httpicontauthon_ {_httpimg_/tauthon.gif}
|
---|
446 | _widthtauthx_ {110}
|
---|
447 | _heighttauthx_ {17}
|
---|
448 |
|
---|
449 | _httpicontspace_ {_httpimg_/tspace.gif}
|
---|
450 | _widthtspace_ {20}
|
---|
451 | _heighttspace_ {17}
|
---|
452 |
|
---|
453 | _httpicontsrchgr_ {_httpimg_/tsrchgr.gif}
|
---|
454 | _httpicontsrchof_ {_httpimg_/tsrchof.gif}
|
---|
455 | _httpicontsrchon_ {_httpimg_/tsrchon.gif}
|
---|
456 | _widthtsrchx_ {87}
|
---|
457 | _heighttsrchx_ {17}
|
---|
458 |
|
---|
459 | _httpiconttitlgr_ {_httpimg_/ttitlgr.gif}
|
---|
460 | _httpiconttitlof_ {_httpimg_/ttitlof.gif}
|
---|
461 | _httpiconttitlon_ {_httpimg_/ttitlon.gif}
|
---|
462 | _widthttitlx_ {87}
|
---|
463 | _heightttitlx_ {17}
|
---|
464 |
|
---|
465 | _httpiconwarning_ {_httpimg_/warning.gif}
|
---|
466 | _widthwarning_ {30}
|
---|
467 | _heightwarning_ {29}
|
---|
468 |
|
---|
469 |
|
---|
470 | _httpiconhabout_ {_httpimg_/h\_about.gif}
|
---|
471 | _widthhabout_ {200}
|
---|
472 | _heighthabout_ {57}
|
---|
473 |
|
---|
474 | _httpiconhhome_ {_httpimg_/h\_home.gif}
|
---|
475 | _widthhhome_ {200}
|
---|
476 | _heighthhome_ {57}
|
---|
477 |
|
---|
478 | _httpiconhname_ {_httpimg_/h\_name.gif}
|
---|
479 | _widthhname_ {200}
|
---|
480 | _heighthname_ {57}
|
---|
481 |
|
---|
482 | _httpicontaboutof_ {_httpimg_/taboutof.gif}
|
---|
483 | _httpicontabouton_ {_httpimg_/tabouton.gif}
|
---|
484 | _widthtaboutx_ {50}
|
---|
485 | _heighttaboutx_ {20}
|
---|
486 |
|
---|
487 | _httpicontnamegr_ {_httpimg_/tnamegr.gif}
|
---|
488 | _httpicontnameof_ {_httpimg_/tnameof.gif}
|
---|
489 | _httpicontnameon_ {_httpimg_/tnameon.gif}
|
---|
490 | _widthtnamex_ {95}
|
---|
491 | _heighttnamex_ {17}
|
---|
492 |
|
---|
493 |
|
---|
494 |
|
---|
495 |
|
---|
496 |
|
---|
497 | #########
|
---|
498 | # Icons #
|
---|
499 | #########
|
---|
500 |
|
---|
501 | # Must not include links (so they can be used as links). If you want to
|
---|
502 | # include links use _image
|
---|
503 | # The _icon family should consist of _iconX_, _iconX_[version=text] and _texticonX_
|
---|
504 |
|
---|
505 | _iconless_{<img src="_httpiconless_" align=absbottom width=_widthless_
|
---|
506 | height=_heightless_ border=0 alt="to previous section of book">}
|
---|
507 | _iconless_[version=text] {<_font_>view previous section</font>}
|
---|
508 |
|
---|
509 | _iconmore_{<img src="_httpiconmore_" align=absbottom width=_widthmore_
|
---|
510 | height=_heightmore_ border=0 alt="to next section of book">}
|
---|
511 | _iconmore_[version=text] {<_font_>view next section</font>}
|
---|
512 |
|
---|
513 | _iconalphless_{<img src="_httpiconless_" align=absbottom width=_widthless_
|
---|
514 | height=_heightless_ border=0 alt="to previous alphabetical section">}
|
---|
515 | _iconalphless_[version=text] {<_font_>previous section</font>}
|
---|
516 |
|
---|
517 | _iconalphmore_{<img src="_httpiconmore_" align=absbottom width=_widthmore_
|
---|
518 | height=_heightmore_ border=0 alt="to next alphabetical section">}
|
---|
519 | _iconalphmore_[version=text] {<_font_>next section</font>}
|
---|
520 |
|
---|
521 | _iconprev_{<img src="_httpiconless_" align=absbottom width=_widthless_
|
---|
522 | height=_heightless_ border=0 alt="">}
|
---|
523 | _iconprev_[version=text] {}
|
---|
524 |
|
---|
525 | _iconnext_{<img src="_httpiconmore_" align=absbottom width=_widthmore_
|
---|
526 | height=_heightmore_ border=0 alt="">}
|
---|
527 | _iconnext_[version=text] {}
|
---|
528 |
|
---|
529 | _icontabspacer_ {<img src="_httpicontspace_" width=126 height=_heighttspace_ alt="">}
|
---|
530 | _icontabspacer_[version=text] {}
|
---|
531 | _icontabspacer2_ {<img src="_httpicontspace_" width=127 height=_heighttspace_ alt="">}
|
---|
532 | _icontabspacer2_[version=text] {}
|
---|
533 |
|
---|
534 |
|
---|
535 | _icontabsearchgreen_ {<img src="_httpicontsrchgr_" height=_heighttsrchx_ width=_widthtsrchx_ alt="_texticontabsearchgreen_" border=0>}
|
---|
536 | _icontabsearchgreen_[version=text] {_texticontabsearchgreen_}
|
---|
537 |
|
---|
538 | _icontabtitlegreen_ {<img src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>}
|
---|
539 | _icontabtitlegreen_[version=text] {_texticontabtitlegreen_}
|
---|
540 |
|
---|
541 | _icontabauthorgreen_ {<img src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>}
|
---|
542 | _icontabauthorgreen_[version=text] {_texticontabauthorgreen_}
|
---|
543 |
|
---|
544 |
|
---|
545 | _iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=_heightdivb_ alt=""></center>}
|
---|
546 | _iconblankbar_[version=text] {<br><hr><br>}
|
---|
547 |
|
---|
548 |
|
---|
549 | _icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width=_widthitext_ height=_heightitext_ alt="_texticontext_">}
|
---|
550 | _icontext_[version=text] {<_font_>_texticontext_</font>}
|
---|
551 |
|
---|
552 | _iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_
|
---|
553 | alt="_texticonsmalltext_">}
|
---|
554 | _iconsmalltext_ [version=text] {<small><_font_><b>view text: </b></font></small>}
|
---|
555 | _texticonsmalltext_ {View this section of the text}
|
---|
556 |
|
---|
557 | _iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_
|
---|
558 | alt="_texticonclosedfolder_">}
|
---|
559 | _texticonclosedfolder_{Open this folder and view contents}
|
---|
560 | _iconclosedfolder_ [version=text] {<small><_font_><b>open sub-section: </b></font></small>}
|
---|
561 |
|
---|
562 | _iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_
|
---|
563 | alt="close this folder">}
|
---|
564 | _iconopenfolder_ [version=text] {<small><_font_><b>close sub-section: </b></font></small>}
|
---|
565 | _iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0
|
---|
566 | alt="open this book and view contents">}
|
---|
567 | _iconclosedbook_ [version=text] {<small><_font_><b>open book: </b></font></small>}
|
---|
568 | _iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0
|
---|
569 | alt="close this book">}
|
---|
570 | _iconopenbook_ [version=text] {<small><_font_><b>close book: </b></font></small>}
|
---|
571 | _iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_
|
---|
572 | alt="close this section of the library">}
|
---|
573 | _iconopenbookshelf_ [version=text] {<small><_font_><b>close section: </b></font></small>}
|
---|
574 | _iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_
|
---|
575 | alt="open this section of the library and view contents">}
|
---|
576 | _iconclosedbookshelf_ [version=text] {<small><_font_><b>open section: </b></font></small>}
|
---|
577 | _iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
|
---|
578 | _iconpointer_ [version=text] {<small><_font_><b>current section-> </b></font></small>}
|
---|
579 | _icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
|
---|
580 |
|
---|
581 | _iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width=_widtheconcx_ height=_heighteconcx_ alt="_texticoncontracttoc_" border=0>}
|
---|
582 | _iconcontracttoc_[version=text] {_texticoncontracttoc_}
|
---|
583 |
|
---|
584 | _iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width=_widtheexpcx_ height=_heighteexpcx_
|
---|
585 | alt="_texticonexpandtoc_" border=0>}
|
---|
586 | _iconexpandtoc_[version=text] {_texticonexpandtoc_}
|
---|
587 |
|
---|
588 | _iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width=_widthetsecx_ height=_heightetsecx_
|
---|
589 | alt="_texticoncontracttext_" border=0>}
|
---|
590 | _iconcontracttext_[version=text] {_texticoncontracttext_}
|
---|
591 |
|
---|
592 | _iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width=_widthealltx_ height=_heightealltx_ alt="_texticonexpandtext_" border=0>}
|
---|
593 | _iconexpandtext_[version=text] {_texticonexpandtext_}
|
---|
594 |
|
---|
595 | _icondetach_ {<img name="detach" src="_httpiconedtchof_" width=_widthedtchx_ height=_heightedtchx_
|
---|
596 | alt="_texticondetach_" border=0>}
|
---|
597 | _icondetach_[version=text] {_texticondetach_}
|
---|
598 |
|
---|
599 | _iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align="left">}
|
---|
600 | _iconwarning_ [version=text] {_texticonwarning_}
|
---|
601 |
|
---|
602 | _iconcont_ {<img name="cont" src="_httpiconcontoff_" width=_widthcontx_ height=_heightcontx_ border=0>}
|
---|
603 | _iconcont_ [version=text] {_texticoncont_}
|
---|
604 |
|
---|
605 |
|
---|
606 | ###############
|
---|
607 | # Image links #
|
---|
608 | ###############
|
---|
609 |
|
---|
610 | # These might include a link (not like an _icon_
|
---|
611 | # An _image family should consist of _imageX_ _imageX_[version=text] and _textimageX_
|
---|
612 | _imagecollection_ {}
|
---|
613 | _imagecollection_[version=text] {}
|
---|
614 |
|
---|
615 | _imagehome_ {<a href="_httppagehome_"
|
---|
616 | onMouseover = "img\_on('home')"
|
---|
617 | onMouseout = "img\_off('home')"><img name="home"
|
---|
618 | src="_httpiconchomeof_" width=_widthchomex_ height=_heightchomex_
|
---|
619 | border=0 alt="_textimagehome_"></a>}
|
---|
620 |
|
---|
621 | _imagehome_[version=text] {
|
---|
622 | <a href="_httppagehome_">_textimagehome_</a>
|
---|
623 | }
|
---|
624 |
|
---|
625 |
|
---|
626 | _imageabout_ {<a href="_httppageabout_"
|
---|
627 | onMouseover = "img\_on('about')"
|
---|
628 | onMouseout = "img\_off('about')"><img name="about"
|
---|
629 | src="_httpicontaboutof_" width=_widthtaboutx_ height=_heighttaboutx_
|
---|
630 | border=0 alt="_textimageabout_"></a>}
|
---|
631 |
|
---|
632 | _imageabout_[version=text] {
|
---|
633 | <a href="_httppageabout_">_textimageabout_</a>
|
---|
634 | }
|
---|
635 |
|
---|
636 |
|
---|
637 | _imagehelp_ {<a href="_httppagehelp_"
|
---|
638 | onMouseover = "img\_on('help')"
|
---|
639 | onMouseout = "img\_off('help')"><img name="help"
|
---|
640 | src="_httpiconchelpof_" width=_widthchelpx_ height=_heightchelpx_
|
---|
641 | border=0 alt="_textimagehelp_"></a>}
|
---|
642 |
|
---|
643 | _imagehelp_[version=text] {
|
---|
644 | <a href="_httppagehelp_">_textimagehelp_</a>
|
---|
645 | }
|
---|
646 |
|
---|
647 |
|
---|
648 | _imagepref_ {<a href="_httppagepref_"
|
---|
649 | onMouseover = "img\_on('pref')"
|
---|
650 | onMouseout = "img\_off('pref')"><img name="pref"
|
---|
651 | src="_httpiconcprefof_" width=_widthcprefx_ height=_heightcprefx_
|
---|
652 | border=0 alt="_textimagepref_"></a>}
|
---|
653 |
|
---|
654 | _imagepref_[version=text] {
|
---|
655 | <a href="_httppagepref_">_textimagepref_</a>
|
---|
656 | }
|
---|
657 | _imagepref_[style=htmlonly] {}
|
---|
658 |
|
---|
659 |
|
---|
660 | _imagegreenstone_ {<a href="_httpgreenstone_"><img src="_httpicongsdl_" width=_widthgsdl_ height=_heightgsdl_
|
---|
661 | border=0 alt="_textimagegreenstone_" hspace=0></a>
|
---|
662 | }
|
---|
663 |
|
---|
664 | _imagegreenstone_[version=text] {
|
---|
665 | <a href="_httpgreenstone_">_textimagegreenstone_</a>
|
---|
666 | }
|
---|
667 |
|
---|
668 |
|
---|
669 | _imagesearch_ {<a href="_httpquery_"
|
---|
670 | onMouseover = "img\_on('search')"
|
---|
671 | onMouseout = "img\_off('search')"><img name="search"
|
---|
672 | src="_httpicontsrchof_" width=_widthtsrchx_ height=_heighttsrchx_
|
---|
673 | border=0 alt="_textimagesearch_"></a>}
|
---|
674 |
|
---|
675 | _imagesearch_[version=text] {<a href="_httpquery_"><_font_>_textimagesearch_</font></a><br>
|
---|
676 | }
|
---|
677 |
|
---|
678 | _imagesearch_[style=htmlonly] {<img src="_httpicontspace_" alt="" width=_widthtspace_ height=_heighttspace_>}
|
---|
679 | _imagesearch_[style=htmlonly,version=text] {}
|
---|
680 |
|
---|
681 | _imagebrowsetitles_ {<a href="_httpbrowsetitles_"
|
---|
682 | onMouseover = "img\_on('titles')"
|
---|
683 | onMouseout = "img\_off('titles')"><img name="titles"
|
---|
684 | src="_httpiconttitlof_" width=_widthttitlx_ height=_heightttitlx_
|
---|
685 | border=0 alt="_textimagebrowsetitles_"></a>}
|
---|
686 |
|
---|
687 | _imagebrowsetitles_[version=text] {<a href="_httpbrowsetitles_"><_font_>_textimagebrowsetitles_</font></a><br>
|
---|
688 | }
|
---|
689 |
|
---|
690 | _imagebrowseauthors_ {<a href="_httpbrowseauthors_"
|
---|
691 | onMouseover = "img\_on('authors')"
|
---|
692 | onMouseout = "img\_off('authors')"><img name="authors"
|
---|
693 | src="_httpicontauthof_" width=_widthtauthx_ height=_heighttauthx_
|
---|
694 | border=0 alt="_textimagebrowseauthors_"></a>}
|
---|
695 |
|
---|
696 | _imagebrowseauthors_[version=text] {<a href="_httpbrowseauthors_"><_font_>_textimagebrowseauthors_</font></a><br>
|
---|
697 | }
|
---|
698 |
|
---|
699 | _imagedetach_ {onMouseover = "img\_on('detach')"
|
---|
700 | onMouseout = "img\_off('detach')">_icondetach_</a>}
|
---|
701 | _imagedetach_[version=text] {><_font_>_texticondetach_</font></a><br>}
|
---|
702 |
|
---|
703 | _imagecontracttoc_ {" onMouseover = "img\_on('concon')"
|
---|
704 | onMouseout = "img\_off('concon')">_iconcontracttoc_</a>}
|
---|
705 | _imagecontracttoc_[version=text] {"><_font_>_texticoncontracttoc_</font></a><br>}
|
---|
706 | _imagecontracttoc_[style=htmlonly] {}
|
---|
707 |
|
---|
708 | _imageexpandtoc_ {" onMouseover = "img\_on('expcon')"
|
---|
709 | onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>}
|
---|
710 | _imageexpandtoc_ [version=text] {"><_font_>_texticonexpandtoc_</font></a><br>}
|
---|
711 | _imageexpandtoc_ [style=htmlonly] {}
|
---|
712 |
|
---|
713 | _imagecontracttext_ {0" onMouseover = "img\_on('thissec')"
|
---|
714 | onMouseout = "img\_off('thissec')">_iconcontracttext_</a>}
|
---|
715 | _imagecontracttext_[version=text] {0"><_font_>display only current section</font></a><br>}
|
---|
716 | _imagecontracttext_[style=htmlonly] {}
|
---|
717 |
|
---|
718 | _imageexpandtext_ {1" onMouseover = "img\_on('alltext')"
|
---|
719 | onMouseout = "img\_off('alltext')">_iconexpandtext_</a>}
|
---|
720 | _imageexpandtext_[version=text] {1"><_font_>display all text</font></a><br>}
|
---|
721 | _imageexpandtext_[style=htmlonly] {}
|
---|
722 |
|
---|
723 | _imagecont_ {onMouseover = "img\_on('cont')"
|
---|
724 | onMouseout = "img\_off('cont')">_iconcont_</a>
|
---|
725 | }
|
---|
726 | _imagecont_[version=text] {><_font_>_texticoncont_</font></a><br>}
|
---|
727 |
|
---|
728 |
|
---|
729 | _imagestandardbar_ {<center>
|
---|
730 | <nobr>_imagesearch__icontabspacer__imagebrowsetitles__icontabspacer2__imagebrowseauthors_</nobr>
|
---|
731 | </center>
|
---|
732 | <p>
|
---|
733 | }
|
---|
734 |
|
---|
735 | _imagestandardbar_[version=text] {
|
---|
736 | <_font_>
|
---|
737 | _imagesearch_<br>
|
---|
738 | _imagebrowsetitles_<br>
|
---|
739 | _imagebrowseauthors_<br>
|
---|
740 | </font>
|
---|
741 | <p>
|
---|
742 | }
|
---|
743 |
|
---|
744 |
|
---|
745 | ################################
|
---|
746 | # English Language Text Macros #
|
---|
747 | ################################
|
---|
748 |
|
---|
749 | _collectionname_ {Untitled collection}
|
---|
750 | _textimagecollection_ {_collectionname_}
|
---|
751 | _textimagehome_ {Home page}
|
---|
752 | _textimageabout_ {About page}
|
---|
753 | _textimagehelp_ {Help page}
|
---|
754 | _textimagepref_ {Preferences page}
|
---|
755 | _textimagegreenstone_ {Greenstone Digital Library Software}
|
---|
756 |
|
---|
757 | _textimagesearch_ {Search for specific terms}
|
---|
758 | _textimagebrowsetitles_ {Browse alphabetical list of titles}
|
---|
759 | _textimagebrowseauthors_ {Browse alphabetical list of authors}
|
---|
760 |
|
---|
761 |
|
---|
762 | _textgotext_ {<i>View this page in text format</i>}
|
---|
763 | _textgographics_ {<i>View this page in graphics format</i>}
|
---|
764 |
|
---|
765 | _texticontabsearchgreen_{Search}
|
---|
766 | _texticontabauthorgreen_{Authors A-Z}
|
---|
767 | _texticontabtitlegreen_{Titles A-Z}
|
---|
768 | _texticontext_ {View the document}
|
---|
769 |
|
---|
770 | _texticondetach_ {Open this page in a new window}
|
---|
771 | _texticoncontracttoc_ {Collapse table of contents}
|
---|
772 | _texticonexpandtoc_ {Expand table of contents}
|
---|
773 | _texticonexpandtext_ {Display all text}
|
---|
774 | _texticoncontracttext_ {Display text only for currently selected section}
|
---|
775 |
|
---|
776 | _texticonwarning_ {<b>Warning: </b>}
|
---|
777 | _texticoncont_ {continue?} |
---|