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

Last change on this file since 10383 was 10383, checked in by jrm21, 19 years ago

need _icondoc_ not _iconmsword_ for [v=1] since the plugin adds
_icondoc_ as the [srcicon] metadata....

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