Ignore:
Timestamp:
2003-07-03T16:18:49+12:00 (21 years ago)
Author:
kjdon
Message:

shifted calculate default for param template from here to service params.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/transform/querytools.xsl

    r4866 r4879  
    88
    99  <xsl:template name="resultNavigation">
    10    <!-- <xsl:param name="library_name"/>-->
    1110    <xsl:variable name="hp"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='hp']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='hp']/@value"/></xsl:when><xsl:otherwise>20</xsl:otherwise></xsl:choose></xsl:variable>
    1211    <xsl:if test="not($hp=-1)">
     
    5251    </center>
    5352  </xsl:template>
    54 
    55   <xsl:template match="param" mode="calculate-default">
    56     <xsl:variable name="pname" select="@name"/>
    57     <xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name=$pname]"><xsl:value-of select="/page/pageRequest/paramList/param[@name=$pname]/@value"/></xsl:when><xsl:otherwise><xsl:value-of select="@default"/></xsl:otherwise></xsl:choose>
    58   </xsl:template>
    59 
    60     <xsl:template name="termInfo">
     53 
     54  <xsl:template name="termInfo">
    6155    <xsl:if test="count(termList/term) > 0">
    6256      <small>
Note: See TracChangeset for help on using the changeset viewer.