[Yanel-commits] rev 26479 - public/yanel/trunk/src/contributions/resources/nutch/xslt

michi at wyona.com michi at wyona.com
Thu Aug 2 15:36:21 CEST 2007


Author: michi
Date: 2007-08-02 15:36:21 +0200 (Thu, 02 Aug 2007)
New Revision: 26479

Modified:
   public/yanel/trunk/src/contributions/resources/nutch/xslt/result2xhtml.xsl
Log:
groups hardcoded

Modified: public/yanel/trunk/src/contributions/resources/nutch/xslt/result2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/contributions/resources/nutch/xslt/result2xhtml.xsl	2007-08-02 13:23:47 UTC (rev 26478)
+++ public/yanel/trunk/src/contributions/resources/nutch/xslt/result2xhtml.xsl	2007-08-02 13:36:21 UTC (rev 26479)
@@ -56,10 +56,11 @@
       <input type="hidden" name="yanel.meta.language" value="{$localization.language}"/>
       <input type="hidden" name="totalHits" value="{$totalHits}"/>
       <input type="submit" name="submit" value="i18n:attr key=search"/>
+
+      <xsl:apply-templates select="/yanel:nutch/yanel:groups" mode="form"/>
     </form>
-    <p>
-      <xsl:apply-templates/>
-    </p>
+
+    <xsl:apply-templates/>
     </body>
     </html>
   </xsl:template>
@@ -228,4 +229,8 @@
     </div>
   </xsl:template>
 
+  <xsl:template match="yanel:groups" mode="form">
+    <br/><input type="radio" name="group" value="usage"/>Usage <input type="radio" name="group" value="dev" checked="true"/>Development
+  </xsl:template>
+
 </xsl:stylesheet>



More information about the Yanel-commits mailing list