@ -25,7 +25,6 @@ ALTER TABLE settings_options CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_
ALTER TABLE user MODIFY COLUMN username VARCHAR ( 40 ) NOT NULL ;
UPDATE settings_current SET variable = ' chamilo_database_version ' WHERE variable = ' dokeos_database_version ' ;
UPDATE settings_current SET selected_value = ' 1.8.8.13309 ' WHERE variable = ' chamilo_database_version ' ;
ALTER TABLE sys_announcement ADD COLUMN access_url_id INT NOT NULL default 1 ;
ALTER TABLE sys_calendar ADD COLUMN access_url_id INT NOT NULL default 1 ;
@ -87,7 +86,6 @@ INSERT INTO settings_options (variable, value, display_text) VALUES ('pdf_export
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' pdf_export_watermark_text ' , NULL , ' textfield ' , ' Platform ' , ' ' , ' PDFExportWatermarkTextTitle ' , ' PDFExportWatermarkTextComment ' , ' platform ' , NULL , 1 ) ;
ALTER TABLE personal_agenda ADD PRIMARY KEY ( id ) ;
UPDATE settings_current SET selected_value = ' 1 ' WHERE variable = ' more_buttons_maximized_mode ' ;
@ -119,6 +117,32 @@ INSERT INTO settings_current (variable, subkey, type, category, selected_value,
INSERT INTO settings_options ( variable , value , display_text ) VALUES ( ' enabled_text2audio ' , ' true ' , ' Yes ' ) ;
INSERT INTO settings_options ( variable , value , display_text ) VALUES ( ' enabled_text2audio ' , ' false ' , ' No ' ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' course_description ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' CourseDescription ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' calendar_event ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Agenda ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' document ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Documents ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' learnpath ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' LearningPath ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' link ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Links ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' announcement ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Announcements ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' forum ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Forums ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' dropbox ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Dropbox ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' quiz ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Quiz ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' user ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Users ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' group ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Groups ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' chat ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Chat ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' student_publication ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' StudentPublications ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' wiki ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Wiki ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' gradebook ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Gradebook ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' survey ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Survey ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' glossary ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Glossary ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' notebook ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Notebook ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' attendance ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Attendances ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' course_progress ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' CourseProgress ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' blog_management ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Blog ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' tracking ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Stats ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' course_maintenance ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' Maintenance ' , 1 ) ;
INSERT INTO settings_current ( variable , subkey , type , category , selected_value , title , comment , scope , subkeytext , access_url_changeable ) VALUES ( ' course_hide_tools ' , ' course_setting ' , ' checkbox ' , ' Tools ' , ' false ' , ' CourseHideToolsTitle ' , ' CourseHideToolsComment ' , NULL , ' CourseSettings ' , 1 ) ;
UPDATE settings_current SET selected_value = ' 1.8.8.13330 ' WHERE variable = ' chamilo_database_version ' ;
-- xxSTATSxx
ALTER TABLE track_e_exercices ADD COLUMN orig_lp_item_view_id INT NOT NULL DEFAULT 0 ;