svn commit: r765207 - in /lenya/contributions/2_0_X/pubs/defaultfiredocs/modules/defaultstyle: sitemap.xmap xslt/navigation/languageSelector.xsl xslt/navigation/menu.xsl

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