source: trunk/gsdl/macros/document.dm@ 11094

Last change on this file since 11094 was 11094, checked in by jrm21, 18 years ago

move the div tags around the navigation bar into the _optnavigationbar_
macro

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 15.8 KB
Line 
1# this file must be UTF-8 encoded
2
3package document
4
5#######################################################################
6# macros set from within the server
7#######################################################################
8
9_imagethispage_ {}
10_httpprevarrow_ {}
11_httpnextarrow_ {}
12_pagetitle_ {}
13_phindclassifier_ {}
14_collageclassifier_ {}
15
16#######################################################################
17# page content
18#######################################################################
19
20_content_ {
21_optnavigationbar_
22
23_If_(_phindclassifier__collageclassifier_,
24<p style="text-align: center;">
25_phindclassifier_
26_collageclassifier_
27</p>
28)
29<div class="document">
30}
31
32# Dublin Core Metadata Element Set, Version 1.1
33_textTitlepage_ {_texticonhtitle_}
34_textCreatorpage_ {_texticonhcreat_}
35_textSubjectpage_ {_texticonhsubj_}
36_textDescriptionpage_ {_texticonhdesc_}
37_textPublisherpage_ {_texticonhpubl_}
38_textContributorpage_ {_texticonhcontr_}
39_textDatepage_ {_texticonhdate_}
40_textTypepage_ {_texticonhtype_}
41_textFormatpage_ {_texticonhform_}
42_textIdentifierpage_ {_texticonhident_}
43_textSourcepage_ {_texticonhsrc_}
44_textLanguagepage_ {_texticonhlang_}
45_textRelationpage_ {_texticonhrel_}
46_textCoveragepage_ {_texticonhcover_}
47_textRightspage_ {_texticonhright_}
48
49_textTopage_ {_texticonhto_}
50_textFrompage_ {_texticonhfrom_}
51_textSeriespage_ {_texticonhser_}
52_textHowtopage_ {_texticonhhow_}
53_textOrganizationpage_ {_texticonhorg_}
54_textBrowsepage_ {_texticonhbrwse_}
55_textCollagepage_ {_texticonhcoll_}
56_textPeoplepage_ {_texticonhpeople_}
57_textAcronympage_ {_texticonhacronym_}
58_textPhrasepage_ {_texticonhphrases_}
59_textArtistpage_ {_texticonhartist_}
60_textKeywordpage_ {_texticonhkw_}
61_textVolumepage_ {_texticonhvol_}
62_textCaptionspage_ {_texticonhcapt_}
63_textCountriespage_ {_texticonhcount_}
64
65#######################################################################
66# navigation arrows
67#
68#######################################################################
69
70# these two may be reset to "" by the server
71_navarrowsbottom_ {_navarrows_}
72_navarrowstop_ {_navarrows_}
73
74_navarrows_ {<center>
75<table width=_pagewidth_ cellpadding=0 cellspacing=0 border=0>
76<tr><td align=left valign=top>
77_prevarrow_
78</td><td align=right valign=top>
79_nextarrow_
80</td></tr></table>
81</center>
82}
83
84_prevarrow_ {_If_(_httpprevarrow_,<a href="_httpprevarrow_">_iconprev_</a>)}
85_nextarrow_ {_If_(_httpnextarrow_,<a href="_httpnextarrow_">_iconnext_</a>)}
86
87_navarrows_ [v=1] {<p>
88_prevarrow_<br>
89_nextarrow_
90}
91
92#######################################################################
93# the goto form
94#######################################################################
95
96_gotoform_ {
97<form name="GotoForm" method="get" action="_gwcgi_">
98<input type=hidden name="e" value="_decodedcompressedoptions_">
99<input type=hidden name="d" value="_cgiargd_">
100<input type=hidden name="cl" value="_cgiargcl_">
101<input type="text" name="gp" size="3" maxlength="4">
102<input type="submit" value="_textgoto_">
103</form>
104}
105
106_textnumpages_ {&nbsp;<i>(_1_ _pages_)</i>}
107_parentarrow_ {}
108
109
110#######################################################################
111# the phind applet
112#
113# The phind applet is only required on phind classifier pages.
114# Consequently, the _phindclassifier_ macro is not usually set. On screens
115# where it is required, _phindclassifier_ resolves to _phindapplet_, and
116# the following macro is loaded into the web page.
117#######################################################################
118
119_phindapplet_ {
120<APPLET CODEBASE="_httpprefix_/bin/java" CODE="org.nzdl.gsdl.Phind.Phind.class" ARCHIVE="Phind.jar" WIDTH=500 HEIGHT=400>
121 <PARAM NAME=library VALUE="_gwcgi_?e=_compressedoptions_">
122 <PARAM NAME=phindcgi VALUE="_gwcgi_?a=phind">
123 <PARAM NAME=collection VALUE="_cgiargc_">
124 <PARAM NAME=classifier VALUE="_phindnumber_">
125
126 <PARAM NAME=orientation VALUE="vertical">
127 <PARAM NAME=depth VALUE="2">
128 <PARAM NAME=resultorder VALUE="L,l,E,e,D,d">
129
130 <PARAM NAME=backdrop VALUE="_httpimg_/phindbg1.jpg">
131 <PARAM NAME=fontsize VALUE="10">
132 <PARAM NAME=blocksize VALUE="10">
133
134 The Phind java applet.
135</APPLET>
136}
137
138_collageapplet_ {
139 <applet CODEBASE="_httpprefix_/bin/java"
140 code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
141 archive="GsdlCollageApplet.jar"
142 width="_collagexdim_" height="_collageydim_">
143
144 <param name="gwcgi" value="_gwcgi_">
145 <param name="collection" value="_cgiargc_">
146 <param name="classifier" value="_cgiargcl_.1">
147
148 <param name="hrefMustHave" value="cl=_cgiargcl_.1">
149 <param name="imageMustNotHave" value="hl=\%x=\%gt=\%gc=\%.pr">
150
151 <param name="imageType" value="_collageimageType_">
152 <param name="verbosity" value="_collageverbosity_">
153 <param name="maxDepth" value="_collagemaxDepth_">
154 <param name="maxDisplay" value="_collagemaxDisplay_">
155 <param name="refreshDelay" value="_collagerefreshDelay_">
156 <param name="isJava2" value="_collageisJava2_">
157 <param name="bgcolor" value="_collagebgcolor_">
158
159 </applet>
160
161<center>
162_collagecaption_
163</center>
164
165}
166
167
168#######################################################################
169# icons
170#######################################################################
171
172# title images - there should be one of these for each classification
173# supported by this receptionist
174
175# Dublin Core Metadata Element Set, Version 1.1
176# the receptionist server checks for the existence of _icon{META}page_
177# to see whether to set an image or just plain text for this document.
178_iconTitlepage_ {<img src="_httpiconhtitle_" width="_widthhtitle_" height="_heighthtitle_">}
179_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
180
181_iconCreatorpage_ {<img src="_httpiconhcreat_" width="_widthhcreat_" height="_heighthcreat_">}
182_iconCreatorpage_ [v=1] {<h2>_texticonhcreat_</h2>}
183
184_iconSubjectpage_ {<img src="_httpiconhsubj_" width="_widthhsubj_" height="_heighthsubj_">}
185_iconSubjectpage_ [v=1] {<h2>_texticonhsubj_</h2>}
186
187_iconDescriptionpage_ {<img src="_httpiconhdesc_" width="_widthhdesc_" height="_heighthdesc_">}
188_iconDescriptionpage_ [v=1] {<h2>_texticonhdesc_</h2>}
189
190_iconPublisherpage_ {<img src="_httpiconhpubl_" width="_widthhpubl_" height="_heighthpubl_">}
191_iconPublisherpage_ [v=1] {<h2>_texticonhpubl_</h2>}
192
193_iconContributorpage_ {<img src="_httpiconhcontr_" width="_widthhcontr_" height="_heighthcontr_">}
194_iconContributorpage_ [v=1] {<h2>_texticonhcontr_</h2>}
195
196_iconDatepage_ {<img src="_httpiconhdate_" width="_widthhdate_" height="_heighthdate_">}
197_iconDatepage_ [v=1] {<h2>_texticonhdate_</h2>}
198
199_iconTypepage_ {<img src="_httpiconhtype_" width="_widthhtype_" height="_heighthtype_">}
200_iconTypepage_ [v=1] {<h2>_texticonhtype_</h2>}
201
202_iconFormatpage_ {<img src="_httpiconhform_" width="_widthhform_" height="_heighthform_">}
203_iconFormatpage_ [v=1] {<h2>_texticonhform_</h2>}
204
205_iconIdentifierpage_ {<img src="_httpiconhident_" width="_widthhident_" height="_heighthident_">}
206_iconIdentifierpage_ [v=1] {<h2>_texticonhident_</h2>}
207
208_iconSourcepage_ {<img src="_httpiconhsrc_" width="_widthhsrc_" height="_heighthsrc_">}
209_iconSourcepage_ [v=1] {<h2>_texticonhsrc_</h2>}
210
211_iconLanguagepage_ {<img src="_httpiconhlang_" width="_widthhlang_" height="_heighthlang_">}
212_iconLanguagepage_ [v=1] {<h2>_texticonhlang_</h2>}
213
214_iconRelationpage_ {<img src="_httpiconhrel_" width="_widthhrel_" height="_heighthrel_">}
215_iconRelationpage_ [v=1] {<h2>_texticonhrel_</h2>}
216
217_iconCoveragepage_ {<img src="_httpiconhcover_" width="_widthhcover_" height="_heighthcover_">}
218_iconCoveragepage_ [v=1] {<h2>_texticonhcover_</h2>}
219
220_iconRightspage_ {<img src="_httpiconhright_" width="_widthhright_" height="_heighthright_">}
221_iconRightspage_ [v=1] {<h2>_texticonhright_</h2>}
222
223
224
225_iconCollagepage_ {<img src="_httpiconhcoll_" width="_widthhcoll_"
226height="_heighthcoll_">}
227_iconCollagepage_ [v=1] {<h2>_texticonhcoll_</h2>}
228
229_iconListpage_ {<img src="_httpiconhlist_" width="_widthhlist_"
230height="_heighthlist_">}
231_iconListpage_ [v=1] {<h2>_texticonhlist_</h2>}
232
233_iconTopage_ {<img src="_httpiconhto_" width="_widthhto_"
234height="_heighthto_">}
235_iconTopage_ [v=1] {<h2>_texticonhto_</h2>}
236
237_iconFrompage_ {<img src="_httpiconhfrom_" width="_widthhfrom_"
238height="_heighthfrom_">}
239_iconFrompage_ [v=1] {<h2>_texticonhfrom_</h2>}
240
241_iconSeriespage_ {<img src="_httpiconhser_" width="_widthhser_"
242height="_heighthser_">}
243_iconSeriespage_ [v=1] {<h2>_texticonhser_</h2>}
244
245_iconHowtopage_ {<img src="_httpiconhhow_" width="_widthhhow_"
246height="_heighthhow_">}
247_iconHowtopage_ [v=1] {<h2>_texticonhhow_</h2>}
248
249_iconTopicpage_ {<img src="_httpiconhtopic_" width="_widthhtopic_"
250height="_heighthtopic_">}
251_iconTopicpage_ [v=1] {<h2>_texticonhtopic_</h2>}
252
253_iconOrganizationpage_ {<img src="_httpiconhorg_" width="_widthhorg_"
254height="_heighthorg_">}
255_iconOrganizationpage_ [v=1] {<h2>_texticonhorg_</h2>}
256
257_iconBrowsepage_ {<img src="_httpiconhbrwse_" width="_widthhbrwse_"
258height="_heighthbrwse_">}
259_iconBrowsepage_ [v=1] {<h2>_texticonhbrwse_</h2>}
260
261_iconPeoplepage_ {<img src="_httpiconhpeople_" width="_widthhpeople_"
262height="_heighthpeople_">}
263_iconPeoplepage_ [v=1] {<h2>_texticonhpeople_</h2>}
264
265_iconAcronympage_ {<img src="_httpiconhacronym_" width="_widthhacronym_"
266height="_heighthacronym_">}
267_iconAcronympage_ [v=1] {<h2>_texticonhacronym_</h2>}
268
269_iconPhrasepage_ {<img src="_httpiconhphrse_" width="_widthhphrse_"
270height="_heighthphrse_">}
271_iconPhrasepage_ [v=1] {<h2>_texticonhphrse_</h2>}
272
273_iconArtistpage_ {<img src="_httpiconhartist_" width="_widthhartist_"
274height="_heighthartist_">}
275_iconArtistpage_ [v=1] {<h2>_texticonhartist_</h2>}
276
277_iconKeywordpage_ {<img src="_httpiconhkw_" width="_widthhkw_"
278height="_heighthkw_">}
279_iconKeywordpage_ [v=1] {<h2>_texticonhkw_</h2>}
280
281_iconVolumepage_ {<img src="_httpiconhvol_" width="_widthhvol_"
282height="_heighthvol_">}
283_iconVolumepage_ [v=1] {<h2>_texticonhvol_</h2>}
284
285_iconCaptionspage_ {<img src="_httpiconhcapt_" width="_widthhcapt_"
286height="_heighthcapt_">}
287_iconCaptionspage_ [v=1] {<h2>_texticonhcapt_</h2>}
288
289_iconCountriespage_ {<img src="_httpiconhcount_" width="_widthhcount_"
290height="_heighthcount_">}
291_iconCountriespage_ [v=1] {<h2>_texticonhcount_</h2>}
292
293
294_iconsmalltext_ {<img src="_httpiconsmtext_" class="icon" width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
295_iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
296
297_iconarrowsmalltext_ {<img src="_httpiconasmtext_" class="icon" width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
298_iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
299
300_iconclosedfolder_ {<img src="_httpiconclsdfldr_" class="icon" width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
301_iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
302
303_iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" class="icon" width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
304_iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
305
306_iconopenfolder_ {<img src="_httpiconopenfldr_" class="icon" width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
307_iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
308
309_iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" class="icon" width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
310_iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
311
312_iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ class="icon" alt="_texticonclosedbook_" title="_texticonclosedbook_">}
313_iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
314
315_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
316_iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
317
318_iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
319_iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
320
321_iconopenbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
322_iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
323
324_iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
325_iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
326
327_iconclosedbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
328_iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
329
330_iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
331_iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
332
333_iconpointer_ {<img src="_httpiconarrrght_" class="icon" width=_widtharrrght_ height=_heightarrrght_>}
334_iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
335
336_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
337_tab_ {<td>_icontab_</td>}
338
339_iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ class="icon" align=left>}
340_iconwarning_ [v=1] {_texticonwarning_}
341
342
343#######################################################################
344# images
345#######################################################################
346
347# can't use _gsimage_ macro for detach button as we need to include target
348_imagedetach_ {<a href="_httpcurrentdocument_&amp;x=1" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
349name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" class="icon" alt="_texticondetach_" title="_texticondetach_"></a>}
350_imagedetach_ [v=1] {<a href="_httpcurrentdocument_&amp;x=1" target=\_blank>_texticondetach_</a><br>}
351
352_imagehighlight_ {_gsimage_(_httpcurrentdocument_&amp;hl=1&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconehlof_,_document:httpiconehlon_,hl,_document:texticonhighlight_)}
353
354_imagenohighlight_ {_gsimage_(_httpcurrentdocument_&amp;hl=0&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconenhlof_,_document:httpiconenhlon_,nhl,_document:texticonnohighlight_)}
355
356_imagecontracttoc_ {_gsimage_(_httpcurrentdocument_&amp;gc=0,_document:httpiconeconcof_,_document:httpiconeconcon_,concon,_document:texticoncontracttoc_)}
357
358_imageexpandtoc_ {_gsimage_(_httpcurrentdocument_&amp;gc=1,_document:httpiconeexpcof_,_document:httpiconeexpcon_,expcon,_document:texticonexpandtoc_)}
359
360_imagecontracttext_ {_gsimage_(_httpcurrentdocument_&amp;gt=0,_document:httpiconetsecof_,_document:httpiconetsecon_,thissec,_document:texticoncontracttext_)}
361
362_imageexpandtext_ {_gsimage_(_httpcurrentdocument_&amp;gt=1,_document:httpiconealltof_,_document:httpiconeallton_,alltext,_document:texticonexpandtext_)}
363
364_imagecont_ {_gsimage_(_httpcurrentdocument_&amp;gt=2,_document:httpiconcontoff_,_document:httpiconconton_,cont,_document:texticoncont_)}
365
366
367#######################################################################
368# headers/footers
369#######################################################################
370
371
372# header overridden for text pages
373_textheader_ {_cgihead_
374_htmlhead_
375_startspacer_
376
377<!-- document:textheader -->
378<div id="banner">
379<div class="pageinfo"><p class="bannerlinks">_globallinks_</p></div>
380<div class="collectimage">_imagecollection_</div>
381_icontab_
382</div>
383}
384
385_textheader_ [v=1] {_cgihead_
386_htmlhead_
387_globallinks_
388}
389
390_footer_ {
391</div> <!-- document:footer -->
392
393<p>
394_navarrowsbottom_
395</p>
396_endspacer__htmlfooter_
397}
Note: See TracBrowser for help on using the repository browser.