Project

General

Profile

1 4285 daigle
<?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
33
  <xsl:output method="html" encoding="iso-8859-1" indent="yes" standalone="yes"
34
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
35
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
36
37
  <xsl:template name="pageheader">
38
    <xsl:comment>begin the header area</xsl:comment>
39
    <xsl:comment>
40
      these div's must have closing elements for the css to work. Don't
41
      reduce them to &lt;div id="blah" /&gt;
42
    </xsl:comment>
43
    <div id="header">
44
      <xsl:comment>begin the left logo area</xsl:comment>
45
      <div id="left_logo"></div>
46
      <xsl:comment>end the left logo area</xsl:comment>
47
48
      <xsl:comment>begin the banner area</xsl:comment>
49
      <div id="banner"></div>
50
      <div class="header-title">
51
        <xsl:text>Santa Barbara Coastal</xsl:text>
52
      </div>
53
      <div class="header-subtitle">
54
        <xsl:text>Long Term Ecological Research</xsl:text>
55
      </div>
56
      <xsl:comment>end the banner area</xsl:comment>
57
58
      <xsl:comment>begin the right logo area</xsl:comment>
59
      <div id="right_logo"></div>
60
      <xsl:comment>end the right logo area</xsl:comment>
61
62
			<!-- these urls temporary, till we get a second url token -->
63
			<xsl:comment>begin the header-memu</xsl:comment>
64
      <div class="header-menu">
65
      <a class="menu" href="">&#160;</a>
66
      <!--
67
        <a class="menu" href="http://sbc.lternet.edu/index.html">Home</a> |
68
        <a class="menu" href="http://sbc.lternet.edu/sites/index.html">Site</a> |
69
        <a class="menu" href="http://sbc.lternet.edu/people/index.html">People</a> |
70
        <a class="menu" href="http://sbc.lternet.edu/research/index.html">Research</a> |
71
        <a class="menu" href="http://sbc.lternet.edu/data/index.html">Data</a> |
72
        <a class="menu" href="http://sbc.lternet.edu/education/index.html">Education</a> |
73
        <a class="menu" href="http://sbc.lternet.edu/affiliates/index.html">Affiliates</a>
74
      -->
75
      </div>
76
      <xsl:comment>end the header-memu</xsl:comment>
77
78
<!-- use these when you have a second url token
79
      <xsl:comment>begin the header-memu</xsl:comment>
80
      <div class="header-menu">
81
        <a class="menu" href="@systemidserver@/index.html">Home</a> |
82
        <a class="menu" href="@systemidserver@/sites/index.html">Site</a> |
83
        <a class="menu" href="@systemidserver@/people/index.html">People</a> |
84
        <a class="menu" href="@systemidserver@/research/index.html">Research</a> |
85
        <a class="menu" href="@systemidserver@/data/index.html">Data</a> |
86
        <a class="menu" href="@systemidserver@/education/index.html">Education</a> |
87
        <a class="menu" href="@systemidserver@/affiliates/index.html">Affiliates</a>
88
      </div>
89
      <xsl:comment>end the header-memu</xsl:comment>
90
  -->
91
    </div>
92
    <xsl:comment>end the header area</xsl:comment>
93
  </xsl:template>
94
95
</xsl:stylesheet>