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

Last change on this file since 3105 was 3105, checked in by sjboddie, 22 years ago

Added a "keywords" button

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