/[Apache-SVN]/tomcat/site/trunk/xdocs-faq/tomcat-faq.xsl
ViewVC logotype

Diff of /tomcat/site/trunk/xdocs-faq/tomcat-faq.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- tomcat/site/trunk/xdocs-faq/tomcat-faq.xsl	2006/01/25 19:00:52	372289
+++ tomcat/site/trunk/xdocs-faq/tomcat-faq.xsl	2006/01/25 19:00:50	372290
@@ -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="'Apache Tomcat'"/>
+  <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'"/>
@@ -59,42 +59,32 @@
     <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>TOMCAT 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="$home-href"/><xsl:value-of select="$home-logo"/>
-        </xsl:variable>
-        <a href="{$href}">
-          <img src="{$src}" align="left" alt="{$alt}" border="0"/>
-        </a>
-        <xsl:if test="project/logo">
-          <xsl:variable name="alt">
-            <xsl:value-of select="project/logo"/>
-          </xsl:variable>
-          <xsl:variable name="home">
-            <xsl:value-of select="project/@href"/>
-          </xsl:variable>
-          <xsl:variable name="src">
-            <xsl:value-of select="$relative-path"/><xsl:value-of select="project/logo/@href"/>
-          </xsl:variable>
-
+      <tr>
+        <td>
           <xsl:comment>PROJECT LOGO</xsl:comment>
-          <a href="{$home}">
-            <img src="{$src}" align="right" alt="{$alt}" border="0"/>
+          <a href="http://tomcat.apache.org/">
+            <img src="/images/tomcat.gif" align="left" alt="Tomcat Logo" border="0"/>
+          </a>
+        </td>
+        <td>
+          <font face="arial,helvetica,sanserif">
+            <h1><xsl:value-of select="$home-name"/></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>
-        </xsl:if>
+        </td>
+      </tr>
+    </table>
 
-      </td></tr>
+    <table border="0" width="100%" cellspacing="4">
 
       <xsl:comment>HEADER SEPARATOR</xsl:comment>
       <tr>

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26