1 | package home
|
---|
2 |
|
---|
3 | # set the title of the home page to be "greenstone digital library"
|
---|
4 | # in the currently chosen language
|
---|
5 |
|
---|
6 | _pagetitle_ {_textimagegreenstone_}
|
---|
7 |
|
---|
8 | #######################################################################
|
---|
9 | # java images/scripts
|
---|
10 | #######################################################################
|
---|
11 |
|
---|
12 | # the _javalinks_ macros are the flashy image links at the top right of
|
---|
13 | # the page. this is overridden here as we don't want 'home'
|
---|
14 | # links on this page
|
---|
15 |
|
---|
16 | _javalinks_ {_imagehelp__imagepref_}
|
---|
17 | _javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
|
---|
18 |
|
---|
19 | #######################################################################
|
---|
20 | # icons
|
---|
21 | #######################################################################
|
---|
22 |
|
---|
23 | _iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt="_altselcolgr_" title="_altselcolgr_">}
|
---|
24 | _iconmusiclibrary_ {<img align=texttop src="_httpicontmusic_" border=1 alt="meldex music library" title="meldex music library">}
|
---|
25 |
|
---|
26 | _imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
|
---|
27 |
|
---|
28 | #######################################################################
|
---|
29 | # http macros
|
---|
30 | #
|
---|
31 | # These contain the url without any quotes
|
---|
32 | #######################################################################
|
---|
33 |
|
---|
34 | _httppagegsdl_ {_httppagex_(gsdl)}
|
---|
35 | _httppagehomehelp_ {_httppagex_(homehelp)}
|
---|
36 | _httppagehomepref_ {_httppagex_(homepref)}
|
---|
37 |
|
---|
38 | #######################################################################
|
---|
39 | # images
|
---|
40 | #######################################################################
|
---|
41 |
|
---|
42 |
|
---|
43 | _imagegli_ {_gsimage_(_httppagegli_,_httpimg_/cgliof.gif,_httpimg_/cglion.gif,gli,_gli:textgli_)}
|
---|
44 | _imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col,_collector:textcollector_)}
|
---|
45 | _imagetranslator_ {_gsimage_(_httppagetranslator_,_httpimg_/ctransof.gif,_httpimg_/ctranson.gif,trans,_translang:texttranslator_)}
|
---|
46 | _imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin,_home:textadmin_)}
|
---|
47 | _imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs,_home:textabgs_)}
|
---|
48 | _imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs,_home:textgsdocs_)}
|
---|
49 | _imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
|
---|
50 | _imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
|
---|
51 |
|
---|
52 | #######################################################################
|
---|
53 | # page content
|
---|
54 | #######################################################################
|
---|
55 |
|
---|
56 | _content_ {
|
---|
57 | <center>
|
---|
58 | <p>_iconselectcollection_
|
---|
59 | </center>
|
---|
60 | <p>_homeextra_
|
---|
61 |
|
---|
62 | <center>
|
---|
63 | <p>_iconblankbar_
|
---|
64 | </center>
|
---|
65 | <p><table>
|
---|
66 | _textgogli_
|
---|
67 | _textgocollector_
|
---|
68 | _textgotranslator_
|
---|
69 | _textgoadmin_
|
---|
70 | _textgogreenstone_
|
---|
71 | _textgodocs_
|
---|
72 | </table>
|
---|
73 | <center>
|
---|
74 | <p>_iconblankbar_
|
---|
75 | </center>
|
---|
76 | _textaboutgreenstone_
|
---|
77 | <center>
|
---|
78 | <p>_iconblankbar_
|
---|
79 | </center>
|
---|
80 | }
|
---|
81 |
|
---|
82 | # the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
|
---|
83 | # may be overridden to be empty from within the receptionist if the
|
---|
84 | # collector, translator, or admin facilities are disabled
|
---|
85 |
|
---|
86 | _textgogli_ {
|
---|
87 | <tr valign=top>
|
---|
88 | <td valign=top>_imagegli_</td>
|
---|
89 | <td>_textimagegli_</td>
|
---|
90 | </tr>
|
---|
91 | }
|
---|
92 |
|
---|
93 | _textgocollector_ {
|
---|
94 | <tr valign=top>
|
---|
95 | <td valign=top>_imagecollector_</td>
|
---|
96 | <td>_textimagecollector_</td>
|
---|
97 | </tr>
|
---|
98 | }
|
---|
99 |
|
---|
100 | _textgotranslator_ {
|
---|
101 | <tr valign=top>
|
---|
102 | <td valign=top>_imagetranslator_</td>
|
---|
103 | <td>_textimagetranslator_</td>
|
---|
104 | </tr>
|
---|
105 | }
|
---|
106 |
|
---|
107 | _textgoadmin_ {
|
---|
108 | <tr valign=top>
|
---|
109 | <td valign=top>_imageadmin_</td>
|
---|
110 | <td>_textimageadmin_</td>
|
---|
111 | </tr>
|
---|
112 | }
|
---|
113 |
|
---|
114 | _textgogreenstone_ {
|
---|
115 | <tr valign=top>
|
---|
116 | <td valign=top>_imagegogreenstone_</td>
|
---|
117 | <td>_textimagegogreenstone_</td>
|
---|
118 | </tr>
|
---|
119 | }
|
---|
120 |
|
---|
121 | _textgodocs_ {
|
---|
122 | <tr valign=top>
|
---|
123 | <td valign=top>_imagegodocs_</td>
|
---|
124 | <td>_textimagegodocs_</td>
|
---|
125 | </tr>
|
---|
126 | }
|
---|
127 |
|
---|
128 | package homehelp
|
---|
129 |
|
---|
130 | _imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
|
---|
131 |
|
---|
132 | _collectionlist_ {}
|
---|
133 |
|
---|
134 | _javalinks_ {_imagehome_}
|
---|
135 | _javalinks_ [v=1] {
|
---|
136 | _imagehome_<br>
|
---|
137 | }
|
---|
138 |
|
---|
139 | _content_ {
|
---|
140 | <center>
|
---|
141 | <p>_iconblankbar_
|
---|
142 | </center>
|
---|
143 | <p>
|
---|
144 | <table border=0 cellspacing=0 cellpadding=0>
|
---|
145 | <tr>
|
---|
146 | <td valign=top align=center>_imagegreenstone_</td>
|
---|
147 | <td valign=top>_gsdl:textgreenstone1_
|
---|
148 | <br><br>
|
---|
149 | </td>
|
---|
150 | </tr>
|
---|
151 | </table>
|
---|
152 |
|
---|
153 | <center>
|
---|
154 | <p>_iconblankbar_
|
---|
155 | </center>
|
---|
156 | _If_(_collectionlist_,_collectionlist_,_textnocollections_)
|
---|
157 |
|
---|
158 | <center>
|
---|
159 | <p>_iconblankbar_
|
---|
160 | </center>
|
---|
161 | <p>_text4buts_
|
---|
162 | <p><table>
|
---|
163 | _home:textgogli_
|
---|
164 | _home:textgocollector_
|
---|
165 | _home:textgotranslator_
|
---|
166 | _home:textgoadmin_
|
---|
167 | _home:textgogreenstone_
|
---|
168 | _home:textgodocs_
|
---|
169 | </table>
|
---|
170 | <center>
|
---|
171 | <p>_iconblankbar_
|
---|
172 | </center>
|
---|
173 | }
|
---|
174 |
|
---|
175 |
|
---|
176 | package homepref
|
---|
177 |
|
---|
178 | _imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
|
---|
179 |
|
---|
180 | _javalinks_ {_homepref:imagehome_}
|
---|
181 | _javalinks_ [v=1] {
|
---|
182 | _homepref:imagehome_<br>
|
---|
183 | }
|
---|
184 |
|
---|
185 | _pagescriptextra_ {_preferences:pagescriptextra_}
|
---|
186 |
|
---|
187 |
|
---|
188 | _imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
|
---|
189 | _httppagehome_ {_httppagex_(home)}
|
---|
190 |
|
---|
191 | _content_ {
|
---|
192 | <center>
|
---|
193 | <p>_iconblankbar_
|
---|
194 | </center>
|
---|
195 |
|
---|
196 | <form name=PrefForm method=get action="_gwcgi_">
|
---|
197 | <h3>_preferences:textpresentationprefs_</h3>
|
---|
198 |
|
---|
199 | <table border="0">
|
---|
200 | <tr valign="top">
|
---|
201 | <td>_preferences:textlanguage_</td>
|
---|
202 | <td>_languageoption_</td>
|
---|
203 | </tr>
|
---|
204 | <tr valign="top">
|
---|
205 | <td>_preferences:textencoding_</td>
|
---|
206 | <td>_encodingoption_</td>
|
---|
207 | </tr>
|
---|
208 | <tr valign="top">
|
---|
209 | _preferences:formatoption_
|
---|
210 | </tr>
|
---|
211 | </table>
|
---|
212 | <p>_iconblankbar_
|
---|
213 | }
|
---|