Author: thorsten
Date: Fri Jul 28 18:26:55 2006
New Revision: 426734
URL: http://svn.apache.org/viewvc?rev=426734&view=rev
Log:
Reverting my last change because it did way too much
Modified:
forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl
Modified: forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl?rev=426734&r1=426733&r2=426734&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/tab-to-menu.xsl Fri Jul 28
18:26:55 2006
@@ -171,14 +171,11 @@
</xsl:template>
<xsl:template match="tab" mode="level1">
- <xsl:variable name="tabPath">
- <xsl:value-of select="@dir"/>/<xsl:value-of select="@href"/>
- </xsl:variable>
<xsl:choose>
<xsl:when test="@id and @id = $matching-id">
<xsl:call-template name="selected"/>
</xsl:when>
- <xsl:when test="starts-with($tabPath,$longest-dir)">
+ <xsl:when test="not(@id) and @dir = $longest-dir or @href =
$longest-dir">
<xsl:call-template name="selected"/>
</xsl:when>
<xsl:otherwise>