Index: trunk/core/units/categories/categories_config.php =================================================================== diff -u -N -r5173 -r5185 --- trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 5173) +++ trunk/core/units/categories/categories_config.php (.../categories_config.php) (revision 5185) @@ -64,6 +64,8 @@ 'tree_site' => Array('format' => '!la_selecting_categories!'), ), + 'PermItemPrefix' => 'CATEGORY', + 'PermSection' => Array('main' => 'CATEGORY:in-portal:categories', /*'search' => 'in-portal:configuration_search',*/ 'email' => 'in-portal:configuration_email', 'custom' => 'in-portal:configuration_custom'), 'Sections' => Array( @@ -208,10 +210,10 @@ 'CategoryId' => Array('type' => 'int','not_null' => 1,'default' => ''), 'Type' => Array('type' => 'int','not_null' => 1,'default' => 0), 'ParentId' => Array('type' => 'int','not_null' => 1,'default' => 0), - 'Name' => Array('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), + 'Name' => Array('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'required' => 1, 'default' => ''), 'Filename' => Array('type' => 'string', 'not_null' => 1, 'default' => ''), 'AutomaticFilename' => Array('type' => 'int', 'not_null' => 1, 'default' => 1), - 'Description' => Array('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), + 'Description' => Array('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'required' => 1, 'default' => ''), 'CreatedOn' => Array('formatter' => 'kDateFormatter', 'default'=>'#NOW#', 'required' => 1, 'not_null' => 1), 'EditorsPick' => 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),