Index: trunk/core/units/categories/categories_config.php =================================================================== diff -u -N -r5096 -r5102 --- trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 5096) +++ trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 5102) @@ -50,11 +50,11 @@ 'catalog' => Array('prefixes' => Array('c_List'), 'format' => "!la_title_Categories! (#c_recordcount#)"), - 'categories_edit' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_General!"), - - 'category_items'=> Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Items!"), + 'categories_edit' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_General!"), + 'categories_properties' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Properties!"), + 'categories_custom' => Array('prefixes' => Array('c'), 'format' => "#c_status# '#c_titlefield#' - !la_title_Custom!"), - 'tree_site' => Array('format' => '!la_selecting_categories!'), + 'tree_site' => Array('format' => '!la_selecting_categories!'), ), 'PermSection' => Array('main' => 'CATEGORY:in-portal:categories', /*'search' => 'in-portal:configuration_search',*/ 'email' => 'in-portal:configuration_email', 'custom' => 'in-portal:configuration_custom'), @@ -206,7 +206,7 @@ 'Description' => Array('type' => 'string','not_null' => '1','default' => ''), 'CreatedOn' => Array('formatter' => 'kDateFormatter', 'default'=>'#NOW#', 'not_null' => '1'), 'EditorsPick' => Array('type' => 'int','default' => ''), - 'Status' => Array('type' => 'int','not_null' => '1','default' => '0'), + 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array ( 1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'not_null' => '1','default' => 2), 'Pop' => Array('type' => 'int','default' => ''), 'Priority' => Array('type' => 'int', 'not_null' => 1, 'default' => ''), 'MetaKeywords' => Array('type' => 'string','default' => ''), @@ -217,9 +217,9 @@ 'ParentPath' => Array('type' => 'string','not_null' => '1','default' => ''), 'NamedParentPath' => Array('type' => 'string','not_null' => '1','default' => ''), 'MetaDescription' => Array('type' => 'string','default' => ''), - 'HotItem' => Array('type' => 'int','not_null' => '1','default' => '2'), - 'NewItem' => Array('type' => 'int','not_null' => '1','default' => '2'), - 'PopItem' => Array('type' => 'int','not_null' => '1','default' => '2'), + 'HotItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2), + 'NewItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2), + 'PopItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => '1', 'default' => 2), 'Modified' => Array('type' => 'int','not_null' => '1','default' => '0'), 'ModifiedById' => Array('type' => 'int','not_null' => '1','default' => '0'), 'CategoryTemplate' => Array('type' => 'string','not_null' => '1','default' => ''),