diff --git a/bt5/erp5_safeimage/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_safeimage/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml new file mode 100644 index 0000000000000000000000000000000000000000..3bf5fda1f21c9d84b231a0d5e73bf092ee3dea28 --- /dev/null +++ b/bt5/erp5_safeimage/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -0,0 +1,17 @@ +<allowed_content_type_list> + <portal_type id="Image Module"> + <item>Image Tile</item> + <item>Image Tile Transformed</item> + </portal_type> + <portal_type id="Image Tile"> + <item>Embedded File</item> + <item>Image Tile Group</item> + </portal_type> + <portal_type id="Image Tile Group"> + <item>Image</item> + </portal_type> + <portal_type id="Image Tile Transformed"> + <item>Embedded File</item> + <item>Image Tile Group</item> + </portal_type> +</allowed_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile%20Group.xml b/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile%20Group.xml new file mode 100644 index 0000000000000000000000000000000000000000..8166a751948af5a78f3fe2191a09a6a981adb2d5 --- /dev/null +++ b/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile%20Group.xml @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Base Type" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Tile Group Image contains the parts of the images. In other words, it contains the image processed by Zoomfy.</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Image Tile Group</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Type</string> </value> + </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>Image</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile%20Transformed.xml b/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile%20Transformed.xml new file mode 100644 index 0000000000000000000000000000000000000000..b2f0c69348d823c370892c4ecf9cd4774f0a16be --- /dev/null +++ b/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile%20Transformed.xml @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Base Type" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Tile of each image, which contains a XML\'s file and the Tile\'s Group Folder and JSON file specifying the processing. </string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Image Tile Transformed</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Type</string> </value> + </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>TileImageTransformed</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple> + <string>BaseExtensibleTraversableMixin</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile.xml b/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile.xml new file mode 100644 index 0000000000000000000000000000000000000000..71be546e6b338de4e07c9a5d8d282dbff7cfd689 --- /dev/null +++ b/bt5/erp5_safeimage/PortalTypeTemplateItem/portal_types/Image%20Tile.xml @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Base Type" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Tile of each image, which contains a XML\'s file and the Tile\'s Group Folder</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Image Tile</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Base Type</string> </value> + </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>TileImage</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple> + <string>BaseExtensibleTraversableMixin</string> + </tuple> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_safeimage/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml new file mode 100644 index 0000000000000000000000000000000000000000..08a41323a73a9087c000fb338c2dc9c3bf947f30 --- /dev/null +++ b/bt5/erp5_safeimage/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -0,0 +1,14 @@ +<workflow_chain> + <chain> + <type>Image Tile</type> + <workflow>validation_workflow</workflow> + </chain> + <chain> + <type>Image Tile Group</type> + <workflow>validation_workflow</workflow> + </chain> + <chain> + <type>Image Tile Transformed</type> + <workflow>validation_workflow</workflow> + </chain> +</workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage.xml new file mode 100644 index 0000000000000000000000000000000000000000..bb1f023263e51deb5b9c6f253e1df87856cf007c --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Folder" module="OFS.Folder"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>business_template_skin_layer_priority</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>float</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>business_template_skin_layer_priority</string> </key> + <value> <float>3.0</float> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_safeimage</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary.xml new file mode 100644 index 0000000000000000000000000000000000000000..23cdfbbfad5f3aeb0d4fdf3ae2e21c0adb63affb --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary.xml @@ -0,0 +1,137 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + </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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>my_view_mode_listbox</string> + <string>my_view_mode_contributor_title_list</string> + <string>my_view_mode_description</string> + <string>my_view_mode_file</string> + <string>my_view_mode_int_index</string> + <string>my_view_mode_reference</string> + <string>my_view_mode_short_title</string> + <string>my_view_mode_title</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_contributor_title_list.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_contributor_title_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..f0fbf15f011600da54d7c7fce35c34e137286f21 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_contributor_title_list.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_contributor_title_list</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_contributor_title_list</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_description.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_description.xml new file mode 100644 index 0000000000000000000000000000000000000000..fe615226243ef986868d6c7a2199a6f87198f984 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_description.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_description</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_file.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_file.xml new file mode 100644 index 0000000000000000000000000000000000000000..a13f2523a2e8dbc62a062049078131471683cbef --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_file.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_file</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_file</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_int_index.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_int_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..c4932787686a0bae6aec7edb4a2c9472190f2b61 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_int_index.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_int_index</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_int_index</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_listbox.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..9a48ba79b8c47d7dc41f9cfe585b5ec2a1a0e58f --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_listbox.xml @@ -0,0 +1,140 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>columns</string> + <string>portal_types</string> + <string>selection_name</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + <tuple> + <string>creation_date</string> + <string>Date</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Discussion Thread</string> + <string>Discussion Thread</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list> + <tuple> + <string>Image</string> + <string>Image</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>tile_image_group_selection</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>SafeImageFieldLibrary_listbox</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_reference.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_reference.xml new file mode 100644 index 0000000000000000000000000000000000000000..2cb78e742aa295c0bf9d05fce2fffb81643f19f9 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_reference.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_reference</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_reference</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_short_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_short_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..254fb372deed71b9bef7b13bea0d5c7095939412 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_short_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_short_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_short_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..04198d6c170fa34d9d8b35f9e3cb009a670a728c --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/Base_viewSafeImageFieldLibrary/my_view_mode_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_view_mode_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageMetadataList.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageMetadataList.xml new file mode 100644 index 0000000000000000000000000000000000000000..11c7f5c05cdadc995eb3da8ef0b0fb56732e3054 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageMetadataList.xml @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <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_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <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>_body</string> </key> + <value> <string>import json\n +\n +context.REQUEST.response.setHeader(\'Access-Control-Allow-Origin\', \'*\')\n +data = {}\n +data["image_list"] = []\n +image_list = data["image_list"]\n +for tile_image in context.portal_catalog(portal_type="Image Tile"):\n + title = tile_image.getTitle() \n + id = tile_image.getId()\n + image_list.append({"title":title, "id": id})\n + \n +return json.dumps(data)\n +</string> </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_getTileImageMetadataList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageTransformMetadataList.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageTransformMetadataList.xml new file mode 100644 index 0000000000000000000000000000000000000000..d7e6463481b98f3ceddb1e5b32c620f68aceea58 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_getTileImageTransformMetadataList.xml @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <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_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <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>_body</string> </key> + <value> <string>import json\n +\n +context.REQUEST.response.setHeader(\'Access-Control-Allow-Origin\', \'*\')\n +data = {}\n +data["image_list"] = []\n +image_list = data["image_list"]\n +for tile_image in context.portal_catalog(portal_type="Image Tile Transformed"):\n + title = tile_image.getTitle() \n + id = tile_image.getId()\n + image_list.append({"title":title, "id": id})\n + \n +return json.dumps(data)\n +</string> </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_getTileImageTransformMetadataList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_viewSafeImage.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_viewSafeImage.xml new file mode 100644 index 0000000000000000000000000000000000000000..7d909b3b87d8407ec0fc0db75c94a42baf80830f --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ERP5Site_viewSafeImage.xml @@ -0,0 +1,88 @@ +<?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> <unicode encoding="cdata"><![CDATA[ + +<!DOCTYPE html>\n +<html>\n +<head>\n + <meta charset="UTF-8"> \n + <script type="text/javascript" src="jquery-1.7.2.js"></script>\n + <script type="text/javascript">\n + $(document).ready(function(){\n + $.get(\'http://localhost:12001/erp5/portal_skins/erp5_tile/ERP5Site_getTileImageMetadataList\', function(data) {\n + $(\'#result\').html(data);\n + alert(\'Load was performed.\');\n + });\n + \n +\n + });\n + </script>\n +</head>\n +<body> \n +\n + <button>Get JSON data</button>\n + <div id="result"></div>\n +\n +</body>\n +</html> + +]]></unicode> </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>ERP5Site_viewSafeImage</string> </value> + </item> + <item> + <key> <string>output_encoding</string> </key> + <value> <string>utf-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <unicode></unicode> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..bb8a99eee6aea08bc3a7817c3c2c3a42dc5b1641 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view.xml @@ -0,0 +1,177 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + </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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string>multipart/form-data</string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left (Document Reference)</string> + <string>right (Publication Information)</string> + <string>center_left</string> + <string>center_right</string> + <string>center</string> + <string>hidden</string> + <string>bottom</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> + <item> + <key> <string>center_left</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center_right</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> + <string>my_contributor_title_list</string> + </list> + </value> + </item> + <item> + <key> <string>left (Document Reference)</string> </key> + <value> + <list> + <string>my_title</string> + <string>my_short_title</string> + </list> + </value> + </item> + <item> + <key> <string>right (Publication Information)</string> </key> + <value> + <list> + <string>my_reference</string> + <string>my_int_index</string> + <string>my_file</string> + </list> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ImageTileGroup_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>ImageTileGroup_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Folder</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/listbox.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..b1e75d993b392f9bd5fd52660fd7821c9d76ceff --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/listbox.xml @@ -0,0 +1,140 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>columns</string> + <string>portal_types</string> + <string>selection_name</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + <tuple> + <string>creation_date</string> + <string>Date</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Discussion Thread</string> + <string>Discussion Thread</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list> + <tuple> + <string>Image</string> + <string>Image</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>tile_image_group_selection</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Tile Image Group</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_contributor_title_list.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_contributor_title_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3c1167d57ae988473a69cf37403ccf2b13bb748 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_contributor_title_list.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_contributor_title_list</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_contributor_title_list</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_description.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_description.xml new file mode 100644 index 0000000000000000000000000000000000000000..bd085f319033e790fd4089c94b3e45d2bf35c44a --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_description.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_description</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_file.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_file.xml new file mode 100644 index 0000000000000000000000000000000000000000..9c91d9859fdb1e75312e06360461ca9c433e72f1 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_file.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_file</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_file</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_int_index.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_int_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..2603d897d6b31e81d305edc734947cd5d4e9c557 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_int_index.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_int_index</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_int_index</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_reference.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_reference.xml new file mode 100644 index 0000000000000000000000000000000000000000..f411c77514f970b97647c0bc0c8d91094ca15e37 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_reference.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_reference</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_reference</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_short_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_short_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..5e6cd3cae48457621c20063e2cab7607bffdcbf8 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_short_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_short_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_short_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..045ff8cb5f8ada0a5fad8eb77ac77eba5a3f89dc --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileGroup_view/my_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..719e26e1019756b2d63b162f4e9bf86f4eecd5f3 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view.xml @@ -0,0 +1,177 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + </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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string>multipart/form-data</string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left (Document Reference)</string> + <string>right (Publication Information)</string> + <string>center_left</string> + <string>center_right</string> + <string>center</string> + <string>hidden</string> + <string>bottom</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> + <item> + <key> <string>center_left</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center_right</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> + <string>my_contributor_title_list</string> + </list> + </value> + </item> + <item> + <key> <string>left (Document Reference)</string> </key> + <value> + <list> + <string>my_title</string> + <string>my_short_title</string> + </list> + </value> + </item> + <item> + <key> <string>right (Publication Information)</string> </key> + <value> + <list> + <string>my_reference</string> + <string>my_int_index</string> + <string>my_file</string> + </list> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ImageTileTransformed_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>ImageTile_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Folder</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..e841833bb762cdfe17e308cb41c739f5fac1350c --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml @@ -0,0 +1,172 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>columns</string> + <string>count_method</string> + <string>list_method</string> + <string>portal_types</string> + <string>selection_name</string> + <string>sort</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + <tuple> + <string>creation_date</string> + <string>Date</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Discussion Thread</string> + <string>Discussion Thread</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>tile_image_transformed_selection</string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list> + <tuple> + <string>Date</string> + <string>Â asc</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Tile Image Transformed</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Method" module="Products.Formulator.MethodField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>objectValues</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_contributor_title_list.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_contributor_title_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3c1167d57ae988473a69cf37403ccf2b13bb748 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_contributor_title_list.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_contributor_title_list</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_contributor_title_list</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_description.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_description.xml new file mode 100644 index 0000000000000000000000000000000000000000..bd085f319033e790fd4089c94b3e45d2bf35c44a --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_description.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_description</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_file.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_file.xml new file mode 100644 index 0000000000000000000000000000000000000000..9c91d9859fdb1e75312e06360461ca9c433e72f1 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_file.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_file</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_file</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_int_index.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_int_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..2603d897d6b31e81d305edc734947cd5d4e9c557 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_int_index.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_int_index</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_int_index</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_reference.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_reference.xml new file mode 100644 index 0000000000000000000000000000000000000000..f411c77514f970b97647c0bc0c8d91094ca15e37 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_reference.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_reference</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_reference</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_short_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_short_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..5e6cd3cae48457621c20063e2cab7607bffdcbf8 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_short_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_short_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_short_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..045ff8cb5f8ada0a5fad8eb77ac77eba5a3f89dc --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/my_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..642e7693c594e1394c9cab298eb5abb53542e69f --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view.xml @@ -0,0 +1,177 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + </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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string>Base_edit</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>edit_order</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string>multipart/form-data</string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left (Document Reference)</string> + <string>right (Publication Information)</string> + <string>center_left</string> + <string>center_right</string> + <string>center</string> + <string>hidden</string> + <string>bottom</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list> + <string>listbox</string> + </list> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list> + <string>my_description</string> + </list> + </value> + </item> + <item> + <key> <string>center_left</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center_right</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list> + <string>my_contributor_title_list</string> + </list> + </value> + </item> + <item> + <key> <string>left (Document Reference)</string> </key> + <value> + <list> + <string>my_title</string> + <string>my_short_title</string> + </list> + </value> + </item> + <item> + <key> <string>right (Publication Information)</string> </key> + <value> + <list> + <string>my_reference</string> + <string>my_int_index</string> + <string>my_file</string> + </list> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ImageTile_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>ImageTile_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Folder</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>update_action_title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3c6b5f2bbf22e7d74dd8bf2169fbd173a14819d --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml @@ -0,0 +1,172 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list> + <string>columns</string> + <string>count_method</string> + <string>list_method</string> + <string>portal_types</string> + <string>selection_name</string> + <string>sort</string> + <string>title</string> + </list> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>listbox</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>columns</string> </key> + <value> + <list> + <tuple> + <string>title</string> + <string>Title</string> + </tuple> + <tuple> + <string>creation_date</string> + <string>Date</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>count_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_listbox</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Discussion Thread</string> + <string>Discussion Thread</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>portal_types</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>selection_name</string> </key> + <value> <string>tile_image_selection</string> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list> + <tuple> + <string>Date</string> + <string>Â asc</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Tile Image</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Method" module="Products.Formulator.MethodField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>objectValues</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_contributor_title_list.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_contributor_title_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3c1167d57ae988473a69cf37403ccf2b13bb748 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_contributor_title_list.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_contributor_title_list</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_contributor_title_list</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_description.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_description.xml new file mode 100644 index 0000000000000000000000000000000000000000..bd085f319033e790fd4089c94b3e45d2bf35c44a --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_description.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_description</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_description</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_file.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_file.xml new file mode 100644 index 0000000000000000000000000000000000000000..c8a0a799afa1e47d8bf1e5396306825ab9c0cae8 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_file.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_file</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_file</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewDMSFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_int_index.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_int_index.xml new file mode 100644 index 0000000000000000000000000000000000000000..2603d897d6b31e81d305edc734947cd5d4e9c557 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_int_index.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_int_index</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_int_index</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_reference.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_reference.xml new file mode 100644 index 0000000000000000000000000000000000000000..f411c77514f970b97647c0bc0c8d91094ca15e37 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_reference.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_reference</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_reference</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_short_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_short_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..5e6cd3cae48457621c20063e2cab7607bffdcbf8 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_short_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_short_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_short_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_title.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..045ff8cb5f8ada0a5fad8eb77ac77eba5a3f89dc --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/my_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_view_mode_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewSafeImageFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/TileImageTransformed_getTransform.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/TileImageTransformed_getTransform.xml new file mode 100644 index 0000000000000000000000000000000000000000..e1bca2e407a22bdb207393b9c74167e9f167cd70 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/TileImageTransformed_getTransform.xml @@ -0,0 +1,88 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <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_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <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>_body</string> </key> + <value> <string>import json\n +\n +context.REQUEST.response.setHeader(\'Access-Control-Allow-Origin\', \'*\')\n +file = context["TransformFile.txt"].getData().split()\n +data = {}\n +data["transforms"]=[]\n +transforms=data["transforms"]\n +#Reverse Text File to improve performance in the browser\n +while(file):\n + line = file[:6]\n + transforms.append({"tilegroup":line[0],"tileid":line[1],"algorithm":line[2],"param1":line[3],"param2":line[4],"num":line[5]})\n + del(file[:6])\n + \n +return json.dumps(transforms)\n +</string> </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TileImageTransformed_getTransform</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/TileImage_getMetadataAsJSON.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/TileImage_getMetadataAsJSON.xml new file mode 100644 index 0000000000000000000000000000000000000000..837e8565d161246a1a60ebadd1a6db92a2855539 --- /dev/null +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/TileImage_getMetadataAsJSON.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <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_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <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>_body</string> </key> + <value> <string>import json\n +\n +context.REQUEST.response.setHeader(\'Access-Control-Allow-Origin\', \'*\')\n +tile_image = context\n +xml_file = tile_image["ImageProperties.xml"]\n +xml_split = xml_file.getData().split(" ")\n +widthpre = xml_split[1].split("=")\n +heightpre = xml_split[2].split("=")\n +width = widthpre[1][1:-1]\n +height = heightpre[1][1:-1] \n +data = {}\n +data["sizes"] = []\n +sizes = data["sizes"]\n +sizes.append({"width":width,"height":height})\n +\n +return json.dumps(data)\n +</string> </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>_proxy_roles</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>TileImage_getMetadataAsJSON</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py b/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py new file mode 100644 index 0000000000000000000000000000000000000000..e70fe2e63deccb86a302a13cd6e10f86e3593862 --- /dev/null +++ b/bt5/erp5_safeimage/TestTemplateItem/testSafeImage.py @@ -0,0 +1,136 @@ +#from Products.ERP5.Document.Image import Image +#from Products.ERP5Type.tests.utils import FileUpload +import Image +from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase +import transaction +from zLOG import LOG,INFO,ERROR +import json +from cStringIO import StringIO +import os + + +class FileUpload(file): + """Act as an uploaded file. + """ + __allow_access_to_unprotected_subobjects__ = 1 + def __init__(self, path, name): + self.filename = name + file.__init__(self, path) + self.headers = {} + + +def makeFilePath(name): + return os.path.join(os.path.dirname(__file__), 'tmp', name) + +def makeFileUpload(name, as_name=None): + if as_name is None: + as_name = name + path = makeFilePath(name) + return FileUpload(path, as_name) + +class TestSafeImage(ERP5TypeTestCase): + + def afterSetUp(self): + portal = self.getPortalObject() + self.image_module = self.portal.getDefaultModule(portal_type = 'Image Module') + self.assertTrue(self.image_module is not None) + if getattr(self.image_module,'testImage',None) is not None: + self.image_module.manage_delObjects(ids=['testImage']) + if getattr(self.image_module,'testTile',None) is not None: + self.image_module.manage_delObjects(ids=['testTile']) + if getattr(self.image_module,'testTileTransformed',None) is not None: + self.image_module.manage_delObjects(ids=['testTileTransformed']) + transaction.commit() + self.tic() + + def _createImage(self): + portal = self.getPortalObject() + _image = makeFileUpload('image_test.jpg') + image = self.image_module.newContent(portal_type='Image',title='testImage', + id='testImage',file=_image,filename='testImage') + return image + + def _createTileImage(self): + portal = self.getPortalObject() + tile_image = makeFileUpload('image_test.jpg') + tile = self.image_module.newContent(portal_type='Image Tile',title='testTile', + id='testTile',file=tile_image,filename='testTile') + return tile + + def _createTileImageTransformed(self): + portal = self.getPortalObject() + tile_image_transformed = makeFileUpload('image_test.jpg') + tile_transformed = self.image_module.newContent(portal_type='Image Tile Transformed', + title='testTileTransformed',id='testTileTransformed', + file=tile_image_transformed,filename='testTileTransformed') + return tile_transformed + + def test_01_CreateImage(self): + image = self._createImage() + self.assertTrue(image.hasData()) + transaction.commit() + self.tic() + self.assertNotEqual(image,None) + + def test_02_CreateTileImage(self): + """" + We are going to check that tile image has following structure + 1/ + 1/Image Tile Group + 1/Image Tile Group/0-0-0 + 1/Image Tile Group/1-0-0 + 1/ImageProperties.xml + """ + tile = self._createTileImage() + transaction.commit() + self.tic() + self.assertNotEqual(tile,None) + image_property = getattr(tile, "ImageProperties.xml", None) + self.assertEquals(image_property.getData(), + """<IMAGE_PROPERTIES WIDTH="660" HEIGHT="495" NUMTILES="9" NUMIMAGES="1" VERSION="1.8" TILESIZE="256" />""") + self.assertNotEqual(image_property, None) + self.assertEquals("Embedded File", image_property.getPortalType()) + image_group = getattr(tile, "TileGroup0", None) + self.assertNotEquals(image_group, None) + self.assertEquals("Image Tile Group",image_group.getPortalType()) + splitted_image_list = image_group.objectValues(portal_type="Image") + self.assertEquals(set(['0-0-0','1-0-0','1-1-0','2-0-0','2-0-1','2-1-0','2-1-1','2-2-0','2-2-1']), + set([x.getId() for x in splitted_image_list])) + for x in splitted_image_list: + self.assertTrue(x.hasData()) + self.assertEquals(123,image_group['0-0-0'].getHeight()) + self.assertEquals(165,image_group['0-0-0'].getWidth()) + + def test_03_CreateTileImageTransformed(self): + """" + We are going to check that tile image has following structure + 1/ + 1/Image Tile Group + 1/Image Tile Group/0-0-0 + 1/Image Tile Group/1-0-0 + 1/ImageProperties.xml + 1/TransformFile.txt + """ + tile_transformed = self._createTileImageTransformed() + transaction.commit() + self.tic() + self.assertNotEqual(tile_transformed,None) + image_property = getattr(tile_transformed, "ImageProperties.xml", None) + self.assertEquals(image_property.getData(), + """<IMAGE_PROPERTIES WIDTH="660" HEIGHT="495" NUMTILES="9" NUMIMAGES="1" VERSION="1.8" TILESIZE="256" />""") + self.assertNotEqual(image_property, None) + self.assertEquals("Embedded File", image_property.getPortalType()) + image_transform = getattr(tile_transformed, "TransformFile.txt", None) + self.assertTrue(image_transform.getData().split()[1],'2-0-0') + self.assertNotEqual(image_transform, None) + self.assertEquals("Embedded File", image_transform.getPortalType()) + image_group = getattr(tile_transformed, "TileGroup0", None) + self.assertNotEquals(image_group, None) + self.assertEquals("Image Tile Group",image_group.getPortalType()) + splitted_image_list = image_group.objectValues(portal_type="Image") + self.assertEquals(set(['0-0-0','1-0-0','1-1-0','2-0-0','2-0-1','2-1-0','2-1-1','2-2-0','2-2-1']), + set([x.getId() for x in splitted_image_list])) + for x in splitted_image_list: + self.assertTrue(x.hasData()) + self.assertEquals(123,image_group['0-0-0'].getHeight()) + self.assertEquals(165,image_group['0-0-0'].getWidth()) diff --git a/bt5/erp5_safeimage/bt/revision b/bt5/erp5_safeimage/bt/revision new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_safeimage/bt/revision @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/template_format_version b/bt5/erp5_safeimage/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_safeimage/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_safeimage/bt/template_portal_type_allowed_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..cd7a83037bd6381420e234be85b1e5ebde66372e --- /dev/null +++ b/bt5/erp5_safeimage/bt/template_portal_type_allowed_content_type_list @@ -0,0 +1,7 @@ +Image Module | Image Tile +Image Module | Image Tile Transformed +Image Tile Group | Image +Image Tile Transformed | Embedded File +Image Tile Transformed | Image Tile Group +Image Tile | Embedded File +Image Tile | Image Tile Group \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/template_portal_type_id_list b/bt5/erp5_safeimage/bt/template_portal_type_id_list new file mode 100644 index 0000000000000000000000000000000000000000..88aa8d5761e964160f7708419f55043ac3add971 --- /dev/null +++ b/bt5/erp5_safeimage/bt/template_portal_type_id_list @@ -0,0 +1,3 @@ +Image Tile +Image Tile Group +Image Tile Transformed \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/template_portal_type_workflow_chain_list b/bt5/erp5_safeimage/bt/template_portal_type_workflow_chain_list new file mode 100644 index 0000000000000000000000000000000000000000..6ee4f3d9b492aa4caea822af5dfed431662ae4fe --- /dev/null +++ b/bt5/erp5_safeimage/bt/template_portal_type_workflow_chain_list @@ -0,0 +1,3 @@ +Image Tile Group | validation_workflow +Image Tile Transformed | validation_workflow +Image Tile | validation_workflow \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/template_skin_id_list b/bt5/erp5_safeimage/bt/template_skin_id_list new file mode 100644 index 0000000000000000000000000000000000000000..abc5ffbb4d6e69f5099e06a361f361964f6a58a1 --- /dev/null +++ b/bt5/erp5_safeimage/bt/template_skin_id_list @@ -0,0 +1 @@ +erp5_safeimage \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/template_test_id_list b/bt5/erp5_safeimage/bt/template_test_id_list new file mode 100644 index 0000000000000000000000000000000000000000..5bf1c89d736fd1c69c9d1f4e421292d6c072236e --- /dev/null +++ b/bt5/erp5_safeimage/bt/template_test_id_list @@ -0,0 +1 @@ +testSafeImage \ No newline at end of file diff --git a/bt5/erp5_safeimage/bt/title b/bt5/erp5_safeimage/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..abc5ffbb4d6e69f5099e06a361f361964f6a58a1 --- /dev/null +++ b/bt5/erp5_safeimage/bt/title @@ -0,0 +1 @@ +erp5_safeimage \ No newline at end of file