|
@@ -1,13 +1,6 @@
|
|
|
SET @sName = 'bx_acl';
|
|
SET @sName = 'bx_acl';
|
|
|
|
|
|
|
|
|
|
|
|
|
--- PAGE: module administration
|
|
|
|
|
-INSERT INTO `sys_objects_page`(`object`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `uri`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
|
|
|
|
|
-('bx_acl_administration', '_bx_acl_page_title_sys_administration', '_bx_acl_page_title_administration', @sName, 5, 192, 1, 'acl-administration', 'page.php?i=acl-administration', '', '', '', 0, 1, 0, '', '');
|
|
|
|
|
-
|
|
|
|
|
-INSERT INTO `sys_pages_blocks`(`object`, `cell_id`, `module`, `title_system`, `title`, `designbox_id`, `visible_for_levels`, `type`, `content`, `deletable`, `copyable`, `order`) VALUES
|
|
|
|
|
-('bx_acl_administration', 1, @sName, '_bx_acl_page_block_title_system_administration', '_bx_acl_page_block_title_administration', 11, 192, 'service', 'a:2:{s:6:\"module\";s:6:\"bx_acl\";s:6:\"method\";s:24:\"get_block_administration\";}', 0, 1, 0);
|
|
|
|
|
-
|
|
|
|
|
-- PAGE: view levels
|
|
-- PAGE: view levels
|
|
|
INSERT INTO `sys_objects_page`(`object`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `uri`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
|
|
INSERT INTO `sys_objects_page`(`object`, `title_system`, `title`, `module`, `layout_id`, `visible_for_levels`, `visible_for_levels_editable`, `uri`, `url`, `meta_description`, `meta_keywords`, `meta_robots`, `cache_lifetime`, `cache_editable`, `deletable`, `override_class_name`, `override_class_file`) VALUES
|
|
|
('bx_acl_view', '_bx_acl_page_title_sys_view', '_bx_acl_page_title_view', @sName, 5, 2147483647, 1, 'acl-view', 'page.php?i=acl-view', '', '', '', 0, 1, 0, '', '');
|
|
('bx_acl_view', '_bx_acl_page_title_sys_view', '_bx_acl_page_title_view', @sName, 5, 2147483647, 1, 'acl-view', 'page.php?i=acl-view', '', '', '', 0, 1, 0, '', '');
|
|
@@ -23,17 +16,17 @@ INSERT INTO `sys_menu_items` (`set_name`, `module`, `name`, `title_system`, `tit
|
|
|
|
|
|
|
|
|
|
|
|
|
-- SETTINGS
|
|
-- SETTINGS
|
|
|
-SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
|
|
|
|
|
-INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES
|
|
|
|
|
-('modules', @sName, '_bx_acl', 'bx_acl@modules/boonex/acl/|std-mi.png', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
|
|
|
|
|
-SET @iTypeId = LAST_INSERT_ID();
|
|
|
|
|
|
|
+-- SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
|
|
|
|
|
+-- INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES
|
|
|
|
|
+-- ('modules', @sName, '_bx_acl', 'bx_acl@modules/boonex/acl/|std-mi.png', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + 1));
|
|
|
|
|
+-- SET @iTypeId = LAST_INSERT_ID();
|
|
|
|
|
|
|
|
-INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `order`)
|
|
|
|
|
-VALUES (@iTypeId, @sName, '_bx_acl', 1);
|
|
|
|
|
-SET @iCategId = LAST_INSERT_ID();
|
|
|
|
|
|
|
+-- INSERT INTO `sys_options_categories` (`type_id`, `name`, `caption`, `order`)
|
|
|
|
|
+-- VALUES (@iTypeId, @sName, '_bx_acl', 1);
|
|
|
|
|
+-- SET @iCategId = LAST_INSERT_ID();
|
|
|
|
|
|
|
|
---INSERT INTO `sys_options` (`name`, `value`, `category_id`, `caption`, `type`, `check`, `check_error`, `extra`, `order`) VALUES
|
|
|
|
|
---('bx_acl_remove_expired_for', '30', @iCategId, '_bx_acl_option_remove_expired_for', 'digit', '', '', '', 3);
|
|
|
|
|
|
|
+-- INSERT INTO `sys_options` (`name`, `value`, `category_id`, `caption`, `type`, `check`, `check_error`, `extra`, `order`) VALUES
|
|
|
|
|
+-- ('bx_acl_remove_expired_for', '30', @iCategId, '_bx_acl_option_remove_expired_for', 'digit', '', '', '', 3);
|
|
|
|
|
|
|
|
|
|
|
|
|
-- ALERTS
|
|
-- ALERTS
|