root/trunk/gsdl/macros/document.dm @ 2021

Revision 2021, 10.4 KB (checked in by paynter, 19 years ago)

Added support for multiple phind classifiers.

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