You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by yo...@apache.org on 2005/11/02 18:42:34 UTC

svn commit: r330291 - in /tomcat/site/trunk: ./ docs/ xdocs/stylesheets/

Author: yoavs
Date: Wed Nov  2 09:42:26 2005
New Revision: 330291

URL: http://svn.apache.org/viewcvs?rev=330291&view=rev
Log:
- Added Google site search box
- Added basic Tomcat stylesheet.  It currently only has the searchbox style, borrowed from lenya.apache.org, but provides a place to add more stuff in the future.
- Added a couple of <echo /> messages to build.xml.


Added:
    tomcat/site/trunk/xdocs/stylesheets/tomcat.css
Modified:
    tomcat/site/trunk/build.xml
    tomcat/site/trunk/docs/bugreport.html
    tomcat/site/trunk/docs/contact.html
    tomcat/site/trunk/docs/download-33.html
    tomcat/site/trunk/docs/download-41.html
    tomcat/site/trunk/docs/download-55.html
    tomcat/site/trunk/docs/download-connectors.html
    tomcat/site/trunk/docs/findhelp.html
    tomcat/site/trunk/docs/getinvolved.html
    tomcat/site/trunk/docs/heritage.html
    tomcat/site/trunk/docs/index.html
    tomcat/site/trunk/docs/irc.html
    tomcat/site/trunk/docs/legal.html
    tomcat/site/trunk/docs/lists.html
    tomcat/site/trunk/docs/resources.html
    tomcat/site/trunk/docs/svn.html
    tomcat/site/trunk/docs/whichversion.html
    tomcat/site/trunk/docs/whoweare.html
    tomcat/site/trunk/xdocs/stylesheets/project.xml
    tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl

Modified: tomcat/site/trunk/build.xml
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/build.xml?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/build.xml (original)
+++ tomcat/site/trunk/build.xml Wed Nov  2 09:42:26 2005
@@ -19,6 +19,7 @@
         <!-- Transform the xml files - requires Ant 1.6.2 -->
 
         <!-- Transform the top-level directory -->
+        <echo message="Transforming the site documents..." />
         <style  basedir="${docs.src}"
                 destdir="${docs.dest}"
                 extension=".html"
@@ -30,6 +31,7 @@
 
         <!-- Transform the "faq" subdirectory -->
         <mkdir  dir="${docs.dest}/faq" />
+        <echo message="Transforming the FAQ documents..." />
         <style  basedir="${faq.src}"
                 destdir="${faq.dest}"
                 extension=".html"
@@ -50,7 +52,8 @@
         </style>
 
         <!-- Copy static resource files -->
-        <copy   todir="${docs.dest}/images" filtering="no">
+        <echo message="Copying static resource files..." />
+        <copy todir="${docs.dest}/images" filtering="no">
             <fileset dir="${docs.src}/images">
                 <include name="**/*.gif"/>
                 <include name="**/*.jpeg"/>
@@ -59,14 +62,16 @@
         </copy>
 
         <!-- Copy static PDFs -->
-        <copy    todir="${docs.dest}" filtering="no">
+        <echo message="Copying PDFs..." />
+        <copy todir="${docs.dest}" filtering="no">
             <fileset dir="${docs.src}">
                 <include name="**/*.pdf"/>
             </fileset>
         </copy>
 
         <!-- Copy CSS stylesheets and download CGI -->
-        <copy    todir="${docs.dest}" filtering="no">
+        <echo message="Copying CSS and CGI files..." />
+        <copy todir="${docs.dest}" filtering="no">
             <fileset dir="${docs.src}">
                 <include name="**/*.css"/>
                 <include name="**/*.cgi"/>

Modified: tomcat/site/trunk/docs/bugreport.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/bugreport.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/bugreport.html (original)
+++ tomcat/site/trunk/docs/bugreport.html Wed Nov  2 09:42:26 2005
@@ -5,6 +5,7 @@
 <title>Apache Tomcat - Apache Tomcat -- Reporting Bugs</title>
 <meta value="Glenn L. Nielsen" name="author" />
 <meta value="" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -29,6 +30,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/contact.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/contact.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/contact.html (original)
+++ tomcat/site/trunk/docs/contact.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat -- Contact Information</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/download-33.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-33.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/download-33.html (original)
+++ tomcat/site/trunk/docs/download-33.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Tomcat 3 Downloads</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/download-41.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-41.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/download-41.html (original)
+++ tomcat/site/trunk/docs/download-41.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat 4 Downloads</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/download-55.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-55.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/download-55.html (original)
+++ tomcat/site/trunk/docs/download-55.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat 5 Downloads</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/download-connectors.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/download-connectors.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/download-connectors.html (original)
+++ tomcat/site/trunk/docs/download-connectors.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Tomcat Connectors (mod_jk, mod_jk2) Downloads</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/findhelp.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/findhelp.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/findhelp.html (original)
+++ tomcat/site/trunk/docs/findhelp.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat -- Find Help</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/getinvolved.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/getinvolved.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/getinvolved.html (original)
+++ tomcat/site/trunk/docs/getinvolved.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat -- Get Involved</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/heritage.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/heritage.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/heritage.html (original)
+++ tomcat/site/trunk/docs/heritage.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat -- Heritage</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/index.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/index.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Wed Nov  2 09:42:26 2005
@@ -7,6 +7,7 @@
 <meta value="marc.saegesser@apropos.com" name="email" />
 <meta value="Yoav Shapira" name="author" />
 <meta value="yoavs@apache.org" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -31,6 +32,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/irc.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/irc.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/irc.html (original)
+++ tomcat/site/trunk/docs/irc.html Wed Nov  2 09:42:26 2005
@@ -5,6 +5,7 @@
 <title>Apache Tomcat - Apache Tomcat on IRC</title>
 <meta value="Marc A. Saegesser" name="author" />
 <meta value="marc.saegesser@apropos.com" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -29,6 +30,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/legal.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/legal.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/legal.html (original)
+++ tomcat/site/trunk/docs/legal.html Wed Nov  2 09:42:26 2005
@@ -5,6 +5,7 @@
 <title>Apache Tomcat - Apache Tomcat -- Legal Stuff They Make Us Say</title>
 <meta value="Apache Tomcat Project" name="author" />
 <meta value="" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -29,6 +30,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/lists.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/lists.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/lists.html (original)
+++ tomcat/site/trunk/docs/lists.html Wed Nov  2 09:42:26 2005
@@ -5,6 +5,7 @@
 <title>Apache Tomcat - Apache Tomcat -- Mailing Lists</title>
 <meta value="Apache Tomcat Team" name="author" />
 <meta value="" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -29,6 +30,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/resources.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/resources.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/resources.html (original)
+++ tomcat/site/trunk/docs/resources.html Wed Nov  2 09:42:26 2005
@@ -5,6 +5,7 @@
 <title>Apache Tomcat - Apache Tomcat Resources</title>
 <meta value="Remy Maucherat" name="author" />
 <meta value="remm@apache.org" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -29,6 +30,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/svn.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/svn.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/svn.html (original)
+++ tomcat/site/trunk/docs/svn.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat -- Subversion Repository Access</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/whichversion.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/whichversion.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/whichversion.html (original)
+++ tomcat/site/trunk/docs/whichversion.html Wed Nov  2 09:42:26 2005
@@ -7,6 +7,7 @@
 <meta value="marc.saegesser@apropos.com" name="email" />
 <meta value="Yoav Shapira" name="author" />
 <meta value="yoavs@apache.org" name="email" />
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -31,6 +32,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/docs/whoweare.html
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/docs/whoweare.html?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/docs/whoweare.html (original)
+++ tomcat/site/trunk/docs/whoweare.html Wed Nov  2 09:42:26 2005
@@ -3,6 +3,7 @@
 <html>
 <head>
 <title>Apache Tomcat - Apache Tomcat -- Who We Are</title>
+<link rel="stylesheet" href="stylesheets/tomcat.css" type="text/css" />
 </head>
 <body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff">
 <table cellspacing="0" width="100%" border="0">
@@ -27,6 +28,13 @@
 </td>
 </tr>
 </table>
+<div class="searchbox">
+<form method="get" action="http://www.google.com/search">
+<input type="hidden" name="sitesearch" value="tomcat.apache.org" />
+<input type="text" id="query" name="q" size="25" value="Search the Site" />
+<input type="submit" value="Search Site" name="Search" />
+</form>
+</div>
 <table cellspacing="4" width="100%" border="0">
 <!--HEADER SEPARATOR-->
 <tr>

Modified: tomcat/site/trunk/xdocs/stylesheets/project.xml
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs/stylesheets/project.xml?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/project.xml (original)
+++ tomcat/site/trunk/xdocs/stylesheets/project.xml Wed Nov  2 09:42:26 2005
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <project name="The Apache Tomcat Project"
-        href="http://tomcat.apache.org/">
+         href="http://tomcat.apache.org/">
 
     <title>Apache Tomcat</title>
 

Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl?rev=330291&r1=330290&r2=330291&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl (original)
+++ tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Wed Nov  2 09:42:26 2005
@@ -53,6 +53,9 @@
     <xsl:if test="properties/base">
       <base href="{properties/base/@href}"/>
     </xsl:if>
+
+    <!-- YS 20051102: Add a stylesheet -->
+    <link type="text/css" href="stylesheets/tomcat.css" rel="stylesheet" />
     </head>
 
     <body bgcolor="{$body-bg}" text="{$body-fg}" link="{$body-link}"
@@ -82,6 +85,16 @@
         </td>
       </tr>
     </table>
+
+    <!-- Search box: uses CSS positioning -->
+    <div class="searchbox">
+      <form action="http://www.google.com/search" method="get">
+        <input value="tomcat.apache.org" name="sitesearch" type="hidden" />
+        <input value="Search the Site" size="25" name="q" id="query" type="text" />
+        <input name="Search" value="Search Site" type="submit" />
+      </form>
+    </div>
+    <!-- End search box -->
 
     <table border="0" width="100%" cellspacing="4">
 

Added: tomcat/site/trunk/xdocs/stylesheets/tomcat.css
URL: http://svn.apache.org/viewcvs/tomcat/site/trunk/xdocs/stylesheets/tomcat.css?rev=330291&view=auto
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/tomcat.css (added)
+++ tomcat/site/trunk/xdocs/stylesheets/tomcat.css Wed Nov  2 09:42:26 2005
@@ -0,0 +1,31 @@
+/*
+* Copyright 2002-2005 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+.searchbox {
+    position: relative;
+    left: -50px;
+    top: 20px;
+    height: 42px;
+    white-space: nowrap;
+    text-align: right;
+    z-index:0;
+    bottom: -1px; /* compensate for IE rendering issue */
+}
+
+.searchbox form {
+    padding: 5px 10px;
+    margin: 0;
+}



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