root/gsdl/trunk/macros/home.dm @ 14972

Revision 14972, 4.4 KB (checked in by davidb, 12 years ago)

Tidying up some HTML

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