Changeset 5384 for trunk/gsdl3/web


Ignore:
Timestamp:
2003-09-01T09:51:33+12:00 (21 years ago)
Author:
kjdon
Message:

navigation bar no longer part of page banner, also now we find the top of teh classifier id (eg CL1) and pass that in to the nav bar and page banner so that the correct classifier can be highlighted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/nzdl/transform/classifier.xsl

    r5120 r5384  
    2222    <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
    2323    <xsl:variable name="serviceName"><xsl:value-of select="service/@name"/></xsl:variable>
     24    <xsl:variable name="cl" select="/page/pageRequest/paramList/param[@name='cl']/@value"/>
     25    <xsl:variable name="clTop">
     26      <xsl:choose>
     27    <xsl:when test="contains($cl, '.')"><xsl:value-of select="substring-before($cl, '.')"/></xsl:when>
     28    <xsl:otherwise>
     29      <xsl:value-of select="$cl"/>
     30    </xsl:otherwise>
     31      </xsl:choose>
     32    </xsl:variable>
    2433    <center>
    2534      <xsl:call-template name="standardPageBanner">
    2635    <xsl:with-param name="collName" select="$collName"/>
    27     <xsl:with-param name="pageType">brwse</xsl:with-param>
     36    <xsl:with-param name="pageType">browse</xsl:with-param>
     37    <xsl:with-param name="clTop" select="$clTop"/>
    2838      </xsl:call-template>
     39      <xsl:call-template name="navigationBar">
     40    <xsl:with-param name="collName" select="$collName"/>
     41    <xsl:with-param name="clTop" select="$clTop"/>
     42      </xsl:call-template>     
    2943      <p/>
    3044      <xsl:apply-templates select="classifier">
Note: See TracChangeset for help on using the changeset viewer.