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

Last change on this file since 6723 was 6723, checked in by kjdon, 20 years ago

added some new macros for the gli link and page

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