added high-level "macro" classes for modules to use to install menu entries

This commit is contained in:
Eric J. Bowersox
2003-06-21 03:24:42 +00:00
parent 5ef3ea1681
commit 386f2a1fb6
6 changed files with 262 additions and 0 deletions

View File

@@ -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'),