Index: branches/unlabeled/unlabeled-1.10.2/core/units/custom_fields/custom_fields_config.php =================================================================== diff -u -r5727 -r5856 --- branches/unlabeled/unlabeled-1.10.2/core/units/custom_fields/custom_fields_config.php (.../custom_fields_config.php) (revision 5727) +++ branches/unlabeled/unlabeled-1.10.2/core/units/custom_fields/custom_fields_config.php (.../custom_fields_config.php) (revision 5856) @@ -86,29 +86,41 @@ 'IsSystem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'not_null' => '1', 'default' => '0'), ), 'VirtualFields' => Array( - 'Value' => Array('type' => 'string', 'default' => ''), + 'Value' => Array('type' => 'string', 'default' => ''), + 'OriginalValue' => Array('type' => 'string', 'default' => ''), + ), 'Grids' => Array( - 'Default' => Array( + 'Default' => Array( 'Icons' => Array('default'=>'icon16_custom.gif'), 'Fields' => Array( 'CustomFieldId' => Array( 'title'=>'la_prompt_FieldId', 'data_block' => 'grid_checkbox_td' ), 'FieldName' => Array( 'title'=>'la_prompt_FieldName'), 'FieldLabel' => Array( 'title'=>'la_prompt_FieldLabel', 'data_block' => 'cf_grid_data_td' ), 'DisplayOrder' => Array('title' => 'la_prompt_DisplayOrder'), ), - - ), - 'SeparateTab' => Array( + ), + + 'SeparateTab' => Array( 'Icons' => Array('default'=>'icon16_custom.gif'), 'Fields' => Array( 'FieldName' => Array( 'title'=>'la_col_FieldName', 'data_block' => 'grid_icon_td'), - 'Prompt' => Array( 'title'=>'la_col_Prompt', 'data_block' => 'grid_data_label_ml_td' ), + 'Prompt' => Array( 'title'=>'la_col_Prompt', 'data_block' => 'grid_data_label_ml_td', 'ElementTypeField' => 'ElementType'), 'Value' => Array( 'title'=>'la_col_Value', 'data_block' => 'edit_custom_td'), ), - ), - + ), + + 'SeparateTabOriginal' => Array( + 'Icons' => Array('default'=>'icon16_custom.gif'), + 'Fields' => Array( + 'FieldName' => Array( 'title'=>'la_col_FieldName', 'data_block' => 'grid_icon_td'), + 'Prompt' => Array( 'title'=>'la_col_Prompt', 'data_block' => 'grid_data_label_ml_td', 'ElementTypeField' => 'ElementType'), + 'Value' => Array( 'title'=>'la_col_Value', 'data_block' => 'edit_custom_td'), + 'OriginalValue' => Array( 'title'=>'la_col_OriginalValue', 'data_block' => 'grid_original_td'), + ), + ), + ), );