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:45:11 UTC
svn commit: r619196 - /lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl
Author: andreas
Date: Wed Feb 6 14:45:10 2008
New Revision: 619196
URL: http://svn.apache.org/viewvc?rev=619196&view=rev
Log:
Copy target attribute of menu items to <a> element.
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=619196&r1=619195&r2=619196&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:45:10 2008
@@ -84,6 +84,7 @@
<li>
<xsl:call-template name="checkItem"/>
<a>
+ <xsl:copy-of select="@target"/>
<xsl:attribute name="href">
<xsl:value-of select="@href"/>
<xsl:apply-templates select="@*[local-name() != 'href']"/>
@@ -108,6 +109,7 @@
<li class="disabled">
<xsl:call-template name="checkItem"/>
<a>
+ <xsl:copy-of select="@target"/>
<xsl:for-each select="menu:message">
<xsl:copy>
<i18n:translate>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org