[Erp5-report] r39396 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 20 15:50:58 CEST 2010


Author: ivan
Date: Wed Oct 20 15:50:57 2010
New Revision: 39396

URL: http://svn.erp5.org?rev=39396&view=rev
Log:
Use preference's API.

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=39396&r1=39395&r2=39396&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:50:57 2010
@@ -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>

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=39396&r1=39395&r2=39396&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:50:57 2010
@@ -1 +1 @@
-1745
\ No newline at end of file
+1746
\ No newline at end of file




More information about the Erp5-report mailing list