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

Last change on this file since 13433 was 13075, checked in by kjdon, 18 years ago

translator package is called gti not translator

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.4 KB
RevLine 
[7343]1# this file must be UTF-8 encoded
2
[128]3package home
4
[3725]5# set the title of the home page to be "greenstone digital library"
6# in the currently chosen language
7
[10872]8_pagetitle_ {_textdescrgreenstone_}
[3725]9
[276]10#######################################################################
[10872]11# global navigation links
[276]12#######################################################################
13
[10872]14# overridden here as we don't want 'home' links on this page
[276]15
[11117]16# home:helplink and home:preflink set in nav_css/ns4 macro files
[10872]17_globallinks_ {_helplink_ _preflink_}
[276]18
19#######################################################################
[644]20# icons
21#######################################################################
22
[10872]23_iconmusiclibrary_ {<img src="_httpicontmusic_" border="1" alt="meldex music library" title="meldex music library">}
[10603]24
[10872]25_imagecollection_ {<img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_">}
[644]26
27#######################################################################
28# http macros
29#
30# These contain the url without any quotes
31#######################################################################
32
[1975]33_httppagegsdl_ {_httppagex_(gsdl)}
[2912]34_httppagehomepref_ {_httppagex_(homepref)}
[644]35
36#######################################################################
[1479]37# images
38#######################################################################
39
[7931]40# Buttons for the pane after the collections and before the text
41
[13021]42_button_ {<div class="button"><span class="button"><a href="_1_">_2_</a></span></div>
[11161]43}
[7931]44
[13021]45_imagegli_ {_button_(_httppagegli_,_gli:textgli_)}
[7931]46
[13021]47_imagecollector_ {_button_(_httppagecollector_,_collector:textcollector_)}
[7931]48
[13021]49_imagedepositor_ {_button_(_httppagedepositor_,_depositor:textdepositor_)}
[11999]50
[11204]51_imagetranslator_ {_button_(_httppagetranslator_,_gti:textgti_)}
[7931]52
[13021]53_imageadmin_ {_button_(_httppagestatus_,_home:textadmin_)}
[7931]54
[13021]55_imagegogreenstone_ {_button_(_home:httppagegsdl_,_home:textabgs_)}
[7931]56
[13021]57_imagegodocs_ {_button_(_home:httppagedocs_,_home:textgsdocs_)}
[7931]58
[11161]59
[1479]60#######################################################################
[283]61# page content
[276]62#######################################################################
63
[10872]64# _homeextra_ is the automatically generated list of collections (in a table)
[283]65_content_ {
[10872]66<div id="content">
67<div class="divbar">
68<p class="navbar">
69_textdescrselcol_
70</p>
71</div>
[644]72
[10872]73<div class="section">
74_homeextra_
75</div>
76
77<div class="divbar">&nbsp;</div>
78
79<div class="section">
[12548]80<table>
[6723]81_textgogli_
[1759]82_textgocollector_
[11999]83_textgodepositor_
[3774]84_textgotranslator_
[1759]85_textgoadmin_
[1975]86_textgogreenstone_
[2562]87_textgodocs_
[1479]88</table>
[10872]89</div>
90
91<div class="divbar">&nbsp;</div>
92
93<div class="section">
[2910]94_textaboutgreenstone_
[10872]95</div>
96
97<div class="divbar">&nbsp;</div>
98
99</div>
[276]100}
[1390]101
[3774]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
[6723]105
106_textgogli_ {
107<tr valign=top>
108<td valign=top>_imagegli_</td>
[13037]109<td>_gli:textdescrgli_</td>
[6723]110</tr>
111}
112
[1759]113_textgocollector_ {
[1957]114<tr valign=top>
115<td valign=top>_imagecollector_</td>
[13037]116<td>_collector:textdescrcollector_</td>
[1759]117</tr>
118}
119
[11999]120_textgodepositor_ {
121<tr valign=top>
122<td valign=top>_imagedepositor_</td>
[13037]123<td>_depositor:textdescrdepositor_</td>
[11999]124</tr>
125}
126
[3774]127_textgotranslator_ {
128<tr valign=top>
129<td valign=top>_imagetranslator_</td>
[13075]130<td>_gti:textdescrtranslator_</td>
[3774]131</tr>
132}
133
[1759]134_textgoadmin_ {
[1957]135<tr valign=top>
136<td valign=top>_imageadmin_</td>
[10872]137<td>_textdescradmin_</td>
[1759]138</tr>
[1975]139}
140
141_textgogreenstone_ {
142<tr valign=top>
143<td valign=top>_imagegogreenstone_</td>
[10872]144<td>_textdescrgogreenstone_</td>
[1975]145</tr>
146}
[2329]147
[2562]148_textgodocs_ {
149<tr valign=top>
150<td valign=top>_imagegodocs_</td>
[10872]151<td>_textdescrgodocs_</td>
[2562]152</tr>
153}
154
[2329]155
[2912]156package homepref
[10872]157_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
[2912]158
[12558]159_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_" border="0"></a>}
[2913]160
[11357]161_globallinks_ {_homelink_ _helplink_}
[2912]162
163_pagescriptextra_ {_preferences:pagescriptextra_}
164
[10872]165_content_ {
166<div id="content">
[2912]167
[10872]168<div class="divbar">&nbsp;</div>
[2912]169
[10872]170<div class="section">
171<form name="PrefForm" method="get" action="_gwcgi_">
[2912]172<h3>_preferences:textpresentationprefs_</h3>
173
174<table border="0">
175<tr valign="top">
176<td>_preferences:textlanguage_</td>
[3625]177<td>_languageoption_</td>
[2912]178</tr>
179<tr valign="top">
[3625]180<td>_preferences:textencoding_</td>
181<td>_encodingoption_</td>
182</tr>
183<tr valign="top">
[2912]184_preferences:formatoption_
185</tr>
186</table>
[10872]187</div>
188
189<div class="divbar">&nbsp;</div>
190
191</div> <!-- \_homepref:content\_ -->
[2912]192}
Note: See TracBrowser for help on using the repository browser.