Index: branches/1.1.x/units/widgets/widgets_config.php =================================================================== diff -u -N -r13093 -r13153 --- branches/1.1.x/units/widgets/widgets_config.php (.../widgets_config.php) (revision 13093) +++ branches/1.1.x/units/widgets/widgets_config.php (.../widgets_config.php) (revision 13153) @@ -22,10 +22,11 @@ 'AutoLoad' => true, 'QueryString' => Array ( - 1 => 'id', - 2 => 'Page', - 3 => 'event', - 4 => 'mode', + 1 => 'id', + 2 => 'Page', + 3 => 'PerPage', + 4 => 'event', + 5 => 'mode', ), 'RewriteListener' => 'WidgetRewriteListener', @@ -43,7 +44,7 @@ 'AutoDelete' => true, // delete these items when parent is being deleted 'AutoClone' => true, // clone these items when parent is being cloned */ - + // used to build editing links in admin grids 'AdminTemplatePath' => 'widgets', 'AdminTemplatePrefix' => 'widget_', @@ -65,9 +66,9 @@ 'toolbar_buttons' => Array ('select', 'cancel', 'reset_edit', 'prev', 'next'), ), ), - - + + 'PermSection' => Array('main' => 'custom:widgets'), 'Sections' => Array ( @@ -101,8 +102,8 @@ 'Sorting' => Array ('Title' => 'asc'), ) ), - - 'VirtualFields' => Array ( + + 'VirtualFields' => Array ( 'VirtualActionField' => Array ('type' => 'string', 'default' => ''), ), @@ -179,7 +180,7 @@ // 'Icons' => Array ('default' => 'icon16_custom.gif'), 'Fields' => Array ( 'WidgetId' => Array ('title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'), - 'Title' => Array ('title' => 'la_col_Name', 'data_block' => 'grid_custom_td'), + 'Title' => Array ('title' => 'la_col_Name', 'data_block' => 'grid_custom_td'), 'Image' => Array ('title' => 'la_col_Image', 'data_block' => 'grid_image_td'), 'Type' => Array ('title' => 'la_col_Type', 'filter_block' => 'grid_options_filter'), 'Status' => Array ('title' => 'la_col_Status', 'filter_block' => 'grid_options_filter'),