[Erp5-report] r20752 - /erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 22 16:03:15 CEST 2008


Author: nicolas
Date: Tue Apr 22 16:03:14 2008
New Revision: 20752

URL: http://svn.erp5.org?rev=20752&view=rev
Log:
Extend support of image Sizes by Preference

Modified:
    erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py

Modified: erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py?rev=20752&r1=20751&r2=20752&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py Tue Apr 22 16:03:14 2008
@@ -96,6 +96,30 @@
       'type'        : 'string',
       'preference'  : 1,
       'mode'        : 'w' },
+    { 'id'          : 'preferred_nano_image_height',
+      'description' : 'The height for nano image. The unit is the pixel',
+      'type'        : 'int',
+      'default'     : 25,
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_nano_image_width',
+      'description' : 'The width for nano image. The unit is the pixel',
+      'type'        : 'int',
+      'default'     : 25,
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_micro_image_height',
+      'description' : 'The height for micro image. The unit is the pixel',
+      'type'        : 'int',
+      'default'     : 64,
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_micro_image_width',
+      'description' : 'The width for micro image. The unit is the pixel',
+      'type'        : 'int',
+      'default'     : 64,
+      'preference'  : 1,
+      'mode'        : 'w' },
     { 'id'          : 'preferred_thumbnail_image_height',
       'description' : 'The height for thumbnail image.The unit is the pixel',
       'type'        : 'int',




More information about the Erp5-report mailing list