You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/26 22:46:43 UTC

svn commit: r631396 - /lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl

Author: andreas
Date: Tue Feb 26 13:46:40 2008
New Revision: 631396

URL: http://svn.apache.org/viewvc?rev=631396&view=rev
Log:
Use Google to search site.

Modified:
    lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl

Modified: lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl?rev=631396&r1=631395&r2=631396&view=diff
==============================================================================
--- lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl (original)
+++ lenya/sandbox/modules/docustyle/xslt/beforeCache.xsl Tue Feb 26 13:46:40 2008
@@ -60,7 +60,7 @@
       </head>
       <body>
         <div id="page">
-          <lenya:navElement name="search"/>
+          <xsl:call-template name="searchForm"/>
           
           <div id="header">
             <div id="apacheBreadcrumb">
@@ -84,6 +84,19 @@
         </div>
       </body>
     </html>
+  </xsl:template>
+  
+  
+  <xsl:template name="searchForm">
+    <div id="search">
+      <form action="http://www.google.com/search" method="get" id="form-search">
+        <p>
+          <input type="hidden" name="sitesearch" value="lenya.apache.org"/>
+          <input class="searchfield" type="text" name="q" alt="Search field"/>
+          <input class="searchsubmit" type="submit" value="Search" name="input-go"/>
+        </p>
+      </form>
+    </div>
   </xsl:template>
   
   



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org