Commit 478e5679 authored by Fabien Morin's avatar Fabien Morin

add a default parameter to NOT be in editable mode

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24463 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e65d5ee3
...@@ -66,7 +66,8 @@ if REQUEST.has_key(\'portal_skin\'):\n ...@@ -66,7 +66,8 @@ if REQUEST.has_key(\'portal_skin\'):\n
context.portal_skins.clearSkinCookie()\n context.portal_skins.clearSkinCookie()\n
REQUEST.RESPONSE.expireCookie(\'__ac\', path=\'/\')\n REQUEST.RESPONSE.expireCookie(\'__ac\', path=\'/\')\n
msg = N_(\'You have been logged out. Thank you for using this website.\')\n msg = N_(\'You have been logged out. Thank you for using this website.\')\n
return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' : msg}, **kw)\n return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' : msg},\n
editable_mode=editable_mode, **kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -77,7 +78,7 @@ return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' : ...@@ -77,7 +78,7 @@ return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' :
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>dialog_id=None, **kw</string> </value> <value> <string>dialog_id=None, editable_mode=0, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -97,13 +98,14 @@ return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' : ...@@ -97,13 +98,14 @@ return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' :
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>1</int> </value> <value> <int>2</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>dialog_id</string> <string>dialog_id</string>
<string>editable_mode</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
...@@ -127,6 +129,7 @@ return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' : ...@@ -127,6 +129,7 @@ return website.Base_redirect(form_id, keep_items = {\'portal_status_message\' :
<value> <value>
<tuple> <tuple>
<none/> <none/>
<int>0</int>
</tuple> </tuple>
</value> </value>
</item> </item>
......
2008-11-03 fabien 2008-11-03 fabien
* add an interaction to raise an error on subscription submission if an account already exists * add an interaction to raise an error on subscription submission if an account already exists
* add a default parameter to NOT be in editable mode
2008-11-01 fabien 2008-11-01 fabien
* fix some problem in the send of credentials. Now it works, even with yahoo ! (not considered as spam) * fix some problem in the send of credentials. Now it works, even with yahoo ! (not considered as spam)
......
434 436
\ 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