source: main/tags/2.63/gsdl/macros/home.dm

Last change on this file was 11204, checked in by mdewsnip, 18 years ago

Fixed up _imagetranslator_.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.1 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_ {_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_httppagehomehelp_ {_httppagex_(homehelp)}
35_httppagehomepref_ {_httppagex_(homepref)}
36
37#######################################################################
38# images
39#######################################################################
40
41# Buttons for the pane after the collections and before the text
42
43_button_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
44}
45
46_imagegli_ {_button_(_httppagegli_,_gli:textgli_,_gli:textglilong_)}
47
48_imagecollector_ {_button_(_httppagecollector_,_collector:textcollector_,_collector::textcollector_)}
49
50_imagetranslator_ {_button_(_httppagetranslator_,_gti:textgti_)}
51
52_imageadmin_ {_button_(_httppagestatus_,_home:textadmin_,_home:textadmin_)}
53
54_imagegogreenstone_ {_button_(_home:httppagegsdl_,_home:textabgs_,_home:textabgs_)}
55
56_imagegodocs_ {_button_(_home:httppagedocs_,_home:textgsdocs_,_home:textgsdocs_)}
57
58
59#######################################################################
60# page content
61#######################################################################
62
63# _homeextra_ is the automatically generated list of collections (in a table)
64_content_ {
65<div id="content">
66<div class="divbar">
67<p class="navbar">
68_textdescrselcol_
69</p>
70</div>
71
72<div class="section">
73_homeextra_
74</div>
75
76<div class="divbar">&nbsp;</div>
77
78<div class="section">
79<p><table>
80_textgogli_
81_textgocollector_
82_textgotranslator_
83_textgoadmin_
84_textgogreenstone_
85_textgodocs_
86</table>
87</div>
88
89<div class="divbar">&nbsp;</div>
90
91<div class="section">
92_textaboutgreenstone_
93</div>
94
95<div class="divbar">&nbsp;</div>
96
97</div>
98}
99
100# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
101# may be overridden to be empty from within the receptionist if the
102# collector, translator, or admin facilities are disabled
103
104_textgogli_ {
105<tr valign=top>
106<td valign=top>_imagegli_</td>
107<td>_textdescrgli_</td>
108</tr>
109}
110
111_textgocollector_ {
112<tr valign=top>
113<td valign=top>_imagecollector_</td>
114<td>_textdescrcollector_</td>
115</tr>
116}
117
118_textgotranslator_ {
119<tr valign=top>
120<td valign=top>_imagetranslator_</td>
121<td>_textdescrtranslator_</td>
122</tr>
123}
124
125_textgoadmin_ {
126<tr valign=top>
127<td valign=top>_imageadmin_</td>
128<td>_textdescradmin_</td>
129</tr>
130}
131
132_textgogreenstone_ {
133<tr valign=top>
134<td valign=top>_imagegogreenstone_</td>
135<td>_textdescrgogreenstone_</td>
136</tr>
137}
138
139_textgodocs_ {
140<tr valign=top>
141<td valign=top>_imagegodocs_</td>
142<td>_textdescrgodocs_</td>
143</tr>
144}
145
146package homehelp
147
148_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
149
150_collectionlist_ {}
151
152_globallinks_ {_homelink_}
153
154_content_ {
155<div id="content">
156
157<div class="divbar">&nbsp;</div>
158
159<div class="section">
160<p>
161<table border="0" cellspacing="0" cellpadding="0">
162 <tr>
163 <td valign="top" align="center">_imagegreenstone_</td>
164 <td valign="top">_gsdl:textgreenstone1_
165 <br><br>
166 </td>
167 </tr>
168</table>
169</div>
170
171<div class="divbar">&nbsp;</div>
172
173<div class="section">
174_If_(_collectionlist_,_collectionlist_,_textnocollections_)
175</div>
176
177<div class="divbar">&nbsp;</div>
178
179<div class="section">
180<p>_text4buts_
181<p><table>
182_home:textgogli_
183_home:textgocollector_
184_home:textgotranslator_
185_home:textgoadmin_
186_home:textgogreenstone_
187_home:textgodocs_
188</table>
189</div>
190
191<div class="divbar">&nbsp;</div>
192
193</div>
194}
195
196
197package homepref
198_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
199
200_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
201
202_globallinks_ {_homelink_}
203
204_pagescriptextra_ {_preferences:pagescriptextra_}
205
206_content_ {
207<div id="content">
208
209<div class="divbar">&nbsp;</div>
210
211<div class="section">
212<form name="PrefForm" method="get" action="_gwcgi_">
213<h3>_preferences:textpresentationprefs_</h3>
214
215<table border="0">
216<tr valign="top">
217<td>_preferences:textlanguage_</td>
218<td>_languageoption_</td>
219</tr>
220<tr valign="top">
221<td>_preferences:textencoding_</td>
222<td>_encodingoption_</td>
223</tr>
224<tr valign="top">
225_preferences:formatoption_
226</tr>
227</table>
228</div>
229
230<div class="divbar">&nbsp;</div>
231
232</div> <!-- \_homepref:content\_ -->
233}
Note: See TracBrowser for help on using the repository browser.