source: trunk/gsdl/macros/home.dm@ 10601

Last change on this file since 10601 was 10601, checked in by jrm21, 19 years ago

add alt text for gsdlhead.gif

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.4 KB
Line 
1# this file must be UTF-8 encoded
2
3package 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" alt="_textimagegreenstone_">}
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_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
45
46_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
47
48# Buttons for the pane after the collections and before the text
49
50_imagegli_ {_gsimage_(_httppagegli_,_home:httpiconcgliof_,_home:httpiconcglion_,gli,_gli:textgli_)}
51
52_imagecollector_ {_gsimage_(_httppagecollector_,_home:httpiconccolof_,_home:httpiconccolon_,col,_collector:textcollector_)}
53
54_imagetranslator_ {_gsimage_(_httppagetranslator_,_home:httpiconctransof_,_home:httpiconctranson_,trans,_translang:texttranslator_)}
55
56_imageadmin_ {_gsimage_(_httppagestatus_,_home:httpiconcadminof_,_home:httpiconcadminon_,admin,_home:textadmin_)}
57
58_imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_home:httpiconcabgsof_,_home:httpiconcabgson_,gogs,_home:textabgs_)}
59
60_imagegodocs_ {_gsimage_(_home:httppagedocs_,_home:httpiconcgsdocof_,_home:httpiconcgsdocon_,docs,_home:textgsdocs_)}
61
62
63#######################################################################
64# page content
65#######################################################################
66
67_content_ {
68<center>
69<p>_iconselectcollection_
70</center>
71<p>_homeextra_
72
73<center>
74<p>_iconblankbar_
75</center>
76<p><table>
77_textgogli_
78_textgocollector_
79_textgotranslator_
80_textgoadmin_
81_textgogreenstone_
82_textgodocs_
83</table>
84<center>
85<p>_iconblankbar_
86</center>
87_textaboutgreenstone_
88<center>
89<p>_iconblankbar_
90</center>
91}
92
93# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
94# may be overridden to be empty from within the receptionist if the
95# collector, translator, or admin facilities are disabled
96
97_textgogli_ {
98<tr valign=top>
99<td valign=top>_imagegli_</td>
100<td>_textimagegli_</td>
101</tr>
102}
103
104_textgocollector_ {
105<tr valign=top>
106<td valign=top>_imagecollector_</td>
107<td>_textimagecollector_</td>
108</tr>
109}
110
111_textgotranslator_ {
112<tr valign=top>
113<td valign=top>_imagetranslator_</td>
114<td>_textimagetranslator_</td>
115</tr>
116}
117
118_textgoadmin_ {
119<tr valign=top>
120<td valign=top>_imageadmin_</td>
121<td>_textimageadmin_</td>
122</tr>
123}
124
125_textgogreenstone_ {
126<tr valign=top>
127<td valign=top>_imagegogreenstone_</td>
128<td>_textimagegogreenstone_</td>
129</tr>
130}
131
132_textgodocs_ {
133<tr valign=top>
134<td valign=top>_imagegodocs_</td>
135<td>_textimagegodocs_</td>
136</tr>
137}
138
139package homehelp
140
141_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
142
143_collectionlist_ {}
144
145_javalinks_ {_imagehome_}
146_javalinks_ [v=1] {
147_imagehome_<br>
148}
149
150_content_ {
151<center>
152<p>_iconblankbar_
153</center>
154<p>
155<table border="0" cellspacing="0" cellpadding="0">
156 <tr>
157 <td valign="top" align="center">_imagegreenstone_</td>
158 <td valign="top">_gsdl:textgreenstone1_
159 <br><br>
160 </td>
161 </tr>
162</table>
163
164<center>
165<p>_iconblankbar_
166</center>
167_If_(_collectionlist_,_collectionlist_,_textnocollections_)
168
169<center>
170<p>_iconblankbar_
171</center>
172<p>_text4buts_
173<p><table>
174_home:textgogli_
175_home:textgocollector_
176_home:textgotranslator_
177_home:textgoadmin_
178_home:textgogreenstone_
179_home:textgodocs_
180</table>
181<center>
182<p>_iconblankbar_
183</center>
184}
185
186
187package homepref
188
189_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
190
191_javalinks_ {_homepref:imagehome_}
192_javalinks_ [v=1] {
193_homepref:imagehome_<br>
194}
195
196_pagescriptextra_ {_preferences:pagescriptextra_}
197
198
199_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
200_httppagehome_ {_httppagex_(home)}
201
202_content_ {
203<center>
204<p>_iconblankbar_
205</center>
206
207<form name=PrefForm method=get action="_gwcgi_">
208<h3>_preferences:textpresentationprefs_</h3>
209
210<table border="0">
211<tr valign="top">
212<td>_preferences:textlanguage_</td>
213<td>_languageoption_</td>
214</tr>
215<tr valign="top">
216<td>_preferences:textencoding_</td>
217<td>_encodingoption_</td>
218</tr>
219<tr valign="top">
220_preferences:formatoption_
221</tr>
222</table>
223<p>_iconblankbar_
224}
Note: See TracBrowser for help on using the repository browser.