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

Last change on this file since 14972 was 14972, checked in by davidb, 16 years ago

Tidying up some HTML

  • 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
[13523]42_button_ {<div class="homebutton"><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
[14972]73<p>
74
[10872]75<div class="section">
76_homeextra_
77</div>
78
79<div class="divbar">&nbsp;</div>
80
81<div class="section">
[12548]82<table>
[6723]83_textgogli_
[1759]84_textgocollector_
[11999]85_textgodepositor_
[3774]86_textgotranslator_
[1759]87_textgoadmin_
[1975]88_textgogreenstone_
[2562]89_textgodocs_
[1479]90</table>
[10872]91</div>
92
93<div class="divbar">&nbsp;</div>
94
95<div class="section">
[2910]96_textaboutgreenstone_
[10872]97</div>
98
99<div class="divbar">&nbsp;</div>
100
101</div>
[276]102}
[1390]103
[3774]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
[6723]107
108_textgogli_ {
109<tr valign=top>
110<td valign=top>_imagegli_</td>
[13037]111<td>_gli:textdescrgli_</td>
[6723]112</tr>
113}
114
[1759]115_textgocollector_ {
[1957]116<tr valign=top>
117<td valign=top>_imagecollector_</td>
[13037]118<td>_collector:textdescrcollector_</td>
[1759]119</tr>
120}
121
[11999]122_textgodepositor_ {
123<tr valign=top>
124<td valign=top>_imagedepositor_</td>
[13037]125<td>_depositor:textdescrdepositor_</td>
[11999]126</tr>
127}
128
[3774]129_textgotranslator_ {
130<tr valign=top>
131<td valign=top>_imagetranslator_</td>
[13075]132<td>_gti:textdescrtranslator_</td>
[3774]133</tr>
134}
135
[1759]136_textgoadmin_ {
[1957]137<tr valign=top>
138<td valign=top>_imageadmin_</td>
[10872]139<td>_textdescradmin_</td>
[1759]140</tr>
[1975]141}
142
143_textgogreenstone_ {
144<tr valign=top>
145<td valign=top>_imagegogreenstone_</td>
[10872]146<td>_textdescrgogreenstone_</td>
[1975]147</tr>
148}
[2329]149
[2562]150_textgodocs_ {
151<tr valign=top>
152<td valign=top>_imagegodocs_</td>
[10872]153<td>_textdescrgodocs_</td>
[2562]154</tr>
155}
156
[2329]157
[2912]158package homepref
[10872]159_pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
[2912]160
[12558]161_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_" border="0"></a>}
[2913]162
[11357]163_globallinks_ {_homelink_ _helplink_}
[2912]164
165_pagescriptextra_ {_preferences:pagescriptextra_}
166
[10872]167_content_ {
168<div id="content">
[2912]169
[10872]170<div class="divbar">&nbsp;</div>
[2912]171
[10872]172<div class="section">
173<form name="PrefForm" method="get" action="_gwcgi_">
[2912]174<h3>_preferences:textpresentationprefs_</h3>
175
176<table border="0">
177<tr valign="top">
178<td>_preferences:textlanguage_</td>
[3625]179<td>_languageoption_</td>
[2912]180</tr>
181<tr valign="top">
[3625]182<td>_preferences:textencoding_</td>
183<td>_encodingoption_</td>
184</tr>
185<tr valign="top">
[2912]186_preferences:formatoption_
187</tr>
188</table>
[10872]189</div>
190
191<div class="divbar">&nbsp;</div>
192
193</div> <!-- \_homepref:content\_ -->
[2912]194}
Note: See TracBrowser for help on using the repository browser.