Author: andreas
Date: Mon Feb 2 20:41:44 2009
New Revision: 740100
URL: http://svn.apache.org/viewvc?rev=740100&view=rev
Log:
Add visibleinnav attribute even when not present in sitetree XML.
Modified:
lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl
Modified: lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl?rev=740100&r1=740099&r2=740100&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/sitetree/xslt/navigation/sitetree2nav.xsl Mon Feb 2 20:41:44 2009
@@ -93,10 +93,9 @@
<xsl:call-template name="resolve-existing-language"/>
</xsl:variable>
- <nav:node>
+ <nav:node visibleinnav="{string(@visibleinnav) != 'false'}">
<xsl:copy-of select="@id"/>
- <xsl:copy-of select="@visibleinnav"/>
<xsl:copy-of select="@protected"/>
<xsl:copy-of select="@folder"/>
<xsl:copy-of select="@uuid"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.