Changeset 4879 for trunk/gsdl3/web/interfaces
- Timestamp:
- 2003-07-03T16:18:49+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/default/transform/querytools.xsl
r4866 r4879 8 8 9 9 <xsl:template name="resultNavigation"> 10 <!-- <xsl:param name="library_name"/>-->11 10 <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> 12 11 <xsl:if test="not($hp=-1)"> … … 52 51 </center> 53 52 </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"> 61 55 <xsl:if test="count(termList/term) > 0"> 62 56 <small>
Note:
See TracChangeset
for help on using the changeset viewer.