source: main/tags/2.62/gsdl/macros/home.dm@ 24171

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

removes around a macro that already includes its own quotes

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