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 2003/09/17 12:35:04 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/navigation menu.xsl

andreas     2003/09/17 03:35:04

  Modified:    src/webapp/lenya/xslt/navigation menu.xsl
  Log:
  removed tabs
  
  Revision  Changes    Path
  1.13      +16 -16    cocoon-lenya/src/webapp/lenya/xslt/navigation/menu.xsl
  
  Index: menu.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/navigation/menu.xsl,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- menu.xsl	16 Sep 2003 18:24:30 -0000	1.12
  +++ menu.xsl	17 Sep 2003 10:35:04 -0000	1.13
  @@ -45,14 +45,14 @@
   
   
   <xsl:template name="item">
  -  <xsl:choose>
  -    <xsl:when test="@current = 'true'">
  -      <xsl:call-template name="item-selected"/>
  -    </xsl:when>
  -    <xsl:otherwise>
  -      <xsl:call-template name="item-default"/>
  -    </xsl:otherwise>
  -  </xsl:choose>
  +    <xsl:choose>
  +      <xsl:when test="@current = 'true'">
  +        <xsl:call-template name="item-selected"/>
  +      </xsl:when>
  +      <xsl:otherwise>
  +        <xsl:call-template name="item-default"/>
  +      </xsl:otherwise>
  +    </xsl:choose>
   </xsl:template>
   
   
  @@ -71,14 +71,14 @@
   
   
   <xsl:template match="nav:label">
  -   <xsl:choose>
  -      <xsl:when test="parent::nav:node/child::nav:label[@xml:lang = $chosenlanguage]">
  -      	<xsl:value-of select="self::*[lang($chosenlanguage)]"/>
  -      </xsl:when>
  -      <xsl:otherwise>
  -      	<xsl:value-of select="self::*[lang($defaultlanguage)]"/>
  -      </xsl:otherwise>
  -   </xsl:choose>	
  +  <xsl:choose>
  +    <xsl:when test="parent::nav:node/child::nav:label[@xml:lang = $chosenlanguage]">
  +      <xsl:value-of select="self::*[lang($chosenlanguage)]"/>
  +    </xsl:when>
  +    <xsl:otherwise>
  +      <xsl:value-of select="self::*[lang($defaultlanguage)]"/>
  +    </xsl:otherwise>
  +  </xsl:choose>	
   </xsl:template>
       
       
  
  
  

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