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

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

startspacer was opening two tables, endspacer was only closing one, and footer was closing the second one before calling endspacer. so I have put the two end table tags into endspacer, and not in footer.

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