Author: ferdinand
Date: Thu Nov 24 22:28:16 2005
New Revision: 348889
URL: http://svn.apache.org/viewcvs?rev=348889&view=rev
Log:
Undoing 348883 (correcting subslipses commit error)
Modified:
forrest/trunk/main/webapp/skins/pelt/xslt/html/book-to-menu.xsl
Modified: forrest/trunk/main/webapp/skins/pelt/xslt/html/book-to-menu.xsl
URL:
http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/pelt/xslt/html/book-to-menu.xsl?rev=348889&r1=348888&r2=348889&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/pelt/xslt/html/book-to-menu.xsl (original)
+++ forrest/trunk/main/webapp/skins/pelt/xslt/html/book-to-menu.xsl Thu Nov 24
22:28:16 2005
@@ -42,43 +42,6 @@
</xsl:template>
<xsl:template match="[EMAIL PROTECTED]'hidden']"/>
-
-
- <!--
- FSO
- Show menu-items of this type only when the referenced page
- is currently open.
- Added to maintain context without having to show all pages always on
the menu.
- -->
- <xsl:template match="[EMAIL PROTECTED]'showWhenSelected']">
-
- <!-- Use apply-imports when overriding -->
- <xsl:variable name="href-nofrag">
- <xsl:call-template name="path-nofrag">
- <xsl:with-param name="path" select="@href" />
- </xsl:call-template>
- </xsl:variable>
- <!-- Compare with extensions stripped -->
- <xsl:variable name="node-path">
- <xsl:call-template name="normalize">
- <xsl:with-param name="path" select="concat($dirname,
$href-nofrag)" />
- </xsl:call-template>
- </xsl:variable>
- <xsl:if test="$node-path = $path-nofrag">
-
- <li>
- <xsl:choose>
- <xsl:when test="contains(@href, '#')">
- <xsl:call-template name="selected-anchor" />
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="selected" />
- </xsl:otherwise>
- </xsl:choose></li>
-
- </xsl:if>
-
- </xsl:template>
<xsl:template match="menu-item">
<li>