Commit a818b808 authored by Ivan Tyagov's avatar Ivan Tyagov

Use default_image property sheet. Update forms accordingly.

Update existing images and add more images for gadgets lacking them.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32583 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10524d62
...@@ -25,6 +25,12 @@ ...@@ -25,6 +25,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
...@@ -62,6 +68,18 @@ ...@@ -62,6 +68,18 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
...@@ -77,6 +95,12 @@ ...@@ -77,6 +95,12 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>gadget_type</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>erp5_advertisement</string> </value> <value> <string>erp5_advertisement</string> </value>
...@@ -104,4 +128,26 @@ ...@@ -104,4 +128,26 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData> </ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Image" module="Products.ERP5Type.Document.Image"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts66309976.59</string> </value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>666154beb60203861990e5cabbf4963b</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAR0AAAAYCAIAAABIsr4rAAAAAXNSR0IArs4c6QAAAAlwSFlzAAAO
xAAADsQBlSsOGwAAAAd0SU1FB9oCEAgaBOz7/mwAAAg2SURBVHja7VtrcBPXFb5rSbYkS7KN8Avb
spHfuLYJYIcJJIYhcdOQdiCFlDJNMjXQDm1IIOWV0kdaexzGMEkKmDQt9SSdxoSM7YTUCdAHCZCh
RSvJ8kPYlp+y/KjfD1ne1WP39scKWVi7K6MxJIH7jX7sHp1z9pzvnnP33l0JgxACBASEBUUQogAB
AfUVAgLqKwQE1FcICAiorxAQvvZ9VV7Y8K6J8pxaO0eWFw7eT6nKMdz7tCi+YdQ5ewpd1CpVJ6PG
fMKEuodWt33S5uYkTKT/+wDN43COhCLtu1fWFZVNBRDqG2p9ABnNA/DMIVNkiO7ec84TamBffWP6
aleV+sS3uyZcAAAAKerlwoE/VUfdxzPKS88JDl6fbawhTU/I8zHuOQXmWWHe+M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0LzltZFjVfOV
T3UMRwo0/DpdNT3qh7rGnOz5QgirCg2e5w3e6DzbtUhWx5WyGxQVJtKbP7KopXhCkrGqk49bng0P
lwm/H1ZYO0fXxuuUCsOvPyS5LsejY/nUHJfeMeJk59Nz7Ld4Aoh8wYHd7f+JyDH8QXt3MX+cWm1o
Lssqf0yEqLjPIEQUfCUYujr5Ye1Q2XR4x6OoqVBfoRftCwT7sJ2Kj/iPXinCEBn3Ie76OhAB4QEE
+j07AgLqKwQE1FcICKivEBAQUF8hIHxd8X/kvCSVRkVZdAAAAABJRU5ErkJggg==</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>24</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>default_image</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Image</string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2212</int> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>285</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
...@@ -25,6 +25,12 @@ ...@@ -25,6 +25,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_local_properties</string> </key> <key> <string>_local_properties</string> </key>
<value> <value>
...@@ -62,6 +68,18 @@ ...@@ -62,6 +68,18 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
...@@ -77,6 +95,12 @@ ...@@ -77,6 +95,12 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>gadget_type</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>erp5_documentation</string> </value> <value> <string>erp5_documentation</string> </value>
...@@ -104,4 +128,26 @@ ...@@ -104,4 +128,26 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -198,6 +198,12 @@ ...@@ -198,6 +198,12 @@
<key> <string>edit_form_id</string> </key> <key> <string>edit_form_id</string> </key>
<value> <string>ERP5Site_viewGoogleMapsGadgetPreferenceDialog</string> </value> <value> <string>ERP5Site_viewGoogleMapsGadgetPreferenceDialog</string> </value>
</item> </item>
<item>
<key> <string>gadget_type</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>google_maps</string> </value> <value> <string>google_maps</string> </value>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>gadget_tool_view_pretty_gadget_dialog</string> </value> <value> <string>gadget_tool_view_gadget_add_dialog</string> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
......
...@@ -13,8 +13,9 @@ ...@@ -13,8 +13,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>image_display</string>
<string>default</string> <string>default</string>
<string>enabled</string>
<string>image_display</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -62,6 +63,12 @@ ...@@ -62,6 +63,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -70,6 +77,10 @@ ...@@ -70,6 +77,10 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>image_display</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -81,6 +92,14 @@ ...@@ -81,6 +92,14 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_thumbnail</string> </value> <value> <string>my_thumbnail</string> </value>
...@@ -114,7 +133,23 @@ ...@@ -114,7 +133,23 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:hasattr(cell, \'getObject\') and getattr(cell.getObject(), \'image_id\', None) is not None and \'%s/%s\' % (cell.getObject().absolute_url(), getattr(cell.getObject(), \'image_id\', None)) or \'\'</string> </value> <value> <string>python: cell.getObject().getDefaultImageValue().absolute_url()</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: getattr(cell, \'getObject\', None) is not None and cell.getObject().getDefaultImageValue() is not None</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -71,9 +71,7 @@ ...@@ -71,9 +71,7 @@
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list> <list/>
<string>listbox</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -98,9 +96,11 @@ ...@@ -98,9 +96,11 @@
<string>my_title</string> <string>my_title</string>
<string>my_view_form_id</string> <string>my_view_form_id</string>
<string>my_edit_form_id</string> <string>my_edit_form_id</string>
<string>listbox_thumbnail</string> <string>my_render_type</string>
<string>my_gadget_type_list</string> <string>my_gadget_type_list</string>
<string>my_multiple_instances_allowed</string> <string>my_multiple_instances_allowed</string>
<string>my_default_image_absolute_url</string>
<string>my_default_image_file</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -108,8 +108,7 @@ ...@@ -108,8 +108,7 @@
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list> <list>
<string>my_render_type</string> <string>my_comment</string>
<string>my_image_id</string>
<string>my_translated_validation_state_title</string> <string>my_translated_validation_state_title</string>
</list> </list>
</value> </value>
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
466 469
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,9 @@ portal_categories/gadget_type/** ...@@ -3,7 +3,9 @@ portal_categories/gadget_type/**
portal_gadgets/clock portal_gadgets/clock
portal_gadgets/clock/** portal_gadgets/clock/**
portal_gadgets/erp5_advertisement portal_gadgets/erp5_advertisement
portal_gadgets/erp5_advertisement/**
portal_gadgets/erp5_documentation portal_gadgets/erp5_documentation
portal_gadgets/erp5_documentation/**
portal_gadgets/erp5_persons portal_gadgets/erp5_persons
portal_gadgets/erp5_persons/** portal_gadgets/erp5_persons/**
portal_gadgets/erp5_rss portal_gadgets/erp5_rss
......
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