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

Last change on this file since 5517 was 5517, checked in by kjdon, 21 years ago

some stuff for countries and description classifiers

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 12.6 KB
Line 
1package document
2
3#######################################################################
4# macros set from within the server
5#######################################################################
6
7_imagethispage_ {}
8_httpprevarrow_ {}
9_httpnextarrow_ {}
10_pagetitle_ {}
11_phindclassifier_ {}
12
13#######################################################################
14# page content
15#######################################################################
16
17_content_ {
18<center>
19_navigationbar_
20<p>
21_phindclassifier_
22</center>
23}
24
25_textTitlepage_ {_texticonhtitle_}
26_textDescriptionpage_ {_texticonhdescription_}
27_textCreatorpage_ {_texticonhauth_}
28_textSubjectpage_ {_texticonhsubj_}
29_textTopage_ {_texticonhto_}
30_textFrompage_ {_texticonhfrom_}
31_textSeriespage_ {_texticonhser_}
32_textDatepage_ {_texticonhdate_}
33_textHowtopage_ {_texticonhhow_}
34_textOrganizationpage_ {_texticonhorg_}
35_textBrowsepage_ {_texticonhbrwse_}
36_textPeoplepage_ {_texticonhpeople_}
37_textLanguagepage_ {_texticonhlanguage_}
38_textAcronympage_ {_texticonhacronym_}
39_textPhrasepage_ {_texticonhphrases_}
40_textArtistpage_ {_texticonhartist_}
41_textSourcepage_ {_texticonhsrc_}
42_textKeywordpage_ {_texticonhkw_}
43_textVolumepage_ {_texticonhvol_}
44_textCountriespage_ {_texticonhcount_}
45
46#######################################################################
47# navigation arrows
48#
49#######################################################################
50
51# these two may be reset to "" by the server
52_navarrowsbottom_ {_navarrows_}
53_navarrowstop_ {_navarrows_}
54
55_navarrows_ {<center>
56<table width=_pagewidth_ cellpadding=0 cellspacing=0 border=0>
57<tr><td align=left valign=top>
58_prevarrow_
59</td><td align=right valign=top>
60_nextarrow_
61</td></tr></table>
62</center>
63}
64
65_prevarrow_ {_If_(_httpprevarrow_,<a href="_httpprevarrow_">_iconprev_</a>)}
66_nextarrow_ {_If_(_httpnextarrow_,<a href="_httpnextarrow_">_iconnext_</a>)}
67
68_navarrows_ [v=1] {<p>
69_prevarrow_<br>
70_nextarrow_
71}
72
73#######################################################################
74# the goto form
75#######################################################################
76
77_gotoform_ {
78<form name="GotoForm" method="get" action="_gwcgi_">
79<input type=hidden name="e" value="_decodedcompressedoptions_">
80<input type=hidden name="d" value="_cgiargd_">
81<input type=hidden name="cl" value="_cgiargcl_">
82<input type="text" name="gp" size="3" maxlength="4">
83<input type="submit" value="_textgoto_">
84</form>
85}
86
87_textnumpages_ {&nbsp;<i>(_1_ _pages_)</i>}
88_parentarrow_ {}
89
90
91#######################################################################
92# the phind applet
93#
94# The phind applet is only required on phind classifier pages.
95# Consequently, the _phindclassifier_ macro is not usually set. On screens
96# where it is required, _phindclassifier_ resolves to _phindapplet_, and
97# the following macro is loaded into the web page.
98#######################################################################
99
100_phindapplet_ {
101<APPLET CODEBASE="_httpprefix_/bin/java" CODE="org.nzdl.gsdl.Phind.Phind.class" ARCHIVE="Phind.jar" WIDTH=500 HEIGHT=400>
102 <PARAM NAME=library VALUE="_gwcgi_?e=_compressedoptions_">
103 <PARAM NAME=phindcgi VALUE="_gwcgi_?a=phind">
104 <PARAM NAME=collection VALUE="_cgiargc_">
105 <PARAM NAME=classifier VALUE="_phindnumber_">
106
107 <PARAM NAME=orientation VALUE="vertical">
108 <PARAM NAME=depth VALUE="2">
109 <PARAM NAME=resultorder VALUE="L,l,E,e,D,d">
110
111 <PARAM NAME=backdrop VALUE="_httpimg_/phindbg1.jpg">
112 <PARAM NAME=fontsize VALUE="10">
113 <PARAM NAME=blocksize VALUE="10">
114
115 The Phind java applet.
116</APPLET>
117}
118
119
120#######################################################################
121# icons
122#######################################################################
123
124# title images - there should be one of these for each classification
125# supported by this receptionist
126
127_iconTitlepage_ {<img src="_httpiconhtitle_" width="_widthhtitle_"
128height="_heighthtitle_">}
129_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
130
131_iconDescriptionpage_ {<img src="_httpiconhdescription_" width="_widthhdesc_"
132height="_heighthdesc_">}
133_iconDescriptionpage_ [v=1] {<h2>_texticonhdescription_</h2>}
134
135_iconListpage_ {<img src="_httpiconhlist_" width="_widthhlist_"
136height="_heighthlist_">}
137_iconListpage_ [v=1] {<h2>_texticonhlist_</h2>}
138
139_iconCreatorpage_ {<img src="_httpiconhauth_" width="_widthhauth_"
140height="_heighthauth_">}
141_iconCreatorpage_ [v=1] {<h2>_texticonhauth_</h2>}
142
143_iconSubjectpage_ {<img src="_httpiconhsubj_" width="_widthhsubj_"
144height="_heighthsubj_">}
145_iconSubjectpage_ [v=1] {<h2>_texticonhsubj_</h2>}
146
147_iconTopage_ {<img src="_httpiconhto_" width="_widthhto_"
148height="_heighthto_">}
149_iconTopage_ [v=1] {<h2>_texticonhto_</h2>}
150
151_iconFrompage_ {<img src="_httpiconhfrom_" width="_widthhfrom_"
152height="_heighthfrom_">}
153_iconFrompage_ [v=1] {<h2>_texticonhfrom_</h2>}
154
155_iconSeriespage_ {<img src="_httpiconhser_" width="_widthhser_"
156height="_heighthser_">}
157_iconSeriespage_ [v=1] {<h2>_texticonhser_</h2>}
158
159_iconDatepage_ {<img src="_httpiconhdate_" width="_widthhdate_"
160height="_heighthdate_">}
161_iconDatepage_ [v=1] {<h2>_texticonhdate_</h2>}
162
163_iconHowtopage_ {<img src="_httpiconhhow_" width="_widthhhow_"
164height="_heighthhow_">}
165_iconHowtopage_ [v=1] {<h2>_texticonhhow_</h2>}
166
167_iconTopicpage_ {<img src="_httpiconhtopic_" width="_widthhtopic_"
168height="_heighthtopic_">}
169_iconTopicpage_ [v=1] {<h2>_texticonhtopic_</h2>}
170
171_iconOrganizationpage_ {<img src="_httpiconhorg_" width="_widthhorg_"
172height="_heighthorg_">}
173_iconOrganizationpage_ [v=1] {<h2>_texticonhorg_</h2>}
174
175_iconBrowsepage_ {<img src="_httpiconhbrwse_" width="_widthhbrwse_"
176height="_heighthbrwse_">}
177_iconBrowsepage_ [v=1] {<h2>_texticonhbrwse_</h2>}
178
179_iconPeoplepage_ {<img src="_httpiconhpeople_" width="_widthhpeople_"
180height="_heighthpeople_">}
181_iconPeoplepage_ [v=1] {<h2>_texticonhpeople_</h2>}
182
183_iconLanguagepage_ {<img src="_httpiconhlanguage_" width="_widthhlanguage_"
184height="_heighthlanguage_">}
185_iconLanguagepage_ [v=1] {<h2>_texticonhlanguage_</h2>}
186
187_iconAcronympage_ {<img src="_httpiconhacronym_" width="_widthhacronym_"
188height="_heighthacronym_">}
189_iconAcronympage_ [v=1] {<h2>_texticonhacronym_</h2>}
190
191_iconPhrasepage_ {<img src="_httpiconhphrse_" width="_widthhphrse_"
192height="_heighthphrse_">}
193_iconPhrasepage_ [v=1] {<h2>_texticonhphrse_</h2>}
194
195_iconArtistpage_ {<img src="_httpiconhartist_" width="_widthhartist_"
196height="_heighthartist_">}
197_iconArtistpage_ [v=1] {<h2>_texticonhartist_</h2>}
198
199_iconSourcepage_ {<img src="_httpiconhsrc_" width="_widthhsrc_"
200height="_heighthsrc_">}
201_iconSourcepage_ [v=1] {<h2>_texticonhsrc_</h2>}
202
203_iconKeywordpage_ {<img src="_httpiconhkw_" width="_widthhkw_"
204height="_heighthkw_">}
205_iconKeywordpage_ [v=1] {<h2>_texticonhkw_</h2>}
206
207_iconVolumepage_ {<img src="_httpiconhvol_" width="_widthhvol_"
208height="_heighthvol_">}
209_iconVolumepage_ [v=1] {<h2>_texticonhvol_</h2>}
210
211_iconCountriespage_ {<img src="_httpiconhcount_" width="_widthhcount_"
212height="_heighthcount_">}
213_iconCountriespage_ [v=1] {<h2>_texticonhcount_</h2>}
214
215
216_iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
217_iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
218
219_iconarrowsmalltext_ {<img src="_httpiconasmtext_" border=0 width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
220_iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
221
222_iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
223_iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
224
225_iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" border=0 width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
226_iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
227
228_iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
229_iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
230
231_iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" border=0 width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
232_iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
233
234_iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ border=0 alt="_texticonclosedbook_" title="_texticonclosedbook_">}
235_iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
236
237_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_" title="_texticonopenbook_">}
238_iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
239
240_iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ border=0 alt="_texticonopenbook_" title="_texticonopenbook_">}
241_iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
242
243_iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
244_iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
245
246_iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
247_iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
248
249_iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
250_iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
251
252_iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
253_iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
254
255_iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
256_iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
257
258_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
259_tab_ {<td>_icontab_</td>}
260
261_iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>}
262_iconwarning_ [v=1] {_texticonwarning_}
263
264
265#######################################################################
266# images
267#######################################################################
268
269# can't use _gsimage_ macro for detach button as we need to include target
270_imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
271name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" border=0 alt="_texticondetach_" title="_texticondetach_"></a>}
272_imagedetach_ [v=1] {<a href="_httpcurrentdocument_&x=1" target=\_blank>_texticondetach_</a><br>}
273
274_imagehighlight_ {_gsimage_(_httpcurrentdocument_&hl=1&gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconehlof_,_document:httpiconehlon_,hl,_document:texticonhighlight_)}
275
276_imagenohighlight_ {_gsimage_(_httpcurrentdocument_&hl=0&gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconenhlof_,_document:httpiconenhlon_,nhl,_document:texticonnohighlight_)}
277
278_imagecontracttoc_ {_gsimage_(_httpcurrentdocument_&gc=0,_document:httpiconeconcof_,_document:httpiconeconcon_,concon,_document:texticoncontracttoc_)}
279
280_imageexpandtoc_ {_gsimage_(_httpcurrentdocument_&gc=1,_document:httpiconeexpcof_,_document:httpiconeexpcon_,expcon,_document:texticonexpandtoc_)}
281
282_imagecontracttext_ {_gsimage_(_httpcurrentdocument_&amp;gt=0,_document:httpiconetsecof_,_document:httpiconetsecon_,thissec,_document:texticoncontracttext_)}
283
284_imageexpandtext_ {_gsimage_(_httpcurrentdocument_&amp;gt=1,_document:httpiconealltof_,_document:httpiconeallton_,alltext,_document:texticonexpandtext_)}
285
286_imagecont_ {_gsimage_(_httpcurrentdocument_&amp;gt=2,_document:httpiconcontoff_,_document:httpiconconton_,cont,_document:texticoncont_)}
287
288
289#######################################################################
290# headers/footers
291#######################################################################
292
293
294# header overridden for text pages
295# the tabspace is there because netscape refuses to let our flashy button
296# javacript stuff work on a button that is the first image in the page
297_textheader_ {_cgihead_
298_htmlhead_
299<center>
300<table width=_pagewidth_><tr><td align=right>
301_icontab__javalinks_</td></tr></table>
302</center>
303}
304_textheader_ [v=1] {_cgihead_
305_htmlhead_
306_javalinks_
307}
308
309_footer_ {
310<p>
311_navarrowsbottom_
312_endspacer__htmlfooter_
313}
Note: See TracBrowser for help on using the repository browser.