source: main/tags/2.40/gsdl/macros/base.dm@ 21085

Last change on this file since 21085 was 4781, checked in by kjdon, 21 years ago

added gformselection default value

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