From 442079ea0551145690a8df145efb6b6efd6f925f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Ra=C3=B1a?= Date: Thu, 23 Dec 2010 22:51:05 +0100 Subject: [PATCH] Feature #2479 Enable button bars expanded by default and reduce the number of buttons on the simple --- main/install/db_main.sql | 2 +- main/install/migrate-db-1.8.7-1.8.8-pre.sql | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main/install/db_main.sql b/main/install/db_main.sql index 28eacc50d6..d14081b229 100755 --- a/main/install/db_main.sql +++ b/main/install/db_main.sql @@ -752,7 +752,7 @@ VALUES ('math_asciimathML',NULL,'radio','Editor','false','MathASCIImathMLTitle','MathASCIImathMLComment',NULL,NULL, 0), ('youtube_for_students',NULL,'radio','Editor','true','YoutubeForStudentsTitle','YoutubeForStudentsComment',NULL,NULL, 0), ('block_copy_paste_for_students',NULL,'radio','Editor','false','BlockCopyPasteForStudentsTitle','BlockCopyPasteForStudentsComment',NULL,NULL, 0), -('more_buttons_maximized_mode',NULL,'radio','Editor','false','MoreButtonsForMaximizedModeTitle','MoreButtonsForMaximizedModeComment',NULL,NULL, 0), +('more_buttons_maximized_mode',NULL,'radio','Editor','true','MoreButtonsForMaximizedModeTitle','MoreButtonsForMaximizedModeComment',NULL,NULL, 0), ('students_download_folders',NULL,'radio','Tools','true','AllowStudentsDownloadFoldersTitle','AllowStudentsDownloadFoldersComment',NULL,NULL, 0), ('users_copy_files',NULL,'radio','Tools','true','AllowUsersCopyFilesTitle','AllowUsersCopyFilesComment',NULL,NULL, 1), ('show_tabs', 'social', 'checkbox', 'Platform', 'true', 'ShowTabsTitle','ShowTabsComment',NULL,'TabsSocial', 0), diff --git a/main/install/migrate-db-1.8.7-1.8.8-pre.sql b/main/install/migrate-db-1.8.7-1.8.8-pre.sql index ca021a6bf7..d48b7a6376 100755 --- a/main/install/migrate-db-1.8.7-1.8.8-pre.sql +++ b/main/install/migrate-db-1.8.7-1.8.8-pre.sql @@ -84,6 +84,8 @@ INSERT INTO settings_current (variable, subkey, type, category, selected_value, ALTER TABLE personal_agenda ADD PRIMARY KEY (id); +UPDATE settings_current SET selected_value='1' WHERE variable='more_buttons_maximized_mode'; + -- xxSTATSxx ALTER TABLE track_e_exercices ADD COLUMN orig_lp_item_view_id INT NOT NULL DEFAULT 0; -- xxUSERxx