Commit 6f99c42b authored by Vincent Desmares's avatar Vincent Desmares

Vincent D.

Update redirections to the registration script with WebSite_viewRegistrationDialog.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26934 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3bcbf32
...@@ -3,21 +3,12 @@ ...@@ -3,21 +3,12 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</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>
...@@ -158,12 +149,6 @@ ...@@ -158,12 +149,6 @@
</list> </list>
</value> </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>
...@@ -211,7 +196,7 @@ translateString = context.Base_translateString\n ...@@ -211,7 +196,7 @@ translateString = context.Base_translateString\n
if isAnon:\n if isAnon:\n
## create first an account for user\n ## create first an account for user\n
msg = translateString("You need to create an account to continue If you already have please login.")\n msg = translateString("You need to create an account to continue If you already have please login.")\n
context.Base_redirect(\'WebSite_createWebSiteAccountForm\', \\\n context.Base_redirect(\'WebSite_viewRegistrationDialog\', \\\n
keep_items={\'editable_mode\': 1,\n keep_items={\'editable_mode\': 1,\n
\'portal_status_message\': msg})\n \'portal_status_message\': msg})\n
else:\n else:\n
...@@ -225,12 +210,6 @@ else:\n ...@@ -225,12 +210,6 @@ else:\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
...@@ -3,21 +3,12 @@ ...@@ -3,21 +3,12 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</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>
...@@ -158,12 +149,6 @@ ...@@ -158,12 +149,6 @@
</list> </list>
</value> </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>
...@@ -218,7 +203,7 @@ customer = context.SaleOrder_getShoppingCartCustomer()\n ...@@ -218,7 +203,7 @@ customer = context.SaleOrder_getShoppingCartCustomer()\n
if isAnon:\n if isAnon:\n
## create first an account for user\n ## create first an account for user\n
msg = translateString("You need to create an account to continue If you already have please login.")\n msg = translateString("You need to create an account to continue If you already have please login.")\n
context.Base_redirect(\'WebSite_createWebSiteAccountForm\', \\\n context.Base_redirect(\'WebSite_viewRegistrationDialog\', \\\n
keep_items={\'portal_status_message\': msg,\n keep_items={\'portal_status_message\': msg,\n
\'editable_mode\': 1})\n \'editable_mode\': 1})\n
return\n return\n
...@@ -256,12 +241,6 @@ context.Base_redirect(\'SaleOrder_viewThankYouMessage\')\n ...@@ -256,12 +241,6 @@ context.Base_redirect(\'SaleOrder_viewThankYouMessage\')\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
122 123
\ 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