Index: branches/5.1.x/core/units/form_fields/form_fields_config.php =================================================================== diff -u -N -r12127 -r12657 --- branches/5.1.x/core/units/form_fields/form_fields_config.php (.../form_fields_config.php) (revision 12127) +++ branches/5.1.x/core/units/form_fields/form_fields_config.php (.../form_fields_config.php) (revision 12657) @@ -1,6 +1,6 @@ 'formflds', 'ItemClass' => Array('class'=>'kDBItem','file'=>'','build_event'=>'OnItemBuild'), 'ListClass' => Array('class'=>'kDBList','file'=>'','build_event'=>'OnListBuild'), @@ -62,7 +64,11 @@ 'FieldLabel' => Array('type' => 'string', 'required' => 1, 'default' => null), 'Heading' => Array('type' => 'string', 'default' => null), 'Prompt' => Array('type' => 'string', 'default' => null, 'required' => 1), - 'ElementType' => Array('required'=>'1', 'type'=>'string', 'not_null '=> 1, 'default'=>'', 'formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options'=>Array('' => 'la_EmptyValue', 'text' => 'la_type_text', 'select' => 'la_type_select', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_SingleCheckbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea', 'label' => 'la_type_label')), + 'ElementType' => Array( + 'type' => 'string', + 'formatter' => 'kOptionsFormatter', 'options' => Array ('' => 'la_EmptyValue', 'text' => 'la_type_text', 'select' => 'la_type_select', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_SingleCheckbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea', 'label' => 'la_type_label'), 'use_phrases' => 1, + 'required' => 1, 'not_null' => 1, 'default' => '', + ), 'ValueList' => Array('type' => 'string','default' => null), 'Priority' => Array('type' => 'int','not_null' => 1, 'default' => 0), 'IsSystem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), @@ -80,18 +86,16 @@ ), 'Grids' => Array( 'Default' => Array( - 'Icons' => Array('default'=>'icon16_custom.gif'), + 'Icons' => Array('default'=>'icon16_item.png'), 'Fields' => Array( - 'FormFieldId' => Array( 'title'=>'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), - 'FieldName' => Array( 'title'=>'la_prompt_FieldName', 'filter_block' => 'grid_like_filter'), - 'FieldLabel' => Array( 'title'=>'la_prompt_FieldLabel', 'data_block' => 'label_grid_data_td', 'filter_block' => 'grid_like_filter'), - 'Priority' => Array('title' => 'la_prompt_Priority', 'filter_block' => 'grid_range_filter'), + 'FormFieldId' => Array( 'title'=>'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60 ), + 'FieldName' => Array( 'title'=>'la_prompt_FieldName', 'filter_block' => 'grid_like_filter', 'width' => 100 ), + 'FieldLabel' => Array( 'title'=>'la_prompt_FieldLabel', 'data_block' => 'label_grid_data_td', 'filter_block' => 'grid_like_filter', 'width' => 150 ), + 'Priority' => Array('title' => 'la_prompt_Priority', 'filter_block' => 'grid_range_filter', 'width' => 80 ), 'ElementType' => Array('title' => 'la_prompt_ElementType', 'filter_block' => 'grid_options_filter'), 'Required' => Array('title' => 'la_prompt_Required', 'filter_block' => 'grid_options_filter'), - 'DisplayInGrid' => Array('title' => 'la_prompt_DisplayInGrid', 'filter_block' => 'grid_options_filter'), + 'DisplayInGrid' => Array('title' => 'la_prompt_DisplayInGrid', 'filter_block' => 'grid_options_filter', 'width' => 150 ), ), ), ), - ); - -?> \ No newline at end of file + ); \ No newline at end of file