From f559296388f925680f110ddf437d3e3e55f79ad4 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Fri, 12 Sep 2008 07:41:09 +0000 Subject: [PATCH] remove form_id parameter because it was not needed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23578 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_egov/EGov_register.xml | 39 ++----------------- bt5/erp5_egov/bt/revision | 2 +- 2 files changed, 5 insertions(+), 36 deletions(-) diff --git a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_register.xml b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_register.xml index 1d11088503..23b55a75a8 100644 --- a/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_register.xml +++ b/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_register.xml @@ -9,22 +9,10 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>Python_magic</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>Script_magic</string> </key> <value> <int>3</int> </value> </item> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_bind_names</string> </key> <value> @@ -74,8 +62,8 @@ if not context.isCaptchaTextCorrect(captcha_text):\n message = "text entered at the right of the picture is wrong"\n translated_message = context.Base_translateString(message)\n return request[\'RESPONSE\'].redirect(\n - "%s/%s?portal_status_message=%s" %\n - (context.absolute_url(), form_id, translated_message))\n + "%s?portal_status_message=%s" %\n + (context.absolute_url(), translated_message))\n \n # create a new subscription form\n module = context.getDefaultModule(portal_type=\'Subscription Form\')\n @@ -120,21 +108,9 @@ return result\n <none/> </value> </item> - <item> - <key> <string>_filepath</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>_owner</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> - <value> <string>form_id, captcha_text=\'\', **kw</string> </value> + <value> <string>captcha_text=\'\', **kw</string> </value> </item> <item> <key> <string>_proxy_roles</string> </key> @@ -162,13 +138,12 @@ return result\n <dictionary> <item> <key> <string>co_argcount</string> </key> - <value> <int>2</int> </value> + <value> <int>1</int> </value> </item> <item> <key> <string>co_varnames</string> </key> <value> <tuple> - <string>form_id</string> <string>captcha_text</string> <string>kw</string> <string>_getattr_</string> @@ -205,12 +180,6 @@ return result\n <key> <string>id</string> </key> <value> <string>EGov_register</string> </value> </item> - <item> - <key> <string>uid</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>warnings</string> </key> <value> diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision index 2d828461b6..e6d11f621d 100644 --- a/bt5/erp5_egov/bt/revision +++ b/bt5/erp5_egov/bt/revision @@ -1 +1 @@ -289 \ No newline at end of file +291 \ No newline at end of file -- 2.30.9