You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/05/18 11:33:57 UTC

svn commit: r170731 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/info.xmap

Author: michi
Date: Wed May 18 02:33:56 2005
New Revision: 170731

URL: http://svn.apache.org/viewcvs?rev=170731&view=rev
Log:
patch 15061 applied

Modified:
    lenya/branches/BRANCH_1_2_X/src/webapp/lenya/info.xmap

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/info.xmap
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/info.xmap?rev=170731&r1=170730&r2=170731&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/info.xmap (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/info.xmap Wed May 18 02:33:56 2005
@@ -301,17 +301,18 @@
             <map:parameter name="cutdocumentid" value="{session-attr:org.apache.lenya.cms.info.cutdocumentid}"/>
           </map:transform>
           
-          <map:transform src="cocoon://lenya-page/{../1}/info/default.xml?doctype={page-envelope:document-type}"/>
-        
+          <map:act type="language-exists">
+            <map:transform src="cocoon://lenya-page/{../../1}/info/default.xml?doctype={page-envelope:document-type}"/>
+
+            <map:call resource="i18n"/>
+            <map:transform src="xslt/util/strip_namespaces.xsl"/>        
+            <map:serialize type="html"/>
+          </map:act>
+
+          <map:transform src="cocoon://lenya-page/{../1}/info/default.xml"/>
           <map:call resource="i18n"/>
           <map:transform src="xslt/util/strip_namespaces.xsl"/>        
           <map:serialize type="html"/>
-          
-          <!--
-          <map:match pattern="update" type="step">
-          <map:redirect-to session="true" uri="{request:requestURI}?lenya.step=view-revision&amp;documentid={request-param:documentid}&amp;rollbackTime={request-param:rollbackTime}"/>
-        </map:match>
-          -->
           
         </map:match>
         



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org