source: trunk/protemix/macros/document.dm@ 3169

Last change on this file since 3169 was 3169, checked in by sjboddie, 22 years ago

* empty log message *

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