source: trunk/greenorg/macros/style.dm@ 13640

Last change on this file since 13640 was 6952, checked in by nzdl, 20 years ago

Fixed up bad link to images/scripts.js.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1#######################################################################
2# PAGE STYLES
3#######################################################################
4
5package 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">
43<script src="_httpimg_/scripts.js">
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>
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_
67</nobr>
68</p>
69}
70
71_footer_ {
72</td></tr></table>
73<p>&nbsp;</p>
74</body>
75</html>
76}
Note: See TracBrowser for help on using the repository browser.