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