[Erp5-report] r13358 - /erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 12 14:09:02 CET 2007


Author: jp
Date: Mon Mar 12 14:09:00 2007
New Revision: 13358

URL: http://svn.erp5.org?rev=13358&view=rev
Log:
Set appropriate icon. Set document groups.

Modified:
    erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/File.xml
    erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Image.xml

Modified: erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/File.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/File.xml?rev=13358&r1=13357&r2=13358&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/File.xml (original)
+++ erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/File.xml Mon Mar 12 14:09:00 2007
@@ -43,6 +43,10 @@
             </value>
         </item>
         <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
             <key> <string>allowed_content_types</string> </key>
             <value>
               <tuple/>
@@ -75,6 +79,16 @@
             <value> <int>1</int> </value>
         </item>
         <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>document</string>
+                <string>file_document</string>
+                <string>my_document</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
               <tuple/>
@@ -83,6 +97,14 @@
         <item>
             <key> <string>id</string> </key>
             <value> <string>File</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>property_sheet_list</string> </key>

Modified: erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Image.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Image.xml?rev=13358&r1=13357&r2=13358&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Image.xml (original)
+++ erp5/trunk/bt5/erp5_base/PortalTypeTemplateItem/portal_types/Image.xml Mon Mar 12 14:09:00 2007
@@ -31,16 +31,14 @@
             </value>
         </item>
         <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
             <key> <string>_roles</string> </key>
             <value>
               <list/>
             </value>
+        </item>
+        <item>
+            <key> <string>acquire_local_roles</string> </key>
+            <value> <int>1</int> </value>
         </item>
         <item>
             <key> <string>allowed_content_types</string> </key>
@@ -56,7 +54,7 @@
         </item>
         <item>
             <key> <string>content_icon</string> </key>
-            <value> <string>document_icon.gif</string> </value>
+            <value> <string>image_icon.gif</string> </value>
         </item>
         <item>
             <key> <string>content_meta_type</string> </key>
@@ -64,7 +62,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>Document can contain text that can be formatted using \'Structured Text\'.or \'HTML\'. Text can be automatically translated through the use of\'message catalogs\' and provided to the user in multilple languages.</string> </value>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
@@ -75,6 +73,16 @@
             <value> <int>1</int> </value>
         </item>
         <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <tuple>
+                <string>document</string>
+                <string>file_document</string>
+                <string>my_document</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
             <key> <string>hidden_content_type_list</string> </key>
             <value>
               <tuple/>
@@ -83,6 +91,14 @@
         <item>
             <key> <string>id</string> </key>
             <value> <string>Image</string> </value>
+        </item>
+        <item>
+            <key> <string>init_script</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>permission</string> </key>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>property_sheet_list</string> </key>




More information about the Erp5-report mailing list