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

Last change on this file since 11331 was 11261, checked in by kjdon, 18 years ago

removed some stupid stuff from the help page - actually its all stupid cos it doesn't actually help you. Also added in links to pref and help from help and pref pages, respectively.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.9 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_ _home:preflink_}
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}
180
181
182package homepref
183_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
184
185_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
186
187_globallinks_ {_homelink_ _home:helplink_}
188
189_pagescriptextra_ {_preferences:pagescriptextra_}
190
191_content_ {
192<div id="content">
193
194<div class="divbar">&nbsp;</div>
195
196<div class="section">
197<form name="PrefForm" method="get" action="_gwcgi_">
198<h3>_preferences:textpresentationprefs_</h3>
199
200<table border="0">
201<tr valign="top">
202<td>_preferences:textlanguage_</td>
203<td>_languageoption_</td>
204</tr>
205<tr valign="top">
206<td>_preferences:textencoding_</td>
207<td>_encodingoption_</td>
208</tr>
209<tr valign="top">
210_preferences:formatoption_
211</tr>
212</table>
213</div>
214
215<div class="divbar">&nbsp;</div>
216
217</div> <!-- \_homepref:content\_ -->
218}
Note: See TracBrowser for help on using the repository browser.