|
|
@@ -12,8 +12,6 @@ CREATE TABLE IF NOT EXISTS `bx_organizations_data` (
|
|
|
`org_name` varchar(255) NOT NULL,
|
|
|
`org_cat` int(11) NOT NULL,
|
|
|
`org_desc` text NOT NULL,
|
|
|
- `public_subscriptions` tinyint(4) NOT NULL DEFAULT '0',
|
|
|
- `public_subscribed_me` tinyint(4) NOT NULL DEFAULT '0',
|
|
|
`views` int(11) NOT NULL default '0',
|
|
|
`favorites` int(11) NOT NULL default '0',
|
|
|
`reports` int(11) NOT NULL default '0',
|
|
|
@@ -143,9 +141,7 @@ INSERT INTO `sys_form_inputs`(`object`, `module`, `name`, `value`, `values`, `ch
|
|
|
('bx_organization', 'bx_organizations', 'org_cat', '', '#!bx_organizations_cats', 0, 'select', '_bx_orgs_form_profile_input_sys_org_cat', '_bx_orgs_form_profile_input_org_cat', '', 1, 0, 0, '', '', '', 'avail', '', '_bx_orgs_form_profile_input_org_cat_err', 'Xss', '', 1, 1),
|
|
|
('bx_organization', 'bx_organizations', 'org_name', '', '', 0, 'text', '_bx_orgs_form_profile_input_sys_org_name', '_bx_orgs_form_profile_input_org_name', '', 1, 0, 0, '', '', '', 'avail', '', '_bx_orgs_form_profile_input_org_name_err', 'Xss', '', 1, 0),
|
|
|
('bx_organization', 'bx_organizations', 'cover', 'a:1:{i:0;s:27:"bx_organizations_cover_crop";}', 'a:1:{s:27:"bx_organizations_cover_crop";s:24:"_sys_uploader_crop_title";}', 0, 'files', '_bx_orgs_form_profile_input_sys_cover', '_bx_orgs_form_profile_input_cover', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
|
-('bx_organization', 'bx_organizations', 'picture', 'a:1:{i:0;s:29:"bx_organizations_picture_crop";}', 'a:1:{s:29:"bx_organizations_picture_crop";s:24:"_sys_uploader_crop_title";}', 0, 'files', '_bx_orgs_form_profile_input_sys_picture', '_bx_orgs_form_profile_input_picture', '', 0, 0, 0, '', '', '', '', '', '_bx_orgs_form_profile_input_picture_err', '', '', 1, 0),
|
|
|
-('bx_organization', 'bx_organizations', 'public_subscriptions', 1, '', 0, 'checkbox', '_bx_orgs_form_profile_input_sys_public_subscriptions', '_bx_orgs_form_profile_input_public_subscriptions', '', 0, 0, 0, '', '', '', '', '', '', 'Int', '', 1, 0),
|
|
|
-('bx_organization', 'bx_organizations', 'public_subscribed_me', 1, '', 0, 'checkbox', '_bx_orgs_form_profile_input_sys_public_subscribed_me', '_bx_orgs_form_profile_input_public_subscribed_me', '', 0, 0, 0, '', '', '', '', '', '', 'Int', '', 1, 0);
|
|
|
+('bx_organization', 'bx_organizations', 'picture', 'a:1:{i:0;s:29:"bx_organizations_picture_crop";}', 'a:1:{s:29:"bx_organizations_picture_crop";s:24:"_sys_uploader_crop_title";}', 0, 'files', '_bx_orgs_form_profile_input_sys_picture', '_bx_orgs_form_profile_input_picture', '', 0, 0, 0, '', '', '', '', '', '_bx_orgs_form_profile_input_picture_err', '', '', 1, 0);
|
|
|
|
|
|
|
|
|
INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for_levels`, `active`, `order`) VALUES
|
|
|
@@ -154,9 +150,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
|
|
|
('bx_organization_add', 'org_cat', 2147483647, 1, 3),
|
|
|
('bx_organization_add', 'org_desc', 2147483647, 1, 4),
|
|
|
('bx_organization_add', 'allow_view_to', 2147483647, 1, 5),
|
|
|
-('bx_organization_add', 'public_subscriptions', 2147483647, 1, 6),
|
|
|
-('bx_organization_add', 'public_subscribed_me', 2147483647, 1, 7),
|
|
|
-('bx_organization_add', 'do_submit', 2147483647, 1, 8),
|
|
|
+('bx_organization_add', 'do_submit', 2147483647, 1, 6),
|
|
|
|
|
|
('bx_organization_delete', 'picture', 2147483647, 0, 0),
|
|
|
('bx_organization_delete', 'delete_confirm', 2147483647, 1, 0),
|
|
|
@@ -170,9 +164,7 @@ INSERT INTO `sys_form_display_inputs`(`display_name`, `input_name`, `visible_for
|
|
|
('bx_organization_edit', 'org_cat', 2147483647, 1, 3),
|
|
|
('bx_organization_edit', 'org_desc', 2147483647, 1, 4),
|
|
|
('bx_organization_edit', 'allow_view_to', 2147483647, 1, 5),
|
|
|
-('bx_organization_edit', 'public_subscriptions', 2147483647, 1, 6),
|
|
|
-('bx_organization_edit', 'public_subscribed_me', 2147483647, 1, 7),
|
|
|
-('bx_organization_edit', 'do_submit', 2147483647, 1, 8),
|
|
|
+('bx_organization_edit', 'do_submit', 2147483647, 1, 6),
|
|
|
|
|
|
('bx_organization_edit_cover', 'delete_confirm', 2147483647, 0, 1),
|
|
|
('bx_organization_edit_cover', 'org_name', 2147483647, 0, 2),
|