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 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -13,30 +10,16 @@ ...@@ -13,30 +10,16 @@
<key> <string>_Access_contents_information_Permission</string> </key> <key> <string>_Access_contents_information_Permission</string> </key>
<value> <value>
<list> <list>
<string>Assignor</string> <string>Anonymous</string>
<string>Manager</string>
<string>Owner</string>
</list> </list>
</value> </value>
</item> </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> <item>
<key> <string>_View_Permission</string> </key> <key> <string>_View_Permission</string> </key>
<value> <value>
<tuple> <list>
<string>Assignor</string> <string>Anonymous</string>
<string>Manager</string> </list>
<string>Owner</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -166,7 +149,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string ...@@ -166,7 +149,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string
</item> </item>
<item> <item>
<key> <string>view_form_id</string> </key> <key> <string>view_form_id</string> </key>
<value> <string>Base_viewToolboxGadget</string> </value> <value> <string>Base_viewDeprecatedGadgetWarning</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -179,7 +162,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string ...@@ -179,7 +162,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
...@@ -187,7 +170,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string ...@@ -187,7 +170,7 @@ If for some reason one wants to use it set "Gadget Type" to Web Section"</string
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<global name="Gadget" module="Products.ERP5.Document.Gadget"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -13,30 +10,16 @@ ...@@ -13,30 +10,16 @@
<key> <string>_Access_contents_information_Permission</string> </key> <key> <string>_Access_contents_information_Permission</string> </key>
<value> <value>
<list> <list>
<string>Assignor</string> <string>Anonymous</string>
<string>Manager</string>
<string>Owner</string>
</list> </list>
</value> </value>
</item> </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> <item>
<key> <string>_View_Permission</string> </key> <key> <string>_View_Permission</string> </key>
<value> <value>
<tuple> <list>
<string>Assignor</string> <string>Anonymous</string>
<string>Manager</string> </list>
<string>Owner</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -154,7 +137,7 @@ ...@@ -154,7 +137,7 @@
</item> </item>
<item> <item>
<key> <string>view_form_id</string> </key> <key> <string>view_form_id</string> </key>
<value> <string>WebSection_viewSubsectionGadget</string> </value> <value> <string>Base_viewDeprecatedGadgetWarning</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -167,7 +150,7 @@ ...@@ -167,7 +150,7 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
...@@ -175,7 +158,7 @@ ...@@ -175,7 +158,7 @@
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="Gadget" module="Products.ERP5Type.Document.Gadget"/>
<global name="Gadget" module="Products.ERP5Type.Document.Gadget"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -13,30 +10,16 @@ ...@@ -13,30 +10,16 @@
<key> <string>_Access_contents_information_Permission</string> </key> <key> <string>_Access_contents_information_Permission</string> </key>
<value> <value>
<list> <list>
<string>Assignor</string> <string>Anonymous</string>
<string>Manager</string>
<string>Owner</string>
</list> </list>
</value> </value>
</item> </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> <item>
<key> <string>_View_Permission</string> </key> <key> <string>_View_Permission</string> </key>
<value> <value>
<tuple> <list>
<string>Assignor</string> <string>Anonymous</string>
<string>Manager</string> </list>
<string>Owner</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -105,7 +88,7 @@ ...@@ -105,7 +88,7 @@
</record> </record>
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <none/>
...@@ -113,7 +96,7 @@ ...@@ -113,7 +96,7 @@
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="OOBTree" module="BTrees._OOBTree"/> <global name="OOBTree" module="BTrees.OOBTree"/>
</pickle> </pickle>
<pickle> <pickle>
<none/> <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 @@ ...@@ -60,6 +60,7 @@
<value> <value>
<list> <list>
<string>gadget</string> <string>gadget</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -72,6 +73,13 @@ ...@@ -72,6 +73,13 @@
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_date</string> <string>listbox_date</string>
</list> </list>
</value> </value>
......
1559 1561
\ 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