diff --git a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewUserNavigationWidget.xml b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewUserNavigationWidget.xml index cf36a82878208cf22d22e7d2d3c5a1eec1c80b1b..f11f2dcbd19c132e19b9b1b26335d856de4441bd 100644 --- a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewUserNavigationWidget.xml +++ b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewUserNavigationWidget.xml @@ -38,7 +38,7 @@ <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="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 </tal:block>\n <a id="left_message">Not Implemented yet</a> diff --git a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSite_logout.xml b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSite_logout.xml index 706e20b925df7329d417f10ee6b895a48278cb89..483c02e898888a9a1750899d510d97145753c48e 100644 --- a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSite_logout.xml +++ b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSite_logout.xml @@ -50,87 +50,23 @@ </item> <item> <key> <string>_body</string> </key> - <value> <string>website = context.getWebSiteValue()\n -REQUEST = context.REQUEST\n + <value> <string>REQUEST = context.REQUEST\n if REQUEST.has_key(\'portal_skin\'):\n context.portal_skins.clearSkinCookie()\n \n -#XXX get cookie name from key authentication plugin\n -REQUEST.RESPONSE.expireCookie(\'__ac\', path=\'/\')\n -REQUEST.RESPONSE.expireCookie(\'__key\', path=\'/\')\n -\n -return website.Base_redirect("", **kw)\n +# XXX get cookie name from key authentication plugin\n +REQUEST.RESPONSE.expireCookie(\'__ac\', path="/")\n +REQUEST.RESPONSE.expireCookie(\'__key\', path="/")\n </string> </value> </item> - <item> - <key> <string>_code</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_params</string> </key> <value> <string>dialog_id=None, form_id=\'\', **kw</string> </value> </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> <key> <string>id</string> </key> <value> <string>WebSite_logout</string> </value> </item> - <item> - <key> <string>warnings</string> </key> - <value> - <tuple/> - </value> - </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_web_ung_theme/bt/revision b/bt5/erp5_web_ung_theme/bt/revision index 74de09f2e7a2e3294cc1b3e921bdaf69dc41973c..61f9147fdcaa2af189830f4ea1ac5f9c552cd4f3 100644 --- a/bt5/erp5_web_ung_theme/bt/revision +++ b/bt5/erp5_web_ung_theme/bt/revision @@ -1 +1 @@ -274 \ No newline at end of file +275 \ No newline at end of file