####################################################################### # GLOBAL MACROS ####################################################################### package Global ########## # won't need this once old versions of library are no longer used _decodedcompressedoptions_ {_compressedoptions_} _htmlextra_ {} _starthighlight_ {} _endhighlight_ {} ####################################################################### # page content # # these should always be overridden for each page/collection ####################################################################### _content_ {

oops

_textdefaultcontent_} _pagetitle_ {_textdefaulttitle_} _imagethispage_ {} _iconcollection_ {} _imagecollection_ {_If_("_iconcollection_" ne "",)} ####################################################################### # these width macros are read in by the server when calculating # width of navigation bar etc. There should be one for each # classification that this receptionist supports, one for the # search button, and the _pagewidth_ macro which is the total width # of the page ####################################################################### # width of tabs when displaying tables of contents _tabwidth_ {25} _pagewidth_ {537} # defaultwidth is the width buttons default to if not included in this list _defaultwidth_ {87} _searchwidth_ {_widthtsrchx_} _Titlewidth_ {_widthttitlx_} _Listwidth_ {_widthtlistx_} _Creatorwidth_ {_widthtauthx_} _Serieswidth_ {_widthtserx_} _Datewidth_ {_widthtdatex_} _Subjectwidth_ {_widthtsubjx_} _Organizationwidth_ {_widthtorgx_} _Howtowidth_ {_widththowx_} _Topicwidth_ {_widthttopicx_} _Browsewidth_ {_widthtbrwsex_} _Peoplewidth_ {_widthtpeopx_} ####################################################################### # Macros whose values are set from within the server at runtime. These # are here only for reference and to set default values if required. ####################################################################### _navigationbar_ {} _javaimagesnavbar_ {} _javaimagescontent_ {} _widthtspace_ {2} # all cgi args are set as _cgiargX_ macros - those I've put here # are those that need to default to something _cgiargd_ {} _cgiargcl_ {} # set from within the query action _hselection_ {} _jselection_ {} _nselection_ {} ####################################################################### # navigation bar images # ####################################################################### # the spacer image - the width of this is set from server _imagespacer_ {} _imagespacer_[v=1] {
} # image macros for all the classifications currently supported by # this receptionist. i.e. title, author, subject, series, date, # howto, and organization (and search) _imagesearch_ {_textimagesearch_} _imagesearch_[v=1] {_textimagesearch_
} _imageTitle_ {_textimageTitle_} _imageTitle_[v=1] {_textimageTitle_
} _imageCreator_ {_textimageCreator_} _imageCreator_[v=1] {_textimageCreator_
} _imageSeries_ {_textimageSeries_} _imageSeries_[v=1] {_textimageSeries_
} _imageDate_ {_textimageDate_} _imageDate_[v=1] {_textimageDate_
} _imageSubject_ {_textimageSubject_} _imageSubject_[v=1] {_textimageSubject_
} _imageOrganization_ {_textimageOrganization_} _imageOrganization_[v=1] {_textimageOrganization_
} _imageHowto_ {_textimageHowto_} _imageHowto_[v=1] {_textimageHowto_
} _imageTopic_ {_textimageTopic_} _imageTopic_[v=1] {_textimageTopic_
} _imageBrowse_ {_textimageBrowse_} _imageBrowse_[v=1] {_textimageBrowse_
} _imagePeople_ {_textimagePeople_} _imagePeople_[v=1] {_textimagePeople_
} ####################################################################### # java images/scripts ####################################################################### # the _javalinks_ macros are the flashy image links at the top right of # the page. _javalinks_ {_imagehome__imagehelp__imagepref_} _javalinks_ [v=1] { _imagehome_
_imagehelp_
_imagepref_
} # the javaimages macros contain the javascript code required # by each flashy javascript image. _javaimagesheader_ contains those # images at the top right of the page, _javaimagesnavbar_ (set # from within the server) contains those images in the navigation bar, # and _javaimagescontent_ (also set in server) contains any other # javascript images that occur in the page. # the javaimages macros should contain _javaX_ macros for each javascript # image link within the page. _javaimagesheader_ {_javahome__javahelp__javapref_} _javaimagesheader_ [v=1] {} _javaabout_ { about\_on = new Image(_widthcabtx_, _heightcabtx_); about\_on.src = "_httpiconcabton_"; about\_off = new Image(_widthcabtx_, _heightcabtx_); about\_off.src = "_httpiconcabtof_"; } _javahome_ { home\_on = new Image(_widthchomex_, _heightchomex_); home\_on.src = "_httpiconchomeon_"; home\_off = new Image(_widthchomex_, _heightchomex_); home\_off.src = "_httpiconchomeof_"; } _javahelp_ { help\_on = new Image(_widthchelpx_, _heightchelpx_); help\_on.src = "_httpiconchelpon_"; help\_off = new Image(_widthchelpx_, _heightchelpx_); help\_off.src = "_httpiconchelpof_"; } _javapref_ { pref\_on = new Image(_widthcprefx_, _heightcprefx_); pref\_on.src = "_httpiconcprefon_"; pref\_off = new Image(_widthcprefx_, _heightcprefx_); pref\_off.src = "_httpiconcprefof_"; } _javasearch_ { search\_on = new Image(_widthtsrchx_, _heighttsrchx_); search\_on.src = "_httpicontsrchon_"; search\_off = new Image(_widthtsrchx_, _heighttsrchx_); search\_off.src = "_httpicontsrchof_"; } _javaTitle_ { titles\_on = new Image(_widthttitlx_, _heightttitlx_); titles\_on.src = "_httpiconttitlon_"; titles\_off = new Image(_widthttitlx_, _heightttitlx_); titles\_off.src = "_httpiconttitlof_"; } _javaList_ { list\_on = new Image(_widthtlistx_, _heighttlistx_); list\_on.src = "_httpicontliston_"; list\_off = new Image(_widthtlistx_, _heighttlistx_); list\_off.src = "_httpicontlistof_"; } _javaCreator_ { authors\_on = new Image(_widthtauthx_, _heighttauthx_); authors\_on.src = "_httpicontauthon_"; authors\_off = new Image(_widthtauthx_, _heighttauthx_); authors\_off.src = "_httpicontauthof_"; } _javaSeries_ { series\_on = new Image(_widthtserx_, _heighttserx_); series\_on.src = "_httpicontseron_"; series\_off = new Image(_widthtserx_, _heighttserx_); series\_off.src = "_httpicontserof_"; } _javaDate_ { dates\_on = new Image(_widthtdatex_, _heighttdatex_); dates\_on.src = "_httpicontdateon_"; dates\_off = new Image(_widthtdatex_, _heighttdatex_); dates\_off.src = "_httpicontdateof_"; } _javaSubject_ { subjects\_on = new Image(_widthtsubjx_, _heighttsubjx_); subjects\_on.src = "_httpicontsubjon_"; subjects\_off = new Image(_widthtsubjx_, _heighttsubjx_); subjects\_off.src = "_httpicontsubjof_"; } _javaHowto_ { how\_on = new Image(_widththowx_, _heightthowx_); how\_on.src = "_httpiconthowon_"; how\_off = new Image(_widththowx_, _heightthowx_); how\_off.src = "_httpiconthowof_"; } _javaOrganization_ { org\_on = new Image(_widthtorgx_, _heighttorgx_); org\_on.src = "_httpicontorgon_"; org\_off = new Image(_widthtorgx_, _heighttorgx_); org\_off.src = "_httpicontorgof_"; } _javaTopic_ { topic\_on = new Image(_widthttopicx_, _heightttopicx_); topic\_on.src = "_httpiconttopicon_"; topic\_off = new Image(_widthttopicx_, _heightttopicx_); topic\_off.src = "_httpiconttopicof_"; } _javaBrowse_ { browse\_on = new Image(_widthtbrwsex_, _heighttbrwsex_); browse\_on.src = "_httpicontbrwseon_"; browse\_off = new Image(_widthtbrwsex_, _heighttbrwsex_); browse\_off.src = "_httpicontbrwseof_"; } _javaPeople_ { People\_on = new Image(_widthtpeopx_, _heighttpeopx_); People\_on.src = "_httpicontpeopon_"; People\_off = new Image(_widthtpeopx_, _heighttpeopx_); People\_off.src = "_httpicontpeopof_"; } ####################################################################### # general web macros ####################################################################### _mailaddr_ {nzdl@nzdl.org} _gsdltop_ {_top} ####################################################################### # http macros # # These contain the url without any quotes ####################################################################### _httpcollimg_ {_httpcollection_/index/assoc} _httpdocimg_ {_httpcollimg_/_thisOID_} _httpcollection_{_httpprefix_/collect/_cgiargc_} _httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_} _httppagestatus_ {_gwcgi_?e=_compressedoptions_&a=status} _httppageabout_ {_httppagex_(about)} #_httppagehome_ {_httppagex_(home)} _httppagehome_ {_gwcgi_?a=p&p=home} _httppagehelp_ {_httppagex_(help)} _httppagepref_ {_httppagex_(preferences)} _httpclearhistory_ {_gwcgi_?e=_compressedoptions_&a=dh} _httpgreenstone_ {_httppagex_(gsdl)} _httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_} _httpquery_ {_gwcgi_?e=_compressedoptions_&a=q} # _httpdoc_ is the same as _httpdocument_ - _httpdocument_ # may occasionally be altered by the server however _httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d} _httpdoc_ {_gwcgi_?e=_compressedoptions_&a=d} _httpextlink_ {_gwcgi_?e=_compressedoptions_&a=extlink} _httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc} _httpiconchalk_ {_httpimg_/chalk.gif} _widthchalk_ {2000} _heightchalk_ {10} _httpicondivb_ {_httpimg_/divb.gif} _widthdivb_ {_pagewidth_} _heightdivb_ {17} _httpicongsdl_ {_httpimg_/gsdl.gif} _widthgsdl_ {140} _heightgsdl_ {77} _httpiconitext_ {_httpimg_/itext.gif} _widthitext_ {16} _heightitext_ {21} _httpiconibtext_ {_httpimg_/ibtext.gif} _widthibtext_ {16} _heightibtext_ {21} _httpiconimpegvideo_ {_httpimg_/impegvideo.gif} _widthimpegvideo_ {29} _heightimpegvideo_ {32} _httpiconiqtvideo_ {_httpimg_/iqtvideo.gif} _widthiqtvideo_ {29} _heightiqtvideo_ {32} _httpiconirmvideo_ {_httpimg_/irmvideo.gif} _widthirmvideo_ {29} _heightirmvideo_ {32} _httpiconless_ {_httpimg_/less.gif} _widthless_ {30} _heightless_ {16} _httpiconmore_ {_httpimg_/more.gif} _widthmore_ {30} _heightmore_ {16} _httpiconspacer_ {_httpimg_/spacer.gif} _widthspacer_ {42} _heightspacer_ {4} _httpicontabspace_ {_httpimg_/tabspace.gif} _widthtabspace_ {23} _heighttabspace_ {1} _httpicontspace_ {_httpimg_/tspace.gif} _heighttspace_ {17} _httpiconwarning_ {_httpimg_/warning.gif} _widthwarning_ {30} _heightwarning_ {29} _httpiconhhome_ {_httpimg_/h\_home.gif} _widthhhome_ {200} _heighthhome_ {57} _httpiconarrrght_ {_httpimg_/arrrght.gif} _widtharrrght_ {23} _heightarrrght_ {15} _httpiconopenbook_ {_httpimg_/openbook.gif} _widthopenbook_ {28} _heightopenbook_ {23} _httpiconaopenbk_ {_httpimg_/aopenbk.gif} _widthaopenbk_ {28} _heightaopenbk_ {23} _httpiconopenfldr_ {_httpimg_/openfldr.gif} _widthopenfldr_ {23} _heightopenfldr_ {15} _httpiconaopenfdr_ {_httpimg_/aopenfdr.gif} _widthaopenfdr_ {23} _heightaopenfdr_ {15} _httpiconbook_ {_httpimg_/book.gif} _widthbook_ {18} _heightbook_ {11} _httpiconabook_ {_httpimg_/abook.gif} _widthabook_ {18} _heightabook_ {11} _httpiconbshelf_ {_httpimg_/bshelf.gif} _widthbshelf_ {20} _heightbshelf_ {16} _httpiconabshelf_ {_httpimg_/abshelf.gif} _widthabshelf_ {20} _heightabshelf_ {16} _httpiconsmtext_ {_httpimg_/smtext.gif} _widthsmtext_ {23} _heightsmtext_ {15} _httpiconasmtext_ {_httpimg_/asmtext.gif} _widthasmtext_ {23} _heightasmtext_ {15} _httpiconclsdfldr_ {_httpimg_/clsdfldr.gif} _widthclsdfldr_ {23} _heightclsdfldr_ {15} _httpiconaclsdfdr_ {_httpimg_/aclsdfdr.gif} _widthaclsdfdr_ {23} _heightaclsdfdr_ {15} ####################################################################### # Icons # # Must not include links (so they can be used as links). If you want to # include links use _image ####################################################################### _iconnext_{_texticonnext_} _iconnext_[v=1] {_texticonnext_} _iconprev_{_texticonprev_} _iconprev_[v=1] {_texticonprev_} _icontabsearchgreen_ {} _icontabsearchgreen_[v=1] {_texticontabsearchgreen_} _icontabListgreen_ {} _icontablistgreen_ [v=1] {_texticontablistgreen_} _icontabTitlegreen_ {} _icontabTitlegreen_[v=1] {_texticontabtitlegreen_} _icontabCreatorgreen_ {} _icontabCreatorgreen_[v=1] {_texticontabauthorgreen_} _icontabSeriesgreen_ {} _icontabSeriesgreen_[v=1] {_texticontabseriesgreen_} _icontabDategreen_ {} _icontabDategreen_[v=1] {_texticontabdategreen_} _icontabSubjectgreen_ {} _icontabSubjectgreen_[v=1] {_texticontabsubjectgreen_} _icontabHowtogreen_ {} _icontabHowtogreen_[v=1] {_texticontabhowgreen_} _icontabTopicgreen_ {} _icontabTopicgreen_[v=1] {_texticontabtopicgreen_} _icontabBrowsegreen_ {} _icontabBrowsegreen_[v=1] {_texticontabbrwsegreen_} _icontabOrganizationgreen_ {} _icontabOrganizationgreen_[v=1] {_texticontaborggreen_} _icontabPeoplegreen_ {} _icontabPeoplegreen_[v=1] {_texticontabPeoplegreen_} _iconblankbar_ {
} _iconblankbar_[v=1] {


} _icontext_ {_texticontext_} _icontext_[v=1] {_texticontext_} _iconblanktext_ {} _iconblanktext_[v=1] {} _iconclosedbook_ {_texticonclosedbook_} _iconclosedbook_ [v=1] {_texticonclosedbook_: } _iconclosedbook_ [v=1,l=zh]{<_font_>_texticonclosedbook_: } ####################################################################### # Image links # # These might include a link (not like an _icon_ ####################################################################### _imageabout_ {_textimageabout_} _imageabout_[v=1] { _textimageabout_ } _imagehome_ {_textimagehome_} _imagehome_[v=1] { _textimagehome_ } _imagehelp_ {_textimagehelp_} _imagehelp_[v=1] { _textimagehelp_ } _imagepref_ {_textimagepref_} _imagepref_[v=1] { _textimagepref_ } _imagegreenstone_ {_textimagegreenstone_} _imagegreenstone_[v=1] {_textimagegreenstone_}