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_ {_textdescrgreenstone_}
|
---|
11 |
|
---|
12 | #######################################################################
|
---|
13 | # global navigation links
|
---|
14 | #######################################################################
|
---|
15 |
|
---|
16 | # overridden here as we don't want 'home' links on this page
|
---|
17 |
|
---|
18 | # home:helplink and home:preflink set in nav_css/ns4 macro files
|
---|
19 | _globallinks_ {_helplink_ _preflink_}
|
---|
20 |
|
---|
21 | #######################################################################
|
---|
22 | # icons
|
---|
23 | #######################################################################
|
---|
24 |
|
---|
25 | _iconmusiclibrary_ {<img src="_httpicontmusic_" border="1" alt="meldex music library" title="meldex music library">}
|
---|
26 |
|
---|
27 | _imagecollection_ {<img src="_httpimg_/gsdlhead.gif" alt="_textdescrgreenstone_">}
|
---|
28 |
|
---|
29 | #######################################################################
|
---|
30 | # http macros
|
---|
31 | #
|
---|
32 | # These contain the url without any quotes
|
---|
33 | #######################################################################
|
---|
34 |
|
---|
35 | _httppagegsdl_ {_httppagex_(gsdl)}
|
---|
36 | _httppagehomehelp_ {_httppagex_(homehelp)}
|
---|
37 | _httppagehomepref_ {_httppagex_(homepref)}
|
---|
38 |
|
---|
39 | #######################################################################
|
---|
40 | # page content
|
---|
41 | #######################################################################
|
---|
42 |
|
---|
43 | _content_ {
|
---|
44 | <div id="content">
|
---|
45 | <div class="divbar">
|
---|
46 | <p class="navbar">
|
---|
47 | _textdescrselcol_
|
---|
48 | </p>
|
---|
49 | </div>
|
---|
50 |
|
---|
51 | <div class="section">
|
---|
52 | _homeextra_
|
---|
53 | </div>
|
---|
54 |
|
---|
55 | <div class="divbar"> </div>
|
---|
56 | }
|
---|
57 |
|
---|
58 | package homehelp
|
---|
59 |
|
---|
60 | _imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
|
---|
61 |
|
---|
62 | _collectionlist_ {}
|
---|
63 |
|
---|
64 | _globallinks_ {_homelink_}
|
---|
65 |
|
---|
66 | _content_ {
|
---|
67 | <div id="content">
|
---|
68 |
|
---|
69 | <div class="divbar"> </div>
|
---|
70 |
|
---|
71 | <div class="section">
|
---|
72 | <p>
|
---|
73 | <table border="0" cellspacing="0" cellpadding="0">
|
---|
74 | <tr>
|
---|
75 | <td valign="top" align="center">_imagegreenstone_</td>
|
---|
76 | <td valign="top">_gsdl:textgreenstone1_
|
---|
77 | <br><br>
|
---|
78 | </td>
|
---|
79 | </tr>
|
---|
80 | </table>
|
---|
81 | </div>
|
---|
82 |
|
---|
83 | <div class="divbar"> </div>
|
---|
84 |
|
---|
85 | <div class="section">
|
---|
86 | _If_(_collectionlist_,_collectionlist_,_textnocollections_)
|
---|
87 | </div>
|
---|
88 |
|
---|
89 | <div class="divbar"> </div>
|
---|
90 |
|
---|
91 | </div>
|
---|
92 | }
|
---|
93 |
|
---|
94 |
|
---|
95 | package homepref
|
---|
96 | _pagetitle_ {_preferences:textpreferences_ - _textdescrgreenstone_}
|
---|
97 |
|
---|
98 | _imagecollection_ {<a href="_httppagehome_"><img src="_httpimg_/gsdlhead.gif" border="0"></a>}
|
---|
99 |
|
---|
100 | _globallinks_ {_homelink_}
|
---|
101 |
|
---|
102 | _pagescriptextra_ {_preferences:pagescriptextra_}
|
---|
103 |
|
---|
104 | _content_ {
|
---|
105 | <div id="content">
|
---|
106 |
|
---|
107 | <div class="divbar"> </div>
|
---|
108 |
|
---|
109 | <div class="section">
|
---|
110 | <form name="PrefForm" method="get" action="_gwcgi_">
|
---|
111 | <h3>_preferences:textpresentationprefs_</h3>
|
---|
112 |
|
---|
113 | <table border="0">
|
---|
114 | <tr valign="top">
|
---|
115 | <td>_preferences:textlanguage_</td>
|
---|
116 | <td>_languageoption_</td>
|
---|
117 | </tr>
|
---|
118 | <tr valign="top">
|
---|
119 | <td>_preferences:textencoding_</td>
|
---|
120 | <td>_encodingoption_</td>
|
---|
121 | </tr>
|
---|
122 | <tr valign="top">
|
---|
123 | _preferences:formatoption_
|
---|
124 | </tr>
|
---|
125 | </table>
|
---|
126 | </div>
|
---|
127 |
|
---|
128 | <div class="divbar"> </div>
|
---|
129 |
|
---|
130 | </div> <!-- \_homepref:content\_ -->
|
---|
131 | }
|
---|