Commit 529242ec authored by Jérome Perrin's avatar Jérome Perrin

Added some preferences to configure some parts of the user interface (string

fields width, number of lines in listbox ...)



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15692 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 27abdc2b
...@@ -56,4 +56,34 @@ class HtmlStylePreference: ...@@ -56,4 +56,34 @@ class HtmlStylePreference:
'preference' : 1, 'preference' : 1,
'default' : 'http://www.erp5.com/erp5_help/', 'default' : 'http://www.erp5.com/erp5_help/',
'mode' : 'w' }, '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' },
) )
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