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

Last change on this file since 6813 was 6813, checked in by mdewsnip, 20 years ago

Additions for the GsdlCollageApplet: a classifier that displays a collage of the images in a collection. By Katrina Edgar (kde2).

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