source: main/tags/2.51-jcdl/gsdl/macros/base.dm@ 25200

Last change on this file since 25200 was 7502, checked in by davidb, 20 years ago

Introduction of _iconunkown_ to provide an icon image to show for documents
that don't have their own image. The icon shown is the basici page icon
with a question marki placed on it.

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