Commit 40a5ddb0 authored by Ivan Tyagov's avatar Ivan Tyagov

Use preference's API.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39396 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1366a96f
......@@ -267,7 +267,7 @@
</item>
<item>
<key> <string>image_resolution</string> </key>
<value> <int>75</int> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
......@@ -320,7 +320,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreference(\'preferred_image_format\', \'png\')</string> </value>
<value> <string>python: here.portal_preferences.getPreferredImageFormat()</string> </value>
</item>
</dictionary>
</pickle>
......@@ -333,7 +333,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_preferences.getPreference(\'preferred_image_quality\', \'75\')</string> </value>
<value> <string>python: here.portal_preferences.getPreferredImageQuality()</string> </value>
</item>
</dictionary>
</pickle>
......
1745
\ No newline at end of file
1746
\ 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