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

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