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

Last change on this file since 3177 was 3177, checked in by sjboddie, 20 years ago

* empty log message *

  • Property svn:keywords set to Author Date Id Revision
File size: 11.7 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<p>
19<center>
20_phindclassifier_
21</center>
22</p>
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="638" 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_">&lt;</a>)}
59_nextarrow_ {_If_(_httpnextarrow_,<a href="_httpnextarrow_">&gt;</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="_httpcollection_/images/phind3.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
252onMouseOut="MM_nbGroup('out');"
253onMouseOver="MM_nbGroup('over','detach','_httpcollection_/images/detachon.gif','_httpcollection_/images/detachon.gif',1);"
254onClick="MM_nbGroup('down','navbar1','detach','_httpcollection_/images/detachon.gif',1);"><img
255name="detach" src="_httpcollection_/images/detachoff.gif" width="52" height="11" border="0" alt="open this page in a new window"></a>}
256
257_imagehighlight_ {<a href="_httpcurrentdocument_&hl=1&gc=_cgiarggc_&amp;gt=_cgiarggt_"
258onMouseOut="MM_nbGroup('out');"
259onMouseOver="MM_nbGroup('over','hl','_httpcollection_/images/highlighton.gif','_httpcollection_/images/highlighton.gif',1);"
260onClick="MM_nbGroup('down','navbar1','hl','_httpcollection_/images/highlighton.gif',1);"><img
261name="hl" src="_httpcollection_/images/highlightoff.gif" width="92" height="11" border="0" alt="turn on search term highlighting"></a>}
262
263_imagenohighlight_ {<a href="_httpcurrentdocument_&hl=0&gc=_cgiarggc_&amp;gt=_cgiarggt_"
264onMouseOut="MM_nbGroup('out');"
265onMouseOver="MM_nbGroup('over','nhl','_httpcollection_/images/nohighlighton.gif','_httpcollection_/images/nohighlighton.gif',1);"
266onClick="MM_nbGroup('down','navbar1','nhl','_httpcollection_/images/nohighlighton.gif',1);"><img
267name="nhl" src="_httpcollection_/images/nohighlightoff.gif" width="92" height="11" border="0" alt="turn off search term highlighting"></a>}
268
269_imagepagepdf_ {<a href="_httpcollection_/index/assoc/_thisOID_/_pagepdf_"
270onMouseOut="MM_nbGroup('out');"
271onMouseOver="MM_nbGroup('over','ppdf','_httpcollection_/images/pagepdfon.gif','_httpcollection_/images/pagepdfon.gif',1);"
272onClick="MM_nbGroup('down','navbar1','ppdf','_httpcollection_/images/pagepdfon.gif',1);"><img
273name="ppdf" src="_httpcollection_/images/pagepdfoff.gif" width="52" height="11" border="0" alt="view pdf file of this page"></a>}
274
275_imagearticlepdf_ {<a href="_httpcollection_/index/assoc/_thisOID_/article.pdf"
276onMouseOut="MM_nbGroup('out');"
277onMouseOver="MM_nbGroup('over','apdf','_httpcollection_/images/articlepdfon.gif','_httpcollection_/images/articlepdfon.gif',1);"
278onClick="MM_nbGroup('down','navbar1','apdf','_httpcollection_/images/articlepdfon.gif',1);"><img
279name="apdf" src="_httpcollection_/images/articlepdfoff.gif" width="52" height="11" border="0" alt="view pdf file of entire article"></a>}
Note: See TracBrowser for help on using the repository browser.