Commit f5592963 authored by Fabien Morin's avatar Fabien Morin

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
parent 3521d8b9
...@@ -9,22 +9,10 @@ ...@@ -9,22 +9,10 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
<value> <int>3</int> </value> <value> <int>3</int> </value>
</item> </item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_bind_names</string> </key> <key> <string>_bind_names</string> </key>
<value> <value>
...@@ -74,8 +62,8 @@ if not context.isCaptchaTextCorrect(captcha_text):\n ...@@ -74,8 +62,8 @@ if not context.isCaptchaTextCorrect(captcha_text):\n
message = "text entered at the right of the picture is wrong"\n message = "text entered at the right of the picture is wrong"\n
translated_message = context.Base_translateString(message)\n translated_message = context.Base_translateString(message)\n
return request[\'RESPONSE\'].redirect(\n return request[\'RESPONSE\'].redirect(\n
"%s/%s?portal_status_message=%s" %\n "%s?portal_status_message=%s" %\n
(context.absolute_url(), form_id, translated_message))\n (context.absolute_url(), translated_message))\n
\n \n
# create a new subscription form\n # create a new subscription form\n
module = context.getDefaultModule(portal_type=\'Subscription Form\')\n module = context.getDefaultModule(portal_type=\'Subscription Form\')\n
...@@ -120,21 +108,9 @@ return result\n ...@@ -120,21 +108,9 @@ return result\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>form_id, captcha_text=\'\', **kw</string> </value> <value> <string>captcha_text=\'\', **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>_proxy_roles</string> </key> <key> <string>_proxy_roles</string> </key>
...@@ -162,13 +138,12 @@ return result\n ...@@ -162,13 +138,12 @@ return result\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>2</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>form_id</string>
<string>captcha_text</string> <string>captcha_text</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
...@@ -205,12 +180,6 @@ return result\n ...@@ -205,12 +180,6 @@ return result\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>EGov_register</string> </value> <value> <string>EGov_register</string> </value>
</item> </item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
289 291
\ No newline at end of file \ No newline at end of file
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