You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/09/17 09:34:33 UTC
svn commit: rev 46240 - incubator/lenya/trunk/src/webapp/lenya/xslt/menu
Author: michi
Date: Fri Sep 17 00:34:33 2004
New Revision: 46240
Modified:
incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xul.xsl
Log:
sequence of submenus and items fixed
Modified: incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xul.xsl
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xul.xsl (original)
+++ incubator/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xul.xsl Fri Sep 17 00:34:33 2004
@@ -186,11 +186,8 @@
<!-- match blocks with not area='false' -->
<xsl:template match="menu:block" mode="menu">
- <xsl:apply-templates mode="menu"/>
-
- <!--
- <xsl:apply-templates select="menu:item[not(@info = 'false') and starts-with($completearea, 'info') or not(@*[local-name() = $completearea] = 'false') and not(starts-with($completearea, 'info'))]"/>
- -->
+ <!-- * is menu and item -->
+ <xsl:apply-templates select="*[not(@info = 'false') and starts-with($completearea, 'info') or not(@*[local-name() = $completearea] = 'false') and not(starts-with($completearea, 'info'))]" mode="menu"/>
<xsl:if test="position() != last()">
<xul:menuseparator/>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org