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

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

removed all httpiconh* images for the titles, we now use CSS-formatted
text instead.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 10.6 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_iconsmalltext_ {<img src="_httpiconsmtext_" class="icon" width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
173_iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
174
175_iconarrowsmalltext_ {<img src="_httpiconasmtext_" class="icon" width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
176_iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
177
178_iconclosedfolder_ {<img src="_httpiconclsdfldr_" class="icon" width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
179_iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
180
181_iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" class="icon" width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
182_iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
183
184_iconopenfolder_ {<img src="_httpiconopenfldr_" class="icon" width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
185_iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
186
187_iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" class="icon" width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
188_iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
189
190_iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ class="icon" alt="_texticonclosedbook_" title="_texticonclosedbook_">}
191_iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
192
193_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
194_iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
195
196_iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ class="icon" alt="_texticonopenbook_" title="_texticonopenbook_">}
197_iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
198
199_iconopenbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
200_iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
201
202_iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
203_iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
204
205_iconclosedbookshelf_ {<img src="_httpiconbshelf_" class="icon" width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
206_iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
207
208_iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" class="icon" width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
209_iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
210
211_iconpointer_ {<img src="_httpiconarrrght_" class="icon" width=_widtharrrght_ height=_heightarrrght_>}
212_iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
213
214_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
215_tab_ {<td>_icontab_</td>}
216
217_iconwarning_ {<img src="_httpiconwarning_" width="_widthwarning_" height="_heightwarning_" class="icon" align="left">}
218_iconwarning_ [v=1] {_texticonwarning_}
219
220
221#######################################################################
222# images
223#######################################################################
224
225_docbutton_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
226}
227
228# can't use _docbutton_ macro for detach button as we need to include target
229_imagedetach_ {<div class="button"><span class="button"><a href="_httpcurrentdocument_&amp;x=1" target="\_blank" title="_texticondetach_">_textDETACH_</a></span></div>}
230
231_imagehighlight_ {_docbutton_(_httpcurrentdocument_&amp;hl=1&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_textHIGHLIGHT_,_texticonhighlight_)}
232
233_imagenohighlight_ {_docbutton_(_httpcurrentdocument_&amp;hl=0&amp;gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:textNOHIGHLIGHT_,_document:texticonnohighlight_)}
234
235_imagecontracttoc_ {_docbutton_(_httpcurrentdocument_&amp;gc=0,_textCONTRACTCONTENTS_,_texticoncontracttoc_)}
236
237_imageexpandtoc_ {_docbutton_(_httpcurrentdocument_&amp;gc=1,_textEXPANDCONTENTS_,_texticonexpandtoc_)}
238
239_imagecontracttext_ {_docbutton_(_httpcurrentdocument_&amp;gt=0,_textCONTRACT_,_texticoncontracttext_)}
240
241_imageexpandtext_ {_docbutton_(_httpcurrentdocument_&amp;gt=1,_textEXPANDTEXT_,_texticonexpandtext_)}
242
243_imagecont_ {_docbutton_(_httpcurrentdocument_&amp;gt=2,_textCONTINUE_,_texticoncont_)}
244
245
246
247#######################################################################
248# headers/footers
249#######################################################################
250
251
252# header overridden for text pages
253_textheader_ {_cgihead_
254_htmlhead_
255_startspacer_
256
257<!-- document:textheader -->
258<div id="banner">
259<div class="pageinfo"><p class="bannerlinks">_globallinks_</p></div>
260<div class="collectimage">_imagecollection_</div>
261_icontab_
262</div>
263}
264
265_textheader_ [v=1] {_cgihead_
266_htmlhead_
267_globallinks_
268}
269
270_footer_ {
271</div> <!-- document:footer -->
272
273<p>
274_navarrowsbottom_
275</p>
276_endspacer__htmlfooter_
277}
Note: See TracBrowser for help on using the repository browser.