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

Last change on this file since 6619 was 6268, checked in by mdewsnip, 21 years ago

Added title tags to imagecollection macro, as suggested by Stephen DeGabrielle.

  • 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_httppageabout_ {_httppagex_(about)}
464#_httppagehome_ {_httppagex_(home)}
465###_httppagehome_ {http://www.nzdl.org/cgi-bin/dblibrary?a=p&p=home}
466_httppagehome_ {_gwcgi_?a=p&p=home&l=_cgiargl_&w=_cgiargw_}
467_httppagehelp_ {_httppagex_(help)}
468_httppagepref_ {_httppagex_(preferences)}
469_httppagedocs_ {_httppagex_(docs)}
470_httpclearhistory_ {_gwcgi_?e=_compressedoptions_&a=dh}
471
472_httppageusab_ {javascript:usabilityfunction()}
473_httpgreenstone_ {_httppagex_(gsdl)}
474_httpdownload_ {http://www.nzdl.org/download}
475_httppublications_ {_httpdownload_/greenstone/publications}
476
477_httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_}
478_httpquery_ {_gwcgi_?e=_compressedoptions_&a=q}
479_httpBrowse_ {_gwcgi_?e=_compressedoptions_&a=br}
480
481# _httpdoc_ is the same as _httpdocument_ - _httpdocument_
482# may occasionally be altered by the server however
483_httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d}
484_httpdoc_ {_gwcgi_?e=_compressedoptions_&a=d}
485
486_httpextlink_ {_gwcgi_?e=_compressedoptions_&a=extlink}
487_httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc}
488
489_httpiconchalk_ {_httpimg_/chalk.gif}
490_widthchalk_ {2000}
491_heightchalk_ {10}
492
493_httpicondivb_ {_httpimg_/divb.gif}
494_widthdivb_ {_pagewidth_}
495_heightdivb_ {17}
496
497_httpicongsdl_ {_httpimg_/gsdl.gif}
498_widthgsdl_ {140}
499_heightgsdl_ {77}
500
501_httpusabbanner_ {_httpimg_/usabbnr.gif}
502
503_httpiconitext_ {_httpimg_/itext.gif}
504_widthitext_ {16}
505_heightitext_ {21}
506
507_httpiconibtext_ {_httpimg_/ibtext.gif}
508_widthibtext_ {16}
509_heightibtext_ {21}
510
511_httpiconimpegvideo_ {_httpimg_/impegvid.gif}
512_widthimpegvideo_ {29}
513_heightimpegvideo_ {32}
514
515_httpiconiqtvideo_ {_httpimg_/iqtvideo.gif}
516_widthiqtvideo_ {29}
517_heightiqtvideo_ {32}
518
519_httpiconirmvideo_ {_httpimg_/irmvideo.gif}
520_widthirmvideo_ {29}
521_heightirmvideo_ {32}
522
523_httpiconless_ {_httpimg_/less.gif}
524_widthless_ {30}
525_heightless_ {16}
526
527_httpiconmore_ {_httpimg_/more.gif}
528_widthmore_ {30}
529_heightmore_ {16}
530
531_httpiconspacer_ {_httpimg_/spacer.gif}
532_widthspacer_ {42}
533_heightspacer_ {4}
534
535_httpicontabspace_ {_httpimg_/tabspace.gif}
536_widthtabspace_ {23}
537_heighttabspace_ {1}
538
539_httpicontspace_ {_httpimg_/tspace.gif}
540_heighttspace_ {17}
541
542_httpiconwarning_ {_httpimg_/warning.gif}
543_widthwarning_ {30}
544_heightwarning_ {29}
545
546_httpiconhhome_ {_httpimg_/h\_home.gif}
547_widthhhome_ {200}
548_heighthhome_ {57}
549
550_httpiconarrrght_ {_httpimg_/arrrght.gif}
551_widtharrrght_ {23}
552_heightarrrght_ {15}
553
554_httpiconopenbook_ {_httpimg_/openbook.gif}
555_widthopenbook_ {28}
556_heightopenbook_ {23}
557
558_httpiconaopenbk_ {_httpimg_/aopenbk.gif}
559_widthaopenbk_ {28}
560_heightaopenbk_ {23}
561
562_httpiconopenfldr_ {_httpimg_/openfldr.gif}
563_widthopenfldr_ {23}
564_heightopenfldr_ {15}
565
566_httpiconaopenfdr_ {_httpimg_/aopenfdr.gif}
567_widthaopenfdr_ {23}
568_heightaopenfdr_ {15}
569
570_httpiconbook_ {_httpimg_/book.gif}
571_widthbook_ {18}
572_heightbook_ {11}
573
574_httpiconabook_ {_httpimg_/abook.gif}
575_widthabook_ {18}
576_heightabook_ {11}
577
578_httpiconbshelf_ {_httpimg_/bshelf.gif}
579_widthbshelf_ {20}
580_heightbshelf_ {16}
581
582_httpiconabshelf_ {_httpimg_/abshelf.gif}
583_widthabshelf_ {20}
584_heightabshelf_ {16}
585
586_httpiconsmtext_ {_httpimg_/smtext.gif}
587_widthsmtext_ {23}
588_heightsmtext_ {15}
589
590_httpiconasmtext_ {_httpimg_/asmtext.gif}
591_widthasmtext_ {23}
592_heightasmtext_ {15}
593
594_httpiconclsdfldr_ {_httpimg_/clsdfldr.gif}
595_widthclsdfldr_ {23}
596_heightclsdfldr_ {15}
597
598_httpiconaclsdfdr_ {_httpimg_/aclsdfdr.gif}
599_widthaclsdfdr_ {23}
600_heightaclsdfdr_ {15}
601
602_httpiconimidi_ {_httpimg_/imidi.gif}
603_widthimidi_ {16}
604_heightimidi_ {21}
605
606_httpiconimsword_ {_httpimg_/imsword.gif}
607_widthimsword_ {26}
608_heightimsword_ {26}
609
610_httpiconipdf_ {_httpimg_/ipdf.gif}
611_widthipdf_ {26}
612_heightipdf_ {26}
613
614_httpiconips_ {_httpimg_/ips.gif}
615_widthips_ {25}
616_heightips_ {32}
617
618_httpiconippt_ {_httpimg_/ippt.gif}
619_widthippt_ {32}
620_heightippt_ {30}
621
622_httpiconirtf_ {_httpimg_/irtf.gif}
623_widthirtf_ {29}
624_heightirtf_ {32}
625
626_httpiconixls_ {_httpimg_/iexcel.gif}
627_widthixls_ {32}
628_heightixls_ {30}
629
630#######################################################################
631# Icons
632#
633# Must not include links (so they can be used as links). If you want to
634# include links use _image
635#######################################################################
636
637_iconnext_{<img src="_httpiconmore_" align=absbottom
638width=_widthmore_ height=_heightmore_ border=0 alt="_texticonnext_" title="_texticonnext_">}
639_iconnext_[v=1] {_texticonnext_}
640
641_iconprev_{<img src="_httpiconless_" align=absbottom
642width=_widthless_ height=_heightless_ border=0 alt="_texticonprev_" title="_texticonprev_">}
643_iconprev_[v=1] {_texticonprev_}
644
645_icontabsearchgreen_ {<img
646src="_httpicontsrchgr_" width=_widthtsrchx_ border=0>}
647_icontabsearchgreen_[v=1] {_texticontabsearchgreen_}
648
649_icontabListgreen_ {<img
650src="_httpicontlistgr_" width=_widthtlistx_ border=0>}
651_icontablistgreen_ [v=1] {_texticontablistgreen_}
652
653_icontabTitlegreen_ {<img
654src="_httpiconttitlgr_" width=_widthttitlx_ border=0>}
655_icontabTitlegreen_[v=1] {_texticontabtitlegreen_}
656
657_icontabDescriptiongreen_ {<img
658src="_httpicontdescgr_" width=_widthtdescx_ border=0>}
659_icontabDescriptiongreen_[v=1] {_texticontabdescriptiongreen_}
660
661_icontabCreatorgreen_ {<img
662src="_httpicontauthgr_" width=_widthtauthx_ border=0>}
663_icontabCreatorgreen_[v=1] {_texticontabauthorgreen_}
664
665_icontabSeriesgreen_ {<img
666src="_httpicontsergr_" width=_widthtserx_ border=0>}
667_icontabSeriesgreen_[v=1] {_texticontabseriesgreen_}
668
669_icontabDategreen_ {<img
670src="_httpicontdategr_" width=_widthtdatex_ border=0>}
671_icontabDategreen_[v=1] {_texticontabdategreen_}
672
673_icontabSubjectgreen_ {<img
674src="_httpicontsubjgr_" width=_widthtsubjx_ border=0>}
675_icontabSubjectgreen_[v=1] {_texticontabsubjectgreen_}
676
677_icontabTogreen_ {<img
678src="_httpiconttogr_" width=_widthttox_ border=0>}
679_icontabTogreen_[v=1] {_texticontabtogreen_}
680
681_icontabFromgreen_ {<img
682src="_httpicontfromgr_" width=_widthtfromx_ border=0>}
683_icontabFromgreen_[v=1] {_texticontabfromgreen_}
684
685_icontabHowtogreen_ {<img
686src="_httpiconthowgr_" width=_widththowx_ border=0>}
687_icontabHowtogreen_[v=1] {_texticontabhowgreen_}
688
689_icontabTopicgreen_ {<img
690src="_httpiconttopicgr_" width=_widthttopicx_ border=0>}
691_icontabTopicgreen_[v=1] {_texticontabtopicgreen_}
692
693_icontabBrowsegreen_ {<img
694src="_httpicontbrwsegr_" width=_widthtbrwsex_ border=0>}
695_icontabBrowsegreen_[v=1] {_texticontabbrwsegreen_}
696
697_icontabOrganizationgreen_ {<img
698src="_httpicontorggr_" width=_widthtorgx_ border=0>}
699_icontabOrganizationgreen_[v=1] {_texticontaborggreen_}
700
701_icontabPeoplegreen_ {<img
702src="_httpicontpeopgr_" width=_widthtpeopx_ border=0>}
703_icontabPeoplegreen_[v=1] {_texticontabPeoplegreen_}
704
705_icontabLanguagegreen_ {<img
706src="_httpicontlanggr_" width=_widthtlangx_ border=0>}
707_icontabLanguagegreen_[v=1] {_texticontabLanguagegreen_}
708
709_icontabAcronymgreen_ {<img
710src="_httpicontacrogr_" width=_widthtacrox_ border=0>}
711_icontabAcronymgreen_[v=1] {_texticontabAcronymgreen_}
712
713_icontabPhrasegreen_ {<img
714src="_httpicontphrsegr_" width=_widthtphrsex_ border=0>}
715_icontabPhrasegreen_[v=1] {_texticontabPhrasegreen_}
716
717_icontabArtistgreen_ {<img
718src="_httpicontartstgr_" width=_widthtartstx_ border=0>}
719_icontabArtistgreen_[v=1] {_texticontabArtistgreen_}
720
721_icontabSourcegreen_ {<img
722src="_httpicontsrcgr_" width=_widthtsrcx_ border=0>}
723_icontabSourcegreen_[v=1] {_texticontabSourcegreen_}
724
725_icontabKeywordgreen_ {<img
726src="_httpicontkwgr_" width=_widthtkwx_ border=0>}
727_icontabKeywordgreen_[v=1] {_texticontabKeywordgreen_}
728
729_icontabVolumegreen_ {<img
730src="_httpicontvolgr_" width=_widthtvolx_ border=0>}
731_icontabVolumegreen_[v=1] {_texticontabVolumegreen_}
732
733_icontabCaptionsgreen_ {<img
734src="_httpicontcaptgr_" width=_widthtcaptx_ border=0>}
735_icontabCaptionsgreen_[v=1] {_texticontabCaptionsgreen_}
736
737_icontabCountriesgreen_ {<img
738src="_httpicontcountgr_" width=_widthtcountx_ border=0>}
739_icontabCountriesgreen_[v=1] {_texticontabCountriesgreen_}
740
741
742_iconblankbar_ {<center><img src="_httpicondivb_" width=_widthdivb_ height=_heightdivb_></center>}
743_iconblankbar_[v=1] {<br><hr><br>}
744
745_icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width=_widthitext_ height=_heightitext_ alt="_texticontext_" title="_texticontext_">}
746_icontext_[v=1] {_texticontext_}
747
748_iconblanktext_ {<img border=0 align=absmiddle src="_httpiconibtext_" width=_widthibtext_ height=_heightibtext_>}
749_iconblanktext_[v=1] {}
750
751_iconclosedbook_ {<img src="_httpiconbook_" width=_widthbook_ height=_heightbook_ border=0 alt="_texticonclosedbook_" title="_texticonclosedbook_">}
752_iconclosedbook_ [v=1] {<small><b>_texticonclosedbook_: </b></small>}
753_iconclosedbook_ [v=1,l=zh]{<small><_font_><b>_texticonclosedbook_: </b></font></small>}
754
755_icondoc_ {<img border=0 align=absmiddle src="_httpiconimsword_" width=_widthimsword_ height=_heightimsword_ alt="_texticonmsword_" title="_texticonmsword_">}
756_iconmsword_[v=1] {_texticonmsword_}
757
758_iconmidi_ {<img border=0 align=absmiddle src="_httpiconimidi_" width=_widthimidi_ height=_heightimidi_ alt="_texticonmidi_" title="_texticonmidi_">}
759_iconmidi_[v=1] {_texticonmidi_}
760
761_iconpdf_ {<img border=0 align=absmiddle src="_httpiconipdf_" width=_widthipdf_ height=_heightipdf_ alt="_texticonpdf_" title="_texticonpdf_">}
762_iconpdf_[v=1] {_texticonpdf_}
763
764_iconps_ {<img border=0 align=absmiddle src="_httpiconips_" width=_widthips_ height=_heightips_ alt="_texticonps_" title="_texticonps_">}
765_iconps_[v=1] {_texticonps_}
766
767_iconppt_ {<img border=0 align=absmiddle src="_httpiconippt_" width=_widthippt_ height=_heightippt_ alt="_texticonppt_" title="_texticonppt_">}
768_iconppt_[v=1] {_texticonppt_}
769
770_iconrtf_ {<img border=0 align=absmiddle src="_httpiconirtf_" width=_widthirtf_ height=_heightirtf_ alt="_texticonrtf_" title="_texticonrtf_">}
771_iconrtf_[v=1] {_texticonrtf_}
772
773_iconxls_ {<img border=0 align=absmiddle src="_httpiconixls_" width=_widthixls_ height=_heightixls_ alt="_texticonxls_" title="_texticonxls_">}
774_iconxls_[v=1] {_texticonxls_}
775
776_iconnosearch_ {<img src="_httpimg_/nosearch.gif">}
777
778#######################################################################
779# Image links
780#
781# These might include a link (not like an _icon_
782#######################################################################
783
784_imagehome_ {_If_("_cgiargu_" ne "1",_imagehome2_)}
785_imagehome2_ {_gsimage_(_httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
786
787_imagehelp_ {_gsimage_(_httppagehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
788
789_imagepref_ {_If_("_cgiargu_" ne "1",_imagepref2_)}
790_imagepref2_ {_gsimage_(_httppagepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
791
792_imageusab_ {_gsimage_(_httppageusab_,_httpiconcusabof_,_httpiconcusabon_,usab,_textimageusab_)}
793
794_imagegreenstone_ {<img src="_httpicongsdl_" width="_widthgsdl_" height="_heightgsdl_" border="0" alt="_textimagegreenstone_" title="_textimagegreenstone_" hspace=0>}
795
796_imagegreenstone_[v=1] {_textimagegreenstone_}
797
Note: See TracBrowser for help on using the repository browser.