--- /dev/null
+<?xml version='1.0'?>\r
+<xsl:stylesheet \r
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">\r
+\r
+<xsl:import href="docbook-xsl/xhtml/chunk.xsl"/>\r
+<xsl:import href="evergreen_xhtml_graphics.xsl"/> \r
+\r
+<xsl:param name="img.src.path" select="''"/>\r
+<!--<xsl:param name="default.image.width" select="'900px'"/>-->\r
+<xsl:param name="keep.relative.image.uris" select="0"/>\r
+<xsl:param name="use.role.for.media.object" select="1"/>\r
+<xsl:param name="html.stylesheet" select="'../evergreen_doc.css'"/>\r
+<xsl:param name="para.propagates.style" select="1"/> <!-- applies "role" attribute as html class, for tracking changes in draft -->\r
+<xsl:param name="generate.revhistory.link" select="1"/>\r
+<xsl:param name="glossary.sort" select="1"/> <!-- sort glossterms aphabetically regardless of order in xml docs -->\r
+<xsl:param name="glossterm.separation" select="'0.1in'"/> <!-- vertical space between term and definition paragraph -->\r
+<xsl:param name="callout.graphics" select="1" />\r
+<xsl:param name="callout.graphics.extension" select="'.png'" />\r
+<xsl:param name="callout.graphics.path" select="'media/'" />\r
+<xsl:param name="use.id.as.filename" select="1"></xsl:param> \r
+<!-- customized header, to add home link -->\r
+ \r
+ <xsl:template name="header.navigation">\r
+ <xsl:param name="prev" select="/d:foo"/>\r
+ <xsl:param name="next" select="/d:foo"/>\r
+ <xsl:param name="nav.context"/>\r
+ \r
+ <xsl:variable name="home" select="/*[1]"/>\r
+ <xsl:variable name="up" select="parent::*"/>\r
+ \r
+ <xsl:variable name="row1" select="$navig.showtitles != 0"/>\r
+ <xsl:variable name="row2" select="count($prev) > 0 or (count($up) > 0 and generate-id($up) != generate-id($home) and $navig.showtitles != 0) or count($next) > 0"/>\r
+ \r
+ <xsl:if test="$suppress.navigation = '0' and $suppress.header.navigation = '0'">\r
+ <div class="navheader">\r
+ <xsl:if test="$row1 or $row2">\r
+ <table width="100%" summary="Navigation header">\r
+ <xsl:if test="$row1">\r
+ <tr>\r
+ <th colspan="3" align="center">\r
+ <xsl:apply-templates select="." mode="object.title.markup"/>\r
+ </th>\r
+ </tr>\r
+ </xsl:if>\r
+ \r
+ <xsl:if test="$row2">\r
+ <tr>\r
+ <td width="20%" align="{$direction.align.start}">\r
+ <xsl:if test="count($prev)>0">\r
+ \r
+ <!-- the next line is custom, adds Home link to HTML pages --> \r
+ \r
+ <a style="margin-right: 10px;" href="index.html">Home</a>\r
+ <a accesskey="p">\r
+ <xsl:attribute name="href">\r
+ <xsl:call-template name="href.target">\r
+ <xsl:with-param name="object" select="$prev"/>\r
+ </xsl:call-template>\r
+ </xsl:attribute>\r
+ <xsl:call-template name="navig.content">\r
+ <xsl:with-param name="direction" select="'prev'"/>\r
+ </xsl:call-template>\r
+ </a>\r
+ </xsl:if>\r
+ <xsl:text> </xsl:text>\r
+ </td>\r
+ <th width="60%" align="center">\r
+ <xsl:choose>\r
+ <xsl:when test="count($up) > 0 and generate-id($up) != generate-id($home) and $navig.showtitles != 0">\r
+ <xsl:apply-templates select="$up" mode="object.title.markup"/>\r
+ </xsl:when>\r
+ <xsl:otherwise> </xsl:otherwise>\r
+ </xsl:choose>\r
+ </th>\r
+ <td width="20%" align="{$direction.align.end}">\r
+ <xsl:text> </xsl:text>\r
+ <xsl:if test="count($next)>0">\r
+ <a accesskey="n">\r
+ <xsl:attribute name="href">\r
+ <xsl:call-template name="href.target">\r
+ <xsl:with-param name="object" select="$next"/>\r
+ </xsl:call-template>\r
+ </xsl:attribute>\r
+ <xsl:call-template name="navig.content">\r
+ <xsl:with-param name="direction" select="'next'"/>\r
+ </xsl:call-template>\r
+ </a>\r
+ </xsl:if>\r
+ </td>\r
+ </tr>\r
+ </xsl:if>\r
+ </table>\r
+ </xsl:if>\r
+ <xsl:if test="$header.rule != 0">\r
+ <hr/>\r
+ </xsl:if>\r
+ </div>\r
+ </xsl:if>\r
+ </xsl:template>\r
+ \r
+ <!-- custom footer for Evergreen copyright --> \r
+ \r
+ <xsl:template name="user.footer.navigation">\r
+ \r
+ <div style="float: left;"> <p style="font-style: italic; font-size: .8em;">Documentation for Evergreen version 2.0 <br/>Copyright © 2011, Evergreen Community\r
+ </p><p><a href="http://creativecommons.org/licenses/by-sa/3.0/" title="Creative Commons license">\r
+ <img src="http://i.creativecommons.org/l/by-sa/3.0/80x15.png"/></a></p></div>\r
+ <div style="float: right;"> <a href="../pdf/style_guide.pdf" title="also availabe in PDF"><img src="../media/pdf_icon.gif"/></a></div>\r
+ \r
+ </xsl:template>\r
+ \r
+\r
+\r
+</xsl:stylesheet>\r
+\r