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 2009/04/15 16:09:04 UTC
svn commit: r765207 - in
/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle:
sitemap.xmap xslt/navigation/languageSelector.xsl xslt/navigation/menu.xsl
Author: andreas
Date: Wed Apr 15 14:09:03 2009
New Revision: 765207
URL: http://svn.apache.org/viewvc?rev=765207&view=rev
Log:
Use standard language selector widget for defaultfiredocs publication.
Removed:
lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/languageSelector.xsl
Modified:
lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap
lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/menu.xsl
Modified: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap?rev=765207&r1=765206&r2=765207&view=diff
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap (original)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/sitemap.xmap Wed Apr 15 14:09:03 2009
@@ -74,7 +74,7 @@
<map:parameter name="selectorPath" value="/"/>
</map:generate>
<map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/menu.xsl"/>
- <map:serialize/>
+ <map:serialize type="xml"/>
</map:match>
<map:match pattern="tabs">
@@ -86,7 +86,7 @@
<map:parameter name="selectorPath" value="/"/>
</map:generate>
<map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/tabs.xsl"/>
- <map:serialize/>
+ <map:serialize type="xml"/>
</map:match>
<map:match pattern="breadcrumb">
@@ -98,19 +98,12 @@
<map:parameter name="selectorPath" value="{page-envelope:document-path}"/>
</map:generate>
<map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/breadcrumb.xsl"/>
- <map:serialize/>
+ <map:serialize type="xml"/>
</map:match>
<map:match pattern="languageSelector">
- <map:generate type="languageSelector">
- <map:parameter name="pub" value="{page-envelope:publication-id}"/>
- <map:parameter name="area" value="{page-envelope:area}"/>
- <map:parameter name="lang" value="{page-envelope:language}"/>
- <map:parameter name="path" value="{page-envelope:document-path}"/>
- <map:parameter name="selectorPath" value="{page-envelope:document-path}"/>
- </map:generate>
- <map:transform src="fallback://lenya/modules/defaultstyle/xslt/navigation/languageSelector.xsl"/>
- <map:serialize/>
+ <map:generate src="cocoon://modules/languageselector/text-none/flagsize-13"/>
+ <map:serialize type="xml"/>
</map:match>
</map:pipeline>
Modified: lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/menu.xsl
URL: http://svn.apache.org/viewvc/lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/menu.xsl?rev=765207&r1=765206&r2=765207&view=diff
==============================================================================
--- lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/menu.xsl (original)
+++ lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle/xslt/navigation/menu.xsl Wed Apr 15 14:09:03 2009
@@ -27,7 +27,6 @@
<xsl:template match="site:fragment">
- <xsl:copy-of select="."/>
<div id="menu">
<xsl:apply-templates select="site:node"/>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org