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

Last change on this file since 4868 was 4868, checked in by sjboddie, 21 years ago

Made the DocumentArrowsBottom format option work and added a new
DocumentArrowsTop option

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