Commit d41cc3ea authored by Vincent Pelletier's avatar Vincent Pelletier

Fix stupid mistakes that prevented to create a module with xhtml style.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b8561649
...@@ -70,7 +70,8 @@ ...@@ -70,7 +70,8 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.Formulator.Errors import ValidationError, FormValidationError\n <value> <string>from Products.Formulator.Errors import ValidationError, FormValidationError\n
\n \n
request=context.REQUEST\n N_ = context.getPortalObject().Base_translateString\n
request = context.REQUEST\n
\n \n
# TODO\n # TODO\n
# - Allow in the module only the new document, we must activate the filter\n # - Allow in the module only the new document, we must activate the filter\n
...@@ -229,7 +230,7 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m ...@@ -229,7 +230,7 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <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>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -249,12 +250,13 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m ...@@ -249,12 +250,13 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>6</int> </value> <value> <int>7</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>cancel_url</string>
<string>module_portal_type</string> <string>module_portal_type</string>
<string>portal_skins_folder</string> <string>portal_skins_folder</string>
<string>object_portal_type</string> <string>object_portal_type</string>
...@@ -267,6 +269,7 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m ...@@ -267,6 +269,7 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m
<string>FormValidationError</string> <string>FormValidationError</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>N_</string>
<string>request</string> <string>request</string>
<string>portal</string> <string>portal</string>
<string>portal_types</string> <string>portal_types</string>
...@@ -292,8 +295,6 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m ...@@ -292,8 +295,6 @@ return context.ERP5XhtmlStyle_redirect(cancel_url, keep_items={\'portal_status_m
<string>object_portal_type_value</string> <string>object_portal_type_value</string>
<string>module_object</string> <string>module_object</string>
<string>_apply_</string> <string>_apply_</string>
<string>cancel_url</string>
<string>N_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment