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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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>
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.