Implement "Force Anonymous Gadget" provided by knowledge pad API.

Reorder items in toolbar display field

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40560 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0550c13
......@@ -95,6 +95,10 @@
<key> <string>items</string> </key>
<value>
<list>
<tuple>
<string>Display</string>
<string>display</string>
</tuple>
<tuple>
<string>Webmaster</string>
<string>webmaster</string>
......@@ -103,10 +107,6 @@
<string>Context</string>
<string>context</string>
</tuple>
<tuple>
<string>Display</string>
<string>display</string>
</tuple>
<tuple>
<string>Hide</string>
<string>hide</string>
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/>
<tuple/>
</tuple>
<global name="EditorField" module="Products.ERP5Form.EditorField"/>
</pickle>
<pickle>
<dictionary>
......@@ -298,26 +295,20 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.WebSection_viewColumnOne(default_pad_group=\'default_content_pad\')</string> </value>
<value> <string>python: here.WebSection_viewColumnOne(default_pad_group=\'default_content_pad\', use_anonymous_knowledge_pad=context.getLayoutProperty(\'layout_force_anonymous_gadget\',False))</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
......
......@@ -148,7 +148,9 @@
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>external_validator</string> </key>
......@@ -304,4 +306,17 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: not here.getLayoutProperty(\'layout_force_anonymous_gadget\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
......@@ -104,16 +101,13 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.WebSection_viewColumnOne(default_pad_group=\'default_section_pad\')</string> </value>
<value> <string>python: here.WebSection_viewColumnOne(default_pad_group=\'default_section_pad\', use_anonymous_knowledge_pad=context.getLayoutProperty(\'layout_force_anonymous_gadget\',False))</string> </value>
</item>
</dictionary>
</pickle>
......
1689
\ No newline at end of file
1690
\ 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