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

Last change on this file since 3271 was 3221, checked in by jrm21, 22 years ago

Added Turkish to the list of options in home page preferences, since
we've got the macros translated.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
RevLine 
[128]1package home
2
[276]3#######################################################################
[283]4# java images/scripts
[276]5#######################################################################
6
[283]7# the _javalinks_ macros are the flashy image links at the top right of
8# the page. this is overridden here as we don't want 'home'
[644]9# links on this page
[276]10
[2912]11_javalinks_ {_imagehelp__imagepref_}
12_javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
[276]13
14#######################################################################
[644]15# icons
16#######################################################################
17
[1957]18_iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt=_altselcolgr_>}
19_iconmusiclibrary_ {<img align=texttop src="_httpicontmusic_" border=1 alt="meldex music library">}
[644]20
[2909]21_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
22
[644]23#######################################################################
24# http macros
25#
26# These contain the url without any quotes
27#######################################################################
28
[1975]29_httppagegsdl_ {_httppagex_(gsdl)}
[2340]30_httppagehomehelp_ {_httppagex_(homehelp)}
[2912]31_httppagehomepref_ {_httppagex_(homepref)}
[644]32
33#######################################################################
[1479]34# images
35#######################################################################
36
[1759]37
[2777]38_imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col,_collector:textcollector_)}
[3034]39_imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin,_home:textadmin_)}
40_imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs,_home:textabgs_)}
41_imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs,_home:textgsdocs_)}
[2340]42_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
[2912]43_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
[1479]44
45#######################################################################
[283]46# page content
[276]47#######################################################################
48
[283]49_content_ {
[1116]50<center>
[1092]51<p>_iconselectcollection_
[1116]52</center>
[1092]53<p>_homeextra_
[644]54
[1116]55<center>
[1092]56<p>_iconblankbar_
[1116]57</center>
[1479]58<p><table>
[1759]59_textgocollector_
60_textgoadmin_
[1975]61_textgogreenstone_
[2562]62_textgodocs_
[1479]63</table>
64<center>
65<p>_iconblankbar_
[1975]66</center>
[2910]67_textaboutgreenstone_
68<center>
69<p>_iconblankbar_
70</center>
[276]71}
[1390]72
[1759]73# the _textgocollector_ and _textgoadmin_ macros may be overridden
74# to be empty from within the receptionist if the collector or admin
75# facilities are disabled
76_textgocollector_ {
[1957]77<tr valign=top>
78<td valign=top>_imagecollector_</td>
[2777]79<td>_textimagecollector_</td>
[1759]80</tr>
81}
82
83_textgoadmin_ {
[1957]84<tr valign=top>
85<td valign=top>_imageadmin_</td>
[2777]86<td>_textimageadmin_</td>
[1759]87</tr>
[1975]88}
89
90_textgogreenstone_ {
91<tr valign=top>
92<td valign=top>_imagegogreenstone_</td>
[2777]93<td>_textimagegogreenstone_</td>
[1975]94</tr>
95}
[2329]96
[2562]97_textgodocs_ {
98<tr valign=top>
99<td valign=top>_imagegodocs_</td>
[2912]100<td>_textimagegodocs_</td>
[2562]101</tr>
102}
103
[2329]104package homehelp
105
[3044]106_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
[2913]107
[2329]108_collectionlist_ {}
109
110_javalinks_ {_imagehome_}
111_javalinks_ [v=1] {
112_imagehome_<br>
113}
114
115_content_ {
116<center>
117<p>_iconblankbar_
118</center>
119<p>
120<table border=0 cellspacing=0 cellpadding=0>
121 <tr>
122 <td valign=top align=center>_imagegreenstone_</td>
[2777]123 <td valign=top>_gsdl:textgreenstone1_
[2329]124 <br><br>
125 </td>
126 </tr>
127</table>
128
129<center>
130<p>_iconblankbar_
131</center>
[2777]132_If_(_collectionlist_,_collectionlist_,_textnocollections_)
[2329]133
134<center>
135<p>_iconblankbar_
136</center>
[2777]137<p>_text4buts_
[2329]138<p><table>
139_home:textgocollector_
140_home:textgoadmin_
141_home:textgogreenstone_
[2562]142_home:textgodocs_
[2329]143</table>
144<center>
145<p>_iconblankbar_
146</center>
147}
[2912]148
149
150package homepref
151
[3044]152_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
[2913]153
[2912]154_javalinks_ {_homepref:imagehome_}
155_javalinks_ [v=1] {
156_homepref:imagehome_<br>
157}
158
159_pagescriptextra_ {_preferences:pagescriptextra_}
160
161
162_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
163_httppagehome_ {_httppagex_(home)}
164
165_content_ {
166<center>
167<p>_iconblankbar_
168</center>
169
170<form name=PrefForm method=get action="_gwcgi_">
171<h3>_preferences:textpresentationprefs_</h3>
172
173<table border="0">
174<tr valign="top">
175<td>_preferences:textlanguage_</td>
176<td><select name="l" onChange="updatel();">
177<option value="en" _If_("_cgiargl_" eq "en", selected)>English
178<option value="fr" _If_("_cgiargl_" eq "fr", selected)>French
[3221]179<option value="tr" _If_("_cgiargl_" eq "tr", selected)>Turkish
[2912]180</select>
181</td>
182</tr>
183<tr valign="top">
184_preferences:formatoption_
185</tr>
186</table>
187<p>_iconblankbar_
188}
Note: See TracBrowser for help on using the repository browser.