source: main/tags/2.70-branch-merged/gsdl/macros/home.dm@ 24502

Last change on this file since 24502 was 11357, checked in by kjdon, 18 years ago

homehelp is no longer - just uses the standard help pages (without the 'how to find info in this collection' bit)

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.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_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="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
43}
44
45_imagegli_ {_button_(_httppagegli_,_gli:textgli_,_gli:textglilong_)}
46
47_imagecollector_ {_button_(_httppagecollector_,_collector:textcollector_,_collector::textcollector_)}
48
49_imagetranslator_ {_button_(_httppagetranslator_,_gti:textgti_)}
50
51_imageadmin_ {_button_(_httppagestatus_,_home:textadmin_,_home:textadmin_)}
52
53_imagegogreenstone_ {_button_(_home:httppagegsdl_,_home:textabgs_,_home:textabgs_)}
54
55_imagegodocs_ {_button_(_home:httppagedocs_,_home:textgsdocs_,_home:textgsdocs_)}
56
57
58#######################################################################
59# page content
60#######################################################################
61
62# _homeextra_ is the automatically generated list of collections (in a table)
63_content_ {
64<div id="content">
65<div class="divbar">
66<p class="navbar">
67_textdescrselcol_
68</p>
69</div>
70
71<div class="section">
72_homeextra_
73</div>
74
75<div class="divbar">&nbsp;</div>
76
77<div class="section">
78<p><table>
79_textgogli_
80_textgocollector_
81_textgotranslator_
82_textgoadmin_
83_textgogreenstone_
84_textgodocs_
85</table>
86</div>
87
88<div class="divbar">&nbsp;</div>
89
90<div class="section">
91_textaboutgreenstone_
92</div>
93
94<div class="divbar">&nbsp;</div>
95
96</div>
97}
98
99# the _textgocollector_, _textgotranslator_, and _textgoadmin_ macros
100# may be overridden to be empty from within the receptionist if the
101# collector, translator, or admin facilities are disabled
102
103_textgogli_ {
104<tr valign=top>
105<td valign=top>_imagegli_</td>
106<td>_textdescrgli_</td>
107</tr>
108}
109
110_textgocollector_ {
111<tr valign=top>
112<td valign=top>_imagecollector_</td>
113<td>_textdescrcollector_</td>
114</tr>
115}
116
117_textgotranslator_ {
118<tr valign=top>
119<td valign=top>_imagetranslator_</td>
120<td>_textdescrtranslator_</td>
121</tr>
122}
123
124_textgoadmin_ {
125<tr valign=top>
126<td valign=top>_imageadmin_</td>
127<td>_textdescradmin_</td>
128</tr>
129}
130
131_textgogreenstone_ {
132<tr valign=top>
133<td valign=top>_imagegogreenstone_</td>
134<td>_textdescrgogreenstone_</td>
135</tr>
136}
137
138_textgodocs_ {
139<tr valign=top>
140<td valign=top>_imagegodocs_</td>
141<td>_textdescrgodocs_</td>
142</tr>
143}
144
145
146package homepref
147_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
148
149_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
150
151_globallinks_ {_homelink_ _helplink_}
152
153_pagescriptextra_ {_preferences:pagescriptextra_}
154
155_content_ {
156<div id="content">
157
158<div class="divbar">&nbsp;</div>
159
160<div class="section">
161<form name="PrefForm" method="get" action="_gwcgi_">
162<h3>_preferences:textpresentationprefs_</h3>
163
164<table border="0">
165<tr valign="top">
166<td>_preferences:textlanguage_</td>
167<td>_languageoption_</td>
168</tr>
169<tr valign="top">
170<td>_preferences:textencoding_</td>
171<td>_encodingoption_</td>
172</tr>
173<tr valign="top">
174_preferences:formatoption_
175</tr>
176</table>
177</div>
178
179<div class="divbar">&nbsp;</div>
180
181</div> <!-- \_homepref:content\_ -->
182}
Note: See TracBrowser for help on using the repository browser.