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 2008/02/06 23:50:04 UTC

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

Author: andreas
Date: Wed Feb  6 14:50:03 2008
New Revision: 619203

URL: http://svn.apache.org/viewvc?rev=619203&view=rev
Log:
[minor change] removed dead code, XML cleanup

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/viewvc/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl?rev=619203&r1=619202&r2=619203&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl Wed Feb  6 14:50:03 2008
@@ -26,12 +26,11 @@
   xmlns="http://www.w3.org/1999/xhtml"
   >
   
-<xsl:param name="contextprefix"/>
-<xsl:param name="usecase"/>
-  
-  <xsl:param name="position"></xsl:param>
-  
-  
+  <xsl:param name="contextprefix"/>
+  <xsl:param name="usecase"/>
+  <xsl:param name="position"/>
+
+    
   <xsl:template match="/menu:menu">
     <ul id="menu{$position}">
       <xsl:apply-templates select="menu:menus/menu:menu/menu:block"/>
@@ -89,18 +88,6 @@
             <xsl:value-of select="@href"/>
             <xsl:apply-templates select="@*[local-name() != 'href']"/>
             <xsl:text/>
-            <!--
-            <xsl:if test="$currentTab = 'site'">
-              <xsl:choose>
-                <xsl:when test="contains(@href, '?')">
-                  <xsl:text>&amp;</xsl:text>
-                </xsl:when>
-                <xsl:otherwise>
-                  <xsl:text>?</xsl:text>
-                </xsl:otherwise>
-              </xsl:choose>
-            </xsl:if>
-            -->
           </xsl:attribute>
           <span><xsl:apply-templates select="i18n:*|text()"/></span>
         </a></li>



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