1 | # this file must be UTF-8 encoded
|
---|
2 |
|
---|
3 | package 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 |
|
---|
64 | package 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 |
|
---|
100 | package 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 | }
|
---|