From a2292a8078244195f612114c4432c890444f75e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Thu, 24 Oct 2013 15:54:41 +0200 Subject: [PATCH] =?utf8?q?Mise=20=C3=A0=20jour=20du=20profil=20par=20d?= =?utf8?q?=C3=A9faut.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- profiles/default/actions.xml | 17 ++++++++ profiles/default/componentregistry.xml | 54 ++++++++++++------------- profiles/default/cookieauth.xml | 3 -- profiles/default/mailhost.xml | 3 +- profiles/default/memberdata.xml | 12 ++++++ profiles/default/properties.xml | 3 +- profiles/default/skins.xml | 8 ++-- profiles/default/types/Plinn_Folder.xml | 2 +- profiles/default/typestool.xml | 30 -------------- profiles/default/workflows.xml | 3 -- 10 files changed, 63 insertions(+), 72 deletions(-) create mode 100644 profiles/default/memberdata.xml delete mode 100644 profiles/default/typestool.xml diff --git a/profiles/default/actions.xml b/profiles/default/actions.xml index aa0c82c..5794d32 100644 --- a/profiles/default/actions.xml +++ b/profiles/default/actions.xml @@ -11,6 +11,7 @@ Login string:${portal_url}/login_form + not: member @@ -23,6 +24,7 @@ string:${portal/portal_membership/getHomeUrl}/folder_contents + python: member and portal.portal_membership.getHomeFolder() @@ -35,6 +37,7 @@ Add to favorites string:${object_url}/addtoFavorites + portal/portal_membership/getHomeFolder @@ -48,6 +51,7 @@ string:${portal/portal_membership/getHomeUrl}/Favorites/folder_contents + python: member and hasattr(portal.portal_membership.getHomeFolder(), "Favorites") @@ -60,6 +64,7 @@ Preferences string:${portal_url}/personalize_form + member @@ -71,6 +76,7 @@ Log out string:${portal_url}/logout?noajax=1 + member @@ -82,6 +88,7 @@ Logged in string:${portal_url}/index_html + @@ -93,6 +100,7 @@ Join string:${portal_url}/join_form + not: member @@ -107,6 +115,7 @@ List string:${folder_url}/folder_contents + python:member and folder is not object and object.portal_type !='Event' @@ -123,6 +132,7 @@ string:${portal_url}/manage_boxes?noajax=1 + @@ -134,6 +144,7 @@ Send an email string:${object_url}/send_email_form + member @@ -145,6 +156,7 @@ Undo string:${portal_url}/undo_form + member @@ -156,6 +168,7 @@ Configure Portal string:${portal_url}/reconfig_form + @@ -167,6 +180,7 @@ Directory string:${portal_url}/groups_members + @@ -182,6 +196,7 @@ string:${object_url}/discussion_reply_form + python: object is not None and object.meta_type != 'Discussion Item' and portal.portal_discussion.isDiscussionAllowedFor(object) @@ -197,6 +212,7 @@ Syndicate string:${folder_url}/synPropertiesForm + python: folder is object and portal.portal_syndication.isSiteSyndicationAllowed() @@ -209,6 +225,7 @@ Calendar View string:${folder_url}/calendar_view + python:member and folder is object and object.portal_type in ['Huge Plinn Folder', 'Portfolio'] diff --git a/profiles/default/componentregistry.xml b/profiles/default/componentregistry.xml index d3fab0b..fbbb6cf 100644 --- a/profiles/default/componentregistry.xml +++ b/profiles/default/componentregistry.xml @@ -1,55 +1,53 @@ + - + + + object="content_type_registry"/> + + object="portal_memberdata"/> - - - - - + + + + - - - + - + - - - + + diff --git a/profiles/default/cookieauth.xml b/profiles/default/cookieauth.xml index 6c64558..6a2d2fc 100644 --- a/profiles/default/cookieauth.xml +++ b/profiles/default/cookieauth.xml @@ -4,9 +4,6 @@ __ac_name __ac_password __ac_persistent - login_form - logged_out - False private True diff --git a/profiles/default/mailhost.xml b/profiles/default/mailhost.xml index b00cae5..6e93278 100644 --- a/profiles/default/mailhost.xml +++ b/profiles/default/mailhost.xml @@ -1,3 +1,4 @@ + smtp_port="25" smtp_pwd="" smtp_queue="False" smtp_queue_directory="/tmp" + smtp_uid=""/> diff --git a/profiles/default/memberdata.xml b/profiles/default/memberdata.xml new file mode 100644 index 0000000..0817858 --- /dev/null +++ b/profiles/default/memberdata.xml @@ -0,0 +1,12 @@ + + + + + False + 1970/01/01 00:00:00 UTC + 1970/01/01 00:00:00 UTC + + + + 800 + diff --git a/profiles/default/properties.xml b/profiles/default/properties.xml index f63d5d7..ab496f7 100644 --- a/profiles/default/properties.xml +++ b/profiles/default/properties.xml @@ -30,8 +30,7 @@ - - + 2 diff --git a/profiles/default/skins.xml b/profiles/default/skins.xml index 451f7c3..70037c6 100644 --- a/profiles/default/skins.xml +++ b/profiles/default/skins.xml @@ -4,6 +4,8 @@ request_varname="portal_skin"> + @@ -17,8 +19,6 @@ directory="Products.Epoz:epoz/epoz_i18n"/> - + - diff --git a/profiles/default/types/Plinn_Folder.xml b/profiles/default/types/Plinn_Folder.xml index c33863b..bdcf384 100644 --- a/profiles/default/types/Plinn_Folder.xml +++ b/profiles/default/types/Plinn_Folder.xml @@ -1,5 +1,5 @@ - Folder - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/profiles/default/workflows.xml b/profiles/default/workflows.xml index 5686c60..cc5bf54 100644 --- a/profiles/default/workflows.xml +++ b/profiles/default/workflows.xml @@ -26,9 +26,6 @@ - - - -- 2.20.1