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

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

the document buttons (expand/detach etc) are now done as css-formatted text
rather than images.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 15.4 KB
RevLine 
[7343]1# this file must be UTF-8 encoded
2
[258]3package document
4
5#######################################################################
6# macros set from within the server
7#######################################################################
8
9_imagethispage_ {}
10_httpprevarrow_ {}
11_httpnextarrow_ {}
[283]12_pagetitle_ {}
[1804]13_phindclassifier_ {}
[6813]14_collageclassifier_ {}
[258]15
16#######################################################################
17# page content
18#######################################################################
19
20_content_ {
[7503]21_optnavigationbar_
[11094]22
[10872]23_If_(_phindclassifier__collageclassifier_,
24<p style="text-align: center;">
[1804]25_phindclassifier_
[6813]26_collageclassifier_
[10872]27</p>
28)
29<div class="document">
[258]30}
31
[8106]32# Dublin Core Metadata Element Set, Version 1.1
[2802]33_textTitlepage_ {_texticonhtitle_}
[8106]34_textCreatorpage_ {_texticonhcreat_}
[2802]35_textSubjectpage_ {_texticonhsubj_}
[8106]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
[2802]49_textTopage_ {_texticonhto_}
50_textFrompage_ {_texticonhfrom_}
51_textSeriespage_ {_texticonhser_}
52_textHowtopage_ {_texticonhhow_}
53_textOrganizationpage_ {_texticonhorg_}
54_textBrowsepage_ {_texticonhbrwse_}
[6813]55_textCollagepage_ {_texticonhcoll_}
[2802]56_textPeoplepage_ {_texticonhpeople_}
57_textAcronympage_ {_texticonhacronym_}
58_textPhrasepage_ {_texticonhphrases_}
59_textArtistpage_ {_texticonhartist_}
[3105]60_textKeywordpage_ {_texticonhkw_}
[3534]61_textVolumepage_ {_texticonhvol_}
[5622]62_textCaptionspage_ {_texticonhcapt_}
[5517]63_textCountriespage_ {_texticonhcount_}
[2802]64
[258]65#######################################################################
66# navigation arrows
67#
68#######################################################################
69
[4868]70# these two may be reset to "" by the server
71_navarrowsbottom_ {_navarrows_}
72_navarrowstop_ {_navarrows_}
73
[258]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
[548]87_navarrows_ [v=1] {<p>
[258]88_prevarrow_<br>
89_nextarrow_
90}
91
92#######################################################################
93# the goto form
94#######################################################################
95
96_gotoform_ {
97<form name="GotoForm" method="get" action="_gwcgi_">
[876]98<input type=hidden name="e" value="_decodedcompressedoptions_">
[258]99<input type=hidden name="d" value="_cgiargd_">
100<input type=hidden name="cl" value="_cgiargcl_">
[666]101<input type="text" name="gp" size="3" maxlength="4">
[944]102<input type="submit" value="_textgoto_">
[258]103</form>
104}
105
[944]106_textnumpages_ {&nbsp;<i>(_1_ _pages_)</i>}
[666]107_parentarrow_ {}
108
109
[258]110#######################################################################
[1804]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_ {
[2507]120<APPLET CODEBASE="_httpprefix_/bin/java" CODE="org.nzdl.gsdl.Phind.Phind.class" ARCHIVE="Phind.jar" WIDTH=500 HEIGHT=400>
[3084]121 <PARAM NAME=library VALUE="_gwcgi_?e=_compressedoptions_">
[2487]122 <PARAM NAME=phindcgi VALUE="_gwcgi_?a=phind">
[1804]123 <PARAM NAME=collection VALUE="_cgiargc_">
[2021]124 <PARAM NAME=classifier VALUE="_phindnumber_">
125
[1804]126 <PARAM NAME=orientation VALUE="vertical">
127 <PARAM NAME=depth VALUE="2">
[2021]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">
[1804]132 <PARAM NAME=blocksize VALUE="10">
[2021]133
[1804]134 The Phind java applet.
135</APPLET>
136}
137
[6813]138_collageapplet_ {
[7332]139 <applet CODEBASE="_httpprefix_/bin/java"
140 code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
141 archive="GsdlCollageApplet.jar"
142 width="_collagexdim_" height="_collageydim_">
[1804]143
[7332]144 <param name="gwcgi" value="_gwcgi_">
145 <param name="collection" value="_cgiargc_">
146 <param name="classifier" value="_cgiargcl_.1">
[6813]147
[7332]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
[6813]159 </applet>
[7332]160
161<center>
162_collagecaption_
163</center>
164
[6813]165}
166
167
[1804]168#######################################################################
[283]169# icons
[258]170#######################################################################
171
172# title images - there should be one of these for each classification
173# supported by this receptionist
174
[8106]175# Dublin Core Metadata Element Set, Version 1.1
[10872]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.
[8106]178_iconTitlepage_ {<img src="_httpiconhtitle_" width="_widthhtitle_" height="_heighthtitle_">}
[548]179_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
[258]180
[8106]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
[6813]225_iconCollagepage_ {<img src="_httpiconhcoll_" width="_widthhcoll_"
226height="_heighthcoll_">}
227_iconCollagepage_ [v=1] {<h2>_texticonhcoll_</h2>}
228
[4462]229_iconListpage_ {<img src="_httpiconhlist_" width="_widthhlist_"
230height="_heighthlist_">}
[548]231_iconListpage_ [v=1] {<h2>_texticonhlist_</h2>}
[283]232
[4462]233_iconTopage_ {<img src="_httpiconhto_" width="_widthhto_"
234height="_heighthto_">}
[1207]235_iconTopage_ [v=1] {<h2>_texticonhto_</h2>}
236
[4462]237_iconFrompage_ {<img src="_httpiconhfrom_" width="_widthhfrom_"
238height="_heighthfrom_">}
[1207]239_iconFrompage_ [v=1] {<h2>_texticonhfrom_</h2>}
240
[4462]241_iconSeriespage_ {<img src="_httpiconhser_" width="_widthhser_"
242height="_heighthser_">}
[548]243_iconSeriespage_ [v=1] {<h2>_texticonhser_</h2>}
[258]244
[4462]245_iconHowtopage_ {<img src="_httpiconhhow_" width="_widthhhow_"
246height="_heighthhow_">}
[548]247_iconHowtopage_ [v=1] {<h2>_texticonhhow_</h2>}
[258]248
[4462]249_iconTopicpage_ {<img src="_httpiconhtopic_" width="_widthhtopic_"
250height="_heighthtopic_">}
[548]251_iconTopicpage_ [v=1] {<h2>_texticonhtopic_</h2>}
[454]252
[4462]253_iconOrganizationpage_ {<img src="_httpiconhorg_" width="_widthhorg_"
254height="_heighthorg_">}
[548]255_iconOrganizationpage_ [v=1] {<h2>_texticonhorg_</h2>}
[258]256
[4462]257_iconBrowsepage_ {<img src="_httpiconhbrwse_" width="_widthhbrwse_"
258height="_heighthbrwse_">}
[548]259_iconBrowsepage_ [v=1] {<h2>_texticonhbrwse_</h2>}
[283]260
[4462]261_iconPeoplepage_ {<img src="_httpiconhpeople_" width="_widthhpeople_"
262height="_heighthpeople_">}
[601]263_iconPeoplepage_ [v=1] {<h2>_texticonhpeople_</h2>}
[454]264
[4462]265_iconAcronympage_ {<img src="_httpiconhacronym_" width="_widthhacronym_"
266height="_heighthacronym_">}
[1406]267_iconAcronympage_ [v=1] {<h2>_texticonhacronym_</h2>}
[1386]268
[4462]269_iconPhrasepage_ {<img src="_httpiconhphrse_" width="_widthhphrse_"
270height="_heighthphrse_">}
[1696]271_iconPhrasepage_ [v=1] {<h2>_texticonhphrse_</h2>}
[1386]272
[4462]273_iconArtistpage_ {<img src="_httpiconhartist_" width="_widthhartist_"
274height="_heighthartist_">}
[2672]275_iconArtistpage_ [v=1] {<h2>_texticonhartist_</h2>}
[1696]276
[4462]277_iconKeywordpage_ {<img src="_httpiconhkw_" width="_widthhkw_"
278height="_heighthkw_">}
[3105]279_iconKeywordpage_ [v=1] {<h2>_texticonhkw_</h2>}
[2765]280
[4462]281_iconVolumepage_ {<img src="_httpiconhvol_" width="_widthhvol_"
282height="_heighthvol_">}
[3533]283_iconVolumepage_ [v=1] {<h2>_texticonhvol_</h2>}
[3105]284
[5622]285_iconCaptionspage_ {<img src="_httpiconhcapt_" width="_widthhcapt_"
286height="_heighthcapt_">}
287_iconCaptionspage_ [v=1] {<h2>_texticonhcapt_</h2>}
288
[5517]289_iconCountriespage_ {<img src="_httpiconhcount_" width="_widthhcount_"
290height="_heighthcount_">}
291_iconCountriespage_ [v=1] {<h2>_texticonhcount_</h2>}
[3533]292
[5517]293
[10872]294_iconsmalltext_ {<img src="_httpiconsmtext_" class="icon" width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
[548]295_iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
[283]296
[10872]297_iconarrowsmalltext_ {<img src="_httpiconasmtext_" class="icon" width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
[548]298_iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
[454]299
[10872]300_iconclosedfolder_ {<img src="_httpiconclsdfldr_" class="icon" width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
[548]301_iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
[283]302
[10872]303_iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" class="icon" width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
[548]304_iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
[454]305
[10872]306_iconopenfolder_ {<img src="_httpiconopenfldr_" class="icon" width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
[548]307_iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
[283]308
[10872]309_iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" class="icon" width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
[548]310_iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
[454]311
[10872]312_iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ class="icon" alt="_texticonclosedbook_" title="_texticonclosedbook_">}
[548]313_iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
[454]314
[10872]315_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
[548]316_iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
[283]317
[10872]318_iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
[548]319_iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
[454]320
[10872]321_iconopenbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
[548]322_iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
[283]323
[10872]324_iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
[548]325_iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
[454]326
[10872]327_iconclosedbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
[548]328_iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
[283]329
[10872]330_iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
[548]331_iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
[454]332
[10872]333_iconpointer_ {<img src="_httpiconarrrght_" class="icon" width=_widtharrrght_ height=_heightarrrght_>}
[548]334_iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
[283]335
336_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
[454]337_tab_ {<td>_icontab_</td>}
[283]338
[11132]339_iconwarning_ {<img src="_httpiconwarning_" width="_widthwarning_" height="_heightwarning_" class="icon" align="left">}
[548]340_iconwarning_ [v=1] {_texticonwarning_}
[283]341
342
[258]343#######################################################################
[283]344# images
345#######################################################################
346
[11132]347_docbutton_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
348}
[283]349
[11132]350# can't use _docbutton_ macro for detach button as we need to include target
351_imagedetach_ {<div class="button"><span class="button"><a href="_httpcurrentdocument_&amp;x=1" target="\_blank" title="_texticondetach_">_textDETACH_</a></span></div>}
[283]352
[11132]353_imagehighlight_ {_docbutton_(_httpcurrentdocument_&amp;hl=1&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_textHIGHLIGHT_,_texticonhighlight_)}
[283]354
[11132]355_imagenohighlight_ {_docbutton_(_httpcurrentdocument_&amp;hl=0&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:textNOHIGHLIGHT_,_document:texticonnohighlight_)}
[283]356
[11132]357_imagecontracttoc_ {_docbutton_(_httpcurrentdocument_&amp;gc=0,_textCONTRACTCONTENTS_,_texticoncontracttoc_)}
[283]358
[11132]359_imageexpandtoc_ {_docbutton_(_httpcurrentdocument_&amp;gc=1,_textEXPANDCONTENTS_,_texticonexpandtoc_)}
[283]360
[11132]361_imagecontracttext_ {_docbutton_(_httpcurrentdocument_&amp;gt=0,_textCONTRACT_,_texticoncontracttext_)}
[283]362
[11132]363_imageexpandtext_ {_docbutton_(_httpcurrentdocument_&amp;gt=1,_textEXPANDTEXT_,_texticonexpandtext_)}
[283]364
[11132]365_imagecont_ {_docbutton_(_httpcurrentdocument_&amp;gt=2,_textCONTINUE_,_texticoncont_)}
[283]366
[11132]367
368
[283]369#######################################################################
[258]370# headers/footers
371#######################################################################
372
373
374# header overridden for text pages
375_textheader_ {_cgihead_
[454]376_htmlhead_
[10872]377_startspacer_
378
379<!-- document:textheader -->
380<div id="banner">
381<div class="pageinfo"><p class="bannerlinks">_globallinks_</p></div>
382<div class="collectimage">_imagecollection_</div>
383_icontab_
384</div>
[258]385}
[10872]386
[548]387_textheader_ [v=1] {_cgihead_
388_htmlhead_
[10872]389_globallinks_
[548]390}
[258]391
392_footer_ {
[10872]393</div> <!-- document:footer -->
394
[258]395<p>
[4868]396_navarrowsbottom_
[10872]397</p>
[258]398_endspacer__htmlfooter_
399}
Note: See TracBrowser for help on using the repository browser.