forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferdin...@apache.org
Subject svn commit: r348889 - /forrest/trunk/main/webapp/skins/pelt/xslt/html/book-to-menu.xsl
Date Fri, 25 Nov 2005 06:28:24 GMT
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="menu-item[@type='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="menu-item[@type='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>



Mime
View raw message