diff --git a/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml b/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml index 824ec437297ab76100bb17d8b46208ed5b2fe0b1..80ad82c68b4c9f4a0537e0d568342eea90af4c4b 100644 --- a/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml +++ b/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_admin.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="Gadget" module="Products.ERP5.Document.Gadget"/> - <tuple/> - </tuple> + <global name="Gadget" module="Products.ERP5.Document.Gadget"/> </pickle> <pickle> <dictionary> @@ -13,30 +10,16 @@ <key> <string>_Access_contents_information_Permission</string> </key> <value> <list> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> + <string>Anonymous</string> </list> </value> </item> - <item> - <key> <string>_Modify_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> <item> <key> <string>_View_Permission</string> </key> <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> + <list> + <string>Anonymous</string> + </list> </value> </item> <item> @@ -166,7 +149,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string </item> <item> <key> <string>view_form_id</string> </key> - <value> <string>Base_viewToolboxGadget</string> </value> + <value> <string>Base_viewDeprecatedGadgetWarning</string> </value> </item> </dictionary> </pickle> @@ -179,7 +162,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <global name="OOBTree" module="BTrees._OOBTree"/> + <global name="OOBTree" module="BTrees.OOBTree"/> </pickle> <pickle> <none/> @@ -187,7 +170,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <global name="OOBTree" module="BTrees._OOBTree"/> + <global name="OOBTree" module="BTrees.OOBTree"/> </pickle> <pickle> <none/> diff --git a/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml b/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml index 040c81cc95e3ac189ff7a4187e546350df9c0a82..20d9faf3f62874608b0b7277674564b621dc2ae6 100644 --- a/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml +++ b/bt5/erp5_km/PathTemplateItem/portal_gadgets/km_subsection.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="Gadget" module="Products.ERP5.Document.Gadget"/> - <tuple/> - </tuple> + <global name="Gadget" module="Products.ERP5.Document.Gadget"/> </pickle> <pickle> <dictionary> @@ -13,30 +10,16 @@ <key> <string>_Access_contents_information_Permission</string> </key> <value> <list> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> + <string>Anonymous</string> </list> </value> </item> - <item> - <key> <string>_Modify_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> <item> <key> <string>_View_Permission</string> </key> <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> + <list> + <string>Anonymous</string> + </list> </value> </item> <item> @@ -154,7 +137,7 @@ </item> <item> <key> <string>view_form_id</string> </key> - <value> <string>WebSection_viewSubsectionGadget</string> </value> + <value> <string>Base_viewDeprecatedGadgetWarning</string> </value> </item> </dictionary> </pickle> @@ -167,7 +150,7 @@ </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <global name="OOBTree" module="BTrees._OOBTree"/> + <global name="OOBTree" module="BTrees.OOBTree"/> </pickle> <pickle> <none/> @@ -175,7 +158,7 @@ </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <global name="OOBTree" module="BTrees._OOBTree"/> + <global name="OOBTree" module="BTrees.OOBTree"/> </pickle> <pickle> <none/> diff --git a/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml b/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml index fe558644c6cc115e1aa099f0c5628dbed8e7b8b8..ae42654323e61380823500ec9c41139f35a027e5 100644 --- a/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml +++ b/bt5/erp5_km/PathTemplateItem/portal_gadgets/web_site_browser.xml @@ -2,10 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <tuple> - <global name="Gadget" module="Products.ERP5Type.Document.Gadget"/> - <tuple/> - </tuple> + <global name="Gadget" module="Products.ERP5Type.Document.Gadget"/> </pickle> <pickle> <dictionary> @@ -13,30 +10,16 @@ <key> <string>_Access_contents_information_Permission</string> </key> <value> <list> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> + <string>Anonymous</string> </list> </value> </item> - <item> - <key> <string>_Modify_portal_content_Permission</string> </key> - <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> - </value> - </item> <item> <key> <string>_View_Permission</string> </key> <value> - <tuple> - <string>Assignor</string> - <string>Manager</string> - <string>Owner</string> - </tuple> + <list> + <string>Anonymous</string> + </list> </value> </item> <item> @@ -105,7 +88,7 @@ </record> <record id="3" aka="AAAAAAAAAAM="> <pickle> - <global name="OOBTree" module="BTrees._OOBTree"/> + <global name="OOBTree" module="BTrees.OOBTree"/> </pickle> <pickle> <none/> @@ -113,7 +96,7 @@ </record> <record id="4" aka="AAAAAAAAAAQ="> <pickle> - <global name="OOBTree" module="BTrees._OOBTree"/> + <global name="OOBTree" module="BTrees.OOBTree"/> </pickle> <pickle> <none/> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml new file mode 100644 index 0000000000000000000000000000000000000000..9557c78b63ddaceb6888d5558750c77d1a33e834 --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Base_viewDeprecatedGadgetWarning.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<p> This gadget has been deprecated. You are advised to remove it from you pad.</p> + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Base_viewDeprecatedGadgetWarning</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml index bbe17e57235e2b46f81304012e813dc4696e6736..bb3ea1b75a2d810d7481dfc962683fed3225f83a 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewHistoryGadget.xml @@ -60,6 +60,7 @@ <value> <list> <string>gadget</string> + <string>hidden</string> </list> </value> </item> @@ -72,6 +73,13 @@ <value> <list> <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> <string>listbox_date</string> </list> </value> diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index 7e4fd5eb0426a6d08eb29063f7dd58d934a42142..ee8a369bd0f51a908d123e9914684a1e35e2b132 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1559 \ No newline at end of file +1561 \ No newline at end of file