Index: branches/RC/core/units/phrases/phrases_config.php =================================================================== diff -u -N -r11612 -r11623 --- branches/RC/core/units/phrases/phrases_config.php (.../phrases_config.php) (revision 11612) +++ branches/RC/core/units/phrases/phrases_config.php (.../phrases_config.php) (revision 11623) @@ -81,6 +81,21 @@ ) ), + 'Sections' => Array ( + // "Phrases" + 'in-portal:phrases' => Array ( + 'parent' => 'in-portal:site', + 'icon' => 'core:settings_general', + 'label' => 'la_title_Phrases', + 'url' => Array ('t' => 'languages/phrase_list', 'pass' => 'm'), + 'permissions' => Array ('view', 'add', 'edit', 'delete'), +// 'perm_prefix' => 'lang', + 'priority' => 5, +// 'show_mode' => smSUPER_ADMIN, + 'type' => stTREE, + ), + ), + 'TableName' => TABLE_PREFIX . 'Phrase', 'CalculatedFields' => Array ( @@ -133,7 +148,11 @@ 'LastChanged' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'not_null' => 1, 'default' => 0), 'LastChangeIP' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), - 'Module' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options'=>Array ('' => ''), 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Modules WHERE Loaded = 1 ORDER BY LoadOrder', 'option_key_field' => 'Name', 'option_title_field' => 'Name', 'not_null' => 1, 'default' => 'In-Portal'), + 'Module' => Array ( + 'type' => 'string', + 'formatter' => 'kOptionsFormatter', 'options'=>Array ('' => ''), 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Modules WHERE Loaded = 1 ORDER BY LoadOrder', 'option_key_field' => 'Name', 'option_title_field' => 'Name', + 'not_null' => 1, 'default' => 'In-Portal' + ), ), 'VirtualFields' => Array (