####################################################################### # GLOBAL MACROS ####################################################################### package Global ####################################################################### # page content # # these should always be overridden for each page/collection ####################################################################### _content_ {
UNDEFINED PAGE
} _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 ####################################################################### _pagewidth_ {537} _searchwidth_ {_widthtsrchx_} _Titlewidth_ {_widthttitlx_} _Listwidth_ {_widthtlistx_} _Creatorwidth_ {_widthtauthx_} _Serieswidth_ {_widthtserx_} _Datewidth_ {_widthtdatex_} _Subjectwidth_ {_widthtsubjx_} _Organizationwidth_ {_widthtorgx_} _Howtowidth_ {_widththowx_} _Topicwidth_ {_widthttopicx_} _Browsewidth_ {_widthtbrwsex_} ####################################################################### # 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_
} _imageList_ {_textimageList_} _imageList_[v=1] {_textimageList_
} _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_
} ####################################################################### # 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_"; } ####################################################################### # general web macros ####################################################################### _mailaddr_ {nzdl@nzdl.org} ####################################################################### # http macros # # These contain the url without any quotes ####################################################################### _httpcollection_{_httpprefix_/collect/_cgiargc_} _httppagex_ {_gwcgi_?e=_compressedoptions_&a=p&p=_1_} _httppageabout_ {_httppagex_(about)} #_httppagehome_ {_httppagex_(home)} _httppagehome_ {_gwcgi_?a=p&p=home} _httppagehelp_ {_httppagex_(help)} _httppagepref_ {_httppagex_(preferences)} _httpgreenstone_ {_httppagex_(gsdl)} _httpcurrentdocument_ {_gwcgi_?e=_compressedoptions_&cl=_cgiargcl_&d=_cgiargd_} _httpquery_ {_gwcgi_?e=_compressedoptions_&a=q} _httpdocument_ {_gwcgi_?e=_compressedoptions_&a=d} _httpiconchalk_ {_httpimg_/chalk.gif} _widthchalk_ {2000} _heightchalk_ {10} _httpiconchelpof_ {_httpimg_/chelpof.gif} _httpiconchelpof_ [l=mi] {_httpimg_/mchelpof.gif} _httpiconchelpon_ {_httpimg_/chelpon.gif} _httpiconchelpon_ [l=mi] {_httpimg_/mchelpon.gif} _widthchelpx_ {36} _widthchelpx_ [l=mi] {57} _heightchelpx_ {20} _httpiconchomeof_ {_httpimg_/chomeof.gif} _httpiconchomeof_ [l=mi] {_httpimg_/mchomeof.gif} _httpiconchomeon_ {_httpimg_/chomeon.gif} _httpiconchomeon_ [l=mi] {_httpimg_/mchomeon.gif} _widthchomex_ {43} _widthchomex_ [l=mi] {54} _heightchomex_ {20} _httpiconcprefof_ {_httpimg_/cprefof.gif} _httpiconcprefof_ [l=mi] {_httpimg_/mcprefof.gif} _httpiconcprefon_ {_httpimg_/cprefon.gif} _httpiconcprefon_ [l=mi] {_httpimg_/mcprefon.gif} _widthcprefx_ {87} _widthcprefx_ [l=mi] {103} _heightcprefx_ {20} _httpiconcabtof_ {_httpimg_/cabtof.gif} _httpiconcabton_ {_httpimg_/cabton.gif} _widthcabtx_ {50} _heightcabtx_ {20} _httpicondivb_ {_httpimg_/divb.gif} _widthdivb_ {_pagewidth_} _heightdivb_ {17} _httpicongsdl_ {_httpimg_/gsdl.gif} _widthgsdl_ {140} _heightgsdl_ {77} _httpiconhhelp_ {_httpimg_/h\_help.gif} _widthhhelp_ {200} _heighthhelp_ {57} _httpiconitext_ {_httpimg_/itext.gif} _widthitext_ {16} _heightitext_ {21} _httpiconibtext_ {_httpimg_/ibtext.gif} _widthibtext_ {16} _heightibtext_ {21} _httpiconless_ {_httpimg_/less.gif} _widthless_ {30} _heightless_ {16} _httpiconmore_ {_httpimg_/more.gif} _widthmore_ {30} _heightmore_ {16} _httpiconqryresb_ {_httpimg_/qryresb.gif} _httpiconqryresb_ [l=mi] {_httpimg_/mqryresb.gif} _widthqryresb_ {_pagewidth_} _heightqryresb_ {17} _httpiconspacer_ {_httpimg_/spacer.gif} _widthspacer_ {42} _heightspacer_ {4} _httpicontabspace_ {_httpimg_/tabspace.gif} _widthtabspace_ {23} _heighttabspace_ {1} _httpicontauthgr_ {_httpimg_/tauthgr.gif} _httpicontauthof_ {_httpimg_/tauthof.gif} _httpicontauthon_ {_httpimg_/tauthon.gif} _widthtauthx_ {110} _heighttauthx_ {17} _httpicontsergr_ {_httpimg_/tsergr.gif} _httpicontsergr_ [l=mi] {_httpimg_/mtsergr.gif} _httpicontserof_ {_httpimg_/tserof.gif} _httpicontserof_ [l=mi] {_httpimg_/mtserof.gif} _httpicontseron_ {_httpimg_/tseron.gif} _httpicontseron_ [l=mi] {_httpimg_/mtseron.gif} _widthtserx_ {87} _widthtserx_ [l=mi] {192} _heighttserx_ {17} _httpicontdategr_ {_httpimg_/tdategr.gif} _httpicontdategr_ [l=mi] {_httpimg_/mtdategr.gif} _httpicontdateof_ {_httpimg_/tdateof.gif} _httpicontdateof_ [l=mi] {_httpimg_/mtdateof.gif} _httpicontdateon_ {_httpimg_/tdateon.gif} _httpicontdateon_ [l=mi] {_httpimg_/mtdateon.gif} _widthtdatex_ {87} _heighttdatex_ {17} _httpicontsubjgr_ {_httpimg_/tsubjgr.gif} _httpicontsubjon_ {_httpimg_/tsubjon.gif} _httpicontsubjof_ {_httpimg_/tsubjof.gif} _widthtsubjx_ {87} _heighttsubjx_ {17} _httpicontorggr_{_httpimg_/torggr.gif} _httpicontorgon_{_httpimg_/torgon.gif} _httpicontorgof_{_httpimg_/torgof.gif} _widthtorgx_ {109} _heighttorgx_ {17} _httpiconthowgr_{_httpimg_/thowgr.gif} _httpiconthowon_{_httpimg_/thowon.gif} _httpiconthowof_{_httpimg_/thowof.gif} _widththowx_ {87} _heightthowx_ {17} _httpiconttopicgr_{_httpimg_/ttopicgr.gif} _httpiconttopicon_{_httpimg_/ttopicon.gif} _httpiconttopicof_{_httpimg_/ttopicof.gif} _widthttopicx_ {87} _heightttopicx_ {17} _httpicontbrwsegr_{_httpimg_/tbrwsegr.gif} _httpicontbrwseon_{_httpimg_/tbrwseon.gif} _httpicontbrwseof_{_httpimg_/tbrwseof.gif} _widthtbrwsex_ {87} _heighttbrwsex_ {17} _httpicontsrchgr_ {_httpimg_/tsrchgr.gif} _httpicontsrchgr_ [l=mi] {_httpimg_/mtsrchgr.gif} _httpicontsrchof_ {_httpimg_/tsrchof.gif} _httpicontsrchof_ [l=mi] {_httpimg_/mtsrchof.gif} _httpicontsrchon_ {_httpimg_/tsrchon.gif} _httpicontsrchon_ [l=mi] {_httpimg_/mtsrchon.gif} _widthtsrchx_ {87} _heighttsrchx_ {17} _httpicontlistgr_ {_httpimg_/tlistgr.gif} _httpicontlistof_ {_httpimg_/tlistof.gif} _httpicontliston_ {_httpimg_/tliston.gif} _widthtlistx_ {87} _heighttlistx_ {17} _httpiconttitlgr_ {_httpimg_/ttitlgr.gif} _httpiconttitlof_ {_httpimg_/ttitlof.gif} _httpiconttitlon_ {_httpimg_/ttitlon.gif} _widthttitlx_ {87} _heightttitlx_ {17} _httpicontspace_ {_httpimg_/tspace.gif} _heighttspace_ {17} _httpiconwarning_ {_httpimg_/warning.gif} _widthwarning_ {30} _heightwarning_ {29} _httpiconhabout_ {_httpimg_/h\_about.gif} _widthhabout_ {200} _heighthabout_ {57} _httpiconhhome_ {_httpimg_/h\_home.gif} _widthhhome_ {200} _heighthhome_ {57} _httpiconhname_ {_httpimg_/h\_name.gif} _widthhname_ {200} _heighthname_ {57} _httpicontnamegr_ {_httpimg_/tnamegr.gif} _httpicontnameof_ {_httpimg_/tnameof.gif} _httpicontnameon_ {_httpimg_/tnameon.gif} _widthtnamex_ {95} _heighttnamex_ {17} _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_} _iconblankbar_ {
} _iconblankbar_[v=1] {


} _icontext_ {_texticontext_} _icontext_[v=1] {_texticontext_} _iconblanktext_ {} _iconblanktext_[v=1] {} _iconclosedbook_ {_texticonclosedbook_} _iconclosedbook_ [v=1] {_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_} ################################ # English Macros # ################################ _textimagecollection_ {} _textimageabout_ {About page} _textimagehome_ {Home page} _textimagehelp_ {Help page} _textimagepref_ {Preferences page} _textimagegreenstone_ {Greenstone Digital Library Software} _textimagesearch_ {Search for specific terms} _textimageTitle_ {Browse alphabetical list of titles} _textimageList_ {Browse document listing} _textimageCreator_ {Browse alphabetical list of authors} _textimageSeries_ {Browse by issue} _textimageDate_ {Browse by date} _textimageSubject_ {Browse by subject category} _textimageOrganization_ {Browse by organization} _textimageHowto_ {Browse how to categories} _textimageTopic_ {Browse special topic issues} _textimageBrowse_ {Browse} _texticontabsearchgreen_{Search} _texticontabdategreen_{Dates} _texticontabseriesgreen_{Series} _texticontabauthorgreen_{Authors A-Z} _texticontabtitlegreen_{Titles A-Z} _texticontablistgreen_ {Listing} _texticontabsubjectgreen_{Subjects} _texticontaborggreen_{Organization} _texticontabhowgreen_{How to} _texticontabtopicgreen_{Topics} _texticontabbrwsegreen_{Browse} _texticontext_ {View the document} _texticonclosedbook_ {open this document and view contents} _texticonnext_ {to next section} _texticonprev_ {to previous section} _page_ {page } _of_ { of } _vol_ {Volume} _num_ {Number} _textmonth00_ {} _textmonth01_ {January} _textmonth02_ {February} _textmonth03_ {March} _textmonth04_ {April} _textmonth05_ {May} _textmonth06_ {June} _textmonth07_ {July} _textmonth08_ {August} _textmonth09_ {September} _textmonth10_ {October} _textmonth11_ {November} _textmonth12_ {December} _magazines_ {Magazines} ################################ # Maori Macros # ################################ _textimagehelp_ [l=mi] {Te whärangi whakamärama} _textimagepref_ [l=mi] {Te whärangi o ngä whiriwhiringa} _textimagehome_ [l=mi] {Te whärangi käinga} _textimagesearch_ [l=mi] {rapua he kupu} _textimagebrowseseries_ [l=mi] {Tirohia te whakarärangi o ngä niupepa} _textimagebrowsedates_ [l=mi] {Tirohia te wä i puta mai ai ngä niupepa} _page_ [l=mi] {whärangi} _vol_ [l=mi] {Pukapuka} _num_ [l=mi] {Nama} _textmonth01_ [l=mi] {Hanuere} _textmonth02_ [l=mi] {Pepuere} _textmonth03_ [l=mi] {Maehe} _textmonth04_ [l=mi] {Aperira} _textmonth05_ [l=mi] {Mei} _textmonth06_ [l=mi] {Hune} _textmonth07_ [l=mi] {Hurae} _textmonth08_ [l=mi] {Akuhata} _textmonth09_ [l=mi] {Hepetema} _textmonth10_ [l=mi] {Oketopa} _textmonth11_ [l=mi] {Noema} _textmonth12_ [l=mi] {Tihema} _of_ [l=mi] {i te} _texticontabsearchgreen_ [l=mi] {rapu} _texticontabdatesgreen_ [l=mi] {wätaka} _texticontabseriesgreen_ [l=mi] {whakarärangi niupepa} _texticonnext_ [l=mi] {titiro ki te whärangi o muri} _texticonprev_ [l=mi] {titiro ki te whärangi o mua} _texticontext_ [l=mi] {Tirohia te whärangi}