From dcbee593a197f0f072f2705ec0e365e515e4bdc9 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sun, 9 Sep 2007 15:13:07 +0000
Subject: [PATCH] Do not use TALES expressions for images.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16192 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_dms/Image_view/my_description.xml    | 52 +++----------------
 1 file changed, 8 insertions(+), 44 deletions(-)

diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Image_view/my_description.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Image_view/my_description.xml
index 84d1aa1d93..762b7078b5 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Image_view/my_description.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Image_view/my_description.xml
@@ -12,6 +12,12 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>my_description</string> </value>
@@ -144,15 +150,11 @@
                 </item>
                 <item>
                     <key> <string>editable</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>enabled</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-                    </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>external_validator</string> </key>
@@ -287,42 +289,4 @@
       </dictionary>
     </pickle>
   </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>here/hasOOFile</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>here/hasOOFile</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
 </ZopeData>
-- 
2.30.9