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/04/09 11:22:48 UTC

svn commit: r160672 - lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl

Author: andreas
Date: Sat Apr  9 02:22:48 2005
New Revision: 160672

URL: http://svn.apache.org/viewcvs?view=rev&rev=160672
Log:
display site area tab properly

Modified:
    lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl

Modified: lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl?view=diff&r1=160671&r2=160672
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl Sat Apr  9 02:22:48 2005
@@ -60,9 +60,8 @@
           
         <!-- INFO/SITE TAB -->
         <xsl:variable name="info-area">
-          <xsl:text>info-</xsl:text>
           <xsl:choose>
-            <xsl:when test="$documentarea = 'admin'">authoring</xsl:when>
+            <xsl:when test="not(starts-with($documentarea, 'info-'))">info-authoring</xsl:when>
             <xsl:otherwise><xsl:value-of select="$documentarea"/></xsl:otherwise>
           </xsl:choose>
         </xsl:variable>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org