source: main/tags/2.51-jcdl/gsdl/macros/home.dm@ 25200

Last change on this file since 25200 was 7343, checked in by jrm21, 20 years ago

added a comment at the start of all macro files about using UTF-8

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 5.3 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_ {_textimagegreenstone_}
9
10#######################################################################
11# java images/scripts
12#######################################################################
13
14# the _javalinks_ macros are the flashy image links at the top right of
15# the page. this is overridden here as we don't want 'home'
16# links on this page
17
18_javalinks_ {_imagehelp__imagepref_}
19_javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
20
21#######################################################################
22# icons
23#######################################################################
24
25_iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt="_altselcolgr_" title="_altselcolgr_">}
26_iconmusiclibrary_ {<img align=texttop src="_httpicontmusic_" border=1 alt="meldex music library" title="meldex music library">}
27
28_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
29
30#######################################################################
31# http macros
32#
33# These contain the url without any quotes
34#######################################################################
35
36_httppagegsdl_ {_httppagex_(gsdl)}
37_httppagehomehelp_ {_httppagex_(homehelp)}
38_httppagehomepref_ {_httppagex_(homepref)}
39
40#######################################################################
41# images
42#######################################################################
43
44
45_imagegli_ {_gsimage_(_httppagegli_,_httpimg_/cgliof.gif,_httpimg_/cglion.gif,gli,_gli:textgli_)}
46_imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col,_collector:textcollector_)}
47_imagetranslator_ {_gsimage_(_httppagetranslator_,_httpimg_/ctransof.gif,_httpimg_/ctranson.gif,trans,_translang:texttranslator_)}
48_imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin,_home:textadmin_)}
49_imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs,_home:textabgs_)}
50_imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs,_home:textgsdocs_)}
51_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
52_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
53
54#######################################################################
55# page content
56#######################################################################
57
58_content_ {
59<center>
60<p>_iconselectcollection_
61</center>
62<p>_homeextra_
63
64<center>
65<p>_iconblankbar_
66</center>
67<p><table>
68_textgogli_
69_textgocollector_
70_textgotranslator_
71_textgoadmin_
72_textgogreenstone_
73_textgodocs_
74</table>
75<center>
76<p>_iconblankbar_
77</center>
78_textaboutgreenstone_
79<center>
80<p>_iconblankbar_
81</center>
82}
83
84# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
85# may be overridden to be empty from within the receptionist if the
86# collector, translator, or admin facilities are disabled
87
88_textgogli_ {
89<tr valign=top>
90<td valign=top>_imagegli_</td>
91<td>_textimagegli_</td>
92</tr>
93}
94
95_textgocollector_ {
96<tr valign=top>
97<td valign=top>_imagecollector_</td>
98<td>_textimagecollector_</td>
99</tr>
100}
101
102_textgotranslator_ {
103<tr valign=top>
104<td valign=top>_imagetranslator_</td>
105<td>_textimagetranslator_</td>
106</tr>
107}
108
109_textgoadmin_ {
110<tr valign=top>
111<td valign=top>_imageadmin_</td>
112<td>_textimageadmin_</td>
113</tr>
114}
115
116_textgogreenstone_ {
117<tr valign=top>
118<td valign=top>_imagegogreenstone_</td>
119<td>_textimagegogreenstone_</td>
120</tr>
121}
122
123_textgodocs_ {
124<tr valign=top>
125<td valign=top>_imagegodocs_</td>
126<td>_textimagegodocs_</td>
127</tr>
128}
129
130package homehelp
131
132_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
133
134_collectionlist_ {}
135
136_javalinks_ {_imagehome_}
137_javalinks_ [v=1] {
138_imagehome_<br>
139}
140
141_content_ {
142<center>
143<p>_iconblankbar_
144</center>
145<p>
146<table border=0 cellspacing=0 cellpadding=0>
147 <tr>
148 <td valign=top align=center>_imagegreenstone_</td>
149 <td valign=top>_gsdl:textgreenstone1_
150 <br><br>
151 </td>
152 </tr>
153</table>
154
155<center>
156<p>_iconblankbar_
157</center>
158_If_(_collectionlist_,_collectionlist_,_textnocollections_)
159
160<center>
161<p>_iconblankbar_
162</center>
163<p>_text4buts_
164<p><table>
165_home:textgogli_
166_home:textgocollector_
167_home:textgotranslator_
168_home:textgoadmin_
169_home:textgogreenstone_
170_home:textgodocs_
171</table>
172<center>
173<p>_iconblankbar_
174</center>
175}
176
177
178package homepref
179
180_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
181
182_javalinks_ {_homepref:imagehome_}
183_javalinks_ [v=1] {
184_homepref:imagehome_<br>
185}
186
187_pagescriptextra_ {_preferences:pagescriptextra_}
188
189
190_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
191_httppagehome_ {_httppagex_(home)}
192
193_content_ {
194<center>
195<p>_iconblankbar_
196</center>
197
198<form name=PrefForm method=get action="_gwcgi_">
199<h3>_preferences:textpresentationprefs_</h3>
200
201<table border="0">
202<tr valign="top">
203<td>_preferences:textlanguage_</td>
204<td>_languageoption_</td>
205</tr>
206<tr valign="top">
207<td>_preferences:textencoding_</td>
208<td>_encodingoption_</td>
209</tr>
210<tr valign="top">
211_preferences:formatoption_
212</tr>
213</table>
214<p>_iconblankbar_
215}
Note: See TracBrowser for help on using the repository browser.