|
|
|
@ -751,7 +751,8 @@ VALUES |
|
|
|
|
('show_tabs', 'social', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsSocial', 0), |
|
|
|
|
('allow_students_to_create_groups_in_social',NULL,'radio','Tools','false','AllowStudentsToCreateGroupsInSocialTitle','AllowStudentsToCreateGroupsInSocialComment',NULL,NULL, 0), |
|
|
|
|
('allow_send_message_to_all_platform_users',NULL,'radio','Tools','false','AllowSendMessageToAllPlatformUsersTitle','AllowSendMessageToAllPlatformUsersComment',NULL,NULL, 0), |
|
|
|
|
('message_max_upload_filesize',NULL,'textfield','Tools','20971520','MessageMaxUploadFilesizeTitle','MessageMaxUploadFilesizeComment',NULL,NULL, 0); |
|
|
|
|
('message_max_upload_filesize',NULL,'textfield','Tools','20971520','MessageMaxUploadFilesizeTitle','MessageMaxUploadFilesizeComment',NULL,NULL, 0), |
|
|
|
|
('show_tabs', 'dashboard', 'checkbox', 'Platform', 'true', 'ShowTabsTitle', 'ShowTabsComment', NULL, 'TabsDashboard', 1); |
|
|
|
|
|
|
|
|
|
UNLOCK TABLES; |
|
|
|
|
/*!40000 ALTER TABLE settings_current ENABLE KEYS */; |
|
|
|
@ -2375,4 +2376,21 @@ CREATE TABLE IF NOT EXISTS message_attachment ( |
|
|
|
|
|
|
|
|
|
INSERT INTO user_field (field_type, field_variable, field_display_text, field_visible, field_changeable) values (10, 'tags','tags',0,0); |
|
|
|
|
INSERT INTO user_field (field_type, field_variable, field_display_text, field_visible, field_changeable) values (1, 'rssfeeds','RSS',0,0); |
|
|
|
|
INSERT INTO course_field (field_type, field_variable, field_display_text, field_default_value, field_visible, field_changeable) values (10, 'special_course','Special course', 'Yes', 1 , 1); |
|
|
|
|
INSERT INTO course_field (field_type, field_variable, field_display_text, field_default_value, field_visible, field_changeable) values (10, 'special_course','Special course', 'Yes', 1 , 1); |
|
|
|
|
|
|
|
|
|
-- |
|
|
|
|
-- Table structure for table block |
|
|
|
|
-- |
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS block ( |
|
|
|
|
id INT NOT NULL AUTO_INCREMENT, |
|
|
|
|
name VARCHAR(255) NULL, |
|
|
|
|
description TEXT NULL, |
|
|
|
|
path VARCHAR(255) NOT NULL, |
|
|
|
|
controller VARCHAR(100) NOT NULL, |
|
|
|
|
enable TINYINT(1) NOT NULL DEFAULT 1, |
|
|
|
|
PRIMARY KEY(id) |
|
|
|
|
); |
|
|
|
|
ALTER TABLE block ADD UNIQUE(path); |
|
|
|
|
|
|
|
|
|
INSERT INTO user_field(field_type, field_variable, field_display_text, field_visible, field_changeable) VALUES(1, 'dashboard', 'dashboard', 0, 0); |