[Erp5-report] r39394 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 20 15:21:56 CEST 2010
Author: ivan
Date: Wed Oct 20 15:21:53 2010
New Revision: 39394
URL: http://svn.erp5.org?rev=39394&view=rev
Log:
Try to acquire from preferences preferred image quality and format if set (fallback to previous defaults if not set)
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml?rev=39394&r1=39393&r2=39394&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewFieldLibrary/my_thumbnail.xml [utf8] Wed Oct 20 15:21:53 2010
@@ -152,9 +152,7 @@
</item>
<item>
<key> <string>enabled</string> </key>
- <value>
- <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
- </value>
+ <value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
@@ -174,11 +172,15 @@
</item>
<item>
<key> <string>image_format</string> </key>
- <value> <string></string> </value>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+ </value>
</item>
<item>
<key> <string>image_resolution</string> </key>
- <value> <string></string> </value>
+ <value>
+ <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+ </value>
</item>
<item>
<key> <string>max_length</string> </key>
@@ -265,7 +267,7 @@
</item>
<item>
<key> <string>image_resolution</string> </key>
- <value> <string></string> </value>
+ <value> <int>75</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
@@ -318,7 +320,20 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
- <value> <string>here/hasData</string> </value>
+ <value> <string>python: here.portal_preferences.getPreference(\'preferred_image_format\', \'png\')</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+ <record id="4" aka="AAAAAAAAAAQ=">
+ <pickle>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string>python: here.portal_preferences.getPreference(\'preferred_image_quality\', \'75\')</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=39394&r1=39393&r2=39394&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Wed Oct 20 15:21:53 2010
@@ -1 +1 @@
-1746
\ No newline at end of file
+1745
\ No newline at end of file
More information about the Erp5-report
mailing list