Commit ee1213c6 authored by Aurel's avatar Aurel

preferred time zone is set on System Preference

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21140 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3398e797
...@@ -89,7 +89,6 @@ ...@@ -89,7 +89,6 @@
<string>my_priority</string> <string>my_priority</string>
<string>my_preferred_section_category</string> <string>my_preferred_section_category</string>
<string>my_preferred_section</string> <string>my_preferred_section</string>
<string>my_preferred_time_zone</string>
<string>my_translated_preference_state_title</string> <string>my_translated_preference_state_title</string>
</list> </list>
</value> </value>
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<value> <value>
<list> <list>
<string>my_priority</string> <string>my_priority</string>
<string>my_preferred_time_zone</string>
<string>my_preferred_ooodoc_server_address</string> <string>my_preferred_ooodoc_server_address</string>
<string>my_preferred_ooodoc_server_port_number</string> <string>my_preferred_ooodoc_server_port_number</string>
<string>my_translated_preference_state_title</string> <string>my_translated_preference_state_title</string>
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
<list> <list>
<string>title</string> <string>title</string>
<string>description</string> <string>description</string>
<string>default</string>
<string>items</string> <string>items</string>
<string>enabled</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -65,15 +65,15 @@ ...@@ -65,15 +65,15 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>description</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -104,17 +104,13 @@ ...@@ -104,17 +104,13 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Preferred timezone</string> </value> <value> <string>Preferred timezone</string> </value>
</item> </item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_category</string> </value> <value> <string>my_category</string> </value>
...@@ -124,7 +120,7 @@ ...@@ -124,7 +120,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
...@@ -134,7 +130,7 @@ ...@@ -134,7 +130,7 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Timezone</string> </value> <value> <string>Timezone</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -146,18 +142,15 @@ ...@@ -146,18 +142,15 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:here.getPortalObject().portal_membership.checkPermission("Manage portal", here)</string> </value> <value> <string>python: here.getPreferredTimeZone() or preferences.getPreferredTimeZone()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -165,11 +158,8 @@ ...@@ -165,11 +158,8 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
822 823
\ 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