Changeset 26278


Ignore:
Timestamp:
10/03/12 14:26:35 (8 years ago)
Author:
sjm84
Message:

Using a more appropriate parameter name

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r26277 r26278  
    439439                                        <xsl:apply-templates select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']/paramList/param[@name='index']" mode="calculate-default"/>
    440440                                    </xsl:with-param>
    441                                     <xsl:with-param name="hideEmpty">true</xsl:with-param>
     441                                    <xsl:with-param name="hideSingle">true</xsl:with-param>
    442442                                </xsl:apply-templates>
    443443                            </span>
  • main/trunk/greenstone3/web/interfaces/default/transform/query-common.xsl

    r26277 r26278  
    3232    <xsl:template match="param[@type='enum_single']">
    3333        <xsl:param name="ns">s1.</xsl:param>
    34         <xsl:param name="hideEmpty">false</xsl:param>
     34        <xsl:param name="hideSingle">false</xsl:param>
    3535        <xsl:param name="default"/>
    3636        <xsl:choose>
    3737            <xsl:when test="count(option) = 1">
    38                 <xsl:if test="$hideEmpty = 'false'">
     38                <xsl:if test="$hideSingle = 'false'">
    3939                    <xsl:value-of select="option/displayItem[@name='name']"/>
    4040                </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.