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 2006/06/12 14:43:34 UTC

svn commit: r413645 - /lenya/trunk/src/modules/sitetree/xslt/navigation/search.xsl

Author: andreas
Date: Mon Jun 12 05:43:34 2006
New Revision: 413645

URL: http://svn.apache.org/viewvc?rev=413645&view=rev
Log:
[minor change] code formatting

Modified:
    lenya/trunk/src/modules/sitetree/xslt/navigation/search.xsl

Modified: lenya/trunk/src/modules/sitetree/xslt/navigation/search.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/sitetree/xslt/navigation/search.xsl?rev=413645&r1=413644&r2=413645&view=diff
==============================================================================
--- lenya/trunk/src/modules/sitetree/xslt/navigation/search.xsl (original)
+++ lenya/trunk/src/modules/sitetree/xslt/navigation/search.xsl Mon Jun 12 05:43:34 2006
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!--
   Copyright 1999-2004 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
-
+  
+  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.
@@ -19,32 +19,32 @@
 
 
 <xsl:stylesheet version="1.0"
-    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
-    xmlns="http://www.w3.org/1999/xhtml"
-    exclude-result-prefixes="nav"
-    >
-
-<xsl:template match="nav:site">
-  <div id="search">
-    <form action="?" id="form-search">
-      <p>
-        <input class="searchfield" type="text" name="queryString" alt="Search field"/>
-	<select name="lenya.usecase">
-	  <option selected="true" value="lucene.search">Internal</option>
-	  <option value="lucene.externalOpensearch">External</option>
-	</select>
-        <input type="hidden" value="20" name="pageLength"/>
-        <input class="searchsubmit" type="submit" value="Go" name="input-go"/>
-      </p>
-    </form>
-  </div>
-</xsl:template>
-
-<xsl:template match="@*|node()">
-  <xsl:copy>
-    <xsl:apply-templates select="@*|node()"/>
-  </xsl:copy>
-</xsl:template>
-
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:nav="http://apache.org/cocoon/lenya/navigation/1.0"
+  xmlns="http://www.w3.org/1999/xhtml"
+  exclude-result-prefixes="nav"
+  >
+  
+  <xsl:template match="nav:site">
+    <div id="search">
+      <form action="?" id="form-search">
+        <p>
+          <input class="searchfield" type="text" name="queryString" alt="Search field"/>
+          <select name="lenya.usecase">
+            <option selected="true" value="lucene.search">Internal</option>
+            <option value="lucene.externalOpensearch">External</option>
+          </select>
+          <input type="hidden" value="20" name="pageLength"/>
+          <input class="searchsubmit" type="submit" value="Go" name="input-go"/>
+        </p>
+      </form>
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+  
 </xsl:stylesheet> 



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