added the global "enable use of categories" flag
This commit is contained in:
@@ -338,7 +338,8 @@ INSERT INTO namespaces (nsid, namespace) VALUES
|
||||
(12, 'http://www.silverwrist.com/NS/venice/2003/01/03/system.mail.messages' ),
|
||||
(13, 'http://www.silverwrist.com/NS/venice/2003/05/24/system.permissions' ),
|
||||
(14, 'http://www.silverwrist.com/NS/venice/2003/05/28/community.permissions'),
|
||||
(15, 'http://www.silverwrist.com/NS/venice/2003/05/29/community.profile' );
|
||||
(15, 'http://www.silverwrist.com/NS/venice/2003/05/29/community.profile' ),
|
||||
(16, 'http://www.silverwrist.com/NS/venice/2003/05/30/community.globals' );
|
||||
|
||||
# Initial global properties setup
|
||||
INSERT INTO globalprop (nsid, prop_name, prop_value) VALUES
|
||||
@@ -419,7 +420,8 @@ INSERT INTO globalprop (nsid, prop_name, prop_value) VALUES
|
||||
(12, 'reminder.message.title', '!Venice Password Reminder Message' ),
|
||||
(15, 'rules', '!Please treat one another with courtesy and respect.'),
|
||||
(15, 'language', '_LANG:en-US' ),
|
||||
(15, 'country', '_CTRY:US' );
|
||||
(15, 'country', '_CTRY:US' ),
|
||||
(16, 'options', '_OS:A' );
|
||||
|
||||
# Initial global blocks setup
|
||||
INSERT INTO globalblock (nsid, block_name, block) VALUES
|
||||
@@ -1129,7 +1131,10 @@ INSERT INTO menuitems (menuid, sequence, itemtype, text, linktype, link, perm_ns
|
||||
# Create the find submenu. (ID #4)
|
||||
INSERT INTO menus (menuid, menu_nsid, menu_name, title, subtitle)
|
||||
VALUES (4, 6, 'find.menu', 'Find', NULL);
|
||||
INSERT INTO menuvars (menuid, var_name, default_val)
|
||||
VALUES (4, 'use_categories', NULL);
|
||||
INSERT INTO menuitems (menuid, sequence, itemtype, text, linktype, link) VALUES
|
||||
(4, 0, 'TEXT', 'Communities', 'SERVLET', 'find_communities.js.vs'),
|
||||
(4, 1, 'TEXT', 'Users', 'SERVLET', 'find_users.js.vs' ),
|
||||
(4, 2, 'TEXT', 'Categories', 'SERVLET', 'find_categories.js.vs' );
|
||||
UPDATE menuitems SET ifdef_var = 'use_categories' WHERE menuid = 4 AND sequence = 2;
|
||||
|
||||
Reference in New Issue
Block a user