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

Last change on this file since 258 was 258, checked in by sjboddie, 25 years ago

Gradually getting document action working

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
1package document
2
3#######################################################################
4# macros set from within the server
5#######################################################################
6
7_classificationlinks_ {}
8_imagethispage_ {}
9_httpprevarrow_ {}
10_httpnextarrow_ {}
11
12#######################################################################
13# page content
14#######################################################################
15
16_pagetitle_ {_collectionname_}
17
18_content_ {
19<center>
20_navigationbar_
21<p>
22_classificationlinks_
23</center>
24}
25
26#######################################################################
27# navigation arrows
28#
29#######################################################################
30
31_navarrows_ {<center>
32<table width=_pagewidth_ cellpadding=0 cellspacing=0 border=0>
33<tr><td align=left valign=top>
34_prevarrow_
35</td><td align=right valign=top>
36_nextarrow_
37</td></tr></table>
38</center>
39}
40
41_prevarrow_ {_If_(_httpprevarrow_,<a href="_httpprevarrow_">_iconprev_</a>)}
42_nextarrow_ {_If_(_httpnextarrow_,<a href="_httpnextarrow_">_iconnext_</a>)}
43
44_navarrows_ [version=text] {<p>
45_prevarrow_<br>
46_nextarrow_
47}
48
49#######################################################################
50# the goto form
51#######################################################################
52
53_gotoform_ {
54<form name="GotoForm" method="get" action="_gwcgi_">
55<input type=hidden name="e" value="_compressedoptions_">
56<input type=hidden name="d" value="_cgiargd_">
57<input type=hidden name="cl" value="_cgiargcl_">
58<input type="submit" value="go to page">
59<input type="text" name="gp" size="3" maxlength="4">
60</form>
61}
62
63#######################################################################
64# images
65#######################################################################
66
67# title images - there should be one of these for each classification
68# supported by this receptionist
69
70_iconTitlepage_ {<img src="_httpiconhtitle_" width=_widthhtitle_
71height=_heighthtitle_}
72_iconTitlepage_ [version=text] {<h2>_texticonhtitle_</h2>}
73
74_iconCreatorpage_ {<img src="_httpiconhauth_" width=_widthhauth_
75height=_heighthauth_}
76_iconCreatorpage_ [version=text] {<h2>_texticonhauth_</h2>}
77
78_iconSubjectpage_ {<img src="_httpiconhsubj_" width=_widthhsubj_
79height=_heighthsubj_}
80_iconSubjectpage_ [version=text] {<h2>_texticonhsubj_</h2>}
81
82_iconSeriespage_ {<img src="_httpiconhser_" width=_widthhser_
83height=_heighthser_}
84_iconSeriespage_ [version=text] {<h2>_texticonhser_</h2>}
85
86_iconDatepage_ {<img src="_httpiconhdate_" width=_widthhdate_
87height=_heighthdate_}
88_iconDatepage_ [version=text] {<h2>_texticonhdate_</h2>}
89
90_iconHowtopage_ {<img src="_httpiconhhow_" width=_widthhhow_
91height=_heighthhow_}
92_iconHowtopage_ [version=text] {<h2>_texticonhhow_</h2>}
93
94_iconOrganizationpage_ {<img src="_httpiconhorg_" width=_widthhorg_
95height=_heighthorg_}
96_iconOrganizationpage_ [version=text] {<h2>_texticonhorg_</h2>}
97
98#######################################################################
99# https
100#######################################################################
101
102_httpiconhtitle_ {_httpimg_/h\_title.gif}
103_widthhtitle_ {200}
104_heighthtitle_ {57}
105
106_httpiconhauth_ {_httpimg_/h\_auth.gif}
107_widthhauth_ {200}
108_heighthauth_ {57}
109
110_httpiconhsubj_ {_httpimg_/h\_subj.gif}
111_widthhsubj_ {200}
112_heighthsubj_ {57}
113
114_httpiconhser_ {_httpimg_/h\_ser.gif}
115_httpiconhser_ [language=mi] {_httpimg_/mh\_ser.gif}
116_widthhser_ {200}
117_widthhser_ [language=mi] {310}
118_heighthser_ {57}
119
120_httpiconhdate_ {_httpimg_/h\_date.gif}
121_httpiconhdate_ [language=mi] {_httpimg_/mh\_date.gif}
122_widthhdate_ {200}
123_heighthdate_ {57}
124
125_httpiconhhow_ {_httpimg_/h\_how.gif}
126_widthhhow_ {200}
127_heighthhow_ {57}
128
129_httpiconhorg_ {_httpimg_/h\_org.gif}
130_widthhorg_ {250}
131_heighthorg_ {57}
132
133
134#######################################################################
135# headers/footers
136#######################################################################
137
138
139# header overridden for text pages
140_textheader_ {_cgihead_
141_htmlhead_('background="_httpiconchalk_"')
142}
143
144_footer_ {
145<p>
146_navarrows_
147<p>
148<center><i>_linkotherversion_</i></center>
149<center><i>_linkotherlanguage_</i></center>
150</table>
151_endspacer__htmlfooter_
152}
153
154_footer_[style=restrict] {
155<p>
156_navarrows_
157_htmlfooter_
158}
159
160_footer_[style=htmlonly] {
161<p>
162_navarrows_
163_endspacer__htmlfooter_
164}
165
166
167#######################################################################
168# English language text macros
169#######################################################################
170
171_texticonhtitle_ {Titles A-Z}
172_texticonhauth_ {Authors A-Z}
173_texticonhsubj_ {Subjects}
174_texticonhser_ {Series}
175_texticonhdate_ {Dates}
176_texticonhhow_ {How to}
177_texticonhorg_ {Organizations}
Note: See TracBrowser for help on using the repository browser.