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/02/06 20:27:09 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/search sort.xsl search-and-results.xsl

gregor      2004/02/06 11:27:09

  Modified:    src/webapp/lenya/xslt/search sort.xsl search-and-results.xsl
  Log:
  cleanup.
  
  /me getting tired of people who do not understand CVS and abuse comments for "old code"
  
  Revision  Changes    Path
  1.2       +0 -6      cocoon-lenya/src/webapp/lenya/xslt/search/sort.xsl
  
  Index: sort.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/search/sort.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sort.xsl	11 Jan 2003 01:40:05 -0000	1.1
  +++ sort.xsl	6 Feb 2004 19:27:09 -0000	1.2
  @@ -8,17 +8,11 @@
           <xsl:when test="../../search/sort-by='score'">
             <xsl:for-each select="hit">
               <xsl:sort data-type="number" order="descending" select="score"/>
  -<!--
  -            <xsl:sort data-type="number" order="ascending" select="score"/>
  --->
               <xsl:apply-templates select="."/>
             </xsl:for-each>
           </xsl:when>
           <xsl:when test="../../search/sort-by='title'">
             <xsl:for-each select="hit">
  -<!--
  -            <xsl:sort data-type="text" order="descending" select="title"/>
  --->
               <xsl:sort data-type="text" order="ascending" select="title"/>
               <xsl:apply-templates select="."/>
             </xsl:for-each>
  
  
  
  1.25      +0 -6      cocoon-lenya/src/webapp/lenya/xslt/search/search-and-results.xsl
  
  Index: search-and-results.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/search/search-and-results.xsl,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- search-and-results.xsl	19 Nov 2003 01:17:35 -0000	1.24
  +++ search-and-results.xsl	6 Feb 2004 19:27:09 -0000	1.25
  @@ -4,9 +4,6 @@
   
   
   <xsl:variable name="uriName">lucene</xsl:variable>
  -<!--
  -<xsl:variable name="uriName">go</xsl:variable>
  --->
   
   <xsl:param name="area" value="live"/>
   
  @@ -134,9 +131,6 @@
         <td>File: <xsl:value-of select="path"/></td>
       </xsl:when>
       <xsl:when test="uri">
  -<!--
  -      <td>URL: <xsl:value-of select="uri"/></td>
  --->
         <td>
           Title: <a><xsl:attribute name="href"><xsl:value-of select="/search-and-results/search/publication-prefix"/><xsl:value-of select="normalize-space(uri)"/></xsl:attribute><xsl:apply-templates select="title"/></a><xsl:apply-templates select="no-title"/>
           <br />
  
  
  

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