Changeset 16945

Show
Ignore:
Timestamp:
21.08.2008 14:09:44 (11 years ago)
Author:
kjdon
Message:

previous commit meant that when go to search page, before doing a search, you saw the results bar. so now do a test on rt param to sese if we are doing a search

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/default/transform/query.xsl

    r16942 r16945  
    3333  <xsl:template match="pageResponse"> 
    3434    <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>  
     35    <xsl:variable name="requesttype"><xsl:value-of select="/page/pageRequest/paramList/param[@name='rt']/@value"/></xsl:variable>  
    3536    <xsl:call-template name="standardPageBanner"> 
    3637      <xsl:with-param name="collName" select="$collName"/> 
     
    4849      <xsl:call-template name="berrybasket"/> 
    4950    </xsl:if> 
     51      <xsl:if test="contains($requesttype, 'r')"> 
    5052      <xsl:call-template name="query-response"> 
    5153    <xsl:with-param name="collName" select="$collName"/> 
    5254      </xsl:call-template> 
     55      </xsl:if> 
    5356       
    5457    </div>