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_ {_textdescrgreenstone_}
|
---|
9 |
|
---|
10 | #######################################################################
|
---|
11 | # global navigation links
|
---|
12 | #######################################################################
|
---|
13 |
|
---|
14 | # overridden here as we don't want 'home' links on this page
|
---|
15 |
|
---|
16 | # home:helplink and home:preflink set in nav_css/ns4 macro files
|
---|
17 | _globallinks_ {_helplink_ _preflink_}
|
---|
18 |
|
---|
19 | #######################################################################
|
---|
20 | # icons
|
---|
21 | #######################################################################
|
---|
22 |
|
---|
23 | _iconmusiclibrary_ {<img src="_httpicontmusic_" border="1" alt="meldex music library" title="meldex music library">}
|
---|
24 |
|
---|
25 | _imagecollection_ {<img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_">}
|
---|
26 |
|
---|
27 | #######################################################################
|
---|
28 | # http macros
|
---|
29 | #
|
---|
30 | # These contain the url without any quotes
|
---|
31 | #######################################################################
|
---|
32 |
|
---|
33 | _httppagegsdl_ {_httppagex_(gsdl)}
|
---|
34 | _httppagehomepref_ {_httppagex_(homepref)}
|
---|
35 |
|
---|
36 | #######################################################################
|
---|
37 | # images
|
---|
38 | #######################################################################
|
---|
39 |
|
---|
40 | # Buttons for the pane after the collections and before the text
|
---|
41 |
|
---|
42 | _button_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
|
---|
43 | }
|
---|
44 |
|
---|
45 | _imagegli_ {_button_(_httppagegli_,_gli:textgli_,_gli:textglilong_)}
|
---|
46 |
|
---|
47 | _imagecollector_ {_button_(_httppagecollector_,_collector:textcollector_,_collector::textcollector_)}
|
---|
48 |
|
---|
49 | _imagetranslator_ {_button_(_httppagetranslator_,_gti:textgti_)}
|
---|
50 |
|
---|
51 | _imageadmin_ {_button_(_httppagestatus_,_home:textadmin_,_home:textadmin_)}
|
---|
52 |
|
---|
53 | _imagegogreenstone_ {_button_(_home:httppagegsdl_,_home:textabgs_,_home:textabgs_)}
|
---|
54 |
|
---|
55 | _imagegodocs_ {_button_(_home:httppagedocs_,_home:textgsdocs_,_home:textgsdocs_)}
|
---|
56 |
|
---|
57 |
|
---|
58 | #######################################################################
|
---|
59 | # page content
|
---|
60 | #######################################################################
|
---|
61 |
|
---|
62 | # _homeextra_ is the automatically generated list of collections (in a table)
|
---|
63 | _content_ {
|
---|
64 | <div id="content">
|
---|
65 | <div class="divbar">
|
---|
66 | <p class="navbar">
|
---|
67 | _textdescrselcol_
|
---|
68 | </p>
|
---|
69 | </div>
|
---|
70 |
|
---|
71 | <div class="section">
|
---|
72 | _homeextra_
|
---|
73 | </div>
|
---|
74 |
|
---|
75 | <div class="divbar"> </div>
|
---|
76 |
|
---|
77 | <div class="section">
|
---|
78 | <p><table>
|
---|
79 | _textgogli_
|
---|
80 | _textgocollector_
|
---|
81 | _textgotranslator_
|
---|
82 | _textgoadmin_
|
---|
83 | _textgogreenstone_
|
---|
84 | _textgodocs_
|
---|
85 | </table>
|
---|
86 | </div>
|
---|
87 |
|
---|
88 | <div class="divbar"> </div>
|
---|
89 |
|
---|
90 | <div class="section">
|
---|
91 | _textaboutgreenstone_
|
---|
92 | </div>
|
---|
93 |
|
---|
94 | <div class="divbar"> </div>
|
---|
95 |
|
---|
96 | </div>
|
---|
97 | }
|
---|
98 |
|
---|
99 | # the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
|
---|
100 | # may be overridden to be empty from within the receptionist if the
|
---|
101 | # collector, translator, or admin facilities are disabled
|
---|
102 |
|
---|
103 | _textgogli_ {
|
---|
104 | <tr valign=top>
|
---|
105 | <td valign=top>_imagegli_</td>
|
---|
106 | <td>_textdescrgli_</td>
|
---|
107 | </tr>
|
---|
108 | }
|
---|
109 |
|
---|
110 | _textgocollector_ {
|
---|
111 | <tr valign=top>
|
---|
112 | <td valign=top>_imagecollector_</td>
|
---|
113 | <td>_textdescrcollector_</td>
|
---|
114 | </tr>
|
---|
115 | }
|
---|
116 |
|
---|
117 | _textgotranslator_ {
|
---|
118 | <tr valign=top>
|
---|
119 | <td valign=top>_imagetranslator_</td>
|
---|
120 | <td>_textdescrtranslator_</td>
|
---|
121 | </tr>
|
---|
122 | }
|
---|
123 |
|
---|
124 | _textgoadmin_ {
|
---|
125 | <tr valign=top>
|
---|
126 | <td valign=top>_imageadmin_</td>
|
---|
127 | <td>_textdescradmin_</td>
|
---|
128 | </tr>
|
---|
129 | }
|
---|
130 |
|
---|
131 | _textgogreenstone_ {
|
---|
132 | <tr valign=top>
|
---|
133 | <td valign=top>_imagegogreenstone_</td>
|
---|
134 | <td>_textdescrgogreenstone_</td>
|
---|
135 | </tr>
|
---|
136 | }
|
---|
137 |
|
---|
138 | _textgodocs_ {
|
---|
139 | <tr valign=top>
|
---|
140 | <td valign=top>_imagegodocs_</td>
|
---|
141 | <td>_textdescrgodocs_</td>
|
---|
142 | </tr>
|
---|
143 | }
|
---|
144 |
|
---|
145 |
|
---|
146 | package homepref
|
---|
147 | _pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
|
---|
148 |
|
---|
149 | _imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
|
---|
150 |
|
---|
151 | _globallinks_ {_homelink_ _helplink_}
|
---|
152 |
|
---|
153 | _pagescriptextra_ {_preferences:pagescriptextra_}
|
---|
154 |
|
---|
155 | _content_ {
|
---|
156 | <div id="content">
|
---|
157 |
|
---|
158 | <div class="divbar"> </div>
|
---|
159 |
|
---|
160 | <div class="section">
|
---|
161 | <form name="PrefForm" method="get" action="_gwcgi_">
|
---|
162 | <h3>_preferences:textpresentationprefs_</h3>
|
---|
163 |
|
---|
164 | <table border="0">
|
---|
165 | <tr valign="top">
|
---|
166 | <td>_preferences:textlanguage_</td>
|
---|
167 | <td>_languageoption_</td>
|
---|
168 | </tr>
|
---|
169 | <tr valign="top">
|
---|
170 | <td>_preferences:textencoding_</td>
|
---|
171 | <td>_encodingoption_</td>
|
---|
172 | </tr>
|
---|
173 | <tr valign="top">
|
---|
174 | _preferences:formatoption_
|
---|
175 | </tr>
|
---|
176 | </table>
|
---|
177 | </div>
|
---|
178 |
|
---|
179 | <div class="divbar"> </div>
|
---|
180 |
|
---|
181 | </div> <!-- \_homepref:content\_ -->
|
---|
182 | }
|
---|