implemented the first baby steps of "Find"...a "Find Categories" function
This commit is contained in:
@@ -164,7 +164,7 @@
|
||||
|
||||
<object name="venice-auditor" classname="com.silverwrist.venice.app.StartupShutdownAuditor" priority="100"/>
|
||||
|
||||
<object name="categories" classname="com.silverwrist.venice.community.CategoryManager" priority="100"/>
|
||||
<object name="categories" classname="com.silverwrist.venice.community.CategoryManager" priority="100">
|
||||
<database connection="data"/>
|
||||
</object>
|
||||
|
||||
|
||||
@@ -323,6 +323,8 @@ INSERT INTO globalprop (nsid, prop_name, prop_value) VALUES
|
||||
(6, 'subdir.buttons', '!buttons/classic' ),
|
||||
(6, 'std.button.width', 'I80' ),
|
||||
(6, 'std.button.height', 'I24' ),
|
||||
(6, 'bn.0transparent', '!transparent.gif' ),
|
||||
(6, 'bnc.0transparent', '!' ),
|
||||
(6, 'bn.cancel', '!cancel.jpg' ),
|
||||
(6, 'bnc.cancel', '!Cancel' ),
|
||||
(6, 'bn.configure', '!configure.jpg' ),
|
||||
@@ -335,10 +337,16 @@ INSERT INTO globalprop (nsid, prop_name, prop_value) VALUES
|
||||
(6, 'bnc.i.decline', '!I Decline' ),
|
||||
(6, 'bn.login', '!login.jpg' ),
|
||||
(6, 'bnc.login', '!Log In' ),
|
||||
(6, 'bn.next', '!arrow_next.jpg' ),
|
||||
(6, 'bnc.next', '!Next' ),
|
||||
(6, 'bn.ok', '!ok.jpg' ),
|
||||
(6, 'bnc.ok', '!OK' ),
|
||||
(6, 'bn.previous', '!arrow_previous.jpg' ),
|
||||
(6, 'bnc.previous', '!Previous' ),
|
||||
(6, 'bn.reminder', '!reminder.jpg' ),
|
||||
(6, 'bnc.reminder', '!Reminder' ),
|
||||
(6, 'bn.search', '!search.jpg' ),
|
||||
(6, 'bnc.search', '!Search' ),
|
||||
(6, 'bn.send.again', '!send_again.jpg' ),
|
||||
(6, 'bnc.send.again', '!Send Again' ),
|
||||
(6, 'bn.send.email', '!send_email.jpg' ),
|
||||
@@ -359,6 +367,7 @@ INSERT INTO globalprop (nsid, prop_name, prop_value) VALUES
|
||||
(10, 'timezone', '_TZ:UTC' ),
|
||||
(10, 'locale', '_LOC:en_US' ),
|
||||
(10, 'admin.flags', '_OS:' ),
|
||||
(10, 'search.result.count', 'I20' ),
|
||||
(11, 'privacy', '_OS:' ),
|
||||
(12, 'confirm.message.title', '!Venice E-Mail Confirmation' ),
|
||||
(12, 'password.change.message.title', '!Venice Password Changed' ),
|
||||
@@ -462,16 +471,17 @@ INSERT INTO users (uid, username, email, is_anon, nospam, created) VALUES
|
||||
|
||||
# Set up properties for Anonymous_Honyak.
|
||||
INSERT INTO userprop (uid, nsid, prop_name, prop_value) VALUES
|
||||
(1, 10, 'timezone', '_TZ:UTC' ),
|
||||
(1, 10, 'locale', '_LOC:en_US'),
|
||||
(1, 10, 'admin.flags', '_OS:A' ),
|
||||
(1, 11, 'privacy', '_OS:' ),
|
||||
(1, 11, 'name.given', '!Anonymous'),
|
||||
(1, 11, 'name.family', '!Honyak' ),
|
||||
(1, 11, 'locality', '!Nowhere' ),
|
||||
(1, 11, 'region', '!XX' ),
|
||||
(1, 11, 'postal.code', '!00000' ),
|
||||
(1, 11, 'country', '_CTRY:US' );
|
||||
(1, 10, 'timezone', '_TZ:UTC' ),
|
||||
(1, 10, 'locale', '_LOC:en_US'),
|
||||
(1, 10, 'admin.flags', '_OS:A' ),
|
||||
(1, 10, 'search.result.count', 'I20' ),
|
||||
(1, 11, 'privacy', '_OS:' ),
|
||||
(1, 11, 'name.given', '!Anonymous'),
|
||||
(1, 11, 'name.family', '!Honyak' ),
|
||||
(1, 11, 'locality', '!Nowhere' ),
|
||||
(1, 11, 'region', '!XX' ),
|
||||
(1, 11, 'postal.code', '!00000' ),
|
||||
(1, 11, 'country', '_CTRY:US' );
|
||||
|
||||
# Add authentication for Administrator (no password by default)
|
||||
INSERT INTO userauth (uid, nsid, method, source_data, auth_data) VALUES
|
||||
@@ -479,16 +489,17 @@ INSERT INTO userauth (uid, nsid, method, source_data, auth_data) VALUES
|
||||
|
||||
# Set up properties for Administrator.
|
||||
INSERT INTO userprop (uid, nsid, prop_name, prop_value) VALUES
|
||||
(2, 10, 'timezone', '_TZ:UTC' ),
|
||||
(2, 10, 'locale', '_LOC:en_US' ),
|
||||
(2, 10, 'admin.flags', '_OS:' ),
|
||||
(2, 11, 'privacy', '_OS:' ),
|
||||
(2, 11, 'name.given', '!System' ),
|
||||
(2, 11, 'name.family', '!Administrator'),
|
||||
(2, 11, 'locality', '!Nowhere' ),
|
||||
(2, 11, 'region', '!XX' ),
|
||||
(2, 11, 'postal.code', '!00000' ),
|
||||
(2, 11, 'country', '_CTRY:US' );
|
||||
(2, 10, 'timezone', '_TZ:UTC' ),
|
||||
(2, 10, 'locale', '_LOC:en_US' ),
|
||||
(2, 10, 'admin.flags', '_OS:' ),
|
||||
(2, 10, 'search.result.count', 'I20' ),
|
||||
(2, 11, 'privacy', '_OS:' ),
|
||||
(2, 11, 'name.given', '!System' ),
|
||||
(2, 11, 'name.family', '!Administrator'),
|
||||
(2, 11, 'locality', '!Nowhere' ),
|
||||
(2, 11, 'region', '!XX' ),
|
||||
(2, 11, 'postal.code', '!00000' ),
|
||||
(2, 11, 'country', '_CTRY:US' );
|
||||
|
||||
# Create a group for site administrators.
|
||||
# (GID 1)
|
||||
@@ -985,3 +996,9 @@ INSERT INTO menuitems (menuid, sequence, itemtype, text, linktype, link, perm_ns
|
||||
'set.property'),
|
||||
(3, 5, 'TEXT', 'Edit Password Reminder E-Mail Message', 'SERVLET', 'sysadmin/pwremind_email.js.vs', 12,
|
||||
'set.property');
|
||||
|
||||
# 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 menuitems (menuid, sequence, itemtype, text, linktype, link) VALUES
|
||||
(4, 0, 'TEXT', 'Categories', 'SERVLET', 'find_categories.js.vs');
|
||||
|
||||
Reference in New Issue
Block a user