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:29 UTC

svn commit: rev 55486 - incubator/lenya/trunk/src/webapp/lenya/xslt/navigation

Author: gregor
Date: Sun Oct 24 21:55:28 2004
New Revision: 55486

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

Modified: incubator/lenya/trunk/src/webapp/lenya/xslt/navigation/search.xsl
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/xslt/navigation/search.xsl	(original)
+++ incubator/lenya/trunk/src/webapp/lenya/xslt/navigation/search.xsl	Sun Oct 24 21:55:28 2004
@@ -25,16 +25,12 @@
     >
     
 <xsl:param name="area"/>
+<xsl:param name="root"/>
 
 <xsl:template match="nav:site">
   <div id="search">
-    <form action="{@href}../search-{$area}/lucene">
-      <div>
-        <input class="searchfield" type="text" name="queryString"/>
-        <input class="searchsubmit" type="submit" value="Search" name="find"/>
+    <form action="{$root}../search-{$area}/lucene"><input class="searchfield" type="text" name="queryString"/><input class="searchsubmit" type="submit" value="Search" name="find"/></form>
       </div>
-    </form>
-  </div>
 </xsl:template>
 
 <xsl:template match="@*|node()">

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