svn commit: r619196 - /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: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>
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.