source: trunk/gsdl/macros/base.dm@ 7345

Last change on this file since 7345 was 7343, checked in by jrm21, 20 years ago

added a comment at the start of all macro files about using UTF-8

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 27.8 KB
Line 
1# this file must be UTF-8 encoded
2#######################################################################
3# GLOBAL MACROS
4#######################################################################
5
6package Global
7
8##########
9
10_optsite_ {}
11
12
13##########
14
15_htmlextra_ {}
16
17#_starthighlight_ {<b><u>}
18#_endhighlight_ {</u></b>}
19
20_starthighlight_ {<span style="background: #FFFF77">}
21_endhighlight_ {</span>}
22
23#######################################################################
24# page content
25#
26# these should always be overridden for each page/collection
27#######################################################################
28
29_content_ {<p><h2>oops</h2>
30_textdefaultcontent_}
31_pagetitle_ {_textdefaulttitle_}
32_imagethispage_ {}
33_iconcollection_ {}
34_collectionname_ {}
35
36package Usability
37
38_content_ {
39<h2>_textaboutusabilitytitle_</h2>
40<p>_textaboutusability_
41}
42_pagetitle_{_textaboutusabilitypagetitle_}
43
44package Privacy
45_content_ {
46<h2>_textaboutprivacytitle_</h2>
47<p>_textaboutprivacy_
48}
49_pagetitle_{_textaboutprivacypagetitle_}
50
51package Global
52
53
54_imagecollection_ {_If_("_iconcollection_" ne "",
55<a href="_httppageabout_"><img src="_iconcollection_" border=0 title="_collectionname_"></a>,
56_imagecollectionv_}
57_imagecollection_ [v=1] {_imagecollectionv_}
58_imagecollectionv_ {_If_(_collectionname_,<br><br><h2><a href="_httppageabout_">_collectionname_</a></h2>)}
59
60#######################################################################
61# these width macros are read in by the server when calculating
62# width of navigation bar etc. There should be one for each
63# classification that this receptionist supports, one for the
64# search button, and the _pagewidth_ macro which is the total width
65# of the page
66#######################################################################
67
68# width of tabs when displaying tables of contents
69_tabwidth_ {25}
70
71_pagewidth_ {537}
72# defaultwidth is the width buttons default to if not included in this list
73# but you need to define a _METAwidth_ tag as the server tests that it exists!
74_defaultwidth_ {87}
75_searchwidth_ {_widthtsrchx_}
76_Titlewidth_ {_widthttitlx_}
77_Collagewidth_ {_widthtcollx_}
78_Descriptionwidth_ {_widthtdescx_}
79_Listwidth_ {_widthtlistx_}
80_Creatorwidth_ {_widthtauthx_}
81_Serieswidth_ {_widthtserx_}
82_Datewidth_ {_widthtdatex_}
83_Subjectwidth_ {_widthtsubjx_}
84_Towidth_ {_widthttox_}
85_Fromwidth_ {_widthtfromx_}
86_Organizationwidth_ {_widthtorgx_}
87_Howtowidth_ {_widththowx_}
88_Topicwidth_ {_widthttopicx_}
89_Browsewidth_ {_widthtbrwsex_}
90_Peoplewidth_ {_widthtpeopx_}
91_Languagewidth_ {_widthtlangx_}
92_Acronymwidth_ {_widthtacrox_}
93_Phrasewidth_ {_widthtphrsex_}
94_Artistwidth_ {_widthtartstx_}
95_Sourcewidth_ {_widthtsrcx_}
96_Keywordwidth_ {_widthtkwx_}
97_Volumewidth_ {_widthtvolx_}
98_Captionswidth_ {_widthtcaptx_}
99_Countrieswidth_ {_widthcountx_}
100
101#######################################################################
102# Macros whose values are set from within the server at runtime. These
103# are here only for reference and to set default values if required.
104#######################################################################
105
106# _win32_ will be set to 1 if we're on windows
107_win32_ {}
108
109_navigationbar_ {}
110_widthtspace_ {2}
111
112_usability_ {}
113
114# all cgi args are set as _cgiargX_ macros - those I've put here
115# are those that need to default to something
116_cgiargd_ {}
117_cgiargcl_ {}
118
119# set from within the query action
120_hselection_ {}
121_jselection_ {}
122_nselection_ {}
123#level (granularity) selection for mgpp
124_gselection_ {}
125#level selection for form searching - dont have paragraph
126_gformselection_ {_gselection_}
127_fqfselection_ {}
128
129#######################################################################
130# flashy rollover image macro
131#
132#######################################################################
133
134# imagescript should always be included in html header if there are
135# flashy images on the page
136_imagescript_ {
137var loaded = new Array();
138function gbutton (image, onimage) \{
139 if (image && image.src && (image.out == null || typeof(image.out) == typeof(void(0)))) \{
140 s = image.src;
141 image.out = new Image();
142 image.out.src = s;
143 image.over = new Image();
144 image.over.src = onimage;
145 loaded[image.name] = image;
146 \}
147\}
148
149function roll (imagename, over) \{
150 if (document.images) \{
151 if (over) i = "over";
152 else i = "out";
153 image = loaded[imagename];
154 if (image) image.src = eval("image."+i+".src");
155 \}
156\}
157}
158
159# gsimage should be used to define an instance of a flashy image
160# parameters are:
161# 1. the url to go to when the button is clicked
162# 2. the url of the "off" image
163# 3. the url of the "on" image
164# 4. the name of the image (must be unique)
165# 5. image alt text
166_gsimage_ {<a href="_1_" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);"><img
167name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_" title="_5_"></a>}
168
169_gsimage_ [v=1] {<a href="_1_">_5_</a><br>}
170
171_usabilityscript_ {}
172
173_usabshowscript_ {
174
175//this is for where something goes wrong and an error message has to be shown.
176function failnicely(message,usabwindow)\{
177 var errhtml='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
178 errhtml+='<head><title>_greenstoneusabilitytext__texterror_</title><meta http-equiv="Content-Type" content="text/html; charset=_cgiargw_"></head><body bgcolor="#FFFFFF">';
179 errhtml+='_usabbanner_';
180 errhtml+=message;
181 errhtml+='<p><form action=""><input type="button" value="_textclosewindow_" onClick="window.close();"></form>';
182 errhtml+='</body></html>';
183 usabwindow.document.write(errhtml);
184 usabwindow.document.close();
185\}
186
187function usabilityfunction()\{
188
189 checkusab=window.open("","checkusab","scrollbars=1,toolbars=0,height=600,width=420");
190
191 //set up the window
192 var winhtml='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
193 winhtml += '<html><head><title>_greenstoneusabilitytext_</title>';
194 winhtml += '<script type="text/javascript">\\n';
195
196 //this function is for getting the time when the complaint data is sent
197 winhtml += 'function gettime()\\{\\n';
198 winhtml += 'document.usabform.sendtime.value = (new Date()).toString();\\n'
199 winhtml+='\\}\\n';
200
201 //this function is to allow the user to track the usability report
202 winhtml+='function viewdetails()\\{\\n';
203 winhtml+='\\t alert(\\'_textunderdev_\\');\\}';
204
205 //this function is to show the privacy/about data in a new window
206 winhtml+='function infowindow(url)\\{ \\
207 infowin = window.open(url,\\'infowin\\',\\'toolbars=0, height=600, width=600\\'); \\
208 \\}';
209
210 winhtml += '</script>';
211 if(navigator.appName!="Netscape" || parseInt(navigator.appVersion)>=5)\{
212 winhtml += '_usabstyle_';
213 \}
214
215 //need a character type for valid html
216 winhtml+='<meta http-equiv="Content-Type" content="text/html; charset=_cgiargw_"></head><body bgcolor=\"#FFFFFF\">';
217
218 //get the location of the cgi program
219 cgiloc='_gwcgi_';
220 if(cgiloc.lastIndexOf("/")<0)\{
221 failnicely('_cannotfindcgierror_', checkusab);
222 return;
223 \}
224 cgiloc=cgiloc.substring(0,(cgiloc.lastIndexOf("/")+1));
225 cgiloc+='perl.cgi';
226
227 //adds the banner with the koru-thing and the links to about and privacy
228 //information
229 winhtml+='_usabbanner_';
230 winhtml+='_aboutprivacylinks_';
231
232
233 // set up the form
234 winhtml += '<form name="usabform" method="post" action="'+cgiloc+'" onSubmit="gettime();">';
235 winhtml += '_usabinterface_';
236
237
238 //get javascript environment variables
239
240 // to replace &s in the URL with &amp;s
241 urlgs=new String(window.location);
242 a=urlgs.split("&");
243 urlgs=a.join("&amp;");
244 winhtml+=('<input type="hidden" name="URL" value="'+urlgs+'">');
245
246 winhtml+=('<input type="hidden" name="resolution" value="'+window.screen.width+'x'+window.screen.height+'">');
247 winhtml+=('<input type="hidden" name="screencolour" value="'+window.screen.color+'">');
248
249 //colordepth and pixeldepth are NS and IE versions of the same thing.
250 if(screen.colorDepth)\{
251 winhtml+=('<input type="hidden" name="pixeldepth" value="'+window.screen.colorDepth+'">');
252 \}
253 else\{
254 winhtml+=('<input type="hidden" name="pixeldepth" value="'+window.screen.pixelDepth+'">');
255 \}
256
257 winhtml+=('<input type="hidden" name="browser" value="'+navigator.platform+' ,'+navigator.appName+', '+navigator.appVersion+', '+navigator.appCodeName+', '+navigator.appUserAgent+'">');
258 winhtml+=('<input type="hidden" name="language" value="'+navigator.language+'">');
259 winhtml+=('<input type="hidden" name="opentime" value="'+(new Date()).toString()+'">');
260 winhtml+=('<input type="hidden" name="sendtime" value="None">');
261 winhtml+=('<input type="hidden" name="collection" value="_cgiargc_">');
262 if(document.getElementsByTagName)\{
263 //get interface variables
264 if(document.getElementsByTagName("form"))\{
265 docarray=document.getElementsByTagName("input");
266 if(docarray.length>0)\{
267 for(i=0; i<docarray.length; i++)\{
268 //this leaves out uninteresting inputs, such as buttons
269 //and unchecked checkboxes
270 if(docarray[i].type!='reset' && docarray[i].type!='button' &&
271 docarray[i].type!='image' && docarray[i].type!='submit'
272 && !((docarray[i].type=='radio'|| docarray[i].type=='checkbox') &&
273 !docarray[i].checked))\{
274 winhtml+=('<input type="hidden" name="'+docarray[i].type+'-'+docarray[i].name+'" value="'+docarray[i].value+'">');
275 \}
276 \}
277 \}
278 docarray=document.getElementsByTagName("select")
279 if(docarray.length>0)\{
280 for(i=0; i<docarray.length; i++)\{
281 winhtml+=('<input type="hidden" name="'+docarray[i].type+'-'+docarray[i].name+'" value="'+docarray[i].value+'">');
282 \}
283 \}
284 docarray=document.getElementsByTagName("textarea")
285 if(docarray.length>0)\{
286 for(i=0; i<docarray.length; i++)\{
287 winhtml+=('<input type="hidden" name="'+docarray[i].type+'-'+docarray[i].name+'" value="'+docarray[i].value+'">');
288 \}
289 \}
290 \}
291 \}
292 //finish the form
293 winhtml += '</form>';
294
295 winhtml +='</body></html>'
296
297
298 //write to the window
299 checkusab.document.write(winhtml);
300 checkusab.document.close();
301 return;
302
303\}
304}
305
306#####################################################################
307#
308# These macros are for use by the usability logging (I'd like to
309# complain) functionality - they are to be included in a JavaScript
310# string, hence the \s
311#
312#####################################################################
313
314_usabinterface_{}
315
316#the banner to "brand" any boxes as part of the usability interface
317_usabbanner_{<table width=\"100%\"><tr><td><h1>_greenstoneusabilitytext_</h1></td><td align="right" width="135"><img src=\"_httpusabbanner_\" title=\"_textusabbanner_\" alt=\"_textusabbanner_\"></td></tr></table>}
318
319#the about and privacy lins separated by a mid dot.
320_aboutprivacylinks_ {<p class="label"><a href="javascript:infowindow(\\'http://nzdl2.cs.waikato.ac.nz/dana/gsdl/about.html\\')">_textabout_</a> &#8226; <a href="javascript:infowindow(\\'http://nzdl2.cs.waikato.ac.nz/dana/gsdl/privacy.html\\')">_textprivacy_</a>}
321
322#gives a text only interface with some guff about privacy
323_usabtextonly_{ \\
324_textwhy_\\
325_textprivacybasic_\\
326_textstillsend_\\
327_usabyesnosubmit_}
328
329_usabyesnosubmit_{<p><input type="submit" value="_textyes_"><input type="button" value="_textno_" onClick="window.close();">}
330
331#gives an interface with the privacy guff at the bottom, and
332#steps to describe the problem
333_usabstepwise_{\\
334<p>_textwhatdoing_<br> \\
335<textarea name="doingwhat" rows="3" cols="40"></textarea> \\
336<p>_textwhatexpected_<br> \\
337<textarea name="whatexpected" rows="6" cols="40"></textarea> \\
338<p>_textwhathappened_<br> \\
339<textarea name="whathappened" rows="6" cols="40"></textarea> \\
340_usabtextonly_}
341
342#gives a multipart interface allowing the user to fill out less or more.
343_usabmulti_{\\
344_textwhy__textextraforform_\\
345<h2>_textoptionally_:</h2>\\
346<p class="label">_textmoredetails_:<br>\\
347<textarea name="moredetails" rows="6" cols="45"></textarea>\\
348<table><tr><td>\\
349<p class="label">_textcharacterise_? </td>\\
350<td><select name="probtype">\\
351<option>\\
352<option>_textbadrender_\\
353<option>_textcontenterror_\\
354<option>_textstrangebehaviour_\\
355<option>_textunexpected_\\
356<option>_textfunctionality_\\
357<option>_textother_\\
358</select></td></tr>\\
359<tr><td><p class="label">_textseverity_? </td>\\
360<td><select name="severity">\\
361<option>\\
362<option>_textcritical_\\
363<option>_textmajor_\\
364<option>_textmedium_\\
365<option>_textminor_\\
366<option>_texttrivial_\\
367</select>\\
368</td></tr></table>\\
369_textprivacybasic__textstillsend_\\
370<table width="100%"><tr><td><a href="javascript:viewdetails()"><p class="label">_textviewdetails_</a></td><td align="right"><button type="button" onClick="window.close()"><b>_textdontsend_</b></button></td><td align="right"><button type="submit"><b>_textsend_</b></button></td></tr></table>\\
371}
372
373#style definitions to please NS 4.7
374_usabstyle_{\\
375<style type="text/css">\\
376\\
377table \{ width: 100% \} \\
378td.right \{ align:right \} \\
379\\
380h1 \{font-size:20px; font-family: sans-serif; vertical-align:middle\\} \\
381h2 \{font-size:14px; color: #009966; font-family: sans-serif; font-weight:bold \}\\
382p.label \{ font-family:sans-serif; \}\\
383</style>\\
384}
385
386
387
388#######################################################################
389# navigation bar images
390#
391#######################################################################
392
393# the spacer image - the width of this is set from server
394_imagespacer_ {<img
395src="_httpicontspace_" width="_widthtspace_" height="_heighttspace_">}
396_imagespacer_[v=1] {<br>
397}
398
399# image macros for all the classifications currently supported by
400# this receptionist.
401
402_imagesearch_ {_If_("_cgiargu_" ne "1",_imagesearch2_,_iconnosearch_)}
403_imagesearch2_ {_gsimage_(_httpquery_,_httpicontsrchof_,_httpicontsrchon_,srch,_textimagesearch_)}
404_imageTitle_ {_gsimage_(_httpbrowseTitle_,_httpiconttitlof_,_httpiconttitlon_,titles,_textimageTitle_)}
405_imageDescription_ {_gsimage_(_httpbrowseDescription_,_httpicontdescof_,_httpicontdescon_,descriptions,_textimageDescription_)}
406_imageCreator_ {_gsimage_(_httpbrowseCreator_,_httpicontauthof_,_httpicontauthon_,authors,_textimageCreator_)}
407_imageSeries_ {_gsimage_(_httpbrowseSeries_,_httpicontserof_,_httpicontseron_,series,_textimageSeries_)}
408_imageDate_ {_gsimage_(_httpbrowseDate_,_httpicontdateof_,_httpicontdateon_,dates,_textimageDate_)}
409_imageSubject_ {_gsimage_(_httpbrowseSubject_,_httpicontsubjof_,_httpicontsubjon_,subjects,_textimageSubject_)}
410_imageTo_ {_gsimage_(_httpbrowseTo_,_httpiconttoof_,_httpiconttoon_,to,_textimageTo_)}
411_imageFrom_ {_gsimage_(_httpbrowseFrom_,_httpicontfromof_,_httpicontfromon_,from,_textimageFrom_)}
412_imageOrganization_ {_gsimage_(_httpbrowseOrganization_,_httpicontorgof_,_httpicontorgon_,org,_textimageOrganization_)}
413_imageHowto_ {_gsimage_(_httpbrowseHowto_,_httpiconthowof_,_httpiconthowon_,how,_textimageHowto_)}
414_imageTopic_ {_gsimage_(_httpbrowseTopic_,_httpiconttopicof_,_httpiconttopicon_,topic,_textimageTopic_)}
415_imageBrowse_ {_gsimage_(_httpbrowseBrowse_,_httpicontbrwseof_,_httpicontbrwseon_,browse,_textimageBrowse_}
416_imagePeople_ {_gsimage_(_httpbrowsePeople_,_httpicontpeopof_,_httpicontpeopon_,people,_textimagePeople_)}
417_imageLanguage_ {_gsimage_(_httpbrowseLanguage_,_httpicontlangof_,_httpicontlangon_,language,_textimageLanguage_)}
418_imageAcronym_ {_gsimage_(_httpbrowseAcronym_,_httpicontacroof_,_httpicontacroon_,acronym,_textimageAcronym_)}
419_imageCollage_ {_gsimage_(_httpbrowseCollage_,_httpicontcollof_,_httpicontcollon_,collage,_textimageCollage_)}
420_imagePhrase_ {_gsimage_(_httpbrowsePhrase_,_httpicontphrseof_,_httpicontphrseon_,phrase,_textimagePhrase_)}
421_imageArtist_ {_gsimage_(_httpbrowseArtist_,_httpicontartstof_,_httpicontartston_,artist,_textimageArtist_)}
422_imageSource_ {_gsimage_(_httpbrowseSource_,_httpicontsrcof_,_httpicontsrcon_,source,_textimageSource_)}
423_imageKeyword_ {_gsimage_(_httpbrowseKeyword_,_httpicontkwof_,_httpicontkwon_,kw,_textimageKeyword_)}
424_imageVolume_ {_gsimage_(_httpbrowseVolume_,_httpicontvolof_,_httpicontvolon_,volume,_textimageVolume_)}
425_imageCaptions_ {_gsimage_(_httpbrowseCaptions_,_httpicontcaptof_,_httpicontcapton_,captions,_textimageCaptions_)}
426_imageCountries_ {_gsimage_(_httpbrowseCountries_,_httpicontcountof_,_httpicontcounton_,countries,_textimageCountries_)}
427
428#######################################################################
429# java images/scripts
430#######################################################################
431
432# the _javalinks_ macros are the flashy image links at the top right of
433# the page.
434
435_javalinks_ {_imagehome__imagehelp__imagepref__usability_}
436_javalinks_ [v=1] {
437_imagehome_<br>
438_imagehelp_<br>
439_imagepref_<br>
440}
441
442
443#######################################################################
444# general web macros
445#######################################################################
446
447_mailaddr_ {[email protected]}
448
449_gsdltop_ {_top}
450
451#######################################################################
452# http macros
453#
454# These contain the url without any quotes
455#######################################################################
456
457_httpcollimg_ {_httpcollection_/index/assoc}
458_httpdocimg_ {_httpcollimg_/_thisOID_}
459
460_httpcollection_ {_httpprefix_/collect/_cgiargc_}
461
462_httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_}
463_httppagestatus_ {_gwcgi_?e=_compressedoptions_&a=status&p=frameset}
464_httppagetranslator_ {_gwcgi_?e=_compressedoptions_&a=lang&p=translang}
465_httppagecollector_ {_gwcgi_?e=_compressedoptions_&a=collector&p=intro}
466_httppagegli_ {_httppagex_(gli)}
467_httppageabout_ {_httppagex_(about)}
468#_httppagehome_ {_httppagex_(home)}
469###_httppagehome_ {http://www.nzdl.org/cgi-bin/dblibrary?a=p&p=home}
470_httppagehome_ {_gwcgi_?a=p&p=home&l=_cgiargl_&w=_cgiargw_}
471_httppagehelp_ {_httppagex_(help)}
472_httppagepref_ {_httppagex_(preferences)}
473_httppagedocs_ {_httppagex_(docs)}
474_httpclearhistory_ {_gwcgi_?e=_compressedoptions_&a=dh}
475
476_httppageusab_ {javascript:usabilityfunction()}
477_httpgreenstone_ {_httppagex_(gsdl)}
478_httpdownload_ {http://www.nzdl.org/download}
479_httppublications_ {_httpdownload_/greenstone/publications}
480
481_httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_}
482_httpquery_ {_gwcgi_?e=_compressedoptions_&a=q}
483_httpBrowse_ {_gwcgi_?e=_compressedoptions_&a=br}
484
485# _httpdoc_ is the same as _httpdocument_ - _httpdocument_
486# may occasionally be altered by the server however
487_httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d}
488_httpdoc_ {_gwcgi_?e=_compressedoptions_&a=d}
489
490_httpextlink_ {_gwcgi_?e=_compressedoptions_&a=extlink}
491_httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc}
492
493_httpiconchalk_ {_httpimg_/chalk.gif}
494_widthchalk_ {2000}
495_heightchalk_ {10}
496
497_httpicondivb_ {_httpimg_/divb.gif}
498_widthdivb_ {_pagewidth_}
499_heightdivb_ {17}
500
501_httpicongsdl_ {_httpimg_/gsdl.gif}
502_widthgsdl_ {140}
503_heightgsdl_ {77}
504
505_httpusabbanner_ {_httpimg_/usabbnr.gif}
506
507_httpiconitext_ {_httpimg_/itext.gif}
508_widthitext_ {16}
509_heightitext_ {21}
510
511_httpiconibtext_ {_httpimg_/ibtext.gif}
512_widthibtext_ {16}
513_heightibtext_ {21}
514
515_httpiconimpegvideo_ {_httpimg_/impegvid.gif}
516_widthimpegvideo_ {29}
517_heightimpegvideo_ {32}
518
519_httpiconiqtvideo_ {_httpimg_/iqtvideo.gif}
520_widthiqtvideo_ {29}
521_heightiqtvideo_ {32}
522
523_httpiconirmvideo_ {_httpimg_/irmvideo.gif}
524_widthirmvideo_ {29}
525_heightirmvideo_ {32}
526
527_httpiconless_ {_httpimg_/less.gif}
528_widthless_ {30}
529_heightless_ {16}
530
531_httpiconmore_ {_httpimg_/more.gif}
532_widthmore_ {30}
533_heightmore_ {16}
534
535_httpiconspacer_ {_httpimg_/spacer.gif}
536_widthspacer_ {42}
537_heightspacer_ {4}
538
539_httpicontabspace_ {_httpimg_/tabspace.gif}
540_widthtabspace_ {23}
541_heighttabspace_ {1}
542
543_httpicontspace_ {_httpimg_/tspace.gif}
544_heighttspace_ {17}
545
546_httpiconwarning_ {_httpimg_/warning.gif}
547_widthwarning_ {30}
548_heightwarning_ {29}
549
550_httpiconhhome_ {_httpimg_/h\_home.gif}
551_widthhhome_ {200}
552_heighthhome_ {57}
553
554_httpiconarrrght_ {_httpimg_/arrrght.gif}
555_widtharrrght_ {23}
556_heightarrrght_ {15}
557
558_httpiconopenbook_ {_httpimg_/openbook.gif}
559_widthopenbook_ {28}
560_heightopenbook_ {23}
561
562_httpiconaopenbk_ {_httpimg_/aopenbk.gif}
563_widthaopenbk_ {28}
564_heightaopenbk_ {23}
565
566_httpiconopenfldr_ {_httpimg_/openfldr.gif}
567_widthopenfldr_ {23}
568_heightopenfldr_ {15}
569
570_httpiconaopenfdr_ {_httpimg_/aopenfdr.gif}
571_widthaopenfdr_ {23}
572_heightaopenfdr_ {15}
573
574_httpiconbook_ {_httpimg_/book.gif}
575_widthbook_ {18}
576_heightbook_ {11}
577
578_httpiconabook_ {_httpimg_/abook.gif}
579_widthabook_ {18}
580_heightabook_ {11}
581
582_httpiconbshelf_ {_httpimg_/bshelf.gif}
583_widthbshelf_ {20}
584_heightbshelf_ {16}
585
586_httpiconabshelf_ {_httpimg_/abshelf.gif}
587_widthabshelf_ {20}
588_heightabshelf_ {16}
589
590_httpiconsmtext_ {_httpimg_/smtext.gif}
591_widthsmtext_ {23}
592_heightsmtext_ {15}
593
594_httpiconasmtext_ {_httpimg_/asmtext.gif}
595_widthasmtext_ {23}
596_heightasmtext_ {15}
597
598_httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
599_widthclsdfldr_ {23}
600_heightclsdfldr_ {15}
601
602_httpiconaclsdfdr_ {_httpimg_/aclsdfdr.gif}
603_widthaclsdfdr_ {23}
604_heightaclsdfdr_ {15}
605
606_httpiconimidi_ {_httpimg_/imidi.gif}
607_widthimidi_ {16}
608_heightimidi_ {21}
609
610_httpiconimsword_ {_httpimg_/imsword.gif}
611_widthimsword_ {26}
612_heightimsword_ {26}
613
614_httpiconipdf_ {_httpimg_/ipdf.gif}
615_widthipdf_ {26}
616_heightipdf_ {26}
617
618_httpiconips_ {_httpimg_/ips.gif}
619_widthips_ {25}
620_heightips_ {32}
621
622_httpiconippt_ {_httpimg_/ippt.gif}
623_widthippt_ {32}
624_heightippt_ {30}
625
626_httpiconirtf_ {_httpimg_/irtf.gif}
627_widthirtf_ {29}
628_heightirtf_ {32}
629
630_httpiconixls_ {_httpimg_/iexcel.gif}
631_widthixls_ {32}
632_heightixls_ {30}
633
634#######################################################################
635# Icons
636#
637# Must not include links (so they can be used as links). If you want to
638# include links use _image
639#######################################################################
640
641_iconnext_{<img src="_httpiconmore_" align=absbottom
642width=_widthmore_ height=_heightmore_ border=0 alt="_texticonnext_" title="_texticonnext_">}
643_iconnext_[v=1] {_texticonnext_}
644
645_iconprev_{<img src="_httpiconless_" align=absbottom
646width=_widthless_ height=_heightless_ border=0 alt="_texticonprev_" title="_texticonprev_">}
647_iconprev_[v=1] {_texticonprev_}
648
649_icontabsearchgreen_ {<img
650src="_httpicontsrchgr_" width=_widthtsrchx_ border=0>}
651_icontabsearchgreen_[v=1] {_texticontabsearchgreen_}
652
653_icontabListgreen_ {<img
654src="_httpicontlistgr_" width=_widthtlistx_ border=0>}
655_icontablistgreen_ [v=1] {_texticontablistgreen_}
656
657_icontabTitlegreen_ {<img
658src="_httpiconttitlgr_" width=_widthttitlx_ border=0>}
659_icontabTitlegreen_[v=1] {_texticontabtitlegreen_}
660
661_icontabCollagegreen_ {<img
662src="_httpicontcollgr_" width=_widthtcollx_ border=0>}
663_icontabCollagegreen_[v=1] {_texticontabCollagegreen_}
664
665_icontabDescriptiongreen_ {<img
666src="_httpicontdescgr_" width=_widthtdescx_ border=0>}
667_icontabDescriptiongreen_[v=1] {_texticontabdescriptiongreen_}
668
669_icontabCreatorgreen_ {<img
670src="_httpicontauthgr_" width=_widthtauthx_ border=0>}
671_icontabCreatorgreen_[v=1] {_texticontabauthorgreen_}
672
673_icontabSeriesgreen_ {<img
674src="_httpicontsergr_" width=_widthtserx_ border=0>}
675_icontabSeriesgreen_[v=1] {_texticontabseriesgreen_}
676
677_icontabDategreen_ {<img
678src="_httpicontdategr_" width=_widthtdatex_ border=0>}
679_icontabDategreen_[v=1] {_texticontabdategreen_}
680
681_icontabSubjectgreen_ {<img
682src="_httpicontsubjgr_" width=_widthtsubjx_ border=0>}
683_icontabSubjectgreen_[v=1] {_texticontabsubjectgreen_}
684
685_icontabTogreen_ {<img
686src="_httpiconttogr_" width=_widthttox_ border=0>}
687_icontabTogreen_[v=1] {_texticontabtogreen_}
688
689_icontabFromgreen_ {<img
690src="_httpicontfromgr_" width=_widthtfromx_ border=0>}
691_icontabFromgreen_[v=1] {_texticontabfromgreen_}
692
693_icontabHowtogreen_ {<img
694src="_httpiconthowgr_" width=_widththowx_ border=0>}
695_icontabHowtogreen_[v=1] {_texticontabhowgreen_}
696
697_icontabTopicgreen_ {<img
698src="_httpiconttopicgr_" width=_widthttopicx_ border=0>}
699_icontabTopicgreen_[v=1] {_texticontabtopicgreen_}
700
701_icontabBrowsegreen_ {<img
702src="_httpicontbrwsegr_" width=_widthtbrwsex_ border=0>}
703_icontabBrowsegreen_[v=1] {_texticontabbrwsegreen_}
704
705_icontabOrganizationgreen_ {<img
706src="_httpicontorggr_" width=_widthtorgx_ border=0>}
707_icontabOrganizationgreen_[v=1] {_texticontaborggreen_}
708
709_icontabPeoplegreen_ {<img
710src="_httpicontpeopgr_" width=_widthtpeopx_ border=0>}
711_icontabPeoplegreen_[v=1] {_texticontabPeoplegreen_}
712
713_icontabLanguagegreen_ {<img
714src="_httpicontlanggr_" width=_widthtlangx_ border=0>}
715_icontabLanguagegreen_[v=1] {_texticontabLanguagegreen_}
716
717_icontabAcronymgreen_ {<img
718src="_httpicontacrogr_" width=_widthtacrox_ border=0>}
719_icontabAcronymgreen_[v=1] {_texticontabAcronymgreen_}
720
721_icontabPhrasegreen_ {<img
722src="_httpicontphrsegr_" width=_widthtphrsex_ border=0>}
723_icontabPhrasegreen_[v=1] {_texticontabPhrasegreen_}
724
725_icontabArtistgreen_ {<img
726src="_httpicontartstgr_" width=_widthtartstx_ border=0>}
727_icontabArtistgreen_[v=1] {_texticontabArtistgreen_}
728
729_icontabSourcegreen_ {<img
730src="_httpicontsrcgr_" width=_widthtsrcx_ border=0>}
731_icontabSourcegreen_[v=1] {_texticontabSourcegreen_}
732
733_icontabKeywordgreen_ {<img
734src="_httpicontkwgr_" width=_widthtkwx_ border=0>}
735_icontabKeywordgreen_[v=1] {_texticontabKeywordgreen_}
736
737_icontabVolumegreen_ {<img
738src="_httpicontvolgr_" width=_widthtvolx_ border=0>}
739_icontabVolumegreen_[v=1] {_texticontabVolumegreen_}
740
741_icontabCaptionsgreen_ {<img
742src="_httpicontcaptgr_" width=_widthtcaptx_ border=0>}
743_icontabCaptionsgreen_[v=1] {_texticontabCaptionsgreen_}
744
745_icontabCountriesgreen_ {<img
746src="_httpicontcountgr_" width=_widthtcountx_ border=0>}
747_icontabCountriesgreen_[v=1] {_texticontabCountriesgreen_}
748
749
750_iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=_heightdivb_></center>}
751_iconblankbar_[v=1] {<br><hr><br>}
752
753_icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width=_widthitext_ height=_heightitext_ alt="_texticontext_" title="_texticontext_">}
754_icontext_[v=1] {_texticontext_}
755
756_iconblanktext_ {<img border=0 align=absmiddle src="_httpiconibtext_" width=_widthibtext_ height=_heightibtext_>}
757_iconblanktext_[v=1] {}
758
759_iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_" title="_texticonclosedbook_">}
760_iconclosedbook_ [v=1] {<small><b>_texticonclosedbook_: </b></small>}
761_iconclosedbook_ [v=1,l=zh]{<small><_font_><b>_texticonclosedbook_: </b></font></small>}
762
763_icondoc_ {<img border=0 align=absmiddle src="_httpiconimsword_" width=_widthimsword_ height=_heightimsword_ alt="_texticonmsword_" title="_texticonmsword_">}
764_iconmsword_[v=1] {_texticonmsword_}
765
766_iconmidi_ {<img border=0 align=absmiddle src="_httpiconimidi_" width=_widthimidi_ height=_heightimidi_ alt="_texticonmidi_" title="_texticonmidi_">}
767_iconmidi_[v=1] {_texticonmidi_}
768
769_iconpdf_ {<img border=0 align=absmiddle src="_httpiconipdf_" width=_widthipdf_ height=_heightipdf_ alt="_texticonpdf_" title="_texticonpdf_">}
770_iconpdf_[v=1] {_texticonpdf_}
771
772_iconps_ {<img border=0 align=absmiddle src="_httpiconips_" width=_widthips_ height=_heightips_ alt="_texticonps_" title="_texticonps_">}
773_iconps_[v=1] {_texticonps_}
774
775_iconppt_ {<img border=0 align=absmiddle src="_httpiconippt_" width=_widthippt_ height=_heightippt_ alt="_texticonppt_" title="_texticonppt_">}
776_iconppt_[v=1] {_texticonppt_}
777
778_iconrtf_ {<img border=0 align=absmiddle src="_httpiconirtf_" width=_widthirtf_ height=_heightirtf_ alt="_texticonrtf_" title="_texticonrtf_">}
779_iconrtf_[v=1] {_texticonrtf_}
780
781_iconxls_ {<img border=0 align=absmiddle src="_httpiconixls_" width=_widthixls_ height=_heightixls_ alt="_texticonxls_" title="_texticonxls_">}
782_iconxls_[v=1] {_texticonxls_}
783
784_iconnosearch_ {<img src="_httpimg_/nosearch.gif">}
785
786#######################################################################
787# Image links
788#
789# These might include a link (not like an _icon_
790#######################################################################
791
792_imagehome_ {_If_("_cgiargu_" ne "1",_imagehome2_)}
793_imagehome2_ {_gsimage_(_httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
794
795_imagehelp_ {_gsimage_(_httppagehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
796
797_imagepref_ {_If_("_cgiargu_" ne "1",_imagepref2_)}
798_imagepref2_ {_gsimage_(_httppagepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
799
800_imageusab_ {_gsimage_(_httppageusab_,_httpiconcusabof_,_httpiconcusabon_,usab,_textimageusab_)}
801
802_imagegreenstone_ {<img src="_httpicongsdl_" width="_widthgsdl_" height="_heightgsdl_" border="0" alt="_textimagegreenstone_" title="_textimagegreenstone_" hspace=0>}
803
804_imagegreenstone_[v=1] {_textimagegreenstone_}
805
Note: See TracBrowser for help on using the repository browser.