Commit e5a67614 authored by Jean-Paul Smets's avatar Jean-Paul Smets

2007-01-19 JPS

* Global commit of refactored bt. More refactoring needed still

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12151 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 87356c82
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: not (hasattr(request, \'web_site_value\') and not (getattr(request, \'ignore_layout\', False) or getattr(request, \'editable_mode\', False)))</string> </value> <value> <string>python: object is not None and not object.isWebMode()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
</item> </item>
<item> <item>
<key> <string>condition</string> </key> <key> <string>condition</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -86,4 +88,23 @@ ...@@ -86,4 +88,23 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object is not None and not object.isWebMode()</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -31,21 +31,43 @@ ...@@ -31,21 +31,43 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>_owner</string> </key> <key> <string>_tree</string> </key>
<value> <value>
<none/> <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>_tree</string> </key> <key> <string>acquisition_append_value</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>acquisition_base_category</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> <tuple/>
</value>
</item>
<item>
<key> <string>acquisition_copy_value</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>acquisition_mask_value</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>acquisition_object_id</string> </key>
<value>
<tuple/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>acquisition_portal_type</string> </key> <key> <string>acquisition_portal_type</string> </key>
<value> <string>python: []</string> </value> <value> <string>python: []</string> </value>
</item> </item>
<item>
<key> <string>acquisition_sync_value</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
...@@ -54,18 +76,100 @@ ...@@ -54,18 +76,100 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>category_type</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>criterion_property</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A base category to create similarity relations</string> </value> <value> <string>A base category to create similarity relations</string> </value>
</item> </item>
<item>
<key> <string>fallback_base_category</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>similar</string> </value> <value> <string>similar</string> </value>
</item> </item>
<item>
<key> <string>id_generator</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id_group</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>membership_criterion_base_category</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>membership_criterion_category</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>multimembership_criterion_base_category</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Base Category</string> </value> <value> <string>Base Category</string> </value>
</item> </item>
<item>
<key> <string>read_permission</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>rid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>test_method_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Similar</string> </value> <value> <string>Similar</string> </value>
...@@ -76,6 +180,12 @@ ...@@ -76,6 +180,12 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>write_permission</string> </key>
<value>
<none/>
</value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
<permission type='list'> <permission type='list'>
<name>Add CMF Caching Policy Managers</name> <name>Add CMF Caching Policy Managers</name>
</permission> </permission>
<permission type='list'>
<name>Add CMF Calendar Tools</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Core Tools</name> <name>Add CMF Core Tools</name>
</permission> </permission>
...@@ -47,17 +44,14 @@ ...@@ -47,17 +44,14 @@
<name>Add CMF Default Tools</name> <name>Add CMF Default Tools</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Report Tools</name> <name>Add CMF Groups Tools</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Setup Tools</name> <name>Add CMF Report Tools</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Sites</name> <name>Add CMF Sites</name>
</permission> </permission>
<permission type='list'>
<name>Add CMF Unique Id Tools</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add CMFActivity Tools</name> <name>Add CMFActivity Tools</name>
</permission> </permission>
...@@ -67,9 +61,6 @@ ...@@ -67,9 +61,6 @@
<permission type='list'> <permission type='list'>
<name>Add CMFMailIn Tools</name> <name>Add CMFMailIn Tools</name>
</permission> </permission>
<permission type='list'>
<name>Add Configured CMF Sites</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add Content Type Registrys</name> <name>Add Content Type Registrys</name>
</permission> </permission>
...@@ -145,6 +136,15 @@ ...@@ -145,6 +136,15 @@
<permission type='list'> <permission type='list'>
<name>Add Formulator Forms</name> <name>Add Formulator Forms</name>
</permission> </permission>
<permission type='list'>
<name>Add GroupUserFolder</name>
</permission>
<permission type='list'>
<name>Add GroupUserFolders</name>
</permission>
<permission type='list'>
<name>Add Groups</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add LocalContents</name> <name>Add LocalContents</name>
</permission> </permission>
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
<name>Add Z MySQL Database Connections</name> <name>Add Z MySQL Database Connections</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name> <name>Add Z MySQL Database Deferred Connections</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add ZCatalogs</name> <name>Add ZCatalogs</name>
...@@ -235,9 +235,6 @@ ...@@ -235,9 +235,6 @@
<permission type='list'> <permission type='list'>
<name>Add portal content</name> <name>Add portal content</name>
</permission> </permission>
<permission type='list'>
<name>Add portal events</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add portal folders</name> <name>Add portal folders</name>
</permission> </permission>
...@@ -247,6 +244,9 @@ ...@@ -247,6 +244,9 @@
<permission type='list'> <permission type='list'>
<name>Add portal topics</name> <name>Add portal topics</name>
</permission> </permission>
<permission type='list'>
<name>Add secure MailHost objects</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Change Browser Id Manager</name> <name>Change Browser Id Manager</name>
</permission> </permission>
...@@ -319,9 +319,6 @@ ...@@ -319,9 +319,6 @@
<permission type='list'> <permission type='list'>
<name>Change permissions</name> <name>Change permissions</name>
</permission> </permission>
<permission type='list'>
<name>Change portal events</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Change portal topics</name> <name>Change portal topics</name>
</permission> </permission>
...@@ -340,6 +337,9 @@ ...@@ -340,6 +337,9 @@
<permission type='list'> <permission type='list'>
<name>Define permissions</name> <name>Define permissions</name>
</permission> </permission>
<permission type='list'>
<name>Delete Groups</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Delete objects</name> <name>Delete objects</name>
</permission> </permission>
...@@ -409,6 +409,9 @@ ...@@ -409,6 +409,9 @@
<permission type='list'> <permission type='list'>
<name>Manage ZCatalogIndex Entries</name> <name>Manage ZCatalogIndex Entries</name>
</permission> </permission>
<permission type='list'>
<name>Manage extensions</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Manage languages</name> <name>Manage languages</name>
</permission> </permission>
...@@ -460,6 +463,9 @@ ...@@ -460,6 +463,9 @@
<permission type='list'> <permission type='list'>
<name>Search for principals</name> <name>Search for principals</name>
</permission> </permission>
<permission type='list'>
<name>Set Group Ownership</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Set own password</name> <name>Set own password</name>
</permission> </permission>
...@@ -484,12 +490,18 @@ ...@@ -484,12 +490,18 @@
<permission type='list'> <permission type='list'>
<name>Use Factories</name> <name>Use Factories</name>
</permission> </permission>
<permission type='list'>
<name>Use external editor</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Use mailhost services</name> <name>Use mailhost services</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>View</name> <name>View</name>
</permission> </permission>
<permission type='list'>
<name>View Groups</name>
</permission>
<permission type='list'> <permission type='list'>
<name>View History</name> <name>View History</name>
</permission> </permission>
......
...@@ -42,9 +42,6 @@ ...@@ -42,9 +42,6 @@
<permission type='list'> <permission type='list'>
<name>Add CMF Caching Policy Managers</name> <name>Add CMF Caching Policy Managers</name>
</permission> </permission>
<permission type='list'>
<name>Add CMF Calendar Tools</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Core Tools</name> <name>Add CMF Core Tools</name>
</permission> </permission>
...@@ -52,17 +49,14 @@ ...@@ -52,17 +49,14 @@
<name>Add CMF Default Tools</name> <name>Add CMF Default Tools</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Report Tools</name> <name>Add CMF Groups Tools</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Setup Tools</name> <name>Add CMF Report Tools</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add CMF Sites</name> <name>Add CMF Sites</name>
</permission> </permission>
<permission type='list'>
<name>Add CMF Unique Id Tools</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add CMFActivity Tools</name> <name>Add CMFActivity Tools</name>
</permission> </permission>
...@@ -72,9 +66,6 @@ ...@@ -72,9 +66,6 @@
<permission type='list'> <permission type='list'>
<name>Add CMFMailIn Tools</name> <name>Add CMFMailIn Tools</name>
</permission> </permission>
<permission type='list'>
<name>Add Configured CMF Sites</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add Content Type Registrys</name> <name>Add Content Type Registrys</name>
</permission> </permission>
...@@ -150,6 +141,15 @@ ...@@ -150,6 +141,15 @@
<permission type='list'> <permission type='list'>
<name>Add Formulator Forms</name> <name>Add Formulator Forms</name>
</permission> </permission>
<permission type='list'>
<name>Add GroupUserFolder</name>
</permission>
<permission type='list'>
<name>Add GroupUserFolders</name>
</permission>
<permission type='list'>
<name>Add Groups</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add LocalContents</name> <name>Add LocalContents</name>
</permission> </permission>
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
<name>Add Z MySQL Database Connections</name> <name>Add Z MySQL Database Connections</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add Z MySQL Deferred Database Connections</name> <name>Add Z MySQL Database Deferred Connections</name>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Add ZCatalogs</name> <name>Add ZCatalogs</name>
...@@ -240,9 +240,6 @@ ...@@ -240,9 +240,6 @@
<permission type='list'> <permission type='list'>
<name>Add portal content</name> <name>Add portal content</name>
</permission> </permission>
<permission type='list'>
<name>Add portal events</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add portal folders</name> <name>Add portal folders</name>
</permission> </permission>
...@@ -252,6 +249,9 @@ ...@@ -252,6 +249,9 @@
<permission type='list'> <permission type='list'>
<name>Add portal topics</name> <name>Add portal topics</name>
</permission> </permission>
<permission type='list'>
<name>Add secure MailHost objects</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Change Browser Id Manager</name> <name>Change Browser Id Manager</name>
</permission> </permission>
...@@ -324,9 +324,6 @@ ...@@ -324,9 +324,6 @@
<permission type='list'> <permission type='list'>
<name>Change permissions</name> <name>Change permissions</name>
</permission> </permission>
<permission type='list'>
<name>Change portal events</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Change portal topics</name> <name>Change portal topics</name>
</permission> </permission>
...@@ -345,6 +342,9 @@ ...@@ -345,6 +342,9 @@
<permission type='list'> <permission type='list'>
<name>Define permissions</name> <name>Define permissions</name>
</permission> </permission>
<permission type='list'>
<name>Delete Groups</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Delete objects</name> <name>Delete objects</name>
</permission> </permission>
...@@ -414,6 +414,9 @@ ...@@ -414,6 +414,9 @@
<permission type='list'> <permission type='list'>
<name>Manage ZCatalogIndex Entries</name> <name>Manage ZCatalogIndex Entries</name>
</permission> </permission>
<permission type='list'>
<name>Manage extensions</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Manage languages</name> <name>Manage languages</name>
</permission> </permission>
...@@ -465,6 +468,9 @@ ...@@ -465,6 +468,9 @@
<permission type='list'> <permission type='list'>
<name>Search for principals</name> <name>Search for principals</name>
</permission> </permission>
<permission type='list'>
<name>Set Group Ownership</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Set own password</name> <name>Set own password</name>
</permission> </permission>
...@@ -489,6 +495,9 @@ ...@@ -489,6 +495,9 @@
<permission type='list'> <permission type='list'>
<name>Use Factories</name> <name>Use Factories</name>
</permission> </permission>
<permission type='list'>
<name>Use external editor</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Use mailhost services</name> <name>Use mailhost services</name>
</permission> </permission>
...@@ -500,6 +509,9 @@ ...@@ -500,6 +509,9 @@
<role>Manager</role> <role>Manager</role>
<role>Owner</role> <role>Owner</role>
</permission> </permission>
<permission type='list'>
<name>View Groups</name>
</permission>
<permission type='list'> <permission type='list'>
<name>View History</name> <name>View History</name>
</permission> </permission>
......
<hidden_content_type_list>
<portal_type id="Web Section">
<item>Web Section</item>
</portal_type>
</hidden_content_type_list>
\ No newline at end of file
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
<portal_type id="Web Page"> <portal_type id="Web Page">
<item>Reference</item> <item>Reference</item>
<item>SortIndex</item> <item>SortIndex</item>
<item>TextDocument</item>
</portal_type> </portal_type>
<portal_type id="Web Section"> <portal_type id="Web Section">
<item>SortIndex</item>
<item>WebSite</item> <item>WebSite</item>
<item>SortIndex</item>
</portal_type> </portal_type>
<portal_type id="Web Site"> <portal_type id="Web Site">
<item>WebSite</item> <item>WebSite</item>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</item> </item>
<item> <item>
<key> <string>content_icon</string> </key> <key> <string>content_icon</string> </key>
<value> <string>document.gif</string> </value> <value> <string>web_page.png</string> </value>
</item> </item>
<item> <item>
<key> <string>content_meta_type</string> </key> <key> <string>content_meta_type</string> </key>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</item> </item>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts47966145.85</string> </value> <value> <string>ts69134692.35</string> </value>
</item> </item>
<item> <item>
<key> <string>_FTP_access_Permission</string> </key> <key> <string>_FTP_access_Permission</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>IntegerField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<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>
<item>
<key> <string>integer_out_of_range</string> </key>
<value> <string>The integer you entered was out of range.</string> </value>
</item>
<item>
<key> <string>not_integer</string> </key>
<value> <string>You did not enter an integer.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>start</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>end</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>start</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>end</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>start</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Order Index</string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -55,13 +55,14 @@ ...@@ -55,13 +55,14 @@
</item> </item>
<item> <item>
<key> <string>enctype</string> </key> <key> <string>enctype</string> </key>
<value> <string>multipart/form-data</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<list> <list>
<string>left</string> <string>left webcontent</string>
<string>bottom</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -70,12 +71,18 @@ ...@@ -70,12 +71,18 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>left</string> </key> <key> <string>bottom</string> </key>
<value>
<list>
<string>my_text_content</string>
</list>
</value>
</item>
<item>
<key> <string>left webcontent</string> </key>
<value> <value>
<list> <list>
<string>my_similar_title_list</string> <string>my_title</string>
<string>my_destination_title_list</string>
<string>my_source_title_list</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -84,7 +91,7 @@ ...@@ -84,7 +91,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>Document_viewRelated</string> </value> <value> <string>WebPage_viewAsWeb</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
...@@ -92,7 +99,7 @@ ...@@ -92,7 +99,7 @@
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>Document_viewRelated</string> </value> <value> <string>WebPage_view</string> </value>
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
...@@ -108,7 +115,7 @@ ...@@ -108,7 +115,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Related Documents</string> </value> <value> <string>Web Page</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode_mode</string> </key> <key> <string>unicode_mode</string> </key>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string></string> </value> <value> <string>page</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
</item> </item>
<item> <item>
<key> <string>height</string> </key> <key> <string>height</string> </key>
<value> <int>5</int> </value> <value> <int>18</int> </value>
</item> </item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
...@@ -275,7 +275,7 @@ ...@@ -275,7 +275,7 @@
</item> </item>
<item> <item>
<key> <string>width</string> </key> <key> <string>width</string> </key>
<value> <int>40</int> </value> <value> <int>80</int> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string></string> </value> <value> <string>headline</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string>The title is display as main content title and page title.</string> </value>
</item> </item>
<item> <item>
<key> <string>display_maxwidth</string> </key> <key> <string>display_maxwidth</string> </key>
......
...@@ -100,11 +100,11 @@ language = portal.Localizer.get_selected_language()\n ...@@ -100,11 +100,11 @@ language = portal.Localizer.get_selected_language()\n
\n \n
# Search the catalog for all documents matching the reference\n # Search the catalog for all documents matching the reference\n
# this will only return documents which are accessible by the user\n # this will only return documents which are accessible by the user\n
web_page_list = portal_catalog(reference=name, portal_type=valid_portal_type_list,\n web_page_list = portal_catalog(reference=name, portal_type=valid_portal_type_list, \n
language=language,\n order_by=[(\'index\', \'descending\'), (\'version\', \'descending\')],\n
order_by=[(\'version\', \'descending\')],\n language=language)\n
group_by=(\'reference\',))\n # XXX - group_by is missing here\n
\n # portal_catalog extension required\n
try:\n try:\n
# Try to get the first page on the list\n # Try to get the first page on the list\n
web_page = web_page_list[0]\n web_page = web_page_list[0]\n
...@@ -112,8 +112,9 @@ try:\n ...@@ -112,8 +112,9 @@ try:\n
except IndexError:\n except IndexError:\n
# Search again without the language\n # Search again without the language\n
web_page_list = portal_catalog(reference=name, portal_type=\'Web Page\', \n web_page_list = portal_catalog(reference=name, portal_type=\'Web Page\', \n
order_by=[(\'version\', \'descending\')],\n order_by=[(\'index\', \'descending\'), (\'version\', \'descending\')])\n
group_by=(\'reference\',))\n # XXX - group_by is missing here\n
# portal_catalog extension required\n
try:\n try:\n
# Try to get the first page on the list\n # Try to get the first page on the list\n
web_page = web_page_list[0]\n web_page = web_page_list[0]\n
...@@ -204,10 +205,6 @@ return web_page\n ...@@ -204,10 +205,6 @@ return web_page\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>WebSection_getDocumentValue</string> </value> <value> <string>WebSection_getDocumentValue</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>warnings</string> </key> <key> <string>warnings</string> </key>
<value> <value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>CheckBoxField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_visible</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>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Visible</string> </value>
</item>
</dictionary>
</value>
</item>
</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>python:here.isVisible() * \'checked\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -80,12 +80,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -80,12 +80,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
\'%s/erp5_web_%scontent.css\' % (portal_path, editable and \'editable_\' or \'\'),\n \'%s/erp5_web_%scontent.css\' % (portal_path, editable and \'editable_\' or \'\'),\n
\'%s/erp5_web_admin_toolbox.css\' % portal_path,\n \'%s/erp5_web_admin_toolbox.css\' % portal_path,\n
\'%s/template_erp5_web.css\' % portal_path,\n \'%s/template_erp5_web.css\' % portal_path,\n
]">\n ]">\n
<tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">\n <tal:block metal:use-macro="here/template_erp5_xhtml_style/macros/master">\n
<tal:block metal:fill-slot="layout"\n <tal:block metal:fill-slot="layout"\n
tal:define="dummy python: request.set(\'editable_mode\', True)">\n tal:define="dummy python: request.set(\'editable_mode\', True)">\n
<div id="main_content" class="column center">\n <div id="main_content" class="column center">\n
<tal:block tal:condition="here/REQUEST/portal_status_message | nothing">\n <tal:block tal:condition="here/REQUEST/portal_status_message | nothing">\n
<!-- XXX Why no portal message displayed there ?\n
Normally a message should be displayed when saving an object through web interface... -->\n
<div tal:content="structure here/REQUEST/portal_status_message | nothing" id="transition_message"/>\n <div tal:content="structure here/REQUEST/portal_status_message | nothing" id="transition_message"/>\n
</tal:block>\n </tal:block>\n
<tal:block metal:define-slot="main"/>\n <tal:block metal:define-slot="main"/>\n
...@@ -143,10 +145,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -143,10 +145,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>template_erp5_web</string> </value> <value> <string>template_erp5_web</string> </value>
</item> </item>
<item>
<key> <string>isIndexable</string> </key>
<value> <int>0</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment