1 | package document
|
---|
2 |
|
---|
3 | #######################################################################
|
---|
4 | # macros set from within the server
|
---|
5 | #######################################################################
|
---|
6 |
|
---|
7 | _classificationlinks_ {}
|
---|
8 | _imagethispage_ {}
|
---|
9 | _httpprevarrow_ {}
|
---|
10 | _httpnextarrow_ {}
|
---|
11 | _pagetitle_ {}
|
---|
12 |
|
---|
13 | #######################################################################
|
---|
14 | # page content
|
---|
15 | #######################################################################
|
---|
16 |
|
---|
17 | _content_ {
|
---|
18 | <center>
|
---|
19 | _navigationbar_
|
---|
20 | <p>
|
---|
21 | _classificationlinks_
|
---|
22 | </center>
|
---|
23 | }
|
---|
24 |
|
---|
25 |
|
---|
26 | #######################################################################
|
---|
27 | # javascript macros
|
---|
28 | #
|
---|
29 | # there should be one of these for each flashy javascript button
|
---|
30 | # that may appear within a document page
|
---|
31 | #######################################################################
|
---|
32 |
|
---|
33 | # javaextras allows specific collections to include extra java macros
|
---|
34 | # without having to override their document action
|
---|
35 | _javaextras_ {}
|
---|
36 |
|
---|
37 | _javadetach_ {
|
---|
38 | detach\_on = new Image(_widthedtchx_, _heightedtchx_);
|
---|
39 | detach\_on.src = "_httpiconedtchon_";
|
---|
40 | detach\_off = new Image(_widthedtchx_, _heightedtchx_);
|
---|
41 | detach\_off.src = "_httpiconedtchof_";
|
---|
42 | }
|
---|
43 |
|
---|
44 | _javaexpandcontents_ {
|
---|
45 | expcon\_on = new Image(_widtheexpcx_, _heighteexpcx_);
|
---|
46 | expcon\_on.src = "_httpiconeexpcon_";
|
---|
47 | expcon\_off = new Image(_widtheexpcx_, _heighteexpcx_);
|
---|
48 | expcon\_off.src = "_httpiconeexpcof_";
|
---|
49 | }
|
---|
50 |
|
---|
51 | _javacontractcontents_ {
|
---|
52 | concon\_on = new Image(_widtheconcx_, _heighteconcx_);
|
---|
53 | concon\_on.src = "_httpiconeconcon_";
|
---|
54 | concon\_off = new Image(_widtheconcx_, _heighteconcx_);
|
---|
55 | concon\_off.src = "_httpiconeconcof_";
|
---|
56 | }
|
---|
57 |
|
---|
58 | _javaexpandtext_ {
|
---|
59 | alltext\_on = new Image(_widthealltx_, _heightealltx_);
|
---|
60 | alltext\_on.src = "_httpiconeallton_";
|
---|
61 | alltext\_off = new Image(_widthealltx_, _heightealltx_);
|
---|
62 | alltext\_off.src = "_httpiconealltof_";
|
---|
63 | }
|
---|
64 |
|
---|
65 | _javacontracttext_ {
|
---|
66 | thissec\_on = new Image(_widthetsecx_, _heightetsecx_);
|
---|
67 | thissec\_on.src = "_httpiconetsecon_";
|
---|
68 | thissec\_off = new Image(_widthetsecx_, _heightetsecx_);
|
---|
69 | thissec\_off.src = "_httpiconetsecof_";
|
---|
70 | }
|
---|
71 |
|
---|
72 | _javahighlighting_ {
|
---|
73 | hl\_on = new Image(_widthehlx_, _heightehlx_);
|
---|
74 | hl\_on.src = "_httpiconehlon_";
|
---|
75 | hl\_off = new Image(_widthehlx_, _heightehlx_);
|
---|
76 | hl\_off.src = "_httpiconehlof_";
|
---|
77 | }
|
---|
78 |
|
---|
79 | _javanohighlighting_ {
|
---|
80 | nhl\_on = new Image(_widthenhlx_, _heightenhlx_);
|
---|
81 | nhl\_on.src = "_httpiconenhlon_";
|
---|
82 | nhl\_off = new Image(_widthenhlx_, _heightenhlx_);
|
---|
83 | nhl\_off.src = "_httpiconenhlof_";
|
---|
84 | }
|
---|
85 |
|
---|
86 | _javacontinue_ {
|
---|
87 | cont\_on = new Image(_widthcontx_, _heightcontx_);
|
---|
88 | cont\_on.src = "_httpiconconton_";
|
---|
89 | cont\_off = new Image(_widthcontx_, _heightcontx_);
|
---|
90 | cont\_off.src = "_httpiconcontoff_";
|
---|
91 | }
|
---|
92 |
|
---|
93 | #######################################################################
|
---|
94 | # navigation arrows
|
---|
95 | #
|
---|
96 | #######################################################################
|
---|
97 |
|
---|
98 | _navarrows_ {<center>
|
---|
99 | <table width=_pagewidth_ cellpadding=0 cellspacing=0 border=0>
|
---|
100 | <tr><td align=left valign=top>
|
---|
101 | _prevarrow_
|
---|
102 | </td><td align=right valign=top>
|
---|
103 | _nextarrow_
|
---|
104 | </td></tr></table>
|
---|
105 | </center>
|
---|
106 | }
|
---|
107 |
|
---|
108 | _prevarrow_ {_If_(_httpprevarrow_,<a href="_httpprevarrow_">_iconprev_</a>)}
|
---|
109 | _nextarrow_ {_If_(_httpnextarrow_,<a href="_httpnextarrow_">_iconnext_</a>)}
|
---|
110 |
|
---|
111 | _navarrows_ [v=1] {<p>
|
---|
112 | _prevarrow_<br>
|
---|
113 | _nextarrow_
|
---|
114 | }
|
---|
115 |
|
---|
116 | #######################################################################
|
---|
117 | # the goto form
|
---|
118 | #######################################################################
|
---|
119 |
|
---|
120 | _gotoform_ {
|
---|
121 | <form name="GotoForm" method="get" action="_gwcgi_">
|
---|
122 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
123 | <input type=hidden name="d" value="_cgiargd_">
|
---|
124 | <input type=hidden name="cl" value="_cgiargcl_">
|
---|
125 | <input type="text" name="gp" size="3" maxlength="4">
|
---|
126 | <input type="submit" value="_textgoto_">
|
---|
127 | </form>
|
---|
128 | }
|
---|
129 |
|
---|
130 | _textnumpages_ { <i>(_1_ _pages_)</i>}
|
---|
131 | _parentarrow_ {}
|
---|
132 |
|
---|
133 |
|
---|
134 | #######################################################################
|
---|
135 | # icons
|
---|
136 | #######################################################################
|
---|
137 |
|
---|
138 | # title images - there should be one of these for each classification
|
---|
139 | # supported by this receptionist
|
---|
140 |
|
---|
141 | _iconTitlepage_ {<img src="_httpiconhtitle_" width=_widthhtitle_
|
---|
142 | height=_heighthtitle_}
|
---|
143 | _iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
|
---|
144 |
|
---|
145 | _iconListpage_ {<img src="_httpiconhlist_" width=_widthhlist_
|
---|
146 | height=_heighthlist_}
|
---|
147 | _iconListpage_ [v=1] {<h2>_texticonhlist_</h2>}
|
---|
148 |
|
---|
149 | _iconCreatorpage_ {<img src="_httpiconhauth_" width=_widthhauth_
|
---|
150 | height=_heighthauth_}
|
---|
151 | _iconCreatorpage_ [v=1] {<h2>_texticonhauth_</h2>}
|
---|
152 |
|
---|
153 | _iconSubjectpage_ {<img src="_httpiconhsubj_" width=_widthhsubj_
|
---|
154 | height=_heighthsubj_}
|
---|
155 | _iconSubjectpage_ [v=1] {<h2>_texticonhsubj_</h2>}
|
---|
156 |
|
---|
157 | _iconTopage_ {<img src="_httpiconhto_" width=_widthhto_
|
---|
158 | height=_heighthto_}
|
---|
159 | _iconTopage_ [v=1] {<h2>_texticonhto_</h2>}
|
---|
160 |
|
---|
161 | _iconFrompage_ {<img src="_httpiconhfrom_" width=_widthhfrom_
|
---|
162 | height=_heighthfrom_}
|
---|
163 | _iconFrompage_ [v=1] {<h2>_texticonhfrom_</h2>}
|
---|
164 |
|
---|
165 | _iconSeriespage_ {<img src="_httpiconhser_" width=_widthhser_
|
---|
166 | height=_heighthser_}
|
---|
167 | _iconSeriespage_ [v=1] {<h2>_texticonhser_</h2>}
|
---|
168 |
|
---|
169 | _iconDatepage_ {<img src="_httpiconhdate_" width=_widthhdate_
|
---|
170 | height=_heighthdate_}
|
---|
171 | _iconDatepage_ [v=1] {<h2>_texticonhdate_</h2>}
|
---|
172 |
|
---|
173 | _iconHowtopage_ {<img src="_httpiconhhow_" width=_widthhhow_
|
---|
174 | height=_heighthhow_}
|
---|
175 | _iconHowtopage_ [v=1] {<h2>_texticonhhow_</h2>}
|
---|
176 |
|
---|
177 | _iconTopicpage_ {<img src="_httpiconhtopic_" width=_widthhtopic_
|
---|
178 | height=_heighthtopic_}
|
---|
179 | _iconTopicpage_ [v=1] {<h2>_texticonhtopic_</h2>}
|
---|
180 |
|
---|
181 | _iconOrganizationpage_ {<img src="_httpiconhorg_" width=_widthhorg_
|
---|
182 | height=_heighthorg_}
|
---|
183 | _iconOrganizationpage_ [v=1] {<h2>_texticonhorg_</h2>}
|
---|
184 |
|
---|
185 | _iconBrowsepage_ {<img src="_httpiconhbrwse_" width=_widthhbrwse_
|
---|
186 | height=_heighthbrwse_}
|
---|
187 | _iconBrowsepage_ [v=1] {<h2>_texticonhbrwse_</h2>}
|
---|
188 |
|
---|
189 | _iconPeoplepage_ {<img src="_httpiconhpeople_" width=_widthhpeople_
|
---|
190 | height=_heighthpeople_}
|
---|
191 | _iconPeoplepage_ [v=1] {<h2>_texticonhpeople_</h2>}
|
---|
192 |
|
---|
193 |
|
---|
194 | _iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_">}
|
---|
195 | _iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
|
---|
196 |
|
---|
197 | _iconarrowsmalltext_ {<img src="_httpiconasmtext_" border=0 width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_">}
|
---|
198 | _iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
|
---|
199 |
|
---|
200 | _iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_">}
|
---|
201 | _iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
|
---|
202 |
|
---|
203 | _iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" border=0 width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_">}
|
---|
204 | _iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
|
---|
205 |
|
---|
206 | _iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_">}
|
---|
207 | _iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
|
---|
208 |
|
---|
209 | _iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" border=0 width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_">}
|
---|
210 | _iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
|
---|
211 |
|
---|
212 | _iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ border=0 alt="_texticonclosedbook_">}
|
---|
213 | _iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
|
---|
214 |
|
---|
215 | _iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_">}
|
---|
216 | _iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
|
---|
217 |
|
---|
218 | _iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ border=0 alt="_texticonopenbook_">}
|
---|
219 | _iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
|
---|
220 |
|
---|
221 | _iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_">}
|
---|
222 | _iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
|
---|
223 |
|
---|
224 | _iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_">}
|
---|
225 | _iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
|
---|
226 |
|
---|
227 | _iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_">}
|
---|
228 | _iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
|
---|
229 |
|
---|
230 | _iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_">}
|
---|
231 | _iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
|
---|
232 |
|
---|
233 | _iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
|
---|
234 | _iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
|
---|
235 |
|
---|
236 | _icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
|
---|
237 | _tab_ {<td>_icontab_</td>}
|
---|
238 |
|
---|
239 | _iconcontracttoc_ {<img name="concon" src="_httpiconeconcof_" width=_widtheconcx_ height=_heighteconcx_ alt="_texticoncontracttoc_" border=0>}
|
---|
240 | _iconcontracttoc_[v=1] {_texticoncontracttoc_}
|
---|
241 |
|
---|
242 | _iconexpandtoc_ {<img name="expcon" src="_httpiconeexpcof_" width=_widtheexpcx_ height=_heighteexpcx_ alt="_texticonexpandtoc_" border=0>}
|
---|
243 | _iconexpandtoc_[v=1] {_texticonexpandtoc_}
|
---|
244 |
|
---|
245 | _iconcontracttext_ {<img name="thissec" src="_httpiconetsecof_" width=_widthetsecx_ height=_heightetsecx_ alt="_texticoncontracttext_" border=0>}
|
---|
246 | _iconcontracttext_[v=1] {_texticoncontracttext_}
|
---|
247 |
|
---|
248 | _iconexpandtext_ {<img name="alltext" src="_httpiconealltof_" width=_widthealltx_ height=_heightealltx_ alt="_texticonexpandtext_" border=0>}
|
---|
249 | _iconexpandtext_[v=1] {_texticonexpandtext_}
|
---|
250 |
|
---|
251 | _icondetach_ {<img name="detach" src="_httpiconedtchof_" width=_widthedtchx_ height=_heightedtchx_ alt="_texticondetach_" border=0>}
|
---|
252 | _icondetach_[v=1] {_texticondetach_}
|
---|
253 |
|
---|
254 | _iconhighlight_ {<img name="hl" src="_httpiconehlof_" width=_widthehlx_ height=_heightehlx_ alt="_texticonhighlight_" border=0>}
|
---|
255 | _iconhighlight_ [v=1] {_texticonhighlight_}
|
---|
256 |
|
---|
257 | _iconnohighlight_ {<img name="nhl" src="_httpiconenhlof_" width=_widthenhlx_ height=_heightenhlx_ alt="_texticonnohighlight_" border=0>}
|
---|
258 | _iconnohighlight_ [v=1] {_texticonnohighlight_}
|
---|
259 |
|
---|
260 | _iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>}
|
---|
261 | _iconwarning_ [v=1] {_texticonwarning_}
|
---|
262 |
|
---|
263 | _iconcont_ {<img name="cont" src="_httpiconcontoff_" width=_widthcontx_ height=_heightcontx_ border=0>}
|
---|
264 | _iconcont_ [v=1] {_texticoncont_}
|
---|
265 |
|
---|
266 |
|
---|
267 | #######################################################################
|
---|
268 | # images
|
---|
269 | #######################################################################
|
---|
270 |
|
---|
271 | _imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=\_blank onMouseover = "img\_on('detach')"
|
---|
272 | onMouseout = "img\_off('detach')">_icondetach_</a>}
|
---|
273 | _imagedetach_[v=1] {<a href="_httpcurrentdocument_&x=1" target=\_blank>_texticondetach_</a><br>}
|
---|
274 |
|
---|
275 | _imagehighlight_ {<a href="_httpcurrentdocument_&hl=1&gc=_cgiarggc_&gt=_cgiarggt_" onMouseover = "img\_on('hl')"
|
---|
276 | onMouseout = "img\_off('hl')">_iconhighlight_</a>}
|
---|
277 | _imagehighlight_ [v=1] {<a href="_httpcurrentdocument_&hl=1&gc=_cgiarggc_&gt=_cgiarggt_">_texticonhighlight_</a><br>}
|
---|
278 |
|
---|
279 | _imagenohighlight_ {<a href="_httpcurrentdocument_&hl=0&gc=_cgiarggc_&gt=_cgiarggt_" onMouseover = "img\_on('nhl')"
|
---|
280 | onMouseout = "img\_off('nhl')">_iconnohighlight_</a>}
|
---|
281 | _imagenohighlight_ [v=1] {<a href="_httpcurrentdocument_&hl=0&gc=_cgiarggc_&gt=_cgiarggt_">_texticonnohighlight_</a><br>}
|
---|
282 |
|
---|
283 | _imagecontracttoc_ {<a href="_httpcurrentdocument_&gc=0" onMouseover = "img\_on('concon')"
|
---|
284 | onMouseout = "img\_off('concon')">_iconcontracttoc_</a>}
|
---|
285 | _imagecontracttoc_[v=1] {"<a href="_httpcurrentdocument_&gc=0">_texticoncontracttoc_</a><br>}
|
---|
286 |
|
---|
287 | _imageexpandtoc_ {<a href="_httpcurrentdocument_&gc=1" onMouseover = "img\_on('expcon')"
|
---|
288 | onMouseout = "img\_off('expcon')">_iconexpandtoc_</a>}
|
---|
289 | _imageexpandtoc_ [v=1] {"<a href="_httpcurrentdocument_&gc=1">_texticonexpandtoc_</a><br>}
|
---|
290 |
|
---|
291 | _imagecontracttext_ {<a href="_httpcurrentdocument_&gt=0" onMouseover = "img\_on('thissec')"
|
---|
292 | onMouseout = "img\_off('thissec')">_iconcontracttext_</a>}
|
---|
293 | _imagecontracttext_[v=1] {<a href="_httpcurrentdocument_&gt=0">display only current section</a><br>}
|
---|
294 |
|
---|
295 | _imageexpandtext_ {<a href="_httpcurrentdocument_&gt=1" onMouseover = "img\_on('alltext')"
|
---|
296 | onMouseout = "img\_off('alltext')">_iconexpandtext_</a>}
|
---|
297 | _imageexpandtext_[v=1] {<a href="_httpcurrentdocument_&gt=1">display all text</a><br>}
|
---|
298 |
|
---|
299 | _imagecont_ {<a href="_httpcurrentdocument_&gt=2" onMouseover = "img\_on('cont')"
|
---|
300 | onMouseout = "img\_off('cont')">_iconcont_</a>}
|
---|
301 | _imagecont_[v=1] {<a href="_httpcurrentdocument&gt=2">_texticoncont_</a><br>}
|
---|
302 |
|
---|
303 |
|
---|
304 | #######################################################################
|
---|
305 | # headers/footers
|
---|
306 | #######################################################################
|
---|
307 |
|
---|
308 |
|
---|
309 | # header overridden for text pages
|
---|
310 | _textheader_ {_cgihead_
|
---|
311 | _htmlhead_
|
---|
312 | <center>
|
---|
313 | <table width=_pagewidth_><tr><td align=right>
|
---|
314 | _javalinks_</td></tr></table>
|
---|
315 | </center>
|
---|
316 | }
|
---|
317 | _textheader_ [v=1] {_cgihead_
|
---|
318 | _htmlhead_
|
---|
319 | _javalinks_
|
---|
320 | }
|
---|
321 |
|
---|
322 | _footer_ {
|
---|
323 | <p>
|
---|
324 | _navarrows_
|
---|
325 | </table>
|
---|
326 | _endspacer__htmlfooter_
|
---|
327 | }
|
---|