Commit 20fbea93 authored by Ivan Tyagov's avatar Ivan Tyagov

Add backwards compatibility for all deprecated gadgets (Admin toolbox-...

Add backwards compatibility for all deprecated gadgets (Admin toolbox- replaced by bottom toolbar and Subsections - replaced by "Web Site Browser").

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38610 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7476a97a
......@@ -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/>
......
......@@ -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/>
......
......@@ -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/>
......
<?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>
......@@ -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>
......
1559
\ No newline at end of file
1561
\ 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