tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r377243 - in /tomcat/container/tc5.5.x/webapps/docs: images/asf-logo.gif images/jakarta-logo.gif tomcat-docs.xsl
Date Sun, 12 Feb 2006 21:26:04 GMT
Author: markt
Date: Sun Feb 12 13:26:03 2006
New Revision: 377243

URL: http://svn.apache.org/viewcvs?rev=377243&view=rev
Log:
Update logos after move to TLP (remove Jakarta, add Apache)

Added:
    tomcat/container/tc5.5.x/webapps/docs/images/asf-logo.gif   (with props)
Removed:
    tomcat/container/tc5.5.x/webapps/docs/images/jakarta-logo.gif
Modified:
    tomcat/container/tc5.5.x/webapps/docs/tomcat-docs.xsl

Added: tomcat/container/tc5.5.x/webapps/docs/images/asf-logo.gif
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/images/asf-logo.gif?rev=377243&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tomcat/container/tc5.5.x/webapps/docs/images/asf-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: tomcat/container/tc5.5.x/webapps/docs/tomcat-docs.xsl
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/tomcat-docs.xsl?rev=377243&r1=377242&r2=377243&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/tomcat-docs.xsl (original)
+++ tomcat/container/tc5.5.x/webapps/docs/tomcat-docs.xsl Sun Feb 12 13:26:03 2006
@@ -18,6 +18,7 @@
   <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="apache-logo"      select="'/images/asf-logo.gif'"/>
   <xsl:param    name="relative-path"    select="'.'"/>
   <xsl:param    name="void-image"       select="'/images/void.gif'"/>
   <xsl:param    name="project-menu"     select="'menu'"/>
@@ -39,6 +40,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>
@@ -57,24 +60,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>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="$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"/>
@@ -91,8 +81,25 @@
             <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>
+          <xsl:variable name="src">
+            <xsl:value-of select="$relative-path"/><xsl:value-of select="$apache-logo"/>
+          </xsl:variable>
+          <a href="http://www.apache.org/">
+            <img src="{$src}" 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>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message