1
|
<?xml version="1.0"?>
|
2
|
<!--
|
3
|
* '$RCSfile: pageheader.xsl,v $'
|
4
|
* Authors: Chris Jones
|
5
|
* Copyright: 2000 Regents of the University of California and the
|
6
|
* National Center for Ecological Analysis and Synthesis
|
7
|
* For Details: http://www.nceas.ucsb.edu/
|
8
|
*
|
9
|
* '$Author: cjones $'
|
10
|
* '$Date: 2004/10/05 23:50:46 $'
|
11
|
* '$Revision: 1.1 $'
|
12
|
*
|
13
|
* This program is free software; you can redistribute it and/or modify
|
14
|
* it under the terms of the GNU General Public License as published by
|
15
|
* the Free Software Foundation; either version 2 of the License, or
|
16
|
* (at your option) any later version.
|
17
|
*
|
18
|
* This program is distributed in the hope that it will be useful,
|
19
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
20
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
21
|
* GNU General Public License for more details.
|
22
|
*
|
23
|
* You should have received a copy of the GNU General Public License
|
24
|
* along with this program; if not, write to the Free Software
|
25
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
26
|
*
|
27
|
* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
|
28
|
* convert an XML file showing the resultset of a query
|
29
|
* into an HTML format suitable for rendering with modern web browsers.
|
30
|
-->
|
31
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
32
|
<xsl:param name="httpServer"/>
|
33
|
|
34
|
<xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
|
35
|
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
|
36
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
|
37
|
|
38
|
<xsl:template name="pageheader">
|
39
|
<xsl:comment>begin the header area</xsl:comment>
|
40
|
<xsl:comment>
|
41
|
these div's must have closing elements for the css to work. Don't
|
42
|
reduce them to <div id="blah" />
|
43
|
</xsl:comment>
|
44
|
<div id="header">
|
45
|
<xsl:comment>begin the left logo area</xsl:comment>
|
46
|
<div id="left_logo"></div>
|
47
|
<xsl:comment>end the left logo area</xsl:comment>
|
48
|
|
49
|
<xsl:comment>begin the banner area</xsl:comment>
|
50
|
<div id="banner"></div>
|
51
|
<div class="header-title">
|
52
|
<xsl:text>Santa Barbara Coastal</xsl:text>
|
53
|
</div>
|
54
|
<div class="header-subtitle">
|
55
|
<xsl:text>Long Term Ecological Research</xsl:text>
|
56
|
</div>
|
57
|
<xsl:comment>end the banner area</xsl:comment>
|
58
|
|
59
|
<xsl:comment>begin the right logo area</xsl:comment>
|
60
|
<div id="right_logo"></div>
|
61
|
<xsl:comment>end the right logo area</xsl:comment>
|
62
|
|
63
|
<!-- these urls temporary, till we get a second url token -->
|
64
|
<xsl:comment>begin the header-memu</xsl:comment>
|
65
|
<div class="header-menu">
|
66
|
<a class="menu" href=""> </a>
|
67
|
<!--
|
68
|
<a class="menu" href="http://sbc.lternet.edu/index.html">Home</a> |
|
69
|
<a class="menu" href="http://sbc.lternet.edu/sites/index.html">Site</a> |
|
70
|
<a class="menu" href="http://sbc.lternet.edu/people/index.html">People</a> |
|
71
|
<a class="menu" href="http://sbc.lternet.edu/research/index.html">Research</a> |
|
72
|
<a class="menu" href="http://sbc.lternet.edu/data/index.html">Data</a> |
|
73
|
<a class="menu" href="http://sbc.lternet.edu/education/index.html">Education</a> |
|
74
|
<a class="menu" href="http://sbc.lternet.edu/affiliates/index.html">Affiliates</a>
|
75
|
-->
|
76
|
</div>
|
77
|
<xsl:comment>end the header-memu</xsl:comment>
|
78
|
|
79
|
<!-- use these when you have a second url token
|
80
|
<xsl:comment>begin the header-memu</xsl:comment>
|
81
|
<div class="header-menu">
|
82
|
<a class="menu" href="{$httpServer}/index.html">Home</a> |
|
83
|
<a class="menu" href="{$httpServer}/sites/index.html">Site</a> |
|
84
|
<a class="menu" href="{$httpServer}/people/index.html">People</a> |
|
85
|
<a class="menu" href="{$httpServer}/research/index.html">Research</a> |
|
86
|
<a class="menu" href="{$httpServer}/data/index.html">Data</a> |
|
87
|
<a class="menu" href="{$httpServer}/education/index.html">Education</a> |
|
88
|
<a class="menu" href="{$httpServer}/affiliates/index.html">Affiliates</a>
|
89
|
</div>
|
90
|
<xsl:comment>end the header-memu</xsl:comment>
|
91
|
-->
|
92
|
</div>
|
93
|
<xsl:comment>end the header area</xsl:comment>
|
94
|
</xsl:template>
|
95
|
|
96
|
</xsl:stylesheet>
|