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

Last change on this file since 8106 was 8106, checked in by mdewsnip, 20 years ago

Added all the Dublin Core Version 1.1 classifier buttons in, and tidied up a few things. Hope I haven't broken anything!

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