You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/10/25 06:55:24 UTC

svn commit: rev 55485 - incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/navigation

Author: gregor
Date: Sun Oct 24 21:55:23 2004
New Revision: 55485

Modified:
   incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/navigation/search.xsl
Log:
#29311	  	Search field in lower-level articles does not work

Modified: incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/navigation/search.xsl
==============================================================================
--- incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/navigation/search.xsl	(original)
+++ incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/navigation/search.xsl	Sun Oct 24 21:55:23 2004
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 
-<!-- $Id: search.xsl,v 1.3 2004/03/13 12:42:05 gregor Exp $ -->
+<!-- $Id$ -->
 
 <xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -25,10 +25,11 @@
     >
     
 <xsl:param name="area"/>
+<xsl:param name="root"/>
 
 <xsl:template match="nav:site">
   <div id="search">
-    <form action="{@href}../search-{$area}/lucene"><input class="searchfield" type="text" name="queryString"/><input class="searchsubmit" type="submit" value="Search" name="find"/></form>
+    <form action="{$root}../search-{$area}/lucene"><input class="searchfield" type="text" name="queryString"/><input class="searchsubmit" type="submit" value="Search" name="find"/></form>
   </div>
 </xsl:template>
 

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