source: main/trunk/greenstone2/macros/home.dm@ 31974

Last change on this file since 31974 was 31932, checked in by kjdon, 7 years ago

removed docs link. moved textaboutgreenstone into here, and made the individual text fragments their own macros for translation

  • 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_httppagehomepref_ {_httppagex_(homepref)}
35
36#######################################################################
37# images
38#######################################################################
39
40# Buttons for the pane after the collections and before the text
41
42_button_ {<div class="homebutton"><span class="button"><a href="_1_">_2_</a></span></div>
43}
44
45_imagegli_ {_button_(_httppagegli_,_gli:textgli_)}
46
47_imagecollector_ {_button_(_httppagecollector_,_collector:textcollector_)}
48
49_imagedepositor_ {_button_(_httppagedepositor_,_depositor:textdepositor_)}
50
51_imagetranslator_ {_button_(_httppagetranslator_,_gti:textgti_)}
52
53_imageadmin_ {_button_(_httppagestatus_,_home:textadmin_)}
54
55_imagegogreenstone_ {_button_(_home:httppagegsdl_,_home:textabgs_)}
56
57_imagegodocs_ {_button_(_home:httppagedocs_,_home:textgsdocs_)}
58
59
60#######################################################################
61# page content
62#######################################################################
63
64# _homeextra_ is the automatically generated list of collections (in a table)
65_content_ {
66<div id="content">
67<div class="divbar">
68<p class="navbar">
69_textdescrselcol_
70</p>
71</div>
72
73<p>
74
75<div class="section">
76_homeextra_
77</div>
78
79<div class="divbar">&nbsp;</div>
80
81<div class="section">
82<table>
83_textgogli_
84_textgocollector_
85_textgodepositor_
86_textgotranslator_
87_textgoadmin_
88_textgogreenstone_
89</table>
90</div>
91
92<div class="divbar">&nbsp;</div>
93
94<div class="section">
95_textaboutgreenstone_
96</div>
97
98<div class="divbar">&nbsp;</div>
99
100</div>
101}
102
103_textaboutgreenstone_ {
104
105<p>_gsdl:textgreenstone1_</p>
106<p>_aimofsoftware_</p>
107<p>_softwaredevel_</p>
108<p>
109<a href="http://nzdl.org"><b>_nzdltitle_</b></a><br>
110_nzdldescr_</p>
111<p><a href="http://www.unesco.org"><img alt="UNESCO logo" src="_httpimg_/unesco.gif"
112class="logo"></a>
113<a href="http://www.unesco.org"><b>_unescotitle_</b></a>
114<br>
115_unescodescr_
116</p>
117<a href="http://humaninfo.org"><img alt="Human Info logo" src="_httpimg_/ghproj2.jpg" class="logo"></a>
118<a href="http://humaninfo.org"><b>_humaninfotitle_</b></a>
119<br>
120_humaninfodescr_
121</p>
122}
123# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
124# may be overridden to be empty from within the receptionist if the
125# collector, translator, or admin facilities are disabled
126
127_textgogli_ {
128<tr valign=top>
129<td valign=top>_imagegli_</td>
130<td>_gli:textdescrgli_</td>
131</tr>
132}
133
134_textgocollector_ {
135<tr valign=top>
136<td valign=top>_imagecollector_</td>
137<td>_collector:textdescrcollector_</td>
138</tr>
139}
140
141_textgodepositor_ {
142<tr valign=top>
143<td valign=top>_imagedepositor_</td>
144<td>_depositor:textdescrdepositor_</td>
145</tr>
146}
147
148_textgotranslator_ {
149<tr valign=top>
150<td valign=top>_imagetranslator_</td>
151<td>_gti:textdescrtranslator_</td>
152</tr>
153}
154
155_textgoadmin_ {
156<tr valign=top>
157<td valign=top>_imageadmin_</td>
158<td>_textdescradmin_</td>
159</tr>
160}
161
162_textgogreenstone_ {
163<tr valign=top>
164<td valign=top>_imagegogreenstone_</td>
165<td>_textdescrgogreenstone_</td>
166</tr>
167}
168
169_textgodocs_ {
170<tr valign=top>
171<td valign=top>_imagegodocs_</td>
172<td>_textdescrgodocs_</td>
173</tr>
174}
175
176
177package homepref
178_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
179
180_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_" border="0"></a>}
181
182_globallinks_ {_homelink_ _helplink_}
183
184_pagescriptextra_ {_preferences:pagescriptextra_}
185
186_content_ {
187<div id="content">
188
189<div class="divbar">&nbsp;</div>
190
191<div class="section">
192<form name="PrefForm" method="get" action="_gwcgi_">
193<h3>_preferences:textpresentationprefs_</h3>
194
195<table border="0">
196<tr valign="top">
197<td>_preferences:textlanguage_</td>
198<td>_languageoption_</td>
199</tr>
200<tr valign="top">
201<td>_preferences:textencoding_</td>
202<td>_encodingoption_</td>
203</tr>
204<tr valign="top">
205_preferences:formatoption_
206</tr>
207</table>
208</div>
209
210<div class="divbar">&nbsp;</div>
211
212</div> <!-- \_homepref:content\_ -->
213}
Note: See TracBrowser for help on using the repository browser.