source: main/tags/2.51-jcdl/gsdl/macros/exported_home.dm@ 25200

Last change on this file since 25200 was 7343, checked in by jrm21, 20 years ago

added a comment at the start of all macro files about using UTF-8

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# this file must be UTF-8 encoded
2
3package home
4
5# This file is used as the homepage for collections exported to CD-ROM - the CDs dont contain the functionality to run the collector etc, so we remove that stuff from the home page.
6
7# set the title of the home page to be "greenstone digital library"
8# in the currently chosen language
9
10_pagetitle_ {_textimagegreenstone_}
11
12#######################################################################
13# java images/scripts
14#######################################################################
15
16# the _javalinks_ macros are the flashy image links at the top right of
17# the page. this is overridden here as we don't want 'home'
18# links on this page
19
20_javalinks_ {_imagehelp__imagepref_}
21_javalinks_ [v=1] {_imagehelp_<br>_imagepref_}
22
23#######################################################################
24# icons
25#######################################################################
26
27_iconselectcollection_ {<img align=texttop src="_httpiconselcolgr_" width=_widthselcolgr_ height=_heightselcolgr_ alt="_altselcolgr_" title="_altselcolgr_">}
28_iconmusiclibrary_ {<img align=texttop src="_httpicontmusic_" border=1 alt="meldex music library" title="meldex music library">}
29
30_imagecollection_ {<img src="_httpimg_/gsdlhead.gif">}
31
32#######################################################################
33# http macros
34#
35# These contain the url without any quotes
36#######################################################################
37
38_httppagegsdl_ {_httppagex_(gsdl)}
39_httppagehomehelp_ {_httppagex_(homehelp)}
40_httppagehomepref_ {_httppagex_(homepref)}
41
42#######################################################################
43# images
44#######################################################################
45
46_imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)}
47_imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}
48
49#######################################################################
50# page content
51#######################################################################
52
53_content_ {
54<center>
55<p>_iconselectcollection_
56</center>
57<p>_homeextra_
58
59<center>
60<p>_iconblankbar_
61</center>
62}
63
64package homehelp
65
66_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
67
68_collectionlist_ {}
69
70_javalinks_ {_imagehome_}
71_javalinks_ [v=1] {
72_imagehome_<br>
73}
74
75_content_ {
76<center>
77<p>_iconblankbar_
78</center>
79<p>
80<table border=0 cellspacing=0 cellpadding=0>
81 <tr>
82 <td valign=top align=center>_imagegreenstone_</td>
83 <td valign=top>_gsdl:textgreenstone1_
84 <br><br>
85 </td>
86 </tr>
87</table>
88
89<center>
90<p>_iconblankbar_
91</center>
92_If_(_collectionlist_,_collectionlist_,_textnocollections_)
93
94<center>
95<p>_iconblankbar_
96</center>
97}
98
99
100package homepref
101
102_imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
103
104_javalinks_ {_homepref:imagehome_}
105_javalinks_ [v=1] {
106_homepref:imagehome_<br>
107}
108
109_pagescriptextra_ {_preferences:pagescriptextra_}
110
111
112_imagehome_ {_gsimage_(_homepref:httppagehome_,_httpiconchomeof_,_httpiconchomeon_,homer,_textimagehome_)}
113_httppagehome_ {_httppagex_(home)}
114
115_content_ {
116<center>
117<p>_iconblankbar_
118</center>
119
120<form name=PrefForm method=get action="_gwcgi_">
121<h3>_preferences:textpresentationprefs_</h3>
122
123<table border="0">
124<tr valign="top">
125<td>_preferences:textlanguage_</td>
126<td>_languageoption_</td>
127</tr>
128<tr valign="top">
129<td>_preferences:textencoding_</td>
130<td>_encodingoption_</td>
131</tr>
132<tr valign="top">
133_preferences:formatoption_
134</tr>
135</table>
136<p>_iconblankbar_
137}
Note: See TracBrowser for help on using the repository browser.