Foundry: Current section of MPA now gets a class
git-svn-id: https://svn.libreccm.org/ccm/trunk@3620 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
82013214d9
commit
cd0fab5723
|
|
@ -92,6 +92,10 @@
|
||||||
<xsl:apply-templates select="$section-layout-tree/*">
|
<xsl:apply-templates select="$section-layout-tree/*">
|
||||||
<xsl:with-param name="mpa-section-title" tunnel="yes" select="."/>
|
<xsl:with-param name="mpa-section-title" tunnel="yes" select="."/>
|
||||||
<xsl:with-param name="href" tunnel="yes" select="@link"/>
|
<xsl:with-param name="href" tunnel="yes" select="@link"/>
|
||||||
|
<xsl:with-param name="class"
|
||||||
|
select="if(./@rank = ../../cms:item/rank)
|
||||||
|
then 'active'
|
||||||
|
else ''"/>
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue