[Erp5-report] r9317 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 22 14:12:50 CEST 2006


Author: vincent
Date: Tue Aug 22 14:12:47 2006
New Revision: 9317

URL: http://svn.erp5.org?rev=9317&view=rev
Log:
Fix stupid mistakes that prevented to create a module with xhtml style.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml?rev=9317&r1=9316&r2=9317&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml Tue Aug 22 14:12:47 2006
@@ -70,7 +70,8 @@
             <key> <string>_body</string> </key>
             <value> <string>from Products.Formulator.Errors import ValidationError, FormValidationError\n
 \n
-request=context.REQUEST\n
+N_ = context.getPortalObject().Base_translateString\n
+request = context.REQUEST\n
 \n
 # TODO\n
 #   - Allow in the module only the new document, we must activate the filter\n
@@ -229,7 +230,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>module_portal_type, portal_skins_folder, object_portal_type, object_title, module_id, module_title, **kw</string> </value>
+            <value> <string>cancel_url, module_portal_type, portal_skins_folder, object_portal_type, object_title, module_id, module_title, **kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -249,12 +250,13 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>6</int> </value>
+                        <value> <int>7</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
+                            <string>cancel_url</string>
                             <string>module_portal_type</string>
                             <string>portal_skins_folder</string>
                             <string>object_portal_type</string>
@@ -267,6 +269,7 @@
                             <string>FormValidationError</string>
                             <string>_getattr_</string>
                             <string>context</string>
+                            <string>N_</string>
                             <string>request</string>
                             <string>portal</string>
                             <string>portal_types</string>
@@ -292,8 +295,6 @@
                             <string>object_portal_type_value</string>
                             <string>module_object</string>
                             <string>_apply_</string>
-                            <string>cancel_url</string>
-                            <string>N_</string>
                           </tuple>
                         </value>
                     </item>




More information about the Erp5-report mailing list