Commit 86f6b982 authored by Gabriel Monnerat's avatar Gabriel Monnerat

- Typo and clean up script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43970 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 697f1cd4
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<tal:block tal:define="portal_path python: here.getWebSiteValue().absolute_url();">\n <tal:block tal:define="portal_path python: here.getWebSiteValue().absolute_url();">\n
<a class="email" tal:attributes="href string:${portal_path}/mail">Email</a>\n <a class="email" tal:attributes="href string:${portal_path}/mail">Email</a>\n
<a class="documents" tal:attributes="href string:${portal_path}">Documents</a>\n <a class="document" tal:attributes="href string:${portal_path}">Documents</a>\n
<a class="calendar" tal:attributes="href string:${portal_path}/calendar">Calendar</a>\n <a class="calendar" tal:attributes="href string:${portal_path}/calendar">Calendar</a>\n
</tal:block>\n </tal:block>\n
<a id="left_message">Not Implemented yet</a> <a id="left_message">Not Implemented yet</a>
......
...@@ -50,87 +50,23 @@ ...@@ -50,87 +50,23 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>website = context.getWebSiteValue()\n <value> <string>REQUEST = context.REQUEST\n
REQUEST = context.REQUEST\n
if REQUEST.has_key(\'portal_skin\'):\n if REQUEST.has_key(\'portal_skin\'):\n
context.portal_skins.clearSkinCookie()\n context.portal_skins.clearSkinCookie()\n
\n \n
#XXX get cookie name from key authentication plugin\n # XXX get cookie name from key authentication plugin\n
REQUEST.RESPONSE.expireCookie(\'__ac\', path=\'/\')\n REQUEST.RESPONSE.expireCookie(\'__ac\', path="/")\n
REQUEST.RESPONSE.expireCookie(\'__key\', path=\'/\')\n REQUEST.RESPONSE.expireCookie(\'__key\', path="/")\n
\n
return website.Base_redirect("", **kw)\n
</string> </value> </string> </value>
</item> </item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>dialog_id=None, form_id=\'\', **kw</string> </value> <value> <string>dialog_id=None, form_id=\'\', **kw</string> </value>
</item> </item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>dialog_id</string>
<string>form_id</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
<string>website</string>
<string>REQUEST</string>
<string>_apply_</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<none/>
<string></string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebSite_logout</string> </value> <value> <string>WebSite_logout</string> </value>
</item> </item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
274 275
\ 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