Commit d1aa42ad authored by Kevin Deldycke's avatar Kevin Deldycke

Clean-up forms.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9301 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 99164190
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -89,12 +88,6 @@ ...@@ -89,12 +88,6 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>40</int> </value> <value> <int>20</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>40</int> </value> <value> <int>30</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>60</int> </value> <value> <int>40</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -61,11 +61,7 @@ ...@@ -61,11 +61,7 @@
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<list> <list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -74,37 +70,13 @@ ...@@ -74,37 +70,13 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -118,7 +90,7 @@ ...@@ -118,7 +90,7 @@
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>WebPage_view</string> </value> <value> <string>WebPage_viewContentList</string> </value>
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
......
...@@ -61,11 +61,7 @@ ...@@ -61,11 +61,7 @@
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<list> <list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -74,37 +70,13 @@ ...@@ -74,37 +70,13 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list> <list>
<string>my_text_content</string> <string>my_text_content</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -118,7 +90,7 @@ ...@@ -118,7 +90,7 @@
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>WebPage_view</string> </value> <value> <string>WebPage_viewRender</string> </value>
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
......
...@@ -63,9 +63,8 @@ ...@@ -63,9 +63,8 @@
<list> <list>
<string>left</string> <string>left</string>
<string>right</string> <string>right</string>
<string>content center</string> <string>center webcontent</string>
<string>content bottom</string> <string>bottom webcontent</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -74,7 +73,7 @@ ...@@ -74,7 +73,7 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>content bottom</string> </key> <key> <string>bottom webcontent</string> </key>
<value> <value>
<list> <list>
<string>physical_subcontent_listbox</string> <string>physical_subcontent_listbox</string>
...@@ -82,7 +81,7 @@ ...@@ -82,7 +81,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>content center</string> </key> <key> <string>center webcontent</string> </key>
<value> <value>
<list> <list>
<string>my_description</string> <string>my_description</string>
...@@ -90,13 +89,7 @@ ...@@ -90,13 +89,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>left</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_title</string> <string>my_title</string>
...@@ -129,11 +122,11 @@ ...@@ -129,11 +122,11 @@
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>WebPage_view</string> </value> <value> <string>WebSection_view</string> </value>
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
<value> <string>section_form_view</string> </value> <value> <string>form_view</string> </value>
</item> </item>
<item> <item>
<key> <string>row_length</string> </key> <key> <string>row_length</string> </key>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>40</int> </value> <value> <int>20</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>60</int> </value> <value> <int>40</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -62,10 +62,7 @@ ...@@ -62,10 +62,7 @@
<value> <value>
<list> <list>
<string>left</string> <string>left</string>
<string>right</string> <string>bottom webcontent</string>
<string>content center</string>
<string>content bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -74,25 +71,13 @@ ...@@ -74,25 +71,13 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>content bottom</string> </key> <key> <string>bottom webcontent</string> </key>
<value> <value>
<list> <list>
<string>dynamic_subcontent_listbox</string> <string>dynamic_subcontent_listbox</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>content center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
...@@ -101,12 +86,6 @@ ...@@ -101,12 +86,6 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -120,11 +99,11 @@ ...@@ -120,11 +99,11 @@
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>WebPage_view</string> </value> <value> <string>WebSection_viewContentList</string> </value>
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
<value> <string>section_form_view</string> </value> <value> <string>form_view</string> </value>
</item> </item>
<item> <item>
<key> <string>row_length</string> </key> <key> <string>row_length</string> </key>
......
...@@ -217,7 +217,7 @@ ...@@ -217,7 +217,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>60</int> </value> <value> <int>40</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PageTemplates.ZopePageTemplate</string>
<string>ZopePageTemplate</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<tal:block tal:define="default_layout string:view_master;\n
default_content here/WebSite_getDefaultDocumentValue | nothing;\n
ignore_layout request/ignore_layout | nothing;\n
editable_mode request/editable_mode | nothing;\n
layout_form_id here/getApplicableLayout | nothing;\n
layout_form python: not(layout_form_id) or ignore_layout or getattr(here, layout_form_id, None);\n
layout_id layout_form/pt | default_layout;">\n
\n
<tal:block metal:use-macro="python: getattr(here, layout_id).macros[\'master\']">\n
<tal:block metal:fill-slot="main">\n
\n
<tal:block tal:condition="python: (not editable_mode) and (not ignore_layout) and (default_content is not None)">\n
<tal:block tal:define="global here python: default_content;\n
global form python: here.WebPage_view;\n
global default_content_title python: here.getTitle()"/>\n
</tal:block>\n
\n
<tal:block tal:condition="python: not(default_content is None and not editable_mode)">\n
<tal:block tal:replace="nothing"><!--\n
Use here/form_view/macros/form_render macro with html style.\n
--></tal:block>\n
<tal:block metal:use-macro="here/form_render/macros/master"/>\n
</tal:block>\n
\n
<tal:block tal:condition="python: default_content is None and not editable_mode">\n
This section contain no document.\n
</tal:block>\n
\n
</tal:block>\n
</tal:block>\n
\n
</tal:block>
]]></string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>section_form_view</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
171 174
\ No newline at end of file \ No newline at end of file
0.2.6 0.2.7
\ No newline at end of file \ No newline at end of file
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