Changeset 14639 for greenstone3

Show
Ignore:
Timestamp:
09.10.2007 21:23:13 (12 years ago)
Author:
anna
Message:

remove the rank option box in advanced search page because it's already set in the preference page.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/classic/transform/query-common.xsl

    r14600 r14639  
    2727   
    2828  <!-- a special handling of the param list - we override the one in service-params --> 
    29   <xsl:template match="paramList" priority='2'> 
    30     <span class="textselect"> 
    31       Search for <xsl:apply-templates select="param[@name='index']"><xsl:with-param name="default"><xsl:apply-templates select="param[@name='index']" mode="calculate-default"/></xsl:with-param></xsl:apply-templates><xsl:if test="param[@name='level' and not(@type='invisible')]">at <xsl:apply-templates select="param[@name='level']"><xsl:with-param name="default"><xsl:apply-templates select="param[@name='level']" mode="calculate-default"/></xsl:with-param></xsl:apply-templates> level</xsl:if><xsl:call-template name='query_mode'/> 
     29  <xsl:template match="paramList" priority='2'>      
     30    <span class="textselect"> 
     31        Search for <xsl:apply-templates select="param[@name='index']"><xsl:with-param name="default"><xsl:apply-templates select="param[@name='index']" mode="calculate-default"/></xsl:with-param></xsl:apply-templates><xsl:if test="param[@name='level' and not(@type='invisible')]">at <xsl:apply-templates select="param[@name='level']"><xsl:with-param name="default"><xsl:apply-templates select="param[@name='level']" mode="calculate-default"/></xsl:with-param></xsl:apply-templates> level</xsl:if><xsl:call-template name='query_mode'/> 
    3232    </span>  
    3333    <span class="querybox">  
     
    4444    <xsl:choose> 
    4545      <xsl:when test="$qfm=1"> 
    46         and display results in <xsl:apply-templates select="param[@name='sortBy']"><xsl:with-param name="default"><xsl:apply-templates select="param[@name='sortBy']" mode="calculate-default"/></xsl:with-param></xsl:apply-templates> order 
     46        <!-- and display results in <xsl:apply-templates select="param[@name='sortBy']"><xsl:with-param name="default"><xsl:apply-templates select="param[@name='sortBy']" mode="calculate-default"/></xsl:with-param></xsl:apply-templates> order --> 
    4747      </xsl:when> 
    4848      <xsl:otherwise>