1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <xsl:stylesheet version="1.0"
|
---|
3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
---|
4 |
|
---|
5 | <xsl:output method="html"/>
|
---|
6 |
|
---|
7 | <xsl:attribute-set name="body-style">
|
---|
8 | <xsl:attribute name="bgcolor">#ffffff</xsl:attribute>
|
---|
9 | <xsl:attribute name="text">#000000</xsl:attribute>
|
---|
10 | <xsl:attribute name="link">#006666</xsl:attribute>
|
---|
11 | <xsl:attribute name="alink">#cc9900</xsl:attribute>
|
---|
12 | <xsl:attribute name="vlink">#666633</xsl:attribute>
|
---|
13 | <xsl:attribute name="background">/gsdl3/interfaces/default/images/chalk.gif</xsl:attribute>
|
---|
14 | </xsl:attribute-set>
|
---|
15 |
|
---|
16 |
|
---|
17 | <xsl:template name="greenstoneHead">
|
---|
18 | <head>
|
---|
19 | <title>New Zealand Digital Library</title>
|
---|
20 |
|
---|
21 | </head>
|
---|
22 | </xsl:template>
|
---|
23 |
|
---|
24 | <xsl:template name="greenstonePageBanner">
|
---|
25 |
|
---|
26 | <!-- page banner (_style:pagebanner_) -->
|
---|
27 | <center>
|
---|
28 | <table width="537" cellspacing="0" cellpadding="0">
|
---|
29 | <tr valign="top">
|
---|
30 | <td rowspan="2" align="left"><center><img src="/gsdl3/interfaces/default/images/nzdl2gr.gif" width="457" height="181" alt="The New Zealand Digital Library"/></center></td>
|
---|
31 | <td align="right"></td>
|
---|
32 | </tr>
|
---|
33 |
|
---|
34 | <tr>
|
---|
35 | <td align="right"></td>
|
---|
36 | </tr>
|
---|
37 |
|
---|
38 | <tr>
|
---|
39 | <td colspan="2"></td>
|
---|
40 | </tr>
|
---|
41 | </table>
|
---|
42 | <xsl:call-template name="greenBar"/>
|
---|
43 |
|
---|
44 | </center>
|
---|
45 |
|
---|
46 | <!-- end of page banner -->
|
---|
47 |
|
---|
48 | </xsl:template>
|
---|
49 |
|
---|
50 | <xsl:template name="greenstoneFooter">
|
---|
51 | <center>
|
---|
52 | <p/>
|
---|
53 | <small>powered by greenstone3</small>
|
---|
54 | </center>
|
---|
55 | </xsl:template>
|
---|
56 |
|
---|
57 |
|
---|
58 | <xsl:template name="collectionPageBanner">
|
---|
59 | <xsl:param name="collName">coll-name</xsl:param>
|
---|
60 | <xsl:param name="collIcon"><xsl:value-of select="$collName"/>.gif</xsl:param>
|
---|
61 | <table width="537">
|
---|
62 | <tr><td align="left"><a href="library?a=p&sa=about&c={$collName}"><img width="150" border="1"><xsl:attribute name="src">/gsdl3/sites/localsite/collect/<xsl:value-of select="$collName"/>/images/<xsl:value-of select="$collIcon"/></xsl:attribute><xsl:attribute name="alt">about page</xsl:attribute></img></a></td><td align="right"><a href="library?a=p&sa=home">HOME</a></td></tr></table>
|
---|
63 | <xsl:call-template name="greenBar"/>
|
---|
64 | </xsl:template>
|
---|
65 |
|
---|
66 |
|
---|
67 | <xsl:template name="greenBar">
|
---|
68 | <p/><img src="/gsdl3/interfaces/default/images/divb.gif" width="537" height="17"/>
|
---|
69 | </xsl:template>
|
---|
70 | </xsl:stylesheet> |
---|