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

Last change on this file since 14119 was 13523, checked in by shaoqun, 17 years ago

modify the stylename of the buttons of the home page

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 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<div class="section">
74_homeextra_
75</div>
76
77<div class="divbar">&nbsp;</div>
78
79<div class="section">
80<table>
81_textgogli_
82_textgocollector_
83_textgodepositor_
84_textgotranslator_
85_textgoadmin_
86_textgogreenstone_
87_textgodocs_
88</table>
89</div>
90
91<div class="divbar">&nbsp;</div>
92
93<div class="section">
94_textaboutgreenstone_
95</div>
96
97<div class="divbar">&nbsp;</div>
98
99</div>
100}
101
102# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
103# may be overridden to be empty from within the receptionist if the
104# collector, translator, or admin facilities are disabled
105
106_textgogli_ {
107<tr valign=top>
108<td valign=top>_imagegli_</td>
109<td>_gli:textdescrgli_</td>
110</tr>
111}
112
113_textgocollector_ {
114<tr valign=top>
115<td valign=top>_imagecollector_</td>
116<td>_collector:textdescrcollector_</td>
117</tr>
118}
119
120_textgodepositor_ {
121<tr valign=top>
122<td valign=top>_imagedepositor_</td>
123<td>_depositor:textdescrdepositor_</td>
124</tr>
125}
126
127_textgotranslator_ {
128<tr valign=top>
129<td valign=top>_imagetranslator_</td>
130<td>_gti:textdescrtranslator_</td>
131</tr>
132}
133
134_textgoadmin_ {
135<tr valign=top>
136<td valign=top>_imageadmin_</td>
137<td>_textdescradmin_</td>
138</tr>
139}
140
141_textgogreenstone_ {
142<tr valign=top>
143<td valign=top>_imagegogreenstone_</td>
144<td>_textdescrgogreenstone_</td>
145</tr>
146}
147
148_textgodocs_ {
149<tr valign=top>
150<td valign=top>_imagegodocs_</td>
151<td>_textdescrgodocs_</td>
152</tr>
153}
154
155
156package homepref
157_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
158
159_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_" border="0"></a>}
160
161_globallinks_ {_homelink_ _helplink_}
162
163_pagescriptextra_ {_preferences:pagescriptextra_}
164
165_content_ {
166<div id="content">
167
168<div class="divbar">&nbsp;</div>
169
170<div class="section">
171<form name="PrefForm" method="get" action="_gwcgi_">
172<h3>_preferences:textpresentationprefs_</h3>
173
174<table border="0">
175<tr valign="top">
176<td>_preferences:textlanguage_</td>
177<td>_languageoption_</td>
178</tr>
179<tr valign="top">
180<td>_preferences:textencoding_</td>
181<td>_encodingoption_</td>
182</tr>
183<tr valign="top">
184_preferences:formatoption_
185</tr>
186</table>
187</div>
188
189<div class="divbar">&nbsp;</div>
190
191</div> <!-- \_homepref:content\_ -->
192}
Note: See TracBrowser for help on using the repository browser.