Index: branches/5.3.x/core/units/promo_blocks/promo_blocks_config.php =================================================================== diff -u -N -r15483 -r15659 --- branches/5.3.x/core/units/promo_blocks/promo_blocks_config.php (.../promo_blocks_config.php) (revision 15483) +++ branches/5.3.x/core/units/promo_blocks/promo_blocks_config.php (.../promo_blocks_config.php) (revision 15659) @@ -35,7 +35,7 @@ 'promo_block_edit' => Array ('prefixes' => Array ('promo-block'), 'format' => "#promo-block_status# '#promo-block_titlefield#'"), ), - 'PermSection' => Array('main' => 'in-portal:promo_block_groups'), + 'PermSection' => Array ('main' => 'in-portal:promo_block_groups'), 'CalculatedFields' => Array ( '' => Array ( @@ -44,7 +44,8 @@ ), 'ListSQLs' => Array ( - '' => ' SELECT %1$s.* %2$s FROM %1$s', + '' => ' SELECT %1$s.* %2$s + FROM %1$s', ), 'ListSortings' => Array ( @@ -73,7 +74,7 @@ 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1, ), - 'Priority' => Array( + 'Priority' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'not_null' => 1, 'required' => 1, 'default' => 0 @@ -83,10 +84,10 @@ 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0, ), - /*'CSSClassName' => Array( + /*'CSSClassName' => Array ( 'type' => 'string', 'formatter' => 'kOptionsFormatter', - 'options' => Array('promo-orange' => 'Orange', 'promo-green' => 'Green', 'promo-blue' => 'Blue'), + 'options' => Array ('promo-orange' => 'Orange', 'promo-green' => 'Green', 'promo-blue' => 'Blue'), 'not_null' => 1, 'default' => '', ),*/ 'LinkType' => Array ( @@ -95,7 +96,7 @@ 'not_null' => 1, 'required' => 1, 'default' => 1, ), 'CategoryId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'default' => NULL), - 'ExternalLink' => Array('type' => 'string', 'not_null' => 1, 'default' => ''), + 'ExternalLink' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), 'OpenInNewWindow' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, @@ -118,8 +119,8 @@ 'Html' => Array ('type' => 'string', 'formatter' => 'kMultiLanguage', 'db_type' => 'text', 'using_fck' => 1, 'default' => null), ), - 'VirtualFields' => Array( - 'ConversionPercent' => Array('type' => 'float', 'formatter' => 'kFormatter', 'format' => '%.0f', 'default' => NULL), + 'VirtualFields' => Array ( + 'ConversionPercent' => Array ('type' => 'float', 'formatter' => 'kFormatter', 'format' => '%.0f', 'default' => NULL), ), 'Grids' => Array ( @@ -143,4 +144,4 @@ ), ), ), -); +); \ No newline at end of file