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 2009/04/16 14:36:04 UTC

svn commit: r765610 - /lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl

Author: andreas
Date: Thu Apr 16 12:36:04 2009
New Revision: 765610

URL: http://svn.apache.org/viewvc?rev=765610&view=rev
Log:
Cleaning up contract for xhtml resource type format.

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl

Modified: lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl?rev=765610&r1=765609&r2=765610&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/lucene/xslt/search2html.xsl Thu Apr 16 12:36:04 2009
@@ -53,25 +53,27 @@
   </xsl:variable>
   
   <xsl:template match="search:results">  
-    <div id="body">
-      <h1><i18n:text>Search</i18n:text></h1>
-      <form class="search-results-form" action="" method="get">
-        <p>
-          <input name="queryString" type="text" style="width: 400px" value="{$queryString}"
-          />&#160;<input type="submit" name="submit" value="Search" i18n:attr="value"/>
-        </p>
-        <p>
-          <xsl:call-template name="type">
-            <xsl:with-param name="searchType">documents</xsl:with-param>
-          </xsl:call-template>
-          &#160;&#160;&#160;
-          <xsl:call-template name="type">
-            <xsl:with-param name="searchType">images</xsl:with-param>
-          </xsl:call-template>
-        </p>
-      </form>
-      <xsl:apply-templates select="search:hits"/>
-    </div>
+    <html>
+      <body>
+        <h1><i18n:text>Search</i18n:text></h1>
+        <form class="search-results-form" action="" method="get">
+          <p>
+            <input name="queryString" type="text" style="width: 400px" value="{$queryString}"
+            />&#160;<input type="submit" name="submit" value="Search" i18n:attr="value"/>
+          </p>
+          <p>
+            <xsl:call-template name="type">
+              <xsl:with-param name="searchType">documents</xsl:with-param>
+            </xsl:call-template>
+            &#160;&#160;&#160;
+            <xsl:call-template name="type">
+              <xsl:with-param name="searchType">images</xsl:with-param>
+            </xsl:call-template>
+          </p>
+        </form>
+        <xsl:apply-templates select="search:hits"/>
+      </body>
+    </html>
   </xsl:template>
   
   



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