1 | # this file must be UTF-8 encoded
|
---|
2 | #######################################################################
|
---|
3 | # GLOBAL MACROS
|
---|
4 | #######################################################################
|
---|
5 |
|
---|
6 | package Global
|
---|
7 |
|
---|
8 | ##########
|
---|
9 |
|
---|
10 | _optsite_ {}
|
---|
11 |
|
---|
12 |
|
---|
13 | ##########
|
---|
14 |
|
---|
15 | _htmlextra_ {}
|
---|
16 |
|
---|
17 | # now defined in nav_css/nav_ns4 macro files
|
---|
18 | #_starthighlight_ {<b><u>}
|
---|
19 | #_endhighlight_ {</u></b>}
|
---|
20 |
|
---|
21 | #######################################################################
|
---|
22 | # page content
|
---|
23 | #
|
---|
24 | # these should always be overridden for each page/collection
|
---|
25 | #######################################################################
|
---|
26 |
|
---|
27 | _content_ {<p><h2>oops</h2>
|
---|
28 | _textdefaultcontent_}
|
---|
29 | _pagetitle_ {_textdefaulttitle_}
|
---|
30 | _imagethispage_ {}
|
---|
31 | _iconcollection_ {}
|
---|
32 | _collectionname_ {}
|
---|
33 |
|
---|
34 |
|
---|
35 | package Global
|
---|
36 |
|
---|
37 |
|
---|
38 | _imagecollection_ {_If_("_iconcollection_" ne "",
|
---|
39 | <a href="_httppageabout_"><img class="icon" src="_iconcollection_" alt="_collectionname_" title="_collectionname_"></a>,
|
---|
40 | _imagecollectionv_)}
|
---|
41 | _imagecollection_ [v=1] {_imagecollectionv_}
|
---|
42 | _imagecollectionv_ {_If_(_collectionname_,<p class="collectiontitle"><a class="collectiontitle" href="_httppageabout_">_collectionname_</a></p>)}
|
---|
43 |
|
---|
44 | #######################################################################
|
---|
45 | # these width macros are read in by the server when calculating
|
---|
46 | # width of navigation bar etc. There should be one for each
|
---|
47 | # classification that this receptionist supports, one for the
|
---|
48 | # search button, and the _pagewidth_ macro which is the total width
|
---|
49 | # of the page
|
---|
50 | #######################################################################
|
---|
51 |
|
---|
52 | # width of tabs when displaying tables of contents
|
---|
53 | _tabwidth_ {25}
|
---|
54 |
|
---|
55 |
|
---|
56 | #_pagewidth_ {537}
|
---|
57 | _pagewidth_ {_If_(_cgiargtalkback_ eq 1,480,537)}
|
---|
58 |
|
---|
59 | # defaultwidth is the width buttons default to if not included in this list
|
---|
60 | _defaultwidth_ {87}
|
---|
61 | _searchwidth_ {_widthtsrchx_}
|
---|
62 |
|
---|
63 | #######################################################################
|
---|
64 | # Macros whose values are set from within the server at runtime. These
|
---|
65 | # are here only for reference and to set default values if required.
|
---|
66 | #######################################################################
|
---|
67 |
|
---|
68 | # _win32_ will be set to 1 if we're on windows
|
---|
69 | _win32_ {}
|
---|
70 |
|
---|
71 | # all cgi args are set as _cgiargX_ macros - those I've put here
|
---|
72 | # are those that need to default to something
|
---|
73 | _cgiargd_ {}
|
---|
74 | _cgiargcl_ {}
|
---|
75 |
|
---|
76 |
|
---|
77 | # set from within the query action
|
---|
78 | _hselection_ {}
|
---|
79 | _jselection_ {}
|
---|
80 | _nselection_ {}
|
---|
81 | #level (granularity) selection for mgpp
|
---|
82 | _gselection_ {}
|
---|
83 | #level selection for form searching - dont have paragraph
|
---|
84 | _gformselection_ {_gselection_}
|
---|
85 | _fqfselection_ {}
|
---|
86 | # sort field for lucene
|
---|
87 | _sfselection_ {}
|
---|
88 | # sort field for sql
|
---|
89 | _sqlsfselection_ {}
|
---|
90 |
|
---|
91 | #######################################################################
|
---|
92 | # navigation bar
|
---|
93 | #
|
---|
94 | #######################################################################
|
---|
95 | # Most of the stuff to do with navigation bars is now defined in nav_css.dm
|
---|
96 | # and nav_ns4.dm
|
---|
97 |
|
---|
98 | _dynamicclassifiernavbarentries_ {}
|
---|
99 | _navigationbar_ {}
|
---|
100 | _widthtspace_ {2}
|
---|
101 |
|
---|
102 | _navlinktitle_ {_If_("_label_1__" eq "\_label_1_\_",_1_,_label_1__)}
|
---|
103 | _navlinkalt_ {_If_("_textdescr_1__" ne "\_textdescr_1_\_", _textdescr_1__, _If_("_text_1__" eq "\_text_1_\_",_textdescrdefault_(_1_),_textdescrdefault_(_text_1__)) }
|
---|
104 |
|
---|
105 | #######################################################################
|
---|
106 | # global navigation links
|
---|
107 | #######################################################################
|
---|
108 |
|
---|
109 | # _globallinks_ is now defined in nav_css and nav_ns4 macro files
|
---|
110 |
|
---|
111 | #######################################################################
|
---|
112 | # general web macros
|
---|
113 | #######################################################################
|
---|
114 |
|
---|
115 | _gsdltop_ {_top}
|
---|
116 |
|
---|
117 | #######################################################################
|
---|
118 | # http macros
|
---|
119 | #
|
---|
120 | # These contain the url without any quotes
|
---|
121 | #######################################################################
|
---|
122 |
|
---|
123 | # _httpprefix_ and _httpweb_ defined by the server
|
---|
124 | _httpimages_ {_httpweb_/images}
|
---|
125 | _httpscript_ {_httpweb_/script}
|
---|
126 | _httpstyle_ {_httpweb_/style}
|
---|
127 | _httpflash_ {_httpweb_/flash}
|
---|
128 | _httpjava_ {_httpweb_/java}
|
---|
129 |
|
---|
130 | # old macros, for backwards compatibility
|
---|
131 | _httpimg_ {_httpimages_}
|
---|
132 |
|
---|
133 | # collection versions of the same directories
|
---|
134 | _httpcimages_ {_httpcollection_/images}
|
---|
135 | _httpcscript_ {_httpcollection_/script}
|
---|
136 | _httpcstyle_ {_httpcollection_/style}
|
---|
137 | _httpcflash_ {_httpcollection_/flash}
|
---|
138 | _httpcjava_ {_httpcollection_/java}
|
---|
139 |
|
---|
140 | _httpassocdir_ {_httpcollection_/index/assoc}
|
---|
141 | _httpdocimg_ {_httpassocdir_/_thisOID_}
|
---|
142 | # old macros, for backwards compatibility
|
---|
143 | _httpcollimg_ {_httpcollection_/index/assoc}
|
---|
144 |
|
---|
145 | _httpcollection_ {_httpprefix_/collect/_cgiargcUrlsafe_}
|
---|
146 |
|
---|
147 | _httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_}
|
---|
148 | _httppagestatus_ {_gwcgi_?e=_compressedoptions_&a=status&p=frameset}
|
---|
149 | _httppagetranslator_ {_gwcgi_?e=_compressedoptions_&a=gti&p=home}
|
---|
150 | _httppagecollector_ {_gwcgi_?e=_compressedoptions_&a=collector&p=intro}
|
---|
151 | _httppagedepositor_ {_gwcgi_?e=_compressedoptions_&a=depositor&p=select}
|
---|
152 | _httppagedepositorcurrentcollection_{_gwcgi_?e=_compressedoptions_&a=depositor&c=_cgiargcUrlsafe_&p=step1&di1dirname=_cgiargcUrlsafe_&di1buildtype=_getbuildtypestring_(_cgiargct_)&di1local=1&di1cache=_depositor:cacheoption_}
|
---|
153 |
|
---|
154 | _getbuildtypestring_{_If_("_1_" eq "0",mg)_If_("_1_" eq "1",mgpp)_If_("_1_" eq "2",lucene)}
|
---|
155 | _httppagegli_ {_httppagex_(gli)}
|
---|
156 | _httppageabout_ {_httppagex_(about)}
|
---|
157 | #_httppagehome_ {_httppagex_(home)}
|
---|
158 | ###_httppagehome_ {http://www.nzdl.org/cgi-bin/dblibrary?a=p&p=home}
|
---|
159 | _httppagehome_ {_gwcgi_?a=p&p=home&l=_cgiarglUrlsafe_&w=_cgiargwUrlsafe_}
|
---|
160 | _httppagehelp_ {_httppagex_(help)}
|
---|
161 | _httppagepref_ {_httppagex_(preferences)}
|
---|
162 | _httppagedocs_ {_httppagex_(docs)}
|
---|
163 | _httpclearhistory_ {_gwcgi_?e=_compressedoptions_&a=dh}
|
---|
164 |
|
---|
165 | _httpgreenstone_ {_httppagex_(gsdl)}
|
---|
166 | _httpdownload_ {http://www.nzdl.org/download}
|
---|
167 | _httppublications_ {_httpdownload_/greenstone/publications}
|
---|
168 |
|
---|
169 | _httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargclUrlsafe_&d=_cgiargdUrlsafe_}
|
---|
170 | _httpquery_ {_gwcgi_?e=_compressedoptions_&a=_If_("_cgiargqt_" eq "2",sqlq,q)}
|
---|
171 | _httpsqlquery_ {_gwcgi_?e=_compressedoptions_&a=sqlq&qt=2}
|
---|
172 | _httpBrowse_ {_gwcgi_?e=_compressedoptions_&a=br}
|
---|
173 |
|
---|
174 | # _httpdoc_ is the same as _httpdocument_ - _httpdocument_
|
---|
175 | # may occasionally be altered by the server however
|
---|
176 | _httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d}
|
---|
177 | _httpdoc_ {_gwcgi_?e=_compressedoptions_&a=d}
|
---|
178 |
|
---|
179 | #_httpdocumenthandle_ {_httpprefix_handle/_1_/_2_}
|
---|
180 | _httpdocumenthandle_ {_httpprefix_/collect/_1_/document/_2_}
|
---|
181 |
|
---|
182 | #httpsamepagelink is for Greenstone 3 (which uses RESTful urls),
|
---|
183 | #leaving it empty for Greenstone 2 operates correctly, as it doesn't use RESTful urls.
|
---|
184 | _httpsamepagelink_ {}
|
---|
185 | _httpextlink_ {_gwcgi_?e=_compressedoptions_&a=extlink}
|
---|
186 | _httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc}
|
---|
187 |
|
---|
188 | # this is obsolete now (still used by collector). done by stylesheet instead
|
---|
189 | _httpiconchalk_ {_httpimg_/chalk.gif}
|
---|
190 | _widthchalk_ {2000}
|
---|
191 | _heightchalk_ {10}
|
---|
192 |
|
---|
193 | _httpicondivb_ {_httpimg_/divb.gif}
|
---|
194 | # these sizes are obsolete, now done in style sheet
|
---|
195 | _widthdivb_ {_pagewidth_}
|
---|
196 | _heightdivb_ {17}
|
---|
197 |
|
---|
198 | _httpicongsdl_ {_httpimg_/gsdl.gif}
|
---|
199 | _widthgsdl_ {140}
|
---|
200 | _heightgsdl_ {77}
|
---|
201 |
|
---|
202 | _httpiconitext_ {_httpimg_/itext.gif}
|
---|
203 | _widthitext_ {16}
|
---|
204 | _heightitext_ {21}
|
---|
205 |
|
---|
206 | _httpiconiworld_ {_httpimg_/iworld.gif}
|
---|
207 | _widthiworld_ {16}
|
---|
208 | _heightiworld_ {21}
|
---|
209 |
|
---|
210 | _httpiconiunknown_ {_httpimg_/iunknown.gif}
|
---|
211 | _widthiunknown_ {16}
|
---|
212 | _heightiunknown_ {21}
|
---|
213 |
|
---|
214 | _httpiconibtext_ {_httpimg_/ibtext.gif}
|
---|
215 | _widthibtext_ {16}
|
---|
216 | _heightibtext_ {21}
|
---|
217 |
|
---|
218 | _httpiconimpegvideo_ {_httpimg_/impegvid.gif}
|
---|
219 | _widthimpegvideo_ {29}
|
---|
220 | _heightimpegvideo_ {32}
|
---|
221 |
|
---|
222 | _httpiconiqtvideo_ {_httpimg_/iqtvideo.gif}
|
---|
223 | _widthiqtvideo_ {29}
|
---|
224 | _heightiqtvideo_ {32}
|
---|
225 |
|
---|
226 | _httpiconirmvideo_ {_httpimg_/irmvideo.gif}
|
---|
227 | _widthirmvideo_ {29}
|
---|
228 | _heightirmvideo_ {32}
|
---|
229 |
|
---|
230 | _httpiconless_ {_httpimg_/less.gif}
|
---|
231 | _widthless_ {30}
|
---|
232 | _heightless_ {16}
|
---|
233 |
|
---|
234 | _httpiconmore_ {_httpimg_/more.gif}
|
---|
235 | _widthmore_ {30}
|
---|
236 | _heightmore_ {16}
|
---|
237 |
|
---|
238 | _httpiconspacer_ {_httpimg_/spacer.gif}
|
---|
239 | _widthspacer_ {42}
|
---|
240 | _heightspacer_ {4}
|
---|
241 |
|
---|
242 | _httpicontabspace_ {_httpimg_/tabspace.gif}
|
---|
243 | _widthtabspace_ {23}
|
---|
244 | _heighttabspace_ {1}
|
---|
245 |
|
---|
246 | _httpicontspace_ {_httpimg_/bg_green.png}
|
---|
247 | _heighttspace_ {17}
|
---|
248 |
|
---|
249 | _httpiconwarning_ {_httpimg_/warning.gif}
|
---|
250 | _widthwarning_ {30}
|
---|
251 | _heightwarning_ {29}
|
---|
252 |
|
---|
253 | _widthhhome_ {200}
|
---|
254 | _heighthhome_ {57}
|
---|
255 |
|
---|
256 | _httpiconarrrght_ {_httpimg_/arrrght.gif}
|
---|
257 | _widtharrrght_ {23}
|
---|
258 | _heightarrrght_ {15}
|
---|
259 |
|
---|
260 | _httpiconopenbook_ {_httpimg_/openbook.gif}
|
---|
261 | _widthopenbook_ {28}
|
---|
262 | _heightopenbook_ {23}
|
---|
263 |
|
---|
264 | _httpiconaopenbk_ {_httpimg_/aopenbk.gif}
|
---|
265 | _widthaopenbk_ {28}
|
---|
266 | _heightaopenbk_ {23}
|
---|
267 |
|
---|
268 | _httpiconopenfldr_ {_httpimg_/openfldr.gif}
|
---|
269 | _widthopenfldr_ {23}
|
---|
270 | _heightopenfldr_ {15}
|
---|
271 |
|
---|
272 | _httpiconaopenfdr_ {_httpimg_/aopenfdr.gif}
|
---|
273 | _widthaopenfdr_ {23}
|
---|
274 | _heightaopenfdr_ {15}
|
---|
275 |
|
---|
276 | _httpiconbook_ {_httpimg_/book.gif}
|
---|
277 | _widthbook_ {18}
|
---|
278 | _heightbook_ {11}
|
---|
279 |
|
---|
280 | _httpiconabook_ {_httpimg_/abook.gif}
|
---|
281 | _widthabook_ {18}
|
---|
282 | _heightabook_ {11}
|
---|
283 |
|
---|
284 | _httpiconbshelf_ {_httpimg_/bshelf.gif}
|
---|
285 | _widthbshelf_ {20}
|
---|
286 | _heightbshelf_ {16}
|
---|
287 |
|
---|
288 | _httpiconabshelf_ {_httpimg_/abshelf.gif}
|
---|
289 | _widthabshelf_ {20}
|
---|
290 | _heightabshelf_ {16}
|
---|
291 |
|
---|
292 | _httpiconsmtext_ {_httpimg_/smtext.gif}
|
---|
293 | _widthsmtext_ {23}
|
---|
294 | _heightsmtext_ {15}
|
---|
295 |
|
---|
296 | _httpiconasmtext_ {_httpimg_/asmtext.gif}
|
---|
297 | _widthasmtext_ {23}
|
---|
298 | _heightasmtext_ {15}
|
---|
299 |
|
---|
300 | _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
|
---|
301 | _widthclsdfldr_ {23}
|
---|
302 | _heightclsdfldr_ {15}
|
---|
303 |
|
---|
304 | _httpiconaclsdfdr_ {_httpimg_/aclsdfdr.gif}
|
---|
305 | _widthaclsdfdr_ {23}
|
---|
306 | _heightaclsdfdr_ {15}
|
---|
307 |
|
---|
308 | _httpiconimidi_ {_httpimg_/imidi.gif}
|
---|
309 | _widthimidi_ {16}
|
---|
310 | _heightimidi_ {21}
|
---|
311 |
|
---|
312 | _httpiconimsword_ {_httpimg_/imsword.gif}
|
---|
313 | _widthimsword_ {26}
|
---|
314 | _heightimsword_ {26}
|
---|
315 |
|
---|
316 | _httpiconimp3_ {_httpimg_/imp3.gif}
|
---|
317 | _widthimp3_ {25}
|
---|
318 | _heightimp3_ {20}
|
---|
319 |
|
---|
320 | _httpiconiogg_ {_httpimg_/iogg.gif}
|
---|
321 | _widthiogg_ {32}
|
---|
322 | _heightiogg_ {30}
|
---|
323 |
|
---|
324 | _httpiconipdf_ {_httpimg_/ipdf.gif}
|
---|
325 | _widthipdf_ {26}
|
---|
326 | _heightipdf_ {26}
|
---|
327 |
|
---|
328 | _httpiconips_ {_httpimg_/ips.gif}
|
---|
329 | _widthips_ {25}
|
---|
330 | _heightips_ {32}
|
---|
331 |
|
---|
332 | _httpiconippt_ {_httpimg_/ippt.gif}
|
---|
333 | _widthippt_ {32}
|
---|
334 | _heightippt_ {30}
|
---|
335 |
|
---|
336 | _httpiconirtf_ {_httpimg_/irtf.gif}
|
---|
337 | _widthirtf_ {29}
|
---|
338 | _heightirtf_ {32}
|
---|
339 |
|
---|
340 | _httpiconixls_ {_httpimg_/iexcel.gif}
|
---|
341 | _widthixls_ {32}
|
---|
342 | _heightixls_ {30}
|
---|
343 |
|
---|
344 | _httpiconspace_ {_httpimg_/space.gif}
|
---|
345 |
|
---|
346 | #######################################################################
|
---|
347 | # Icons
|
---|
348 | #
|
---|
349 | # Must not include links (so they can be used as links). If you want to
|
---|
350 | # include links use _image
|
---|
351 | #######################################################################
|
---|
352 |
|
---|
353 | _iconnext_{<img src="_httpiconmore_" align="absbottom"
|
---|
354 | width="_widthmore_" height="_heightmore_" border="0" alt="_texticonnext_" title="_texticonnext_">}
|
---|
355 | _iconnext_[v=1] {_texticonnext_}
|
---|
356 |
|
---|
357 | _iconprev_{<img src="_httpiconless_" align="absbottom"
|
---|
358 | width="_widthless_" height="_heightless_" border="0" alt="_texticonprev_" title="_texticonprev_">}
|
---|
359 | _iconprev_[v=1] {_texticonprev_}
|
---|
360 |
|
---|
361 | _icontext_ {<img class="icon" src="_httpiconitext_" width="_widthitext_" height="_heightitext_" alt="_texticontext_" title="_texticontext_">}
|
---|
362 | _icontext_[v=1] {_texticontext_}
|
---|
363 |
|
---|
364 | _iconworld_ {<img class="icon" src="_httpiconiworld_" width="_widthiworld_" height="_heightiworld_" alt="_texticonworld_" title="_texticonworld_">}
|
---|
365 | _iconworld_[v=1] {_texticonworld_}
|
---|
366 |
|
---|
367 | _iconunknown_ {<img class="icon" src="_httpiconiunknown_" width="_widthiunknown_" height="_heightiunknown_" alt="_texticonunknown_" title="_texticonunknown_">}
|
---|
368 | _iconunknown_[v=1] {_texticonunknown_}
|
---|
369 |
|
---|
370 | _iconblanktext_ {<img class="icon" src="_httpiconibtext_" width="_widthibtext_" height="_heightibtext_">}
|
---|
371 | _iconblanktext_[v=1] {}
|
---|
372 |
|
---|
373 | _iconclosedbook_ {<img class="icon" src="_httpiconbook_" width="_widthbook_" height="_heightbook_" alt="_texticonclosedbook_" title="_texticonclosedbook_">}
|
---|
374 | _iconclosedbook_ [v=1] {<small><b>_texticonclosedbook_: </b></small>}
|
---|
375 | _iconclosedbook_ [v=1,l=zh]{<small><_font_><b>_texticonclosedbook_: </b></font></small>}
|
---|
376 |
|
---|
377 | _icondoc_ {<img class="icon" src="_httpiconimsword_" width="_widthimsword_" height="_heightimsword_" alt="_texticonmsword_" title="_texticonmsword_">}
|
---|
378 | _icondoc_[v=1] {_texticonmsword_}
|
---|
379 |
|
---|
380 | _iconmp3_ {<img class="icon" src="_httpiconimp3_" width="_widthimp3_" height="_heightimp3_" alt="_texticonmp3_" title="_texticonmp3_">}
|
---|
381 | _iconmp3_[v=1] {_texticonmp3_}
|
---|
382 |
|
---|
383 | _iconmidi_ {<img class="icon" src="_httpiconimidi_" width="_widthimidi_" height="_heightimidi_" alt="_texticonmidi_" title="_texticonmidi_">}
|
---|
384 | _iconmidi_[v=1] {_texticonmidi_}
|
---|
385 |
|
---|
386 | _iconogg_ {<img class="icon" src="_httpiconiogg_" width="_widthiogg_" height="_heightiogg_" alt="_texticonogg_" title="_texticonogg_">}
|
---|
387 | _iconogg_[v=1] {_texticonogg_}
|
---|
388 |
|
---|
389 | _iconpdf_ {<img class="icon" src="_httpiconipdf_" width="_widthipdf_" height="_heightipdf_" alt="_texticonpdf_" title="_texticonpdf_">}
|
---|
390 | _iconpdf_[v=1] {_texticonpdf_}
|
---|
391 |
|
---|
392 | _iconps_ {<img class="icon" src="_httpiconips_" width="_widthips_" height="_heightips_" alt="_texticonps_" title="_texticonps_">}
|
---|
393 | _iconps_[v=1] {_texticonps_}
|
---|
394 |
|
---|
395 | _iconppt_ {<img class="icon" src="_httpiconippt_" width="_widthippt_" height="_heightippt_" alt="_texticonppt_" title="_texticonppt_">}
|
---|
396 | _iconppt_[v=1] {_texticonppt_}
|
---|
397 |
|
---|
398 | _iconrmvideo_ {<img class="icon" src="_httpiconirmvideo_" width="_widthirmvideo_" height="_heightirmvideo_" alt="_texticonrmvideo_" title="_texticonrmvideo_">}
|
---|
399 | _iconrmvideo_[v=1] {_texticonrmvideo_}
|
---|
400 |
|
---|
401 | _iconrtf_ {<img class="icon" src="_httpiconirtf_" width="_widthirtf_" height="_heightirtf_" alt="_texticonrtf_" title="_texticonrtf_">}
|
---|
402 | _iconrtf_[v=1] {_texticonrtf_}
|
---|
403 |
|
---|
404 | _iconxls_ {<img class="icon" src="_httpiconixls_" width="_widthixls_" height="_heightixls_" alt="_texticonxls_" title="_texticonxls_">}
|
---|
405 | _iconxls_[v=1] {_texticonxls_}
|
---|
406 |
|
---|
407 | _icondocx_ {_icondoc_}
|
---|
408 | _icondocx_[v=1] {_icondoc_}
|
---|
409 |
|
---|
410 | _iconpptx_ {_iconppt_}
|
---|
411 | _iconpptx_[v=1] {_iconppt_}
|
---|
412 |
|
---|
413 | _iconxlsx_ {_iconxls_}
|
---|
414 | _iconxlsx_[v=1] {_iconxls_}
|
---|
415 |
|
---|
416 |
|
---|
417 | #######################################################################
|
---|
418 | # Image links
|
---|
419 | #
|
---|
420 | # These might include a link (not like an _icon_
|
---|
421 | #######################################################################
|
---|
422 |
|
---|
423 |
|
---|
424 | _imagegreenstone_ {<img class="icon" src="_httpicongsdl_" width="_widthgsdl_" height="_heightgsdl_" alt="_textdescrgreenstone_" title="_textdescrgreenstone_">}
|
---|
425 |
|
---|
426 | _imagegreenstone_[v=1] {_textdescrgreenstone_}
|
---|
427 |
|
---|
428 |
|
---|
429 | ###########################################################################
|
---|
430 | # Metadata formatting stuff
|
---|
431 | #
|
---|
432 | #
|
---|
433 | ###########################################################################
|
---|
434 | package format
|
---|
435 |
|
---|
436 | # _1_ is Year, _2_ is month, _3_ is day
|
---|
437 | _date_ {_If_("_3_" ne "",_3_ )_If_("_2_" ne "",_textmonth_2__ )_If_("_1_" ne "",_1_)}
|
---|
438 |
|
---|