Index: trunk/kernel/units/selectors/selectors_config.php =================================================================== diff -u -r1566 -r2015 --- trunk/kernel/units/selectors/selectors_config.php (.../selectors_config.php) (revision 1566) +++ trunk/kernel/units/selectors/selectors_config.php (.../selectors_config.php) (revision 2015) @@ -1,6 +1,4 @@ 'selectors', @@ -61,8 +59,8 @@ 'AutoDelete' => true, 'AutoClone' => true, - 'Constrain' => 'Type = '.STYLE_BASE, - 'SubItems' => Array('SAME: Type='.STYLE_BLOCK), + 'Constrain' => 'Type = 1', + 'SubItems' => Array('SAME: Type=2'), 'ForeignKey1' => 'ParentId', 'ListSQLs' => Array( ''=>' SELECT %1$s.* @@ -82,7 +80,7 @@ 'SelectorName' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1), 'SelectorData' => Array('not_null' => '1','default' => ''), 'Description' => Array('type' => 'string','not_null' => '1','default' => ''), - 'Type' => Array('type' => 'int', 'formatter'=>'kOptionsFormatter', 'options'=>Array( STYLE_BASE => 'la_BaseSelectors', STYLE_BLOCK => 'la_BlockSelectors'), 'use_phrases' => 1, 'not_null' => '1','default' => '0'), + 'Type' => Array('type' => 'int', 'formatter'=>'kOptionsFormatter', 'options'=>Array( 1 => 'la_BaseSelectors', 2 => 'la_BlockSelectors'), 'use_phrases' => 1, 'not_null' => '1','default' => '0'), 'AdvancedCSS' => Array('type' => 'string','not_null' => '1','default' => ''), 'ParentId' => Array('type' => 'int', 'formatter'=>'kOptionsFormatter', 'options'=>Array(0=>''), 'not_null' => '1','default' => '0'), ),