svn commit: r790265 - /lenya/branches/BRANCH_2_0_X/src/modules/tinymce/sitemap.xmap

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Wed Jul  1 16:59:40 2009
New Revision: 790265

URL: http://svn.apache.org/viewvc?rev=790265&view=rev
Log:
Add style-cms-page resource call for TinyMCE install screen.

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/tinymce/sitemap.xmap

Modified: lenya/branches/BRANCH_2_0_X/src/modules/tinymce/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/tinymce/sitemap.xmap?rev=790265&r1=790264&r2=790265&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/tinymce/sitemap.xmap (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/tinymce/sitemap.xmap Wed Jul  1 16:59:40 2009
@@ -21,6 +21,18 @@
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
+  <map:resources>
+    <map:resource name="style-cms-page">
+      <map:transform type="i18n">      
+        <map:parameter name="locale" value="{request:locale}"/>
+      </map:transform>    
+      <map:transform src="fallback://lenya/xslt/util/page2xhtml.xsl"/>
+      <map:transform type="proxy"/>
+      <map:transform src="context://lenya/xslt/util/strip_namespaces.xsl"/>
+      <map:transform src="fallback://lenya/modules/prettyprinting/xslt/xml2nicexml.xsl"/>
+    </map:resource>  
+  </map:resources>
+
   <map:pipelines>
 
     <map:pipeline internal-only="yes">
@@ -89,6 +101,7 @@
           <!-- TinyMCE is not installed - generate info page for the user -->
           <map:otherwise>
             <map:generate src="fallback://lenya/modules/tinymce/resources/misc/download.xml"/>
+            <map:call resource="style-cms-page"/>
           </map:otherwise>
         </map:select>
         <map:transform type="i18n">
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.