source: main/tags/2.41-fiji/gsdl/macros/base.dm@ 32530

Last change on this file since 32530 was 5622, checked in by nzdl, 21 years ago

added macros for captions nav bar button

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