source: trunk/gsdl/macros/base.dm@ 180

Last change on this file since 180 was 180, checked in by sjboddie, 25 years ago

Fixed a few errors. Started using new _If_ functionality

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 29.6 KB
Line 
1#######################################################################
2# GLOBAL MACROS
3#######################################################################
4
5package Global
6
7
8#######################################################################
9# page content
10#
11# these should always be overridden for each page/collection
12#######################################################################
13
14_content_ {<center><blink><b><font size="7" color="#FF0000">UNDEFINED PAGE</font></b></blink></center>}
15_imagethispage_ {}
16_imagecollection_ {}
17
18
19#######################################################################
20# Macros whose values are set from within the server at runtime. These
21# are here only for reference and to set default values if required.
22#######################################################################
23
24#_gwcgi_ {http://nowhere.nzdl.org/cgi-bin/gw}
25#_httpprefix_ {http://nowhere.nzdl.org}
26
27_cookie_ {}
28_g_ {00}
29_collection_ {}
30_compressedoptions_ {}
31_querystring_ {}
32_urlsafequerystring_ {}
33_notdetached_ {0}
34_istitle_ {0}
35
36
37
38#######################################################################
39# navigation bar
40#
41# these macros must be overridden for any collections using
42# options different from the default (i.e. search, titles and authors)
43#######################################################################
44
45_imagestandardbar_ {<center>
46<nobr>_imagesearch__icontabspacer__imagebrowsetitles__icontabspacer2__imagebrowseauthors_</nobr>
47</center>
48<p>
49}
50
51_imagestandardbar_[version=text] {
52_imagesearch_<br>
53_imagebrowsetitles_<br>
54_imagebrowseauthors_<br>
55<p>
56}
57
58
59#######################################################################
60# scripts
61#######################################################################
62
63# the _javalinks_ macros are the flashy image links at the top right of
64# the page. this macro should be overridden for those collections/pages
65# needing links different from the default (i.e. about, home, help,
66# and preferences.
67
68_javalinks_ {_imageabout__imagehome__imagehelp__imagepref_}
69_javalinks_ [version=text] {
70_imageabout_<br>
71_imagehome_<br>
72_imagehelp_<br>
73_imagepref_<br>
74}
75
76# the javaimages macros should contain _javaX_ macros for each javascript
77# image link within the page. it should be overridden for collections/pages
78# containing image links other than the default (i.e. home, help, preferences,
79# search, titles, and authors.
80
81# those java image links appearing at top right of page
82_javaimagesheader_ {
83_javaabout_
84_javahome_
85_javahelp_
86_javapref_
87}
88
89# those java image links appearing in navigation bar
90_javaimagesnavbar_ {
91_javasearch_
92_javatitles_
93_javaauthors_
94}
95
96# any other java image links appearing in page
97_javaimagescontent_ {}
98
99
100_globalscripts_{
101<script>
102<!--
103 function img\_on(imgName) \{
104 if (version == "n3") \{
105 imgOn = eval(imgName + "\_on.src");
106 document [imgName].src = imgOn;
107 \}
108 \}
109
110 function img\_off(imgName) \{
111 if (version == "n3") \{
112 imgOff = eval(imgName + "\_off.src");
113 document [imgName].src = imgOff;
114 \}
115 \}
116
117 browserName = navigator.appName;
118 browserVer = parseInt(navigator.appVersion);
119 if ((browserName == "Netscape" || browserName == "Microsoft Internet Explorer")
120 && browserVer >= 3) version = "n3";
121 else version = "n2";
122
123 if (version == "n3") \{
124 _javaimagesheader_
125 _javaimagesnavbar_
126 _javaimagescontent_
127 \}
128// -->
129</script>
130}
131
132_javaabout_ {
133 about\_on = new Image(_widthtaboutx_, _heighttaboutx_);
134 about\_on.src = "_httpicontabouton_";
135 about\_off = new Image(_widthtaboutx_, _heighttaboutx_);
136 about\_off.src = "_httpicontaboutof_";
137}
138
139_javahome_ {
140 home\_on = new Image(_widthchomex_, _heightchomex_);
141 home\_on.src = "_httpiconchomeon_";
142 home\_off = new Image(_widthchomex_, _heightchomex_);
143 home\_off.src = "_httpiconchomeof_";
144}
145
146_javahelp_ {
147 help\_on = new Image(_widthchelpx_, _heightchelpx_);
148 help\_on.src = "_httpiconchelpon_";
149 help\_off = new Image(_widthchelpx_, _heightchelpx_);
150 help\_off.src = "_httpiconchelpof_";
151}
152
153_javapref_ {
154 pref\_on = new Image(_widthcprefx_, _heightcprefx_);
155 pref\_on.src = "_httpiconcprefon_";
156 pref\_off = new Image(_widthcprefx_, _heightcprefx_);
157 pref\_off.src = "_httpiconcprefof_";
158}
159
160_javasearch_ {
161 search\_on = new Image(_widthtsrchx_, _heighttsrchx_);
162 search\_on.src = "_httpicontsrchon_";
163 search\_off = new Image(_widthtsrchx_, _heighttsrchx_);
164 search\_off.src = "_httpicontsrchof_";
165}
166
167_javatitles_ {
168 titles\_on = new Image(_widthttitlx_, _heightttitlx_);
169 titles\_on.src = "_httpiconttitlon_";
170 titles\_off = new Image(_widthttitlx_, _heightttitlx_);
171 titles\_off.src = "_httpiconttitlof_";
172}
173
174_javaauthors_ {
175 authors\_on = new Image(_widthtauthx_, _heighttauthx_);
176 authors\_on.src = "_httpicontauthon_";
177 authors\_off = new Image(_widthtauthx_, _heighttauthx_);
178 authors\_off.src = "_httpicontauthof_";
179}
180
181_javaseries_ {
182 series\_on = new Image(_widthtserx_, _heighttserx_);
183 series\_on.src = "_httpicontseron_";
184 series\_off = new Image(_widthtserx_, _heighttserx_);
185 series\_off.src = "_httpicontserof_";
186}
187
188_javadates_ {
189 dates\_on = new Image(_widthtdatex_, _heighttdatex_);
190 dates\_on.src = "_httpicontdateon_";
191 dates\_off = new Image(_widthtdatex_, _heighttdatex_);
192 dates\_off.src = "_httpicontdateof_";
193}
194
195_javadetach_ {
196 detach\_on = new Image(_widthedtchx_, _heightedtchx_);
197 detach\_on.src = "_httpiconedtchon_";
198 detach\_off = new Image(_widthedtchx_, _heightedtchx_);
199 detach\_off.src = "_httpiconedtchof_";
200}
201
202_javaexpandcontents_ {
203 expcon\_on = new Image(_widtheexpcx_, _heighteexpcx_);
204 expcon\_on.src = "_httpiconeexpcon_";
205 expcon\_off = new Image(_widtheexpcx_, _heighteexpcx_);
206 expcon\_off.src = "_httpiconeexpcof_";
207}
208
209_javacontractcontents_ {
210 concon\_on = new Image(_widtheconcx_, _heighteconcx_);
211 concon\_on.src = "_httpiconeconcon_";
212 concon\_off = new Image(_widtheconcx_, _heighteconcx_);
213 concon\_off.src = "_httpiconeconcof_";
214}
215
216_javaexpandtext_ {
217 alltext\_on = new Image(_widthealltx_, _heightealltx_);
218 alltext\_on.src = "_httpiconeallton_";
219 alltext\_off = new Image(_widthealltx_, _heightealltx_);
220 alltext\_off.src = "_httpiconealltof_";
221}
222
223_javacontracttext_ {
224 thissec\_on = new Image(_widthetsecx_, _heightetsecx_);
225 thissec\_on.src = "_httpiconetsecon_";
226 thissec\_off = new Image(_widthetsecx_, _heightetsecx_);
227 thissec\_off.src = "_httpiconetsecof_";
228}
229
230_javacontinue_ {
231 cont\_on = new Image(_widthcontx_, _heightcontx_);
232 cont\_on.src = "_httpiconconton_";
233 cont\_off = new Image(_widthcontx_, _heightcontx_);
234 cont\_off.src = "_httpiconcontoff_";
235}
236
237
238#######################################################################
239# general web macros
240#######################################################################
241
242_mailaddr_ {[email protected]}
243
244
245#######################################################################
246# link macros
247#######################################################################
248
249_linkotherversion_ {
250<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&v=1&g=_g_">
251_textgotext_
252</a>
253}
254
255_linkotherversion_[version=text] {
256<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&v=0&g=_g_">
257_textgographics_
258</a>
259}
260
261_linkotherlanguage_ {
262<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&l=mi&g=_g_">
263_textgomaori_
264</a>
265}
266
267_linkotherlanguage_[language=mi] {
268<a href="_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&l=e&g=_g_">
269_textgoenglish_
270</a>
271}
272
273
274#######################################################################
275# http macros
276#
277# These contain the url without any quotes
278#######################################################################
279
280_httpimg_ {_httpprefix_/images}
281
282_httpcollection_{_httpprefix_/collect/_collection_}
283
284_httppagex_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=p&p=_1_}
285_httppageabout_ {_httppagex_(about)}
286_httppagehome_ {_httppagex_(home)}
287_httppagehelp_ {_httppagex_(help)}
288_httppagepref_ {_httppagex_(preferences)}
289
290_httpgreenstone_ {_httppagex_(gsdl)}
291
292
293_httpquery_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=q}
294_httpqueryresults_ {_httpquery_}
295_httpbrowse_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=b}
296_httptext_ {_gwcgi_?e=_compressedoptions_&q=_urlsafequerystring_&a=t}
297_httpbrowsetitles_ {_httpbrowse_&d=T.1}
298_httpbrowseauthors_ {_httpbrowse_&d=A.1}
299_httpbrowseseries_ {_httpbrowse_&d=C.1}
300_httpbrowsedates_ {_httpbrowse_&d=D.1}
301
302_httpiconchalk_ {_httpimg_/chalk.gif}
303_widthchalk_ {2000}
304_heightchalk_ {10}
305
306_httpiconchelpof_ {_httpimg_/chelpof.gif}
307_httpiconchelpof_ [language=mi] {_httpimg_/mchelpof.gif}
308_httpiconchelpon_ {_httpimg_/chelpon.gif}
309_httpiconchelpon_ [language=mi] {_httpimg_/mchelpon.gif}
310_widthchelpx_ {38}
311_widthchelpx_ [language=mi] {59}
312_heightchelpx_ {20}
313
314_httpiconchomeof_ {_httpimg_/chomeof.gif}
315_httpiconchomeof_ [language=mi] {_httpimg_/mchomeof.gif}
316_httpiconchomeon_ {_httpimg_/chomeon.gif}
317_httpiconchomeon_ [language=mi] {_httpimg_/mchomeon.gif}
318_widthchomex_ {41}
319_widthchomex_ [language=mi] {52}
320_heightchomex_ {20}
321
322_httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
323_widthclsdfldr_ {23}
324_heightclsdfldr_ {15}
325
326_httpiconcontoff_ {_httpimg_/contoff.gif}
327_httpiconconton_ {_httpimg_/conton.gif}
328_widthcontx_ {76}
329_heightcontx_ {17}
330
331_httpiconcprefof_ {_httpimg_/cprefof.gif}
332_httpiconcprefof_ [language=mi] {_httpimg_/mcprefof.gif}
333_httpiconcprefon_ {_httpimg_/cprefon.gif}
334_httpiconcprefon_ [language=mi] {_httpimg_/mcprefon.gif}
335_widthcprefx_ {85}
336_widthcprefx_ [language=mi] {101}
337_heightcprefx_ {20}
338
339_httpicondivb_ {_httpimg_/divb.gif}
340_widthdivb_ {537}
341_heightdivb_ {17}
342
343_httpiconealltof_ {_httpimg_/ealltof.gif}
344_httpiconealltof_ [language=mi] {_httpimg_/mealltof.gif}
345_httpiconeallton_ {_httpimg_/eallton.gif}
346_httpiconeallton_ [language=mi] {_httpimg_/meallton.gif}
347_widthealltx_ {44}
348_widthealltx_ [language=mi] {40}
349_heightealltx_ {30}
350
351_httpiconeconcof_ {_httpimg_/econcof.gif}
352_httpiconeconcon_ {_httpimg_/econcon.gif}
353_widtheconcx_ {65}
354_heighteconcx_ {30}
355
356_httpiconedtchof_ {_httpimg_/edtchof.gif}
357_httpiconedtchof_ [language=mi] {_httpimg_/medtchof.gif}
358_httpiconedtchon_ {_httpimg_/edtchon.gif}
359_httpiconedtchon_ [language=mi] {_httpimg_/medtchon.gif}
360_widthedtchx_ {45}
361_widthedtchx_ [language=mi] {54}
362_heightedtchx_ {30}
363
364_httpiconeexpcof_ {_httpimg_/eexpcof.gif}
365_httpiconeexpcon_ {_httpimg_/eexpcon.gif}
366_widtheexpcx_ {62}
367_heighteexpcx_ {30}
368
369_httpiconetsecof_ {_httpimg_/etsecof.gif}
370_httpiconetsecof_ [language=mi] {_httpimg_/metsecof.gif}
371_httpiconetsecon_ {_httpimg_/etsecon.gif}
372_httpiconetsecon_ [language=mi] {_httpimg_/metsecon.gif}
373_widthetsecx_ {61}
374_widthetsecx_ [language=mi] {51}
375_heightetsecx_ {30}
376
377_httpicongsdl_ {_httpimg_/gsdl.gif}
378_widthgsdl_ {140}
379_heightgsdl_ {77}
380
381_httpiconglob_ {_httpimg_/glob.gif}
382_widthglob_ {72}
383_heightglob_ {73}
384
385_httpiconhhelp_ {_httpimg_/h\_help.gif}
386_widthhhelp_ {200}
387_heighthhelp_ {57}
388
389_httpiconhsearch_ {_httpimg_/h\_search.gif}
390_httpiconhsearch_ [language=mi] {_httpimg_/mh\_srch.gif}
391_widthhsearch_ {200}
392_heighthsearch_ {57}
393
394_httpiconitext_ {_httpimg_/itext.gif}
395_widthitext_ {16}
396_heightitext_ {21}
397
398_httpiconless_ {_httpimg_/less.gif}
399_widthless_ {30}
400_heightless_ {16}
401
402_httpiconmore_ {_httpimg_/more.gif}
403_widthmore_ {30}
404_heightmore_ {16}
405
406_httpiconopenbook_ {_httpimg_/openbook.gif}
407_widthopenbook_ {28}
408_heightopenbook_ {23}
409
410_httpiconopenfldr_ {_httpimg_/openfldr.gif}
411_widthopenfldr_ {23}
412_heightopenfldr_ {15}
413
414_httpiconqryresb_ {_httpimg_/qryresb.gif}
415_httpiconqryresb_ [language=mi] {_httpimg_/mqryresb.gif}
416_widthqryresb_ {537}
417_heightqryresb_ {17}
418
419_httpiconsmtext_ {_httpimg_/smtext.gif}
420_widthsmtext_ {23}
421_heightsmtext_ {15}
422
423_httpiconspacer_ {_httpimg_/spacer.gif}
424_widthspacer_ {42}
425_heightspacer_ {4}
426
427_httpicontabspace_ {_httpimg_/tabspace.gif}
428_widthtabspace_ {23}
429_heighttabspace_ {15}
430
431_httpicontauthgr_ {_httpimg_/tauthgr.gif}
432_httpicontauthof_ {_httpimg_/tauthof.gif}
433_httpicontauthon_ {_httpimg_/tauthon.gif}
434_widthtauthx_ {110}
435_heighttauthx_ {17}
436
437_httpicontsergr_ {_httpimg_/tsergr.gif}
438_httpicontsergr_ [language=mi] {_httpimg_/mtsergr.gif}
439_httpicontserof_ {_httpimg_/tserof.gif}
440_httpicontserof_ [language=mi] {_httpimg_/mtserof.gif}
441_httpicontseron_ {_httpimg_/tseron.gif}
442_httpicontseron_ [language=mi] {_httpimg_/mtseron.gif}
443_widthtserx_ {87}
444_widthtserx_ [language=mi] {192}
445_heighttserx_ {17}
446
447_httpicontdategr_ {_httpimg_/tdategr.gif}
448_httpicontdategr_ [language=mi] {_httpimg_/mtdategr.gif}
449_httpicontdateof_ {_httpimg_/tdateof.gif}
450_httpicontdateof_ [language=mi] {_httpimg_/mtdateof.gif}
451_httpicontdateon_ {_httpimg_/tdateon.gif}
452_httpicontdateon_ [language=mi] {_httpimg_/mtdateon.gif}
453_widthtdatex_ {87}
454_heighttdatex_ {17}
455
456_httpicontsrchgr_ {_httpimg_/tsrchgr.gif}
457_httpicontsrchgr_ [language=mi] {_httpimg_/mtsrchgr.gif}
458_httpicontsrchof_ {_httpimg_/tsrchof.gif}
459_httpicontsrchof_ [language=mi] {_httpimg_/mtsrchof.gif}
460_httpicontsrchon_ {_httpimg_/tsrchon.gif}
461_httpicontsrchon_ [language=mi] {_httpimg_/mtsrchon.gif}
462_widthtsrchx_ {87}
463_heighttsrchx_ {17}
464
465_httpiconttitlgr_ {_httpimg_/ttitlgr.gif}
466_httpiconttitlof_ {_httpimg_/ttitlof.gif}
467_httpiconttitlon_ {_httpimg_/ttitlon.gif}
468_widthttitlx_ {87}
469_heightttitlx_ {17}
470
471_httpicontspace_ {_httpimg_/tspace.gif}
472_widthtspace_ {138}
473_widthtspace_ [language=mi] {85}
474_widthtspace2_ {115}
475_heighttspace_ {17}
476
477_httpiconwarning_ {_httpimg_/warning.gif}
478_widthwarning_ {30}
479_heightwarning_ {29}
480
481_httpiconhabout_ {_httpimg_/h\_about.gif}
482_widthhabout_ {200}
483_heighthabout_ {57}
484
485_httpiconhhome_ {_httpimg_/h\_home.gif}
486_widthhhome_ {200}
487_heighthhome_ {57}
488
489_httpiconhname_ {_httpimg_/h\_name.gif}
490_widthhname_ {200}
491_heighthname_ {57}
492
493_httpicontaboutof_ {_httpimg_/taboutof.gif}
494_httpicontabouton_ {_httpimg_/tabouton.gif}
495_widthtaboutx_ {50}
496_heighttaboutx_ {20}
497
498_httpicontnamegr_ {_httpimg_/tnamegr.gif}
499_httpicontnameof_ {_httpimg_/tnameof.gif}
500_httpicontnameon_ {_httpimg_/tnameon.gif}
501_widthtnamex_ {95}
502_heighttnamex_ {17}
503
504_httpiconarrrght_ {_httpimg_/arrrght.gif}
505_widtharrrght_ {23}
506_heightarrrght_ {15}
507
508_httpiconbook_ {_httpimg_/book.gif}
509_widthbook_ {18}
510_heightbook_ {11}
511
512_httpiconbshelf_ {_httpimg_/bshelf.gif}
513_widthbshelf_ {20}
514_heightbshelf_ {16}
515
516
517#######################################################################
518# Icons
519#
520# Must not include links (so they can be used as links). If you want to
521# include links use _image
522#######################################################################
523
524_iconmore_{<img src="_httpiconmore_" align=absbottom width="_widthmore_" height="_heightmore_" border="0" alt="_textnext_">}
525_iconmore_[version=text] {<_font_>_textnext2_</font>}
526
527_iconalphmore_{<img src="_httpiconmore_" align=absbottom width="_widthmore_" height="_heightmore_" border="0" alt="_textnext3_">}
528_iconalphmore_[version=text] {<_font_>_textnext4_</font>}
529
530_iconnext_{<img src="_httpiconmore_" align=absbottom width="_widthmore_" height="_heightmore_" border="0">}
531_iconnext_[version=text] {}
532
533_iconless_{<img src="_httpiconless_" align=absbottom width="_widthless_" height="_heightless_" border="0" alt="_textprev_">}
534_iconless_[version=text] {<_font_>_textprev2_</font>}
535
536_iconalphless_{<img src="_httpiconless_" align=absbottom width="_widthless_" height="_heightless_" border="0" alt="_textprev3_">}
537_iconalphless_[version=text] {<_font_>_textprev4_</font>}
538
539_iconprev_{<img src="_httpiconless_" align=absbottom width="_widthless_" height="_heightless_" border="0">}
540_iconprev_[version=text] {}
541
542_icontabspacer_ {<img src="_httpicontspace_" width="_widthtspace_" height="_heighttspace_">}
543_icontabspacer_ [version=text] {}
544_icontabspacer2_ {<img src="_httpicontspace_" width="_widthtspace2_" height="_heighttspace_">}
545_icontabspacer2_ [version=text] {}
546
547_icontabsearchgreen_ {<img src="_httpicontsrchgr_" height=_heighttsrchx_ width=_widthtsrchx_ alt="_texticontabsearchgreen_" border=0>}
548_icontabsearchgreen_[version=text] {_texticontabsearchgreen_}
549
550_icontabtitlegreen_ {<img src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ alt="_texticontabtitlegreen_" border=0>}
551_icontabtitlegreen_[version=text] {_texticontabtitlegreen_}
552
553_icontabauthorgreen_ {<img src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ alt="_texticontabauthorgreen_" border=0>}
554_icontabauthorgreen_[version=text] {_texticontabauthorgreen_}
555
556_icontabseriesgreen_ {<img src="_httpicontsergr_" height="_heighttserx_" width="_widthtserx_" alt="_texticontabseriesgreen_" border="0">}
557_icontabseriesgreen_[version=text] {_texticontabseriesgreen_}
558
559_icontabdatesgreen_ {<img src="_httpicontdategr_" height="_heighttdatex_" width="_widthtdatex_" alt="_texticontabdatesgreen_" border="0">}
560_icontabdatesgreen_[version=text] {_texticontabdatesgreen_}
561
562_iconblankbar_ {<center><img src="_httpicondivb_" width="_widthdivb_" height="_heightdivb_"></center>}
563_iconblankbar_[version=text] {<br><hr><br>}
564
565_icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width="_widthitext_" height="_heightitext_" alt="_texticontext_">}
566_icontext_[version=text] {<_font_>_texticontext_</font>}
567
568_iconsmalltext_ {<img src="_httpiconsmtext_" border="0" width="_widthsmtext_" height="_heightsmtext_" alt="_texticonsmalltext_">}
569_iconsmalltext_ [version=text] {<small><_font_><b>_texticonsmalltext2_</b></font></small>}
570
571_iconclosedfolder_ {<img src="_httpiconclsdfldr_" border="0" width="_widthclsdfldr_" height="_heightclsdfldr_" alt="_texticonclosedfolder_">}
572_iconclosedfolder_ [version=text] {<small><_font_><b>_texticonclosedfolder2_</b></font></small>}
573
574_iconopenfolder_ {<img src="_httpiconopenfldr_" border="0" width="_widthopenfldr_" height="_heightopenfldr_" alt="_texticonopenfolder_">}
575_iconopenfolder_ [version=text] {<small><_font_><b>_texticonopenfolder2_</b></font></small>}
576
577_iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">}
578_iconclosedbook_ [version=text] {<small><_font_><b>_texticonclosedbook_: </b></font></small>}
579
580_iconopenbook_ {<img src="_httpiconopenbook_" width="_widthopenbook_" height="_heightopenbook_" border="0" alt="_texticonopenbook_">}
581_iconopenbook_ [version=text] {<small><_font_><b>_texticonopenbook_: </b></font></small>}
582
583_iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_">}
584_iconopenbookshelf_ [version=text] {<small><_font_><b>_texticonopenbookshelf_: </b></font></small>}
585
586_iconclosedbookshelf_ {<img src="_httpiconbshelf_" border="0" width="_widthbshelf_" height="_heightbshelf_" alt="_texticonclosedbookshelf_">}
587_iconclosedbookshelf_ [version=text] {<small><_font_><b>_texticonclosedbookshelf_: </b></font></small>}
588
589_iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
590_iconpointer_ [version=text] {<small><_font_><b>_texticonpointer_-> </b></font></small>}
591
592_icontab_ {<img src="_httpicontabspace_" width="_widthtabspace_" height="_heighttabspace_">}
593
594_iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width="_widtheconcx_" height="_heighteconcof_" alt="_texticoncontracttoc_" border="0">}
595_iconcontracttoc_[version=text] {_texticoncontracttoc_}
596
597_iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width="_widtheexpx_" height="_heighteexpcx_" alt="_texticonexpandtoc_" border="0">}
598_iconexpandtoc_[version=text] {_texticonexpandtoc_}
599
600_iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width="_widthetsecx_" height="_heightetsecx_" alt="_texticoncontracttext_" border="0">}
601_iconcontracttext_[version=text] {_texticoncontracttext_}
602
603_iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width="_widthealltx_" height="_heightealltx_" alt="_texticonexpandtext_" border="0">}
604_iconexpandtext_[version=text] {_texticonexpandtext_}
605
606_icondetach_ {<img name="detach" src="_httpiconedtchof_" width="_widthedtchx_" height="_heightedtchx_" alt="_texticondetach_" border="0">}
607_icondetach_[version=text] {_texticondetach_}
608
609_iconwarning_ {<img src="_httpiconwarning_" width="_widthwarning_" height="_heightwarning_" border="0" align="left">}
610_iconwarning_ [version=text] {_texticonwarning_}
611
612_iconcont_ {<img name="cont" src="_httpiconcontoff_" width="_widthcontx_" height="_heightcontx_" border="0">}
613_iconcont_ [version=text] {_texticoncont_}
614
615_iconglobhelp_ {<img src="_httpiconglob_" width="_widthglob_" height="_heightglob_" alt="_texticonglobhelp_" border="0">}
616_iconglobhelp_ [version=text] {_texticonglobhelp_}
617
618
619#######################################################################
620# Image links
621#
622# These might include a link (not like an _icon_
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_imagehome_ {<a href="_httppagehome_"
637 onMouseover = "img\_on('home')"
638 onMouseout = "img\_off('home')"><img name="home"
639 src="_httpiconchomeof_" width="_widthchomex_" height="_heightchomex_"
640 border="0" alt="_textimagehome_"></a>}
641
642_imagehome_[version=text] {
643<a href="_httppagehome_">_textimagehome_</a>
644}
645
646
647_imagehelp_ {<a href="_httppagehelp_"
648 onMouseover = "img\_on('help')"
649 onMouseout = "img\_off('help')"><img name="help"
650 src="_httpiconchelpof_" width="_widthchelpx_" height="_heightchelpx_"
651 border="0" alt="_textimagehelp_"></a>}
652
653_imagehelp_[version=text] {
654<a href="_httppagehelp_">_textimagehelp_</a>
655}
656
657
658_imagepref_ {<a href="_httppagepref_"
659 onMouseover = "img\_on('pref')"
660 onMouseout = "img\_off('pref')"><img name="pref"
661 src="_httpiconcprefof_" width="_widthcprefx_" height="_heightcprefx_" border="0" alt="_textimagepref_"></a>}
662
663_imagepref_[version=text] {
664<a href="_httppagepref_">_textimagepref_</a>
665}
666_imagepref_[style=htmlonly] {}
667
668
669_imagegreenstone_ {<a href="_httpgreenstone_"><img src="_httpicongsdl_" width="_widthgsdl_" height="_heightgsdl_" border="0" alt="_textimagegreenstone_" hspace=0></a>
670}
671
672_imagegreenstone_[version=text] {
673<a href="_httpgreenstone_">_textimagegreenstone_</a>
674}
675
676
677_imageglobhelp_ {<a href="_httppagex_(globhelp)">_iconglobhelp_</a>
678}
679
680
681_imagesearch_ {<a href="_httpquery_"
682 onMouseover = "img\_on('search')"
683 onMouseout = "img\_off('search')"><img name="search"
684 src="_httpicontsrchof_" width="_widthtsrchx_" height="_heighttsrchx_"
685 border="0" alt="_textimagesearch_"></a>}
686
687_imagesearch_[version=text] {<a href="_httpquery_"><_font_>_textimagesearch_</font></a><br>
688}
689
690_imagesearch_[style=htmlonly] {<img src="_httpicontspace_" alt="" width="_widthtsrchx_" height="_heighttsrchx_">}
691
692_imagesearch_[style=htmlonly,version=text] {}
693
694
695_imagebrowsetitles_ {<a href="_httpbrowsetitles_"
696 onMouseover = "img\_on('titles')"
697 onMouseout = "img\_off('titles')"><img name="titles"
698 src="_httpiconttitlof_" width=_widthttitlx_ height=_heightttitlx_
699 border=0 alt="_textimagebrowsetitles_"></a>}
700
701_imagebrowsetitles_[version=text] {<a href="_httpbrowsetitles_"><_font_>_textimagebrowsetitles_</font></a><br>
702}
703
704_imagebrowseauthors_ {<a href="_httpbrowseauthors_"
705 onMouseover = "img\_on('authors')"
706 onMouseout = "img\_off('authors')"><img name="authors"
707 src="_httpicontauthof_" width=_widthtauthx_ height=_heighttauthx_
708 border=0 alt="_textimagebrowseauthors_"></a>}
709
710_imagebrowseauthors_[version=text] {<a href="_httpbrowseauthors_"><_font_>_textimagebrowseauthors_</font></a><br>
711}
712
713
714_imagebrowseseries_ {<a href="_httpbrowseseries_"
715 onMouseover = "img\_on('series')"
716 onMouseout = "img\_off('series')"><img name="series"
717 src="_httpicontserof_" width="_widthtserx_" height="_heighttserx_"
718 border="0" alt="_textimagebrowseseries_"></a>}
719
720_imagebrowseseries_[version=text] {<a href="_httpbrowseseries_"><_font_>_textimagebrowseseries_</font></a><br>
721}
722
723_imagebrowsedates_ {<a href="_httpbrowsedates_"
724 onMouseover = "img\_on('dates')"
725 onMouseout = "img\_off('dates')"><img name="dates"
726 src="_httpicontdateof_" width="_widthtdatex_" height="_heighttdatex_"
727 border="0" alt="_textimagebrowsedates_"></a>}
728
729_imagebrowsedates_[version=text] {<a href="_httpbrowsedates_"><_font_>_textimagebrowsedates_</font></a><br>
730}
731
732_imagedetach_ {onMouseover = "img\_on('detach')"
733onMouseout = "img\_off('detach')">_icondetach_</a>}
734_imagedetach_[version=text] {><_font_>_texticondetach_</font></a><br>}
735
736_imagecontracttoc_ {" onMouseover = "img\_on('concon')"
737onMouseout = "img\_off('concon')">_iconcontracttoc_</a>}
738_imagecontracttoc_[version=text] {"><_font_>_texticoncontracttoc_</font></a><br>}
739_imagecontracttoc_[style=htmlonly] {}
740
741_imageexpandtoc_ {" onMouseover = "img\_on('expcon')"
742onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>}
743_imageexpandtoc_ [version=text] {"><_font_>_texticonexpandtoc_</font></a><br>}
744_imageexpandtoc_ [style=htmlonly] {}
745
746_imagecontracttext_ {0" onMouseover = "img\_on('thissec')"
747onMouseout = "img\_off('thissec')">_iconcontracttext_</a>}
748_imagecontracttext_[version=text] {0"><_font_>display only current section</font></a><br>}
749_imagecontracttext_[style=htmlonly] {}
750
751_imageexpandtext_ {1" onMouseover = "img\_on('alltext')"
752onMouseout = "img\_off('alltext')">_iconexpandtext_</a>}
753_imageexpandtext_[version=text] {1"><_font_>display all text</font></a><br>}
754_imageexpandtext_[style=htmlonly] {}
755
756_imagecont_ {onMouseover = "img\_on('cont')"
757onMouseout = "img\_off('cont')">_iconcont_</a>
758}
759_imagecont_[version=text] {>_texticoncont_</a><br>}
760
761
762
763################################
764# English Macros #
765################################
766
767_textimagecollection_ {}
768_textimageabout_ {About page}
769_textimagehome_ {Home page}
770_textimagehelp_ {Help page}
771_textimagepref_ {Preferences page}
772_textimagegreenstone_ {Greenstone Digital Library Software}
773
774_textimagesearch_ {Search for specific terms}
775_textimagebrowsetitles_ {Browse alphabetical list of titles}
776_textimagebrowseauthors_ {Browse alphabetical list of authors}
777_textimagebrowseseries_ {Browse newspapers by issue}
778_textimagebrowsedates_ {Browse newspapers by date}
779
780
781_textgotext_ {View this page in text format}
782_textgographics_ {View this page in graphics format}
783
784_texticontabsearchgreen_{Search}
785_texticontabdatesgreen_{Dates}
786_texticontabseriesgreen_{Series}
787_texticontabauthorgreen_{Authors A-Z}
788_texticontabtitlegreen_{Titles A-Z}
789_texticontext_ {View the document}
790_texticonopenbookshelf_ {close this section of the library}
791_texticonclosedbookshelf_ {open this section of the library and view contents}
792_texticonclosedbook_ {open this book and view contents}
793_texticonopenbook_ {close this book}
794_texticonclosedfolder_ {Open this folder and view contents}
795_texticonclosedfolder2_ {open sub-section: }
796_texticonopenfolder_ {close this folder}
797_texticonopenfolder2_ {close sub-section: }
798_texticonsmalltext_ {View this section of the text}
799_texticonsmalltext2_ {view text: }
800_texticonpointer_ {current section}
801_texticondetach_ {Open this page in a new window}
802_texticoncontracttoc_ {Collapse table of contents}
803_texticonexpandtoc_ {Expand table of contents}
804_texticonexpandtext_ {Display all text}
805_texticoncontracttext_ {Display text only for currently selected section}
806_texticonglobhelp_ {Global Help Projects}
807
808_texticonwarning_ {<b>Warning: </b>}
809_texticoncont_ {continue?}
810_textnext_ {to next section of book}
811_textnext2_ {view next section}
812_textnext3_ {to next alphabetical section}
813_textnext4_ {next section}
814_textprev_ {to previous section of book}
815_textprev2_ {view previous section}
816_textprev3_ {to previous alphabetical section}
817_textprev4_ {previous section}
818
819_page_ {page}
820_of_ {of}
821_vol_ {Volume}
822_num_ {Number}
823
824_jan_ {January}
825_feb_ {February}
826_mar_ {March}
827_apr_ {April}
828_may_ {May}
829_jun_ {June}
830_jul_ {July}
831_aug_ {August}
832_sep_ {September}
833_oct_ {October}
834_nov_ {November}
835_dec_ {December}
836
837
838_textgomaori_ {Tirohia t&euml;nei wh&auml;rangi i te reo M&auml;ori}
839_textgoenglish_ {change to English language version}
840
841################################
842# Maori Macros #
843################################
844
845_textimagehelp_ [language=mi] {Te wh&auml;rangi whakam&auml;rama}
846_textimagepref_ [language=mi] {Te wh&auml;rangi o ng&auml; whiriwhiringa}
847_textimagehome_ [language=mi] {Te wh&auml;rangi k&auml;inga}
848_textimagesearch_ [language=mi] {rapua he kupu}
849_textimagebrowseseries_ [language=mi] {Tirohia te whakar&auml;rangi o ng&auml; niupepa}
850_textimagebrowsedates_ [language=mi] {Tirohia te w&auml; i puta mai ai ng&auml; niupepa}
851
852_textgotext_ [language=mi] {Tirohia t&euml;nei wh&auml;rangi i te takotoranga text}
853_page_ [language=mi] {wh&auml;rangi}
854_vol_ [language=mi] {Pukapuka}
855_num_ [language=mi] {Nama}
856_jan_ [language=mi] {Hanuere}
857_feb_ [language=mi] {Pepuere}
858_mar_ [language=mi] {Maehe}
859_apr_ [language=mi] {Aperira}
860_may_ [language=mi] {Mei}
861_jun_ [language=mi] {Hune}
862_jul_ [language=mi] {Hurae}
863_aug_ [language=mi] {Akuhata}
864_sep_ [language=mi] {Hepetema}
865_oct_ [language=mi] {Oketopa}
866_nov_ [language=mi] {Noema}
867_dec_ [language=mi] {Tihema}
868_of_ [language=mi] {i te}
869
870
871_texticontabsearchgreen_ [language=mi] {rapu}
872_texticontabdatesgreen_ [language=mi] {w&auml;taka}
873_texticontabseriesgreen_ [language=mi] {whakar&auml;rangi niupepa}
874_texticondetach_ [language=mi] {Huakina mai he matapihi hou m&ouml; t&euml;nei k&ouml;rero}
875_texticonexpandtext_ [language=mi] {Titiro ki ng&auml; kupu katoa o t&euml;nei niupepa}
876_texticoncontracttext_ [language=mi] {Titiro ki ng&auml; kupu o t&euml;nei wh&auml;rangi anake}
877_textnext_ [language=mi] {titiro ki te wh&auml;rangi o muri}
878_textprev_ [language=mi] {titiro ki te wh&auml;rangi o mua}
879_texticontext_ [language=mi] {Tirohia te wh&auml;rangi}
880_texticonopenbookshelf_ [language=mi] {k&auml;tia}
881_texticonclosedbookshelf_ [language=mi] {whakat&uuml;whera mai}
882_texticonclosedbook_ [language=mi] {whakat&uuml;whera mai}
883_texticonopenbook_ [language=mi] {k&auml;tia}
884_texticonpointer_ [language=mi] {w&auml;hanga e tiro ana}
Note: See TracBrowser for help on using the repository browser.