From 7937b94fdbb9a9bb33b8327fdc886ce34e13862e Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Tue, 4 Jan 2011 14:01:07 +0000
Subject: [PATCH] Use "Embedded File".

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41993 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../PathTemplateItem/portal_gadgets/clock/default_image.xml   | 4 ++--
 .../portal_gadgets/erp5_advertisement/default_image.xml       | 4 ++--
 .../portal_gadgets/erp5_documentation/default_image.xml       | 4 ++--
 .../portal_gadgets/erp5_persons/default_image.xml             | 4 ++--
 .../portal_gadgets/erp5_rss/default_image.xml                 | 4 ++--
 .../portal_gadgets/erp5_worklists/default_image.xml           | 4 ++--
 .../portal_gadgets/google_calendar/default_image.xml          | 4 ++--
 .../portal_gadgets/google_maps/default_image.xml              | 4 ++--
 .../portal_gadgets/google_search/default_image.xml            | 4 ++--
 .../allowed_content_types.xml                                 | 2 +-
 bt5/erp5_knowledge_pad/bt/revision                            | 2 +-
 .../bt/template_portal_type_allowed_content_type_list         | 2 +-
 12 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/clock/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/clock/default_image.xml
index 8646e77d15..551d83c9a6 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/clock/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/clock/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -634,7 +634,7 @@ JYsSGHk2cggXGnkkmxvfW3AAY//Z</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement/default_image.xml
index 88876a6313..d65e20da6e 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -88,7 +88,7 @@ Lssqf0yEqLjPIEQUfCUYujr5Ye1Q2XR4x6OoqVBfoRftCwT7sJ2Kj/iPXinCEBn3Ie76OhAB4QEE
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_documentation/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_documentation/default_image.xml
index 747dcb6134..3812bb3d20 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_documentation/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_documentation/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -345,7 +345,7 @@ QEBKjoCAlBwBAQEpOQKCJor/ByAySvX9useLAAAAAElFTkSuQmCC</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_persons/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_persons/default_image.xml
index 89c5f5a710..6d04d16334 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_persons/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_persons/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -569,7 +569,7 @@ xhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhxxxxhhzxnzflD
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_rss/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_rss/default_image.xml
index 773484415d..2ded586717 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_rss/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_rss/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -1065,7 +1065,7 @@ CECadppPpFymU6Ojr2Mas1GKUuSSWkfDoWSWF0X0/ZH/2Q==</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_worklists/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_worklists/default_image.xml
index 3d463ab2dc..0db27ae332 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_worklists/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_worklists/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -935,7 +935,7 @@ QcPh/wCtf//Z</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_calendar/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_calendar/default_image.xml
index 07c2ab1bce..4ab020b549 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_calendar/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_calendar/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -858,7 +858,7 @@ XDxnf8U/y2sOnxG/JHsGP//Z</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>size</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_maps/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_maps/default_image.xml
index e03ca31b99..6cac26b3a9 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_maps/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_maps/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -121,7 +121,7 @@
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>short_title</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_search/default_image.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_search/default_image.xml
index 103c4733c9..d82e040bd3 100644
--- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_search/default_image.xml
+++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/google_search/default_image.xml
@@ -2,7 +2,7 @@
 <ZopeData>
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
-      <global name="Image" module="erp5.portal_type"/>
+      <global name="EmbeddedFile" module="Products.ERP5.Document.EmbeddedFile"/>
     </pickle>
     <pickle>
       <dictionary>
@@ -195,7 +195,7 @@ qQkTiJCaMIEIqQkTiJCa/h9bl4K4cfIN9AAAAABJRU5ErkJggg==</string> </value>
         </item>
         <item>
             <key> <string>portal_type</string> </key>
-            <value> <string>Image</string> </value>
+            <value> <string>Embedded File</string> </value>
         </item>
         <item>
             <key> <string>short_title</string> </key>
diff --git a/bt5/erp5_knowledge_pad/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_knowledge_pad/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index 5feae2bcac..8b23fa8c61 100644
--- a/bt5/erp5_knowledge_pad/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_knowledge_pad/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -1,6 +1,6 @@
 <allowed_content_type_list>
  <portal_type id="Gadget">
-  <item>Image</item>
+  <item>Embedded File</item>
  </portal_type>
  <portal_type id="Gadget Tool">
   <item>Gadget</item>
diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision
index 7cc86ad136..97db189709 100644
--- a/bt5/erp5_knowledge_pad/bt/revision
+++ b/bt5/erp5_knowledge_pad/bt/revision
@@ -1 +1 @@
-666
+667
\ No newline at end of file
diff --git a/bt5/erp5_knowledge_pad/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_knowledge_pad/bt/template_portal_type_allowed_content_type_list
index 0819e1c298..4c2a34a06c 100644
--- a/bt5/erp5_knowledge_pad/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_knowledge_pad/bt/template_portal_type_allowed_content_type_list
@@ -1,5 +1,5 @@
 Gadget Tool | Gadget
-Gadget | Image
+Gadget | Embedded File
 Knowledge Pad Module | Knowledge Pad
 Knowledge Pad | Knowledge Box
 Preference | Knowledge Pad
\ No newline at end of file
-- 
2.30.9