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

Last change on this file since 3534 was 3534, checked in by jrm21, 21 years ago

made volume plural on the buttons and the text equivalents.

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