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