Changeset 20232 for greenstone3

Show
Ignore:
Timestamp:
12.08.2009 13:22:31 (11 years ago)
Author:
kjdon
Message:

to decide whether search form is displayed on about page, use qt arg. if not there or equals 0, then display teh form, otherwise don't.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/gs2/transform/about.xsl

    r20026 r20232  
    6060    </xsl:call-template> 
    6161    <div class="document"> 
    62       <!--<xsl:if test="/page/pageRequest/paramList/param[@name='ct']/@value = 0">--> 
     62      <xsl:if test="not(/page/pageRequest/paramList/param[@name='qt']) or /page/pageRequest/paramList/param[@name='qt']/@value = 0"> 
    6363      <xsl:apply-templates select="serviceList/service[@name='TextQuery']"> 
    6464    <xsl:with-param name="collName" select="$collName"/></xsl:apply-templates> 
    6565      <xsl:call-template name="dividerBar"/> 
    66       <!--</xsl:if>--> 
     66      </xsl:if> 
    6767    </div> 
    6868    <div>