tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r377090 - in /tomcat/container/branches/tc4.1.x/webapps/tomcat-docs: project.xml tomcat-docs.xsl
Date Sat, 11 Feb 2006 23:49:59 GMT
Author: markt
Date: Sat Feb 11 15:49:58 2006
New Revision: 377090

URL: http://svn.apache.org/viewcvs?rev=377090&view=rev
Log:
Update docs to reflect move to TLP

Modified:
    tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/project.xml
    tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl

Modified: tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/project.xml
URL: http://svn.apache.org/viewcvs/tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/project.xml?rev=377090&r1=377089&r2=377090&view=diff
==============================================================================
--- tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/project.xml (original)
+++ tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/project.xml Sat Feb 11 15:49:58
2006
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <project name="Tomcat Documentation - Top Level Directory"
-        href="http://jakarta.apache.org/tomcat/">
+        href="http://tomcat.apache.org/">
 
-    <title>The Tomcat 4 Servlet/JSP Container</title>
+    <title>Apache Tomcat 4</title>
 
     <logo href="/images/tomcat.gif">
       The Tomcat Servlet/JSP Container
@@ -31,7 +31,7 @@
         <item name="Class Loader HOW-TO"   href="class-loader-howto.html"/>
         <item name="Connectors List"       href="config/connectors.html"/>
         <item name="HTML Manager App HOW-TO" href="html-manager-howto.html"/>
-        <item name="JK Documentation"      href="jk2/index.html"/>
+        <item name="JK Documentation"      href="jk/index.html"/>
         <item name="JNDI DataSource HOW-TO" 
               href="jndi-datasource-examples-howto.html"/>
         <item name="JNDI Resources HOW-TO" href="jndi-resources-howto.html"/>
@@ -57,9 +57,6 @@
     </menu>
 
     <menu name="Jasper Developers">
-<!--
-        <item name="Overall Requirements"  href="jasper-requirements.html"/>
--->
         <item name="Javadocs"              href="jasper/docs/api/index.html"/>
     </menu>
 

Modified: tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl
URL: http://svn.apache.org/viewcvs/tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl?rev=377090&r1=377089&r2=377090&view=diff
==============================================================================
--- tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl (original)
+++ tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/tomcat-docs.xsl Sat Feb 11 15:49:58
2006
@@ -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 -->



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


Mime
View raw message