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

Last change on this file since 5455 was 5437, checked in by mdewsnip, 21 years ago

Removed imageBrowseMeta, which was added a long time ago and doesn't seem to be used.

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