Переглянути джерело

Set new values by default to settings - refs #8133

Angel Fernando Quiroz Campos 9 роки тому
батько
коміт
f840ca20ed

+ 1 - 1
src/Chamilo/CoreBundle/Settings/AttendanceSettingsSchema.php

@@ -21,7 +21,7 @@ class AttendanceSettingsSchema implements SchemaInterface
         $builder
             ->setDefaults(
                 array(
-                    'allow_delete_attendance' => 'false',
+                    'allow_delete_attendance' => 'true',
                 )
             )
             ->setAllowedTypes(

+ 2 - 2
src/Chamilo/CoreBundle/Settings/CourseSettingsSchema.php

@@ -79,9 +79,9 @@ class CourseSettingsSchema implements SchemaInterface
                     'course_creation_use_template' => '',
                     'hide_scorm_export_link' => 'false',
                     'hide_scorm_copy_link' => 'false',
-                    'hide_scorm_pdf_link' => 'false',
+                    'hide_scorm_pdf_link' => 'true',
                     'course_catalog_published' => 'false',
-                    'course_images_in_courses_list' => 'false'
+                    'course_images_in_courses_list' => 'true'
                 )
             )
             ->setAllowedTypes(

+ 2 - 2
src/Chamilo/CoreBundle/Settings/DisplaySettingsSchema.php

@@ -36,9 +36,9 @@ class DisplaySettingsSchema implements SchemaInterface
                     'display_categories_on_homepage' => 'false',
                     'show_closed_courses' => 'false',
                     'allow_students_to_browse_courses' => 'true',
-                    'show_link_bug_notification' => 'true',
+                    'show_link_bug_notification' => 'false',
                     'accessibility_font_resize' => 'false',
-                    'show_admin_toolbar' => 'show_to_admin',
+                    'show_admin_toolbar' => 'do_not_show',
                     'show_hot_courses' => 'true',
                     'user_name_order' => '', // ?
                     'user_name_sort_by' => '', // ?

+ 1 - 1
src/Chamilo/CoreBundle/Settings/ExerciseSettingsSchema.php

@@ -23,7 +23,7 @@ class ExerciseSettingsSchema implements SchemaInterface
                 array(
                     'exercise_min_score' => '0',
                     'exercise_max_score' => '20',
-                    'enable_quiz_scenario' => 'false',
+                    'enable_quiz_scenario' => 'true',
                     'allow_coach_feedback_exercises' => 'true',
                     'show_official_code_exercise_result_list' => 'false',
                     'email_alert_manager_on_new_quiz' => 'true',

+ 1 - 1
src/Chamilo/CoreBundle/Settings/SkillSettingsSchema.php

@@ -21,7 +21,7 @@ class SkillSettingsSchema implements SchemaInterface
         $builder
             ->setDefaults(
                 array(
-                    'allow_skills_tool' => 'false',
+                    'allow_skills_tool' => 'true',
                     'allow_hr_skills_management' => 'true',
                 )
             )