added high-level "macro" classes for modules to use to install menu entries
This commit is contained in:
@@ -1465,6 +1465,17 @@ INSERT INTO menuitems (menuid, sequence, itemtype, text, linktype, link, perm_ns
|
||||
(9, 65000, 'MARKER', 'end-module-sysadmin', NULL, NULL, NULL,
|
||||
NULL );
|
||||
|
||||
# Create the community service admin menu. (ID #10)
|
||||
INSERT INTO menus (menuid, menu_nsid, menu_name, title, subtitle)
|
||||
VALUES (10, 16, 'community.admin.service', 'Manage Community Services:', '${name}');
|
||||
INSERT INTO menuvars (menuid, var_name, default_val) VALUES
|
||||
(10, 'name', NULL),
|
||||
(10, 'cid', NULL);
|
||||
INSERT INTO menuitems (menuid, sequence, itemtype, text, linktype, link, perm_nsid, perm_name) VALUES
|
||||
(10, 0, 'TEXT', 'Return to Previous Menu', 'SERVLET', 'comm/admin/main.js?cc=${cid}', NULL, NULL),
|
||||
(10, 100, 'MARKER', 'begin-service-admin', NULL, NULL, NULL, NULL),
|
||||
(10, 65000, 'MARKER', 'end-service-admin', NULL, NULL, NULL, NULL);
|
||||
|
||||
# Create the sideboxes tables.
|
||||
INSERT INTO sbox_master (sbid, sb_nsid, sb_name, type_nsid, type_name, descr) VALUES
|
||||
(1, 19, 'community.list', 19, 'community.list', 'Community Membership List'),
|
||||
|
||||
Reference in New Issue
Block a user