Project

General

Profile

1
<?xml version="1.0"?>
2
<!--
3
*  '$RCSfile: page_leftsidebar.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="page_leftsidebar">
38
    <!-- begin the left sidebar area -->
39
    <xsl:comment>begin the left sidebar 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 &lt;div id="blah" /&gt; 
43
    </xsl:comment>
44
   
45
    <!--
46
    The following div has purposefully been condensed to one line in order to
47
    deal with an MSIE bug that introduces whitespace incorrectly when
48
    rendering the CSS. Please keep it all on one line in the code. When not
49
    condensed, it would look like:
50
   
51
    <div id="left_sidebar">
52
      <img src="{$contextURL}/style/skins/{$qformat}/images/nav_data_catalog_white.jpg" alt="data catalog" />
53
      <img src="{$contextURL}/style/skins/{$qformat}/images/nav_search_orange.jpg" alt=""/>
54
      <img src="{$contextURL}/style/skins/{$qformat}/images/nav_kelp.jpg" alt="" />
55
    </div>
56
    <div id="left_sidebar"><img src="{$contextURL}/style/skins/{$qformat}/images/nav_data_catalog_white.jpg" alt="data catalog" /><img src="{$contextURL}/style/skins/{$qformat}/images/nav_search_orange.jpg" alt=""/><img src="{$contextURL}/style/skins/{$qformat}/images/nav_kelp.jpg" alt="" /></div>
57
    -->
58
   
59
    <!--
60
    The lines below may be used in the above div based on which images should
61
    be in the navigation bar.
62
    -->
63
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_data_catalog_orange.jpg" alt="" /-->
64
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_login_orange.jpg" alt="" /-->
65
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_search_white.jpg" -->
66
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_insert_white.jpg" alt=""/-->
67
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_insert_orange.jpg" alt="" /-->
68
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_modify_white.jpg" alt="" /-->
69
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_modify_orange.jpg" alt="" /-->
70
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_logout_orange.jpg" alt=""/-->
71
    <!--img src="{$contextURL}/style/skins/{$qformat}/images/nav_blank_blue.jpg" alt=""/-->
72
    <!-- end the left sidebar area -->
73
    <xsl:comment>end the left sidebar area</xsl:comment>
74
  </xsl:template>
75

    
76
</xsl:stylesheet>
(4-4/14)