Index: trunk/core/units/themes/themes_config.php =================================================================== diff -u -N -r8069 -r8071 --- trunk/core/units/themes/themes_config.php (.../themes_config.php) (revision 8069) +++ trunk/core/units/themes/themes_config.php (.../themes_config.php) (revision 8071) @@ -59,12 +59,12 @@ ), 'Fields' => Array( 'ThemeId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), - 'Name' => Array('type' => 'string','not_null' => '1','default' => ''), + 'Name' => Array('type' => 'string','not_null' => 1, 'required' => 1, 'default' => ''), 'Enabled' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1=>'la_Enabled', 0=>'la_Disabled'), 'use_phrases'=>1, 'not_null' => 1, 'default' => 1), 'Description' => Array('type' => 'string','default' => null), 'PrimaryTheme' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), 'CacheTimeout' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), - 'StylesheetId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), + 'StylesheetId' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'Stylesheets', 'option_key_field' => 'StylesheetId', 'option_title_field' => 'Name', 'not_null' => 1, 'default' => 0), ), 'Grids' => Array(