[Erp5-report] r21155 - in /erp5/trunk/bt5/erp5_base: ActionTemplateItem/portal_types/Prefer...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue May 27 00:16:56 CEST 2008


Author: rafael
Date: Tue May 27 00:16:56 2008
New Revision: 21155

URL: http://svn.erp5.org?rev=21155&view=rev
Log:
Added New Property Sheet entry and action for Preference (Thanks to Lucas)

Added:
    erp5/trunk/bt5/erp5_base/ActionTemplateItem/portal_types/Preference/
    erp5/trunk/bt5/erp5_base/ActionTemplateItem/portal_types/Preference/base_preference.xml
Modified:
    erp5/trunk/bt5/erp5_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml

Added: erp5/trunk/bt5/erp5_base/ActionTemplateItem/portal_types/Preference/base_preference.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/ActionTemplateItem/portal_types/Preference/base_preference.xml?rev=21155&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_base/ActionTemplateItem/portal_types/Preference/base_preference.xml (added)
+++ erp5/trunk/bt5/erp5_base/ActionTemplateItem/portal_types/Preference/base_preference.xml Tue May 27 00:16:56 2008
@@ -1,0 +1,83 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>category</string> </key>
+            <value> <string>object_view</string> </value>
+        </item>
+        <item>
+            <key> <string>condition</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>icon</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>base_preference</string> </value>
+        </item>
+        <item>
+            <key> <string>permissions</string> </key>
+            <value>
+              <tuple>
+                <string>Manage portal</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>priority</string> </key>
+            <value> <float>6.0</float> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Base</string> </value>
+        </item>
+        <item>
+            <key> <string>visible</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="Expression" module="Products.CMFCore.Expression"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>text</string> </key>
+            <value> <string>string:${object_url}/Preference_viewBasePreference</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml?rev=21155&r1=21154&r2=21155&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml (original)
+++ erp5/trunk/bt5/erp5_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml Tue May 27 00:16:56 2008
@@ -5,6 +5,9 @@
  <portal_type id="Person">
   <item>DefaultImage</item>
  </portal_type>
+ <portal_type id="Preference">
+  <item>TelephonePreference</item>
+ </portal_type>
  <portal_type id="Query">
   <item>TextDocument</item>
  </portal_type>




More information about the Erp5-report mailing list