1 | #######################################################################
|
---|
2 | # GLOBAL MACROS
|
---|
3 | #######################################################################
|
---|
4 |
|
---|
5 | package Global
|
---|
6 |
|
---|
7 | ##########
|
---|
8 |
|
---|
9 | # won't need this once old versions of library are no longer used
|
---|
10 | _decodedcompressedoptions_ {_compressedoptions_}
|
---|
11 |
|
---|
12 |
|
---|
13 | _htmlextra_ {}
|
---|
14 |
|
---|
15 | _starthighlight_ {<b><u>}
|
---|
16 | _endhighlight_ {</u></b>}
|
---|
17 |
|
---|
18 | #######################################################################
|
---|
19 | # page content
|
---|
20 | #
|
---|
21 | # these should always be overridden for each page/collection
|
---|
22 | #######################################################################
|
---|
23 |
|
---|
24 | _content_ {<p><h2>oops</h2>
|
---|
25 | _textdefaultcontent_}
|
---|
26 | _pagetitle_ {_textdefaulttitle_}
|
---|
27 | _imagethispage_ {}
|
---|
28 | _iconcollection_ {}
|
---|
29 | _imagecollection_ {_If_("_iconcollection_" ne "",<a href="_httppagex_(about)"><img src="_iconcollection_" border=0></a>)}
|
---|
30 |
|
---|
31 | #######################################################################
|
---|
32 | # these width macros are read in by the server when calculating
|
---|
33 | # width of navigation bar etc. There should be one for each
|
---|
34 | # classification that this receptionist supports, one for the
|
---|
35 | # search button, and the _pagewidth_ macro which is the total width
|
---|
36 | # of the page
|
---|
37 | #######################################################################
|
---|
38 |
|
---|
39 | # width of tabs when displaying tables of contents
|
---|
40 | _tabwidth_ {25}
|
---|
41 |
|
---|
42 | _pagewidth_ {537}
|
---|
43 | # defaultwidth is the width buttons default to if not included in this list
|
---|
44 | _defaultwidth_ {87}
|
---|
45 | _searchwidth_ {_widthtsrchx_}
|
---|
46 | _Titlewidth_ {_widthttitlx_}
|
---|
47 | _Listwidth_ {_widthtlistx_}
|
---|
48 | _Creatorwidth_ {_widthtauthx_}
|
---|
49 | _Serieswidth_ {_widthtserx_}
|
---|
50 | _Datewidth_ {_widthtdatex_}
|
---|
51 | _Subjectwidth_ {_widthtsubjx_}
|
---|
52 | _Organizationwidth_ {_widthtorgx_}
|
---|
53 | _Howtowidth_ {_widththowx_}
|
---|
54 | _Topicwidth_ {_widthttopicx_}
|
---|
55 | _Browsewidth_ {_widthtbrwsex_}
|
---|
56 | _Peoplewidth_ {_widthtpeopx_}
|
---|
57 |
|
---|
58 | #######################################################################
|
---|
59 | # Macros whose values are set from within the server at runtime. These
|
---|
60 | # are here only for reference and to set default values if required.
|
---|
61 | #######################################################################
|
---|
62 |
|
---|
63 | _navigationbar_ {}
|
---|
64 | _javaimagesnavbar_ {}
|
---|
65 | _javaimagescontent_ {}
|
---|
66 | _widthtspace_ {2}
|
---|
67 |
|
---|
68 | # all cgi args are set as _cgiargX_ macros - those I've put here
|
---|
69 | # are those that need to default to something
|
---|
70 | _cgiargd_ {}
|
---|
71 | _cgiargcl_ {}
|
---|
72 |
|
---|
73 | # set from within the query action
|
---|
74 | _hselection_ {}
|
---|
75 | _jselection_ {}
|
---|
76 | _nselection_ {}
|
---|
77 |
|
---|
78 | #######################################################################
|
---|
79 | # navigation bar images
|
---|
80 | #
|
---|
81 | #######################################################################
|
---|
82 |
|
---|
83 | # the spacer image - the width of this is set from server
|
---|
84 | _imagespacer_ {<img
|
---|
85 | src="_httpicontspace_" width="_widthtspace_" height="_heighttspace_">}
|
---|
86 | _imagespacer_[v=1] {<br>
|
---|
87 | }
|
---|
88 |
|
---|
89 | # image macros for all the classifications currently supported by
|
---|
90 | # this receptionist. i.e. title, author, subject, series, date,
|
---|
91 | # howto, and organization (and search)
|
---|
92 |
|
---|
93 | _imagesearch_ {<a href="_httpquery_"
|
---|
94 | onMouseover = "img\_on('search')"
|
---|
95 | onMouseout = "img\_off('search')"><img name="search"
|
---|
96 | src="_httpicontsrchof_" width="_widthtsrchx_" height="_heighttsrchx_"
|
---|
97 | border="0" alt="_textimagesearch_"></a>}
|
---|
98 | _imagesearch_[v=1] {<a href="_httpquery_">_textimagesearch_</a><br>
|
---|
99 | }
|
---|
100 |
|
---|
101 | _imageTitle_ {<a href="_httpbrowseTitle_"
|
---|
102 | onMouseover = "img\_on('titles')"
|
---|
103 | onMouseout = "img\_off('titles')"><img name="titles"
|
---|
104 | src="_httpiconttitlof_" width=_widthttitlx_ height=_heightttitlx_
|
---|
105 | border=0 alt="_textimageTitle_"></a>}
|
---|
106 | _imageTitle_[v=1] {<a href="_httpbrowseTitle_">_textimageTitle_</a><br>
|
---|
107 | }
|
---|
108 |
|
---|
109 | _imageList_ {<a href="_httpbrowseList_"
|
---|
110 | onMouseover = "img\_on('list')"
|
---|
111 | onMouseout = "img\_off('list')"><img name="list"
|
---|
112 | src="_httpicontlistof_" width=_widthtlistx_ height=_heighttlistx_
|
---|
113 | border=0 alt="_textimageList_"></a>}
|
---|
114 | _imageList_[v=1] {<a href="_httpbrowseList_">_textimageList_</a><br>
|
---|
115 | }
|
---|
116 |
|
---|
117 |
|
---|
118 | _imageCreator_ {<a href="_httpbrowseCreator_"
|
---|
119 | onMouseover = "img\_on('authors')"
|
---|
120 | onMouseout = "img\_off('authors')"><img name="authors"
|
---|
121 | src="_httpicontauthof_" width=_widthtauthx_ height=_heighttauthx_
|
---|
122 | border=0 alt="_textimageCreator_"></a>}
|
---|
123 | _imageCreator_[v=1] {<a href="_httpbrowseCreator_">_textimageCreator_</a><br>
|
---|
124 | }
|
---|
125 |
|
---|
126 | _imageSeries_ {<a href="_httpbrowseSeries_"
|
---|
127 | onMouseover = "img\_on('series')"
|
---|
128 | onMouseout = "img\_off('series')"><img name="series"
|
---|
129 | src="_httpicontserof_" width="_widthtserx_" height="_heighttserx_"
|
---|
130 | border="0" alt="_textimageSeries_"></a>}
|
---|
131 | _imageSeries_[v=1] {<a href="_httpbrowseSeries_">_textimageSeries_</a><br>
|
---|
132 | }
|
---|
133 |
|
---|
134 | _imageDate_ {<a href="_httpbrowseDate_"
|
---|
135 | onMouseover = "img\_on('dates')"
|
---|
136 | onMouseout = "img\_off('dates')"><img name="dates"
|
---|
137 | src="_httpicontdateof_" width="_widthtdatex_" height="_heighttdatex_"
|
---|
138 | border="0" alt="_textimageDate_"></a>}
|
---|
139 | _imageDate_[v=1] {<a href="_httpbrowseDate_">_textimageDate_</a><br>
|
---|
140 | }
|
---|
141 |
|
---|
142 | _imageSubject_ {<a href="_httpbrowseSubject_"
|
---|
143 | onMouseover = "img\_on('subjects')"
|
---|
144 | onMouseout = "img\_off('subjects')"><img name="subjects"
|
---|
145 | src="_httpicontsubjof_" width="_widthtsubjx_" height="_heighttsubjx_"
|
---|
146 | border="0" alt="_textimageSubject_"></a>}
|
---|
147 | _imageSubject_[v=1] {<a href="_httpbrowseSubject_">_textimageSubject_</a><br>
|
---|
148 | }
|
---|
149 |
|
---|
150 | _imageOrganization_ {<a href="_httpbrowseOrganization_"
|
---|
151 | onMouseover = "img\_on('org')"
|
---|
152 | onMouseout = "img\_off('org')"><img name="org"
|
---|
153 | src="_httpicontorgof_" width="_widthtorgx_" height="_heighttorgx_"
|
---|
154 | border="0" alt="_textimageOrganization_"></a>}
|
---|
155 | _imageOrganization_[v=1] {<a href="_httpbrowseOrganization_">_textimageOrganization_</a><br>
|
---|
156 | }
|
---|
157 |
|
---|
158 | _imageHowto_ {<a href="_httpbrowseHowto_"
|
---|
159 | onMouseover = "img\_on('how')"
|
---|
160 | onMouseout = "img\_off('how')"><img name="how"
|
---|
161 | src="_httpiconthowof_" width="_widththowx_" height="_heightthowx_"
|
---|
162 | border="0" alt="_textimageHowto_"></a>}
|
---|
163 | _imageHowto_[v=1] {<a href="_httpbrowseHowto_">_textimageHowto_</a><br>
|
---|
164 | }
|
---|
165 |
|
---|
166 | _imageTopic_ {<a href="_httpbrowseTopic_"
|
---|
167 | onMouseover = "img\_on('topic')"
|
---|
168 | onMouseout = "img\_off('topic')"><img name="topic"
|
---|
169 | src="_httpiconttopicof_" width="_widthttopicx_" height="_heightttopicx_"
|
---|
170 | border="0" alt="_textimageTopic_"></a>}
|
---|
171 | _imageTopic_[v=1] {<a href="_httpbrowseTopic_">_textimageTopic_</a><br>
|
---|
172 | }
|
---|
173 |
|
---|
174 | _imageBrowse_ {<a href="_httpbrowseBrowse_"
|
---|
175 | onMouseover = "img\_on('browse')"
|
---|
176 | onMouseout = "img\_off('browse')"><img name="browse"
|
---|
177 | src="_httpicontbrwseof_" width="_widthtbrwsex_" height="_heighttbrwsex_"
|
---|
178 | border="0" alt="_textimageBrowse_"></a>}
|
---|
179 | _imageBrowse_[v=1] {<a href="_httpbrowseBrowse_">_textimageBrowse_</a><br>
|
---|
180 | }
|
---|
181 |
|
---|
182 | _imagePeople_ {<a href="_httpbrowsePeople_"
|
---|
183 | onMouseover = "img\_on('People')"
|
---|
184 | onMouseout = "img\_off('People')"><img name="People"
|
---|
185 | src="_httpicontpeopof_" width=_widthtpeopx_ height=_heighttpeopx_
|
---|
186 | border=0 alt="_textimagePeople_"></a>}
|
---|
187 | _imagePeople_[v=1] {<a href="_httpbrowsePeople_">_textimagePeople_</a><br>
|
---|
188 | }
|
---|
189 |
|
---|
190 |
|
---|
191 | #######################################################################
|
---|
192 | # java images/scripts
|
---|
193 | #######################################################################
|
---|
194 |
|
---|
195 | # the _javalinks_ macros are the flashy image links at the top right of
|
---|
196 | # the page.
|
---|
197 |
|
---|
198 | _javalinks_ {_imagehome__imagehelp__imagepref_}
|
---|
199 | _javalinks_ [v=1] {
|
---|
200 | _imagehome_<br>
|
---|
201 | _imagehelp_<br>
|
---|
202 | _imagepref_<br>
|
---|
203 | }
|
---|
204 |
|
---|
205 | # the javaimages macros contain the javascript code required
|
---|
206 | # by each flashy javascript image. _javaimagesheader_ contains those
|
---|
207 | # images at the top right of the page, _javaimagesnavbar_ (set
|
---|
208 | # from within the server) contains those images in the navigation bar,
|
---|
209 | # and _javaimagescontent_ (also set in server) contains any other
|
---|
210 | # javascript images that occur in the page.
|
---|
211 | # the javaimages macros should contain _javaX_ macros for each javascript
|
---|
212 | # image link within the page.
|
---|
213 |
|
---|
214 | _javaimagesheader_ {_javahome__javahelp__javapref_}
|
---|
215 | _javaimagesheader_ [v=1] {}
|
---|
216 |
|
---|
217 | _javaabout_ {
|
---|
218 | about\_on = new Image(_widthcabtx_, _heightcabtx_);
|
---|
219 | about\_on.src = "_httpiconcabton_";
|
---|
220 | about\_off = new Image(_widthcabtx_, _heightcabtx_);
|
---|
221 | about\_off.src = "_httpiconcabtof_";
|
---|
222 | }
|
---|
223 |
|
---|
224 | _javahome_ {
|
---|
225 | home\_on = new Image(_widthchomex_, _heightchomex_);
|
---|
226 | home\_on.src = "_httpiconchomeon_";
|
---|
227 | home\_off = new Image(_widthchomex_, _heightchomex_);
|
---|
228 | home\_off.src = "_httpiconchomeof_";
|
---|
229 | }
|
---|
230 |
|
---|
231 | _javahelp_ {
|
---|
232 | help\_on = new Image(_widthchelpx_, _heightchelpx_);
|
---|
233 | help\_on.src = "_httpiconchelpon_";
|
---|
234 | help\_off = new Image(_widthchelpx_, _heightchelpx_);
|
---|
235 | help\_off.src = "_httpiconchelpof_";
|
---|
236 | }
|
---|
237 |
|
---|
238 | _javapref_ {
|
---|
239 | pref\_on = new Image(_widthcprefx_, _heightcprefx_);
|
---|
240 | pref\_on.src = "_httpiconcprefon_";
|
---|
241 | pref\_off = new Image(_widthcprefx_, _heightcprefx_);
|
---|
242 | pref\_off.src = "_httpiconcprefof_";
|
---|
243 | }
|
---|
244 |
|
---|
245 | _javasearch_ {
|
---|
246 | search\_on = new Image(_widthtsrchx_, _heighttsrchx_);
|
---|
247 | search\_on.src = "_httpicontsrchon_";
|
---|
248 | search\_off = new Image(_widthtsrchx_, _heighttsrchx_);
|
---|
249 | search\_off.src = "_httpicontsrchof_";
|
---|
250 | }
|
---|
251 |
|
---|
252 | _javaTitle_ {
|
---|
253 | titles\_on = new Image(_widthttitlx_, _heightttitlx_);
|
---|
254 | titles\_on.src = "_httpiconttitlon_";
|
---|
255 | titles\_off = new Image(_widthttitlx_, _heightttitlx_);
|
---|
256 | titles\_off.src = "_httpiconttitlof_";
|
---|
257 | }
|
---|
258 |
|
---|
259 | _javaList_ {
|
---|
260 | list\_on = new Image(_widthtlistx_, _heighttlistx_);
|
---|
261 | list\_on.src = "_httpicontliston_";
|
---|
262 | list\_off = new Image(_widthtlistx_, _heighttlistx_);
|
---|
263 | list\_off.src = "_httpicontlistof_";
|
---|
264 | }
|
---|
265 |
|
---|
266 | _javaCreator_ {
|
---|
267 | authors\_on = new Image(_widthtauthx_, _heighttauthx_);
|
---|
268 | authors\_on.src = "_httpicontauthon_";
|
---|
269 | authors\_off = new Image(_widthtauthx_, _heighttauthx_);
|
---|
270 | authors\_off.src = "_httpicontauthof_";
|
---|
271 | }
|
---|
272 |
|
---|
273 | _javaSeries_ {
|
---|
274 | series\_on = new Image(_widthtserx_, _heighttserx_);
|
---|
275 | series\_on.src = "_httpicontseron_";
|
---|
276 | series\_off = new Image(_widthtserx_, _heighttserx_);
|
---|
277 | series\_off.src = "_httpicontserof_";
|
---|
278 | }
|
---|
279 |
|
---|
280 | _javaDate_ {
|
---|
281 | dates\_on = new Image(_widthtdatex_, _heighttdatex_);
|
---|
282 | dates\_on.src = "_httpicontdateon_";
|
---|
283 | dates\_off = new Image(_widthtdatex_, _heighttdatex_);
|
---|
284 | dates\_off.src = "_httpicontdateof_";
|
---|
285 | }
|
---|
286 |
|
---|
287 | _javaSubject_ {
|
---|
288 | subjects\_on = new Image(_widthtsubjx_, _heighttsubjx_);
|
---|
289 | subjects\_on.src = "_httpicontsubjon_";
|
---|
290 | subjects\_off = new Image(_widthtsubjx_, _heighttsubjx_);
|
---|
291 | subjects\_off.src = "_httpicontsubjof_";
|
---|
292 | }
|
---|
293 |
|
---|
294 | _javaHowto_ {
|
---|
295 | how\_on = new Image(_widththowx_, _heightthowx_);
|
---|
296 | how\_on.src = "_httpiconthowon_";
|
---|
297 | how\_off = new Image(_widththowx_, _heightthowx_);
|
---|
298 | how\_off.src = "_httpiconthowof_";
|
---|
299 | }
|
---|
300 |
|
---|
301 | _javaOrganization_ {
|
---|
302 | org\_on = new Image(_widthtorgx_, _heighttorgx_);
|
---|
303 | org\_on.src = "_httpicontorgon_";
|
---|
304 | org\_off = new Image(_widthtorgx_, _heighttorgx_);
|
---|
305 | org\_off.src = "_httpicontorgof_";
|
---|
306 | }
|
---|
307 |
|
---|
308 | _javaTopic_ {
|
---|
309 | topic\_on = new Image(_widthttopicx_, _heightttopicx_);
|
---|
310 | topic\_on.src = "_httpiconttopicon_";
|
---|
311 | topic\_off = new Image(_widthttopicx_, _heightttopicx_);
|
---|
312 | topic\_off.src = "_httpiconttopicof_";
|
---|
313 | }
|
---|
314 |
|
---|
315 | _javaBrowse_ {
|
---|
316 | browse\_on = new Image(_widthtbrwsex_, _heighttbrwsex_);
|
---|
317 | browse\_on.src = "_httpicontbrwseon_";
|
---|
318 | browse\_off = new Image(_widthtbrwsex_, _heighttbrwsex_);
|
---|
319 | browse\_off.src = "_httpicontbrwseof_";
|
---|
320 | }
|
---|
321 |
|
---|
322 | _javaPeople_ {
|
---|
323 | People\_on = new Image(_widthtpeopx_, _heighttpeopx_);
|
---|
324 | People\_on.src = "_httpicontpeopon_";
|
---|
325 | People\_off = new Image(_widthtpeopx_, _heighttpeopx_);
|
---|
326 | People\_off.src = "_httpicontpeopof_";
|
---|
327 | }
|
---|
328 |
|
---|
329 |
|
---|
330 | #######################################################################
|
---|
331 | # general web macros
|
---|
332 | #######################################################################
|
---|
333 |
|
---|
334 | _mailaddr_ {[email protected]}
|
---|
335 |
|
---|
336 | _gsdltop_ {_top}
|
---|
337 |
|
---|
338 | #######################################################################
|
---|
339 | # http macros
|
---|
340 | #
|
---|
341 | # These contain the url without any quotes
|
---|
342 | #######################################################################
|
---|
343 |
|
---|
344 | _httpcollimg_ {_httpcollection_/index/assoc}
|
---|
345 |
|
---|
346 | _httpcollection_{_httpprefix_/collect/_cgiargc_}
|
---|
347 |
|
---|
348 | _httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_}
|
---|
349 | _httppagestatus_ {_gwcgi_?e=_compressedoptions_&a=status}
|
---|
350 | _httppageabout_ {_httppagex_(about)}
|
---|
351 | #_httppagehome_ {_httppagex_(home)}
|
---|
352 | #_httppagehome_ {_gwcgi_?a=p&p=home}
|
---|
353 | _httppagehome_ {http://www.nzdl.org/fast-cgi-bin/library?a=p&p=home}
|
---|
354 | _httppagehelp_ {_httppagex_(help)}
|
---|
355 | _httppagepref_ {_httppagex_(preferences)}
|
---|
356 |
|
---|
357 | _httpgreenstone_ {_httppagex_(gsdl)}
|
---|
358 |
|
---|
359 | _httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_}
|
---|
360 | _httpquery_ {_gwcgi_?e=_compressedoptions_&a=q}
|
---|
361 |
|
---|
362 | # _httpdoc_ is the same as _httpdocument_ - _httpdocument_
|
---|
363 | # may occasionally be altered by the server however
|
---|
364 | _httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d}
|
---|
365 | _httpdoc_ {_gwcgi_?e=_compressedoptions_&a=d}
|
---|
366 |
|
---|
367 | _httpextlink_ {_gwcgi_?e=_compressedoptions_&a=extlink}
|
---|
368 | _httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc}
|
---|
369 |
|
---|
370 | _httpiconchalk_ {_httpimg_/chalk.gif}
|
---|
371 | _widthchalk_ {2000}
|
---|
372 | _heightchalk_ {10}
|
---|
373 |
|
---|
374 | _httpiconchelpof_ {_httpimg_/chelpof.gif}
|
---|
375 | _httpiconchelpof_ [l=mi] {_httpimg_/mchelpof.gif}
|
---|
376 | _httpiconchelpof_[l=zh] {_httpimg_/zhchelpof.gif}
|
---|
377 | _httpiconchelpon_ {_httpimg_/chelpon.gif}
|
---|
378 | _httpiconchelpon_ [l=mi] {_httpimg_/mchelpon.gif}
|
---|
379 | _httpiconchelpon_[l=zh] {_httpimg_/zhchelpon.gif}
|
---|
380 | _widthchelpx_ {36}
|
---|
381 | _widthchelpx_ [l=mi] {57}
|
---|
382 | _widthchelpx_[l=zh] {41}
|
---|
383 | _heightchelpx_ {20}
|
---|
384 | _heightchelpx_[l=zh] {20}
|
---|
385 |
|
---|
386 | _httpiconchomeof_ {_httpimg_/chomeof.gif}
|
---|
387 | _httpiconchomeof_ [l=mi] {_httpimg_/mchomeof.gif}
|
---|
388 | _httpiconchomeof_[l=zh] {_httpimg_/zhchomeof.gif}
|
---|
389 | _httpiconchomeon_ {_httpimg_/chomeon.gif}
|
---|
390 | _httpiconchomeon_ [l=mi] {_httpimg_/mchomeon.gif}
|
---|
391 | _httpiconchomeon_[l=zh] {_httpimg_/zhchomeon.gif}
|
---|
392 | _widthchomex_ {43}
|
---|
393 | _widthchomex_ [l=mi] {54}
|
---|
394 | _widthchomex_[l=zh] {41}
|
---|
395 | _heightchomex_ {20}
|
---|
396 | _heightchomex_[l=zh] {20}
|
---|
397 |
|
---|
398 | _httpiconcprefof_ {_httpimg_/cprefof.gif}
|
---|
399 | _httpiconcprefof_ [l=mi] {_httpimg_/mcprefof.gif}
|
---|
400 | _httpiconcprefof_[l=zh] {_httpimg_/zhcprefof.gif}
|
---|
401 | _httpiconcprefon_ {_httpimg_/cprefon.gif}
|
---|
402 | _httpiconcprefon_ [l=mi] {_httpimg_/mcprefon.gif}
|
---|
403 | _httpiconcprefon_[l=zh] {_httpimg_/zhcprefon.gif}
|
---|
404 | _widthcprefx_ {87}
|
---|
405 | _widthcprefx_ [l=mi] {103}
|
---|
406 | _widthcprefx_[l=zh] {41}
|
---|
407 | _heightcprefx_ {20}
|
---|
408 | _heightcprefx_[l=zh] {20}
|
---|
409 |
|
---|
410 | _httpiconcabtof_ {_httpimg_/cabtof.gif}
|
---|
411 | _httpiconcabton_ {_httpimg_/cabton.gif}
|
---|
412 | _widthcabtx_ {50}
|
---|
413 | _heightcabtx_ {20}
|
---|
414 |
|
---|
415 | _httpicondivb_ {_httpimg_/divb.gif}
|
---|
416 | _widthdivb_ {_pagewidth_}
|
---|
417 | _heightdivb_ {17}
|
---|
418 |
|
---|
419 | _httpicongsdl_ {_httpimg_/gsdl.gif}
|
---|
420 | _widthgsdl_ {140}
|
---|
421 | _heightgsdl_ {77}
|
---|
422 |
|
---|
423 | _httpiconhhelp_ {_httpimg_/h\_help.gif}
|
---|
424 | _httpiconhhelp_[l=zh] {_httpimg_/zhh\_help.gif}
|
---|
425 | _widthhhelp_ {200}
|
---|
426 | _heighthhelp_ {57}
|
---|
427 |
|
---|
428 | _httpiconitext_ {_httpimg_/itext.gif}
|
---|
429 | _widthitext_ {16}
|
---|
430 | _heightitext_ {21}
|
---|
431 |
|
---|
432 | _httpiconibtext_ {_httpimg_/ibtext.gif}
|
---|
433 | _widthibtext_ {16}
|
---|
434 | _heightibtext_ {21}
|
---|
435 |
|
---|
436 | _httpiconless_ {_httpimg_/less.gif}
|
---|
437 | _widthless_ {30}
|
---|
438 | _heightless_ {16}
|
---|
439 |
|
---|
440 | _httpiconmore_ {_httpimg_/more.gif}
|
---|
441 | _widthmore_ {30}
|
---|
442 | _heightmore_ {16}
|
---|
443 |
|
---|
444 | _httpiconstop_ {_httpimg_/stop.gif}
|
---|
445 | _widthstop_ {30}
|
---|
446 | _heightstop_ {16}
|
---|
447 |
|
---|
448 | _httpiconqryresb_ {_httpimg_/qryresb.gif}
|
---|
449 | _httpiconqryresb_ [l=mi] {_httpimg_/mqryresb.gif}
|
---|
450 | _widthqryresb_ {_pagewidth_}
|
---|
451 | _heightqryresb_ {17}
|
---|
452 |
|
---|
453 | _httpiconspacer_ {_httpimg_/spacer.gif}
|
---|
454 | _widthspacer_ {42}
|
---|
455 | _heightspacer_ {4}
|
---|
456 |
|
---|
457 | _httpicontabspace_ {_httpimg_/tabspace.gif}
|
---|
458 | _widthtabspace_ {23}
|
---|
459 | _heighttabspace_ {1}
|
---|
460 |
|
---|
461 | _httpicontauthgr_ {_httpimg_/tauthgr.gif}
|
---|
462 | _httpicontauthof_ {_httpimg_/tauthof.gif}
|
---|
463 | _httpicontauthon_ {_httpimg_/tauthon.gif}
|
---|
464 | _widthtauthx_ {110}
|
---|
465 | _heighttauthx_ {17}
|
---|
466 |
|
---|
467 | _httpicontauthgr_[l=zh] {_httpimg_/zhtauthgr.gif}
|
---|
468 | _httpicontauthof_[l=zh] {_httpimg_/zhtauthof.gif}
|
---|
469 | _httpicontauthon_[l=zh] {_httpimg_/zhtauthon.gif}
|
---|
470 | _widthtauthx_[l=zh] {110}
|
---|
471 | _heighttauthx_[l=zh] {17}
|
---|
472 |
|
---|
473 |
|
---|
474 | _httpicontsergr_ {_httpimg_/tsergr.gif}
|
---|
475 | _httpicontsergr_ [l=mi] {_httpimg_/mtsergr.gif}
|
---|
476 | _httpicontserof_ {_httpimg_/tserof.gif}
|
---|
477 | _httpicontserof_ [l=mi] {_httpimg_/mtserof.gif}
|
---|
478 | _httpicontseron_ {_httpimg_/tseron.gif}
|
---|
479 | _httpicontseron_ [l=mi] {_httpimg_/mtseron.gif}
|
---|
480 | _widthtserx_ {87}
|
---|
481 | _widthtserx_ [l=mi] {192}
|
---|
482 | _heighttserx_ {17}
|
---|
483 |
|
---|
484 | _httpicontdategr_ {_httpimg_/tdategr.gif}
|
---|
485 | _httpicontdategr_ [l=mi] {_httpimg_/mtdategr.gif}
|
---|
486 | _httpicontdateof_ {_httpimg_/tdateof.gif}
|
---|
487 | _httpicontdateof_ [l=mi] {_httpimg_/mtdateof.gif}
|
---|
488 | _httpicontdateon_ {_httpimg_/tdateon.gif}
|
---|
489 | _httpicontdateon_ [l=mi] {_httpimg_/mtdateon.gif}
|
---|
490 | _widthtdatex_ {87}
|
---|
491 | _heighttdatex_ {17}
|
---|
492 |
|
---|
493 | _httpicontsubjgr_ {_httpimg_/tsubjgr.gif}
|
---|
494 | _httpicontsubjon_ {_httpimg_/tsubjon.gif}
|
---|
495 | _httpicontsubjof_ {_httpimg_/tsubjof.gif}
|
---|
496 | _widthtsubjx_ {87}
|
---|
497 | _heighttsubjx_ {17}
|
---|
498 |
|
---|
499 | _httpicontorggr_{_httpimg_/torggr.gif}
|
---|
500 | _httpicontorgon_{_httpimg_/torgon.gif}
|
---|
501 | _httpicontorgof_{_httpimg_/torgof.gif}
|
---|
502 | _widthtorgx_ {109}
|
---|
503 | _heighttorgx_ {17}
|
---|
504 |
|
---|
505 | _httpiconthowgr_{_httpimg_/thowgr.gif}
|
---|
506 | _httpiconthowon_{_httpimg_/thowon.gif}
|
---|
507 | _httpiconthowof_{_httpimg_/thowof.gif}
|
---|
508 | _widththowx_ {87}
|
---|
509 | _heightthowx_ {17}
|
---|
510 |
|
---|
511 | _httpiconttopicgr_{_httpimg_/ttopicgr.gif}
|
---|
512 | _httpiconttopicon_{_httpimg_/ttopicon.gif}
|
---|
513 | _httpiconttopicof_{_httpimg_/ttopicof.gif}
|
---|
514 | _widthttopicx_ {87}
|
---|
515 | _heightttopicx_ {17}
|
---|
516 |
|
---|
517 | _httpicontbrwsegr_{_httpimg_/tbrwsegr.gif}
|
---|
518 | _httpicontbrwseon_{_httpimg_/tbrwseon.gif}
|
---|
519 | _httpicontbrwseof_{_httpimg_/tbrwseof.gif}
|
---|
520 | _widthtbrwsex_ {87}
|
---|
521 | _heighttbrwsex_ {17}
|
---|
522 |
|
---|
523 | _httpicontsrchgr_ {_httpimg_/tsrchgr.gif}
|
---|
524 | _httpicontsrchgr_ [l=mi] {_httpimg_/mtsrchgr.gif}
|
---|
525 | _httpicontsrchof_ {_httpimg_/tsrchof.gif}
|
---|
526 | _httpicontsrchof_ [l=mi] {_httpimg_/mtsrchof.gif}
|
---|
527 | _httpicontsrchon_ {_httpimg_/tsrchon.gif}
|
---|
528 | _httpicontsrchon_ [l=mi] {_httpimg_/mtsrchon.gif}
|
---|
529 | _widthtsrchx_ {87}
|
---|
530 | _heighttsrchx_ {17}
|
---|
531 |
|
---|
532 | _httpicontsrchgr_[l=zh] {_httpimg_/zhtsrchgr.gif}
|
---|
533 | _httpicontsrchof_[l=zh] {_httpimg_/zhtsrchof.gif}
|
---|
534 | _httpicontsrchon_[l=zh] {_httpimg_/zhtsrchon.gif}
|
---|
535 | _widthtsrchx_[l=zh] {87}
|
---|
536 | _heighttsrchx_[l=zh] {17}
|
---|
537 |
|
---|
538 | _httpiconcontoff_[l=zh] {_httpimg_/zhcontoff.gif}
|
---|
539 | _httpiconconton_[l=zh] {_httpimg_/zhconton.gif}
|
---|
540 | _widthcontx_[l=zh] {76}
|
---|
541 | _heightcontx_[l=zh] {17}
|
---|
542 |
|
---|
543 | _httpiconhauth_[l=zh] {_httpimg_/zhh\_auth.gif}
|
---|
544 | _widthhauth_[l=zh] {200}
|
---|
545 | _heighthauth_[l=zh] {57}
|
---|
546 |
|
---|
547 | _httpicontlistgr_ {_httpimg_/tlistgr.gif}
|
---|
548 | _httpicontlistof_ {_httpimg_/tlistof.gif}
|
---|
549 | _httpicontliston_ {_httpimg_/tliston.gif}
|
---|
550 | _widthtlistx_ {87}
|
---|
551 | _heighttlistx_ {17}
|
---|
552 |
|
---|
553 | _httpiconttitlgr_ {_httpimg_/ttitlgr.gif}
|
---|
554 | _httpiconttitlof_ {_httpimg_/ttitlof.gif}
|
---|
555 | _httpiconttitlon_ {_httpimg_/ttitlon.gif}
|
---|
556 | _widthttitlx_ {87}
|
---|
557 | _heightttitlx_ {17}
|
---|
558 |
|
---|
559 | _httpiconttitlgr_[l=zh] {_httpimg_/zhttitlgr.gif}
|
---|
560 | _httpiconttitlof_[l=zh] {_httpimg_/zhttitlof.gif}
|
---|
561 | _httpiconttitlon_[l=zh] {_httpimg_/zhttitlon.gif}
|
---|
562 | _widthttitlx_[l=zh] {87}
|
---|
563 | _heightttitlx_[l=zh] {17}
|
---|
564 |
|
---|
565 | _httpicontpeopgr_ {_httpimg/tpeopgr.gif}
|
---|
566 | _httpicontpeopof_ {_httpimg/tpeopof.gif}
|
---|
567 | _httpicontpeopon_ {_httpimg/tpeopon.gif}
|
---|
568 | _widthtpeopx_ {97}
|
---|
569 | _heighttpeopx_ {17}
|
---|
570 |
|
---|
571 | _httpicontspace_ {_httpimg_/tspace.gif}
|
---|
572 | _heighttspace_ {17}
|
---|
573 |
|
---|
574 | _httpiconwarning_ {_httpimg_/warning.gif}
|
---|
575 | _widthwarning_ {30}
|
---|
576 | _heightwarning_ {29}
|
---|
577 |
|
---|
578 | _httpiconhabout_ {_httpimg_/h\_about.gif}
|
---|
579 | _httpiconhabout_ [l=mi] {_httpimg_/mh\_about.gif}
|
---|
580 | _widthhabout_ {200}
|
---|
581 | _widthhabout_ [l=mi] {262}
|
---|
582 | _heighthabout_ {57}
|
---|
583 |
|
---|
584 | _httpiconhhome_ {_httpimg_/h\_home.gif}
|
---|
585 | _widthhhome_ {200}
|
---|
586 | _heighthhome_ {57}
|
---|
587 |
|
---|
588 | _httpiconhname_ {_httpimg_/h\_name.gif}
|
---|
589 | _widthhname_ {200}
|
---|
590 | _heighthname_ {57}
|
---|
591 |
|
---|
592 | _httpicontnamegr_ {_httpimg_/tnamegr.gif}
|
---|
593 | _httpicontnameof_ {_httpimg_/tnameof.gif}
|
---|
594 | _httpicontnameon_ {_httpimg_/tnameon.gif}
|
---|
595 | _widthtnamex_ {95}
|
---|
596 | _heighttnamex_ {17}
|
---|
597 |
|
---|
598 | _httpiconarrrght_ {_httpimg_/arrrght.gif}
|
---|
599 | _widtharrrght_ {23}
|
---|
600 | _heightarrrght_ {15}
|
---|
601 |
|
---|
602 | _httpiconopenbook_ {_httpimg_/openbook.gif}
|
---|
603 | _widthopenbook_ {28}
|
---|
604 | _heightopenbook_ {23}
|
---|
605 |
|
---|
606 | _httpiconaopenbk_ {_httpimg_/aopenbk.gif}
|
---|
607 | _widthaopenbk_ {28}
|
---|
608 | _heightaopenbk_ {23}
|
---|
609 |
|
---|
610 | _httpiconopenfldr_ {_httpimg_/openfldr.gif}
|
---|
611 | _widthopenfldr_ {23}
|
---|
612 | _heightopenfldr_ {15}
|
---|
613 |
|
---|
614 | _httpiconaopenfdr_ {_httpimg_/aopenfdr.gif}
|
---|
615 | _widthaopenfdr_ {23}
|
---|
616 | _heightaopenfdr_ {15}
|
---|
617 |
|
---|
618 | _httpiconbook_ {_httpimg_/book.gif}
|
---|
619 | _widthbook_ {18}
|
---|
620 | _heightbook_ {11}
|
---|
621 |
|
---|
622 | _httpiconabook_ {_httpimg_/abook.gif}
|
---|
623 | _widthabook_ {18}
|
---|
624 | _heightabook_ {11}
|
---|
625 |
|
---|
626 | _httpiconbshelf_ {_httpimg_/bshelf.gif}
|
---|
627 | _widthbshelf_ {20}
|
---|
628 | _heightbshelf_ {16}
|
---|
629 |
|
---|
630 | _httpiconabshelf_ {_httpimg_/abshelf.gif}
|
---|
631 | _widthabshelf_ {20}
|
---|
632 | _heightabshelf_ {16}
|
---|
633 |
|
---|
634 | _httpiconsmtext_ {_httpimg_/smtext.gif}
|
---|
635 | _widthsmtext_ {23}
|
---|
636 | _heightsmtext_ {15}
|
---|
637 |
|
---|
638 | _httpiconasmtext_ {_httpimg_/asmtext.gif}
|
---|
639 | _widthasmtext_ {23}
|
---|
640 | _heightasmtext_ {15}
|
---|
641 |
|
---|
642 | _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
|
---|
643 | _widthclsdfldr_ {23}
|
---|
644 | _heightclsdfldr_ {15}
|
---|
645 |
|
---|
646 | _httpiconaclsdfdr_ {_httpimg_/aclsdfdr.gif}
|
---|
647 | _widthaclsdfdr_ {23}
|
---|
648 | _heightaclsdfdr_ {15}
|
---|
649 |
|
---|
650 | _httpiconhpref_[l=zh] {_httpimg_/zhh\_pref.gif}
|
---|
651 | _widthhpref_[l=zh] {200}
|
---|
652 | _heighthpref_[l=zh] {57}
|
---|
653 |
|
---|
654 | _httpiconhsearch_[l=zh] {_httpimg_/zhh\_sear.gif}
|
---|
655 | _widthhsearch_[l=zh] {200}
|
---|
656 | _heighthsearch_[l=zh] {57}
|
---|
657 |
|
---|
658 | _httpiconhtitle_[l=zh] {_httpimg_/zhh\_title.gif}
|
---|
659 | _widthhtitle_[l=zh] {200}
|
---|
660 | _heighthtitle_[l=zh] {57}
|
---|
661 |
|
---|
662 | _httpiconqryresb_[l=zh] {_httpimg_/zhqryresb.gif}
|
---|
663 | _widthqryresb_[l=zh] {537}
|
---|
664 | _heightqryresb_[l=zh] {17}
|
---|
665 |
|
---|
666 |
|
---|
667 | #######################################################################
|
---|
668 | # Icons
|
---|
669 | #
|
---|
670 | # Must not include links (so they can be used as links). If you want to
|
---|
671 | # include links use _image
|
---|
672 | #######################################################################
|
---|
673 |
|
---|
674 | _iconnext_{<img src="_httpiconmore_" align=absbottom
|
---|
675 | width=_widthmore_ height=_heightmore_ border=0 alt="_texticonnext_">}
|
---|
676 | _iconnext_[v=1] {_texticonnext_}
|
---|
677 |
|
---|
678 | _iconprev_{<img src="_httpiconless_" align=absbottom
|
---|
679 | width=_widthless_ height=_heightless_ border=0 alt="_texticonprev_">}
|
---|
680 | _iconprev_[v=1] {_texticonprev_}
|
---|
681 |
|
---|
682 | _icontabsearchgreen_ {<img
|
---|
683 | src="_httpicontsrchgr_" height=_heighttsrchx_ width=_widthtsrchx_ border=0>}
|
---|
684 | _icontabsearchgreen_[v=1] {_texticontabsearchgreen_}
|
---|
685 |
|
---|
686 | _icontabListgreen_ {<img
|
---|
687 | src="_httpicontlistgr_" height=_heighttlistx_ width=_widthtlistx_ border=0>}
|
---|
688 | _icontablistgreen_ [v=1] {_texticontablistgreen_}
|
---|
689 |
|
---|
690 | _icontabTitlegreen_ {<img
|
---|
691 | src="_httpiconttitlgr_" height=_heightttitlx_ width=_widthttitlx_ border=0>}
|
---|
692 | _icontabTitlegreen_[v=1] {_texticontabtitlegreen_}
|
---|
693 |
|
---|
694 | _icontabCreatorgreen_ {<img
|
---|
695 | src="_httpicontauthgr_" height=_heighttauthx_ width=_widthtauthx_ border=0>}
|
---|
696 | _icontabCreatorgreen_[v=1] {_texticontabauthorgreen_}
|
---|
697 |
|
---|
698 | _icontabSeriesgreen_ {<img
|
---|
699 | src="_httpicontsergr_" height=_heighttserx_ width=_widthtserx_ border=0>}
|
---|
700 | _icontabSeriesgreen_[v=1] {_texticontabseriesgreen_}
|
---|
701 |
|
---|
702 | _icontabDategreen_ {<img
|
---|
703 | src="_httpicontdategr_" height=_heighttdatex_ width=_widthtdatex_ border=0>}
|
---|
704 | _icontabDategreen_[v=1] {_texticontabdategreen_}
|
---|
705 |
|
---|
706 | _icontabSubjectgreen_ {<img
|
---|
707 | src="_httpicontsubjgr_" height=_heighttsubjx_ width=widthtsubjx_ border=0>}
|
---|
708 | _icontabSubjectgreen_[v=1] {_texticontabsubjectgreen_}
|
---|
709 |
|
---|
710 | _icontabHowtogreen_ {<img
|
---|
711 | src="_httpiconthowgr_" height=_heightthowx_ width=_widththowx_ border=0>}
|
---|
712 | _icontabHowtogreen_[v=1] {_texticontabhowgreen_}
|
---|
713 |
|
---|
714 | _icontabTopicgreen_ {<img
|
---|
715 | src="_httpiconttopicgr_" height=_heightttopicx_ width=_widthttopicx_ border=0>}
|
---|
716 | _icontabTopicgreen_[v=1] {_texticontabtopicgreen_}
|
---|
717 |
|
---|
718 | _icontabBrowsegreen_ {<img
|
---|
719 | src="_httpicontbrwsegr_" height=_heighttbrwsex_ width=_widthtbrwsex_ border=0>}
|
---|
720 | _icontabBrowsegreen_[v=1] {_texticontabbrwsegreen_}
|
---|
721 |
|
---|
722 | _icontabOrganizationgreen_ {<img
|
---|
723 | src="_httpicontorggr_" height=_heighttorggr_ width=_widthtorggr_ border=0>}
|
---|
724 | _icontabOrganizationgreen_[v=1] {_texticontaborggreen_}
|
---|
725 |
|
---|
726 | _icontabPeoplegreen_ {<img
|
---|
727 | src="_httpicontpeopgr_" height=_heighttpeopx_ width=_widthtpeopx_ border=0>}
|
---|
728 | _icontabPeoplegreen_[v=1] {_texticontabPeoplegreen_}
|
---|
729 |
|
---|
730 | _iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=6></center>}
|
---|
731 | _iconblankbar_[v=1] {<br><hr><br>}
|
---|
732 |
|
---|
733 | _icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width=_widthitext_ height=_heightitext_ alt="_texticontext_">}
|
---|
734 | _icontext_[v=1] {_texticontext_}
|
---|
735 |
|
---|
736 | _iconblanktext_ {<img border=0 align=absmiddle src="_httpiconibtext_" width=_widthibtext_ height=_heightibtext_>}
|
---|
737 | _iconblanktext_[v=1] {}
|
---|
738 |
|
---|
739 | _iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_">}
|
---|
740 | _iconclosedbook_ [v=1] {<small><b>_texticonclosedbook_: </b></small>}
|
---|
741 | _iconclosedbook_ [v=1,l=zh]{<small><_font_><b>_texticonclosedbook_: </b></font></small>}
|
---|
742 |
|
---|
743 |
|
---|
744 | #######################################################################
|
---|
745 | # Image links
|
---|
746 | #
|
---|
747 | # These might include a link (not like an _icon_
|
---|
748 | #######################################################################
|
---|
749 |
|
---|
750 |
|
---|
751 | _imageabout_ {<a href="_httppageabout_"
|
---|
752 | onMouseover = "img\_on('about')"
|
---|
753 | onMouseout = "img\_off('about')"><img name="about"
|
---|
754 | src="_httpiconcabtof_" width=_widthcabtx_ height=_heightcabtx_
|
---|
755 | border=0 alt="_textimageabout_"></a>}
|
---|
756 |
|
---|
757 | _imageabout_[v=1] {
|
---|
758 | <a href="_httppageabout_">_textimageabout_</a>
|
---|
759 | }
|
---|
760 |
|
---|
761 | _imagehome_ {<a href="_httppagehome_"
|
---|
762 | onMouseover = "img\_on('home')"
|
---|
763 | onMouseout = "img\_off('home')"><img name="home"
|
---|
764 | src="_httpiconchomeof_" width="_widthchomex_" height="_heightchomex_"
|
---|
765 | border="0" alt="_textimagehome_"></a>}
|
---|
766 |
|
---|
767 | _imagehome_[v=1] {
|
---|
768 | <a href="_httppagehome_">_textimagehome_</a>
|
---|
769 | }
|
---|
770 |
|
---|
771 |
|
---|
772 | _imagehelp_ {<a href="_httppagehelp_"
|
---|
773 | onMouseover = "img\_on('help')"
|
---|
774 | onMouseout = "img\_off('help')"><img name="help"
|
---|
775 | src="_httpiconchelpof_" width="_widthchelpx_" height="_heightchelpx_"
|
---|
776 | border="0" alt="_textimagehelp_"></a>}
|
---|
777 |
|
---|
778 | _imagehelp_[v=1] {
|
---|
779 | <a href="_httppagehelp_">_textimagehelp_</a>
|
---|
780 | }
|
---|
781 |
|
---|
782 |
|
---|
783 | _imagepref_ {<a href="_httppagepref_"
|
---|
784 | onMouseover = "img\_on('pref')"
|
---|
785 | onMouseout = "img\_off('pref')"><img name="pref"
|
---|
786 | src="_httpiconcprefof_" width="_widthcprefx_" height="_heightcprefx_" border="0" alt="_textimagepref_"></a>}
|
---|
787 |
|
---|
788 | _imagepref_[v=1] {
|
---|
789 | <a href="_httppagepref_">_textimagepref_</a>
|
---|
790 | }
|
---|
791 |
|
---|
792 | _imagegreenstone_ {<img src="_httpicongsdl_" width="_widthgsdl_" height="_heightgsdl_" border="0" alt="_textimagegreenstone_" hspace=0>}
|
---|
793 |
|
---|
794 | _imagegreenstone_[v=1] {_textimagegreenstone_}
|
---|
795 |
|
---|
796 |
|
---|
797 | ################################
|
---|
798 | # English Macros #
|
---|
799 | ################################
|
---|
800 |
|
---|
801 | # moved to english.dm
|
---|
802 |
|
---|
803 | ################################
|
---|
804 | # Maori Macros #
|
---|
805 | ################################
|
---|
806 |
|
---|
807 | # moved to maori.dm
|
---|
808 |
|
---|
809 |
|
---|
810 |
|
---|
811 |
|
---|
812 |
|
---|
813 |
|
---|
814 |
|
---|
815 |
|
---|
816 |
|
---|
817 |
|
---|
818 |
|
---|
819 |
|
---|
820 |
|
---|
821 |
|
---|
822 |
|
---|