You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ni...@apache.org on 2004/05/29 21:34:39 UTC
svn commit: rev 20606 - avalon/trunk/central/system/themes/avalon2/html
Author: niclas
Date: Sat May 29 12:34:38 2004
New Revision: 20606
Modified:
avalon/trunk/central/system/themes/avalon2/html/nav-aggregate.xsl
Log:
Solved the 'missing runtime' in the products/runtime/system menus.
Modified: avalon/trunk/central/system/themes/avalon2/html/nav-aggregate.xsl
==============================================================================
--- avalon/trunk/central/system/themes/avalon2/html/nav-aggregate.xsl (original)
+++ avalon/trunk/central/system/themes/avalon2/html/nav-aggregate.xsl Sat May 29 12:34:38 2004
@@ -52,9 +52,9 @@
<xsl:when test="contains( @href, 'index.html') and contains( @href, '/')" >
<xsl:attribute name="href"><xsl:value-of select="substring-before( @href, 'index.html' ) " /></xsl:attribute>
<xsl:attribute name="name"><xsl:value-of select="@name" /></xsl:attribute>
- <xsl:if test="contains( $fullpath, substring-before( @href, 'index.html' ) )" >
+ <xsl:if test="contains( $fullpath, substring-before( @href, '/' ) )" >
<xsl:attribute name="selected">true</xsl:attribute>
- </xsl:if>
+ </xsl:if>
</xsl:when>
<!-- Contains an html file without a directory -->
<xsl:when test="contains( @href, '.html') and not( contains( @href, '/') )" >
@@ -65,7 +65,7 @@
<xsl:when test="contains( @href, 'index.html') and contains( @href, '/')" >
<xsl:attribute name="href"><xsl:value-of select="substring-before( @href, 'index.html' ) " /></xsl:attribute>
<xsl:attribute name="name"><xsl:value-of select="@name" /></xsl:attribute>
- <xsl:if test="contains( $fullpath, substring-before( @href, 'index.html' ) )" >
+ <xsl:if test="contains( $fullpath, substring-before( @href, '/' ) )" >
<xsl:attribute name="selected">true</xsl:attribute>
</xsl:if>
</xsl:when>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org