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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 16 10:48:03 CEST 2007


Author: jerome
Date: Thu Aug 16 10:48:03 2007
New Revision: 15692

URL: http://svn.erp5.org?rev=15692&view=rev
Log:
Added some preferences to configure some parts of the user interface (string
fields width, number of lines in listbox ...)


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=15692&r1=15691&r2=15692&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py Thu Aug 16 10:48:03 2007
@@ -56,4 +56,34 @@
       'preference'  : 1,
       'default'     : 'http://www.erp5.com/erp5_help/',
       'mode'        : 'w' },
+    { 'id'          : 'preferred_string_field_width',
+      'description' : 'The default width of string fields',
+      'type'        : 'string',
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_textarea_width',
+      'description' : 'The default width of text area fields',
+      'type'        : 'string',
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_textarea_height',
+      'description' : 'The default height of text area fields',
+      'type'        : 'string',
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_listbox_view_mode_line_count',
+      'description' : 'Number of lines in a listbox in view mode',
+      'type'        : 'int',
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_listbox_list_mode_line_count',
+      'description' : 'Number of lines in a listbox in list mode',
+      'type'        : 'int',
+      'preference'  : 1,
+      'mode'        : 'w' },
+    { 'id'          : 'preferred_category_child_item_list_method_id',
+      'description' : 'The method used to list categories in ListFields',
+      'type'        : 'string',
+      'preference'  : 1,
+      'mode'        : 'w' },
   )




More information about the Erp5-report mailing list