You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/05/25 14:48:46 UTC
svn commit: r178428 -
/lenya/trunk/src/webapp/lenya/xslt/info/sitetree2tree.xsl
Author: andreas
Date: Wed May 25 05:48:45 2005
New Revision: 178428
URL: http://svn.apache.org/viewcvs?rev=178428&view=rev
Log:
disable area nodes in sitetree
Modified:
lenya/trunk/src/webapp/lenya/xslt/info/sitetree2tree.xsl
Modified: lenya/trunk/src/webapp/lenya/xslt/info/sitetree2tree.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/xslt/info/sitetree2tree.xsl?rev=178428&r1=178427&r2=178428&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/info/sitetree2tree.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/info/sitetree2tree.xsl Wed May 25 05:48:45 2005
@@ -102,8 +102,17 @@
<xsl:variable name="post" select="$protected-post"/>
<xsl:choose>
+ <!-- FIXME
+ The area nodes must not be clickable unless we find a solution for non-document URLs.
+ The nodes were used for area access control and for an overview of the scheduled jobs.
+
<xsl:when test="descendant::s:node"><xsl:value-of select="generate-id(.)"/> = insFld(foldersTree, gFld(" <xsl:value-of select="$pre"/><xsl:value-of select="@label"/><xsl:value-of select="$post"/> " <xsl:value-of select="$link"/>))</xsl:when>
<xsl:otherwise>insDoc(foldersTree, gLnk("S", " <xsl:value-of select="$pre"/><xsl:value-of select="@label"/><xsl:value-of select="$post"/> " <xsl:value-of select="$link"/>))</xsl:otherwise>
+ -->
+
+ <xsl:when test="descendant::s:node"><xsl:value-of select="generate-id(.)"/> = insFld(foldersTree, gFld(" <xsl:value-of select="$pre"/><xsl:value-of select="@label"/><xsl:value-of select="$post"/> "))</xsl:when>
+ <xsl:otherwise>insDoc(foldersTree, gLnk("S", " <xsl:value-of select="$pre"/><xsl:value-of select="@label"/><xsl:value-of select="$post"/> "))</xsl:otherwise>
+
</xsl:choose>
<xsl:apply-templates>
<xsl:with-param name="parentPath"><xsl:value-of select="@id"/></xsl:with-param>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org