source: trunk/gsdl/macros/document.dm@ 5622

Last change on this file since 5622 was 5622, checked in by nzdl, 21 years ago

added macros for captions nav bar button

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 12.8 KB
RevLine 
[258]1package document
2
3#######################################################################
4# macros set from within the server
5#######################################################################
6
7_imagethispage_ {}
8_httpprevarrow_ {}
9_httpnextarrow_ {}
[283]10_pagetitle_ {}
[1804]11_phindclassifier_ {}
[258]12
13#######################################################################
14# page content
15#######################################################################
16
17_content_ {
18<center>
19_navigationbar_
20<p>
[1804]21_phindclassifier_
[258]22</center>
23}
24
[2802]25_textTitlepage_ {_texticonhtitle_}
[5517]26_textDescriptionpage_ {_texticonhdescription_}
[2802]27_textCreatorpage_ {_texticonhauth_}
28_textSubjectpage_ {_texticonhsubj_}
29_textTopage_ {_texticonhto_}
30_textFrompage_ {_texticonhfrom_}
31_textSeriespage_ {_texticonhser_}
32_textDatepage_ {_texticonhdate_}
33_textHowtopage_ {_texticonhhow_}
34_textOrganizationpage_ {_texticonhorg_}
35_textBrowsepage_ {_texticonhbrwse_}
36_textPeoplepage_ {_texticonhpeople_}
37_textLanguagepage_ {_texticonhlanguage_}
38_textAcronympage_ {_texticonhacronym_}
39_textPhrasepage_ {_texticonhphrases_}
40_textArtistpage_ {_texticonhartist_}
41_textSourcepage_ {_texticonhsrc_}
[3105]42_textKeywordpage_ {_texticonhkw_}
[3534]43_textVolumepage_ {_texticonhvol_}
[5622]44_textCaptionspage_ {_texticonhcapt_}
[5517]45_textCountriespage_ {_texticonhcount_}
[2802]46
[258]47#######################################################################
48# navigation arrows
49#
50#######################################################################
51
[4868]52# these two may be reset to "" by the server
53_navarrowsbottom_ {_navarrows_}
54_navarrowstop_ {_navarrows_}
55
[258]56_navarrows_ {<center>
57<table width=_pagewidth_ cellpadding=0 cellspacing=0 border=0>
58<tr><td align=left valign=top>
59_prevarrow_
60</td><td align=right valign=top>
61_nextarrow_
62</td></tr></table>
63</center>
64}
65
66_prevarrow_ {_If_(_httpprevarrow_,<a href="_httpprevarrow_">_iconprev_</a>)}
67_nextarrow_ {_If_(_httpnextarrow_,<a href="_httpnextarrow_">_iconnext_</a>)}
68
[548]69_navarrows_ [v=1] {<p>
[258]70_prevarrow_<br>
71_nextarrow_
72}
73
74#######################################################################
75# the goto form
76#######################################################################
77
78_gotoform_ {
79<form name="GotoForm" method="get" action="_gwcgi_">
[876]80<input type=hidden name="e" value="_decodedcompressedoptions_">
[258]81<input type=hidden name="d" value="_cgiargd_">
82<input type=hidden name="cl" value="_cgiargcl_">
[666]83<input type="text" name="gp" size="3" maxlength="4">
[944]84<input type="submit" value="_textgoto_">
[258]85</form>
86}
87
[944]88_textnumpages_ {&nbsp;<i>(_1_ _pages_)</i>}
[666]89_parentarrow_ {}
90
91
[258]92#######################################################################
[1804]93# the phind applet
94#
95# The phind applet is only required on phind classifier pages.
96# Consequently, the _phindclassifier_ macro is not usually set. On screens
97# where it is required, _phindclassifier_ resolves to _phindapplet_, and
98# the following macro is loaded into the web page.
99#######################################################################
100
101_phindapplet_ {
[2507]102<APPLET CODEBASE="_httpprefix_/bin/java" CODE="org.nzdl.gsdl.Phind.Phind.class" ARCHIVE="Phind.jar" WIDTH=500 HEIGHT=400>
[3084]103 <PARAM NAME=library VALUE="_gwcgi_?e=_compressedoptions_">
[2487]104 <PARAM NAME=phindcgi VALUE="_gwcgi_?a=phind">
[1804]105 <PARAM NAME=collection VALUE="_cgiargc_">
[2021]106 <PARAM NAME=classifier VALUE="_phindnumber_">
107
[1804]108 <PARAM NAME=orientation VALUE="vertical">
109 <PARAM NAME=depth VALUE="2">
[2021]110 <PARAM NAME=resultorder VALUE="L,l,E,e,D,d">
111
112 <PARAM NAME=backdrop VALUE="_httpimg_/phindbg1.jpg">
113 <PARAM NAME=fontsize VALUE="10">
[1804]114 <PARAM NAME=blocksize VALUE="10">
[2021]115
[1804]116 The Phind java applet.
117</APPLET>
118}
119
120
121#######################################################################
[283]122# icons
[258]123#######################################################################
124
125# title images - there should be one of these for each classification
126# supported by this receptionist
127
[4462]128_iconTitlepage_ {<img src="_httpiconhtitle_" width="_widthhtitle_"
129height="_heighthtitle_">}
[548]130_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
[258]131
[5517]132_iconDescriptionpage_ {<img src="_httpiconhdescription_" width="_widthhdesc_"
133height="_heighthdesc_">}
134_iconDescriptionpage_ [v=1] {<h2>_texticonhdescription_</h2>}
135
[4462]136_iconListpage_ {<img src="_httpiconhlist_" width="_widthhlist_"
137height="_heighthlist_">}
[548]138_iconListpage_ [v=1] {<h2>_texticonhlist_</h2>}
[283]139
[4462]140_iconCreatorpage_ {<img src="_httpiconhauth_" width="_widthhauth_"
141height="_heighthauth_">}
[548]142_iconCreatorpage_ [v=1] {<h2>_texticonhauth_</h2>}
[258]143
[4462]144_iconSubjectpage_ {<img src="_httpiconhsubj_" width="_widthhsubj_"
145height="_heighthsubj_">}
[548]146_iconSubjectpage_ [v=1] {<h2>_texticonhsubj_</h2>}
[258]147
[4462]148_iconTopage_ {<img src="_httpiconhto_" width="_widthhto_"
149height="_heighthto_">}
[1207]150_iconTopage_ [v=1] {<h2>_texticonhto_</h2>}
151
[4462]152_iconFrompage_ {<img src="_httpiconhfrom_" width="_widthhfrom_"
153height="_heighthfrom_">}
[1207]154_iconFrompage_ [v=1] {<h2>_texticonhfrom_</h2>}
155
[4462]156_iconSeriespage_ {<img src="_httpiconhser_" width="_widthhser_"
157height="_heighthser_">}
[548]158_iconSeriespage_ [v=1] {<h2>_texticonhser_</h2>}
[258]159
[4462]160_iconDatepage_ {<img src="_httpiconhdate_" width="_widthhdate_"
161height="_heighthdate_">}
[548]162_iconDatepage_ [v=1] {<h2>_texticonhdate_</h2>}
[258]163
[4462]164_iconHowtopage_ {<img src="_httpiconhhow_" width="_widthhhow_"
165height="_heighthhow_">}
[548]166_iconHowtopage_ [v=1] {<h2>_texticonhhow_</h2>}
[258]167
[4462]168_iconTopicpage_ {<img src="_httpiconhtopic_" width="_widthhtopic_"
169height="_heighthtopic_">}
[548]170_iconTopicpage_ [v=1] {<h2>_texticonhtopic_</h2>}
[454]171
[4462]172_iconOrganizationpage_ {<img src="_httpiconhorg_" width="_widthhorg_"
173height="_heighthorg_">}
[548]174_iconOrganizationpage_ [v=1] {<h2>_texticonhorg_</h2>}
[258]175
[4462]176_iconBrowsepage_ {<img src="_httpiconhbrwse_" width="_widthhbrwse_"
177height="_heighthbrwse_">}
[548]178_iconBrowsepage_ [v=1] {<h2>_texticonhbrwse_</h2>}
[283]179
[4462]180_iconPeoplepage_ {<img src="_httpiconhpeople_" width="_widthhpeople_"
181height="_heighthpeople_">}
[601]182_iconPeoplepage_ [v=1] {<h2>_texticonhpeople_</h2>}
[454]183
[4462]184_iconLanguagepage_ {<img src="_httpiconhlanguage_" width="_widthhlanguage_"
185height="_heighthlanguage_">}
[1386]186_iconLanguagepage_ [v=1] {<h2>_texticonhlanguage_</h2>}
[454]187
[4462]188_iconAcronympage_ {<img src="_httpiconhacronym_" width="_widthhacronym_"
189height="_heighthacronym_">}
[1406]190_iconAcronympage_ [v=1] {<h2>_texticonhacronym_</h2>}
[1386]191
[4462]192_iconPhrasepage_ {<img src="_httpiconhphrse_" width="_widthhphrse_"
193height="_heighthphrse_">}
[1696]194_iconPhrasepage_ [v=1] {<h2>_texticonhphrse_</h2>}
[1386]195
[4462]196_iconArtistpage_ {<img src="_httpiconhartist_" width="_widthhartist_"
197height="_heighthartist_">}
[2672]198_iconArtistpage_ [v=1] {<h2>_texticonhartist_</h2>}
[1696]199
[4462]200_iconSourcepage_ {<img src="_httpiconhsrc_" width="_widthhsrc_"
201height="_heighthsrc_">}
[2765]202_iconSourcepage_ [v=1] {<h2>_texticonhsrc_</h2>}
[2672]203
[4462]204_iconKeywordpage_ {<img src="_httpiconhkw_" width="_widthhkw_"
205height="_heighthkw_">}
[3105]206_iconKeywordpage_ [v=1] {<h2>_texticonhkw_</h2>}
[2765]207
[4462]208_iconVolumepage_ {<img src="_httpiconhvol_" width="_widthhvol_"
209height="_heighthvol_">}
[3533]210_iconVolumepage_ [v=1] {<h2>_texticonhvol_</h2>}
[3105]211
[5622]212_iconCaptionspage_ {<img src="_httpiconhcapt_" width="_widthhcapt_"
213height="_heighthcapt_">}
214_iconCaptionspage_ [v=1] {<h2>_texticonhcapt_</h2>}
215
[5517]216_iconCountriespage_ {<img src="_httpiconhcount_" width="_widthhcount_"
217height="_heighthcount_">}
218_iconCountriespage_ [v=1] {<h2>_texticonhcount_</h2>}
[3533]219
[5517]220
[3775]221_iconsmalltext_ {<img src="_httpiconsmtext_" border=0 width=_widthsmtext_ height=_heightsmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
[548]222_iconsmalltext_ [v=1] {<small><b>_texticonsmalltext2_</b></small>}
[283]223
[3775]224_iconarrowsmalltext_ {<img src="_httpiconasmtext_" border=0 width=_widthasmtext_ height=_heightasmtext_ alt="_texticonsmalltext_" title="_texticonsmalltext_">}
[548]225_iconarrowsmalltext_ [v=1] {<small><b>->_texticonsmalltext2_</b></small>}
[454]226
[3775]227_iconclosedfolder_ {<img src="_httpiconclsdfldr_" border=0 width=_widthclsdfldr_ height=_heightclsdfldr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
[548]228_iconclosedfolder_ [v=1] {<small><b>_texticonclosedfolder2_</b></small>}
[283]229
[3775]230_iconarrowclosedfolder_ {<img src=_httpiconaclsdfdr_" border=0 width=_widthaclsdfdr_ height=_heightaclsdfdr_ alt="_texticonclosedfolder_" title="_texticonclosedfolder_">}
[548]231_iconarrowclosedfolder_ [v=1] {<small><b>->_texticonclosedfolder2_</b></small>}
[454]232
[3775]233_iconopenfolder_ {<img src="_httpiconopenfldr_" border=0 width=_widthopenfldr_ height=_heightopenfldr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
[548]234_iconopenfolder_ [v=1] {<small><b>_texticonopenfolder2_</b></small>}
[283]235
[3775]236_iconarrowopenfolder_ {<img src="_httpiconaopenfdr_" border=0 width=_widthaopenfdr_ height=_heightaopenfdr_ alt="_texticonopenfolder_" title="_texticonopenfolder_">}
[548]237_iconarrowopenfolder_ [v=1] {<small><b>->_texticonopenfolder2_</b></small>}
[454]238
[3775]239_iconarrowclosedbook_ {<img src="_httpiconabook_" width=_widthabook_ height=_heightabook_ border=0 alt="_texticonclosedbook_" title="_texticonclosedbook_">}
[548]240_iconarrowclosedbook_ [v=1] {<small><b>->_texticonclosedbook_: </b></small>}
[454]241
[3775]242_iconopenbook_ {<img src="_httpiconopenbook_" width=_widthopenbook_ height=_heightopenbook_ border=0 alt="_texticonopenbook_" title="_texticonopenbook_">}
[548]243_iconopenbook_ [v=1] {<small><b>_texticonopenbook_: </b></small>}
[283]244
[3775]245_iconarrowopenbook_ {<img src="_httpiconaopenbk_" width=_widthaopenbk_ height=_heightaopenbk_ border=0 alt="_texticonopenbook_" title="_texticonopenbook_">}
[548]246_iconarrowopenbook_ [v=1] {<small><b>->_texticonopenbook_: </b></small>}
[454]247
[3775]248_iconopenbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
[548]249_iconopenbookshelf_ [v=1] {<small><b>_texticonopenbookshelf_: </b></small>}
[283]250
[3775]251_iconarrowopenbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonopenbookshelf_" title="_texticonopenbookshelf_">}
[548]252_iconarrowopenbookshelf_ [v=1] {<small><b>->_texticonopenbookshelf_: </b></small>}
[454]253
[3775]254_iconclosedbookshelf_ {<img src="_httpiconbshelf_" border=0 width=_widthbshelf_ height=_heightbshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
[548]255_iconclosedbookshelf_ [v=1] {<small><b>_texticonclosedbookshelf_: </b></small>}
[283]256
[3775]257_iconarrowclosedbookshelf_ {<img src="_httpiconabshelf_" border=0 width=_widthabshelf_ height=_heightabshelf_ alt="_texticonclosedbookshelf_" title="_texticonclosedbookshelf_">}
[548]258_iconarrowclosedbookshelf_ [v=1] {<small><b>->_texticonclosedbookshelf_: </b></small>}
[454]259
[283]260_iconpointer_ {<img src="_httpiconarrrght_" border=0 width=_widtharrrght_ height=_heightarrrght_>}
[548]261_iconpointer_ [v=1] {<small><b>_texticonpointer_-> </b></small>}
[283]262
263_icontab_ {<img src="_httpicontabspace_" width=_widthtabspace_ height=_heighttabspace_>}
[454]264_tab_ {<td>_icontab_</td>}
[283]265
266_iconwarning_ {<img src="_httpiconwarning_" width=_widthwarning_ height=_heightwarning_ border=0 align=left>}
[548]267_iconwarning_ [v=1] {_texticonwarning_}
[283]268
269
[258]270#######################################################################
[283]271# images
272#######################################################################
273
[1419]274# can't use _gsimage_ macro for detach button as we need to include target
275_imagedetach_ {<a href="_httpcurrentdocument_&x=1" target=\_blank onMouseover="roll('detach',1);" onMouseOut="roll('detach',0);"><img
[3775]276name="detach" src="_httpiconedtchof_" onLoad="gbutton(this,'_httpiconedtchon_');" border=0 alt="_texticondetach_" title="_texticondetach_"></a>}
[1419]277_imagedetach_ [v=1] {<a href="_httpcurrentdocument_&x=1" target=\_blank>_texticondetach_</a><br>}
[283]278
[1419]279_imagehighlight_ {_gsimage_(_httpcurrentdocument_&hl=1&gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconehlof_,_document:httpiconehlon_,hl,_document:texticonhighlight_)}
[283]280
[1419]281_imagenohighlight_ {_gsimage_(_httpcurrentdocument_&hl=0&gc=_cgiarggc_&amp;gt=_cgiarggt_,_document:httpiconenhlof_,_document:httpiconenhlon_,nhl,_document:texticonnohighlight_)}
[283]282
[1419]283_imagecontracttoc_ {_gsimage_(_httpcurrentdocument_&gc=0,_document:httpiconeconcof_,_document:httpiconeconcon_,concon,_document:texticoncontracttoc_)}
[283]284
[1419]285_imageexpandtoc_ {_gsimage_(_httpcurrentdocument_&gc=1,_document:httpiconeexpcof_,_document:httpiconeexpcon_,expcon,_document:texticonexpandtoc_)}
[283]286
[1419]287_imagecontracttext_ {_gsimage_(_httpcurrentdocument_&amp;gt=0,_document:httpiconetsecof_,_document:httpiconetsecon_,thissec,_document:texticoncontracttext_)}
[283]288
[1419]289_imageexpandtext_ {_gsimage_(_httpcurrentdocument_&amp;gt=1,_document:httpiconealltof_,_document:httpiconeallton_,alltext,_document:texticonexpandtext_)}
[283]290
[1419]291_imagecont_ {_gsimage_(_httpcurrentdocument_&amp;gt=2,_document:httpiconcontoff_,_document:httpiconconton_,cont,_document:texticoncont_)}
[283]292
293
294#######################################################################
[258]295# headers/footers
296#######################################################################
297
298
299# header overridden for text pages
[1487]300# the tabspace is there because netscape refuses to let our flashy button
301# javacript stuff work on a button that is the first image in the page
[258]302_textheader_ {_cgihead_
[454]303_htmlhead_
[548]304<center>
305<table width=_pagewidth_><tr><td align=right>
[1487]306_icontab__javalinks_</td></tr></table>
[548]307</center>
[258]308}
[548]309_textheader_ [v=1] {_cgihead_
310_htmlhead_
311_javalinks_
312}
[258]313
314_footer_ {
315<p>
[4868]316_navarrowsbottom_
[258]317_endspacer__htmlfooter_
318}
Note: See TracBrowser for help on using the repository browser.