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

Last change on this file since 11142 was 11117, checked in by jrm21, 18 years ago

In the language files, renamed the _tabtext*_ macros to be called _label*_.
The new nav_css.dm macro file re-defines the _tabtext*_ macros and some of
the macros from base.dm/style.dm/home.dm to do with the navigation bar
and the home/help/preferences links have also been moved into nav_css.dm

A separate nav_ns4.dm macro (not committed here) exists that can be used
instead of nav_css.dm and uses the old behaviour of the roll-over images
for the navigation bar.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.2 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_imagegli_ {_gsimage_(_httppagegli_,_home:httpiconcgliof_,_home:httpiconcglion_,gli,_gli:textgli_)}
44
45_imagecollector_ {_gsimage_(_httppagecollector_,_home:httpiconccolof_,_home:httpiconccolon_,col,_collector:textcollector_)}
46
47_imagetranslator_ {_gsimage_(_httppagetranslator_,_home:httpiconctransof_,_home:httpiconctranson_,trans,_translang:texttranslator_)}
48
49_imageadmin_ {_gsimage_(_httppagestatus_,_home:httpiconcadminof_,_home:httpiconcadminon_,admin,_home:textadmin_)}
50
51_imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_home:httpiconcabgsof_,_home:httpiconcabgson_,gogs,_home:textabgs_)}
52
53_imagegodocs_ {_gsimage_(_home:httppagedocs_,_home:httpiconcgsdocof_,_home:httpiconcgsdocon_,docs,_home:textgsdocs_)}
54
55
56#######################################################################
57# page content
58#######################################################################
59
60# _homeextra_ is the automatically generated list of collections (in a table)
61_content_ {
62<div id="content">
63<div class="divbar">
64<p class="navbar">
65_textdescrselcol_
66</p>
67</div>
68
69<div class="section">
70_homeextra_
71</div>
72
73<div class="divbar">&nbsp;</div>
74
75<div class="section">
76<p><table>
77_textgogli_
78_textgocollector_
79_textgotranslator_
80_textgoadmin_
81_textgogreenstone_
82_textgodocs_
83</table>
84</div>
85
86<div class="divbar">&nbsp;</div>
87
88<div class="section">
89_textaboutgreenstone_
90</div>
91
92<div class="divbar">&nbsp;</div>
93
94</div>
95}
96
97# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
98# may be overridden to be empty from within the receptionist if the
99# collector, translator, or admin facilities are disabled
100
101_textgogli_ {
102<tr valign=top>
103<td valign=top>_imagegli_</td>
104<td>_textdescrgli_</td>
105</tr>
106}
107
108_textgocollector_ {
109<tr valign=top>
110<td valign=top>_imagecollector_</td>
111<td>_textdescrcollector_</td>
112</tr>
113}
114
115_textgotranslator_ {
116<tr valign=top>
117<td valign=top>_imagetranslator_</td>
118<td>_textdescrtranslator_</td>
119</tr>
120}
121
122_textgoadmin_ {
123<tr valign=top>
124<td valign=top>_imageadmin_</td>
125<td>_textdescradmin_</td>
126</tr>
127}
128
129_textgogreenstone_ {
130<tr valign=top>
131<td valign=top>_imagegogreenstone_</td>
132<td>_textdescrgogreenstone_</td>
133</tr>
134}
135
136_textgodocs_ {
137<tr valign=top>
138<td valign=top>_imagegodocs_</td>
139<td>_textdescrgodocs_</td>
140</tr>
141}
142
143package homehelp
144
145_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
146
147_collectionlist_ {}
148
149_globallinks_ {_homelink_}
150
151_content_ {
152<div id="content">
153
154<div class="divbar">&nbsp;</div>
155
156<div class="section">
157<p>
158<table border="0" cellspacing="0" cellpadding="0">
159 <tr>
160 <td valign="top" align="center">_imagegreenstone_</td>
161 <td valign="top">_gsdl:textgreenstone1_
162 <br><br>
163 </td>
164 </tr>
165</table>
166</div>
167
168<div class="divbar">&nbsp;</div>
169
170<div class="section">
171_If_(_collectionlist_,_collectionlist_,_textnocollections_)
172</div>
173
174<div class="divbar">&nbsp;</div>
175
176<div class="section">
177<p>_text4buts_
178<p><table>
179_home:textgogli_
180_home:textgocollector_
181_home:textgotranslator_
182_home:textgoadmin_
183_home:textgogreenstone_
184_home:textgodocs_
185</table>
186</div>
187
188<div class="divbar">&nbsp;</div>
189
190</div>
191}
192
193
194package homepref
195_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
196
197_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
198
199_globallinks_ {_homelink_}
200
201_pagescriptextra_ {_preferences:pagescriptextra_}
202
203_content_ {
204<div id="content">
205
206<div class="divbar">&nbsp;</div>
207
208<div class="section">
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</div>
226
227<div class="divbar">&nbsp;</div>
228
229</div> <!-- \_homepref:content\_ -->
230}
Note: See TracBrowser for help on using the repository browser.