Browse Source

Feature #2479
Enable button bars expanded by default and reduce the number of buttons on the simple

Juan Carlos Raña 14 years ago
parent
commit
442079ea05
2 changed files with 3 additions and 1 deletions
  1. 1 1
      main/install/db_main.sql
  2. 2 0
      main/install/migrate-db-1.8.7-1.8.8-pre.sql

+ 1 - 1
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),

+ 2 - 0
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