[6778] | 1 | #######################################################################
|
---|
| 2 | # PAGE STYLES
|
---|
| 3 | #######################################################################
|
---|
| 4 |
|
---|
| 5 | package Style
|
---|
| 6 |
|
---|
| 7 | # to use this style system output
|
---|
| 8 | # _header_
|
---|
| 9 | # all your page content, then
|
---|
| 10 | # _footer_
|
---|
| 11 |
|
---|
| 12 | # use the page parameter 'style' to choose the appropriate style
|
---|
| 13 |
|
---|
| 14 | # the style system uses
|
---|
| 15 | # _pagetitle_ - what gets displayed at the top of the browser window
|
---|
| 16 | # _pagescriptextra_ - any extra javascript you want included in the header
|
---|
| 17 | # _pagebannerextra_ - anything extra you want displayed in the page banner
|
---|
| 18 | # _pagefooterextra_ - anything extra you want displayed in the footer
|
---|
| 19 |
|
---|
| 20 | # defaults for the above macros
|
---|
| 21 | _pagetitle_ {_collectionname_}
|
---|
| 22 | _pagescriptextra_ {}
|
---|
| 23 | _pagebannerextra_ {}
|
---|
| 24 | _pagefooterextra_ {}
|
---|
| 25 |
|
---|
| 26 | # it also relies on lots of Globals, the most important of these are:
|
---|
| 27 | # _cookie_ - put in the cgi header
|
---|
| 28 | # _globalscripts_ - javascript stuff
|
---|
| 29 | # _httpiconchalk_ - the image down the left of the page
|
---|
| 30 | # _imagecollection_
|
---|
| 31 | # _imagehome_
|
---|
| 32 | # _imagehelp_
|
---|
| 33 | # _imagepref_
|
---|
| 34 | # _imagethispage_
|
---|
| 35 | # _linkotherversion_
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | _header_ {
|
---|
| 39 | <html>
|
---|
| 40 | <head>
|
---|
| 41 | <title>Greenstone Digital Library Software</title>
|
---|
| 42 | <link rel="stylesheet" type="text/css" href="_httpimg_/style.css">
|
---|
[6952] | 43 | <script src="_httpimg_/scripts.js">
|
---|
[6778] | 44 | </script>
|
---|
| 45 | <script>
|
---|
| 46 | <!--
|
---|
| 47 | _pagescriptextra_
|
---|
| 48 | // -->
|
---|
| 49 | </script>
|
---|
| 50 | </head>
|
---|
| 51 |
|
---|
| 52 | <body background="_httpimg_/chalk.gif" class="default" bgcolor="#ffffff">
|
---|
| 53 |
|
---|
| 54 | <table border="0" cellspacing="0" cellpadding="0" width="_pagewidth_" class="default">
|
---|
| 55 | <tr><td><img src="_httpimg_/spacer.gif" width="80"></td><td>
|
---|
| 56 |
|
---|
| 57 | <table width="_pagewidth_">
|
---|
| 58 | <tr valign=top>
|
---|
| 59 | <td><a href="_httppagex_(home)"><img src="_httpimg_/gsdlhead.gif" border="0"></a></td>
|
---|
| 60 | <td align=right>_javalinks_</td>
|
---|
| 61 | </tr>
|
---|
| 62 | </table>
|
---|
| 63 |
|
---|
| 64 | <p>
|
---|
| 65 | <nobr>
|
---|
[6793] | 66 | _imagedownload_<img src="_httpimg_/tspace.gif" width="25" height="17">_imageexamples_<img src="_httpimg_/tspace.gif" width="25" height="17">_imagedocs_<img src="_httpimg_/tspace.gif" width="25" height="17">_imagefaq_<img src="_httpimg_/tspace.gif" width="25" height="17">_imagesupport_
|
---|
[6778] | 67 | </nobr>
|
---|
| 68 | </p>
|
---|
| 69 | }
|
---|
| 70 |
|
---|
| 71 | _footer_ {
|
---|
| 72 | </td></tr></table>
|
---|
| 73 | <p> </p>
|
---|
| 74 | </body>
|
---|
| 75 | </html>
|
---|
| 76 | }
|
---|