Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

svn commit: r520418 - in /lenya/trunk/src/webapp: global-sitemap.xmap lenya: msg#00013

cms.lenya.cvs

Subject: svn commit: r520418 - in /lenya/trunk/src/webapp: global-sitemap.xmap lenya/xslt/menu/menu2xhtml.xsl lenya/xslt/menu/menu2xslt.xsl

Author: andreas
Date: Tue Mar 20 08:03:34 2007
New Revision: 520418

URL: http://svn.apache.org/viewvc?view=rev&rev=520418
Log:
Fixed menu XSLT + sitemap (some layout and i18n issues)

Modified:
lenya/trunk/src/webapp/global-sitemap.xmap
lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl
lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl

Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/webapp/global-sitemap.xmap?view=diff&rev=520418&r1=520417&r2=520418
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Tue Mar 20 08:03:34 2007
@@ -146,8 +146,6 @@
<map:parameter name="tabGroup"
value="{usecase:tabGroup:{request-param:lenya.usecase}}"/>
</map:transform>

- <map:call resource="i18n"/>
-
<!-- Disable menu items according to usecase policies -->
<map:transform type="usecasemenu"/>


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?view=diff&rev=520418&r1=520417&r2=520418
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/menu/menu2xhtml.xsl Tue Mar 20 08:03:34
2007
@@ -255,7 +255,7 @@
</xsl:if>
</xsl:attribute>
<xsl:call-template name="checkItem"/>
- <span><xsl:value-of select="normalize-space(.)"/></span>
+ <span><xsl:copy-of select="node()[not(self::menu:message)]"/></span>
</a></li>
</xsl:when>
<xsl:otherwise>
@@ -272,7 +272,7 @@
</xsl:copy>
</xsl:for-each>
<xsl:call-template name="checkItem"/>
- <span><xsl:value-of select="text()"/></span>
+ <span><xsl:copy-of
select="node()[not(self::menu:message)]"/></span>
</a>
</li>
</xsl:otherwise>

Modified: lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl
URL:
http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl?view=diff&rev=520418&r1=520417&r2=520418
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/menu/menu2xslt.xsl Tue Mar 20 08:03:34
2007
@@ -109,6 +109,9 @@
</xsl:template>


+ <!-- add only first message as title attribute -->
+ <xsl:template match="menu:message[preceding-sibling::menu:message]"/>
+
<xsl:template match="menu:message">
<xsl:attribute name="title">
<xsl:value-of select="."/>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation