Parent Directory | Revision Log | Patch
--- tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl 2006/02/11 23:49:17 377089 +++ tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl 2006/02/11 23:49:58 377090 @@ -14,9 +14,9 @@ <!-- Defined parameters (overrideable) --> - <xsl:param name="home-name" select="'The Jakarta Project'"/> - <xsl:param name="home-href" select="'http://jakarta.apache.org/'"/> - <xsl:param name="home-logo" select="'/images/jakarta-logo.gif'"/> + <xsl:param name="home-name" select="'The Tomcat Project'"/> + <xsl:param name="home-href" select="'http://tomcat.apache.org/'"/> + <xsl:param name="home-logo" select="'/images/tomcat.gif'"/> <xsl:param name="printer-logo" select="'/images/printer.gif'"/> <xsl:param name="relative-path" select="'.'"/> <xsl:param name="void-image" select="'/images/void.gif'"/> @@ -37,6 +37,8 @@ <!-- Process an entire document into an HTML page --> <xsl:template match="document"> + <xsl:variable name="project" + select="document('project.xml')/project"/> <html> <head> <title><xsl:value-of select="project/title"/> - <xsl:value-of select="properties/title"/></title> @@ -55,24 +57,11 @@ <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}" alink="{$body-link}" vlink="{$body-link}"> - <table border="0" width="100%" cellspacing="4"> + <table border="0" width="100%" cellspacing="0"> <xsl:comment>PAGE HEADER</xsl:comment> - <tr><td colspan="2"> - - <xsl:comment>JAKARTA LOGO</xsl:comment> - <xsl:variable name="alt"> - <xsl:value-of select="$home-name"/> - </xsl:variable> - <xsl:variable name="href"> - <xsl:value-of select="$home-href"/> - </xsl:variable> - <xsl:variable name="src"> - <xsl:value-of select="$relative-path"/><xsl:value-of select="$home-logo"/> - </xsl:variable> - <a href="{$href}"> - <img src="{$src}" align="left" alt="{$alt}" border="0"/> - </a> + <tr> + <td> <xsl:if test="project/logo"> <xsl:variable name="alt"> <xsl:value-of select="project/logo"/> @@ -89,8 +78,23 @@ <img src="{$src}" align="right" alt="{$alt}" border="0"/> </a> </xsl:if> + </td> + <td> + <font face="arial,helvetica,sanserif"> + <h1><xsl:value-of select="$project/title"/></h1> + </font> + </td> + <td> + <xsl:comment>APACHE LOGO</xsl:comment> + <a href="http://www.apache.org/"> + <img src="http://www.apache.org/images/asf-logo.gif" + align="right" alt="Apache Logo" border="0"/> + </a> + </td> + </tr> + </table> - </td></tr> + <table border="0" width="100%" cellspacing="4"> <xsl:comment>HEADER SEPARATOR</xsl:comment> <tr> @@ -114,8 +118,7 @@ <table border="0" width="100%" cellspacing="4"> <tr> <td align="left" valign="top" nowrap="true"> - <h1><xsl:value-of select="project/title"/></h1> - <h2><xsl:value-of select="properties/title"/></h2> + <h1><xsl:value-of select="properties/title"/></h1> </td> <td align="right" valign="top" nowrap="true"> <!-- Add the printer friendly link for docs with a menu -->
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |