Passed
Push — master ( b79720...cd7187 )
by
unknown
22:49 queued 10:47
created

SettingsCurrentFixtures   B

Complexity

Total Complexity 12

Size/Duplication

Total Lines 3762
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2242
c 1
b 0
f 0
dl 0
loc 3762
rs 8.8
wmc 12

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getGroups() 0 3 1
A flattenConfigurationSettings() 0 10 3
B getNewConfigurationSettings() 0 2210 1
B load() 0 52 6
B getExistingSettings() 0 1419 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
declare(strict_types=1);
6
7
namespace Chamilo\CoreBundle\DataFixtures;
8
9
use Chamilo\CoreBundle\Entity\SettingsCurrent;
10
use Doctrine\Bundle\FixturesBundle\Fixture;
11
use Doctrine\Bundle\FixturesBundle\FixtureGroupInterface;
12
use Doctrine\Persistence\ObjectManager;
13
14
class SettingsCurrentFixtures extends Fixture implements FixtureGroupInterface
15
{
16
    /**
17
     * Settings candidates that must be locked at URL-level (access_url_locked = 1),
18
     * based on the task list.
19
     */
20
    private const ACCESS_URL_LOCKED_YES = [
21
        'permissions_for_new_directories',
22
        'permissions_for_new_files',
23
        'course_creation_form_set_extra_fields_mandatory',
24
        'access_url_specific_files',
25
        'cron_remind_course_finished_activate',
26
        'cron_remind_course_expiration_frequency',
27
        'cron_remind_course_expiration_activate',
28
        'donotlistcampus',
29
        'server_type',
30
        'chamilo_database_version',
31
        'unoconv_binaries',
32
        'session_admin_access_to_all_users_on_all_urls',
33
        'split_users_upload_directory',
34
        'multiple_url_hide_disabled_settings',
35
        'login_is_email',
36
        'proxy_settings',
37
        'login_max_attempt_before_blocking_account',
38
        'permanently_remove_deleted_files',
39
        'allow_use_sub_language',
40
    ];
41
42
    /**
43
     * Settings candidates explicitly mentioned as "no" in the task list.
44
     * We set them to access_url_locked = 0, but only for this candidate list.
45
     */
46
    private const ACCESS_URL_LOCKED_NO = [
47
        'drh_allow_access_to_all_students',
48
        'ticket_allow_category_edition',
49
        'max_anonymous_users',
50
        'enable_x_sendfile_headers',
51
        'mailer_dsn',
52
        'allow_send_message_to_all_platform_users',
53
        'message_max_upload_filesize',
54
        'use_custom_pages',
55
        'security_strict_transport',
56
        'security_content_policy',
57
        'security_content_policy_report_only',
58
        'security_public_key_pins',
59
        'security_public_key_pins_report_only',
60
        'security_x_frame_options',
61
        'security_xss_protection',
62
        'security_x_content_type_options',
63
        'security_referrer_policy',
64
        'security_session_cookie_samesite_none',
65
        'allow_session_admins_to_manage_all_sessions',
66
        'prevent_session_admins_to_manage_all_users',
67
        'session_admins_edit_courses_content',
68
        'assignment_base_course_teacher_access_to_all_session',
69
    ];
70
71
    public static function getGroups(): array
72
    {
73
        return ['settings-update'];
74
    }
75
76
    public function load(ObjectManager $manager): void
77
    {
78
        $repo = $manager->getRepository(SettingsCurrent::class);
79
80
        $existingSettings = $this->flattenConfigurationSettings(self::getExistingSettings());
81
        $newConfigurationSettings = $this->flattenConfigurationSettings(self::getNewConfigurationSettings());
82
83
        $allConfigurations = array_merge($existingSettings, $newConfigurationSettings);
84
85
        // Keep current behavior: update title/comment from configuration arrays.
86
        foreach ($allConfigurations as $settingData) {
87
            $setting = $repo->findOneBy(['variable' => $settingData['name']]);
88
89
            if (!$setting) {
90
                continue;
91
            }
92
93
            $setting->setTitle($settingData['title']);
94
            $setting->setComment($settingData['comment']);
95
96
            $manager->persist($setting);
97
        }
98
99
        // Reset all task candidates to access_url_locked = 0 (deterministic baseline).
100
        $candidates = array_values(array_unique(array_merge(
101
            self::ACCESS_URL_LOCKED_YES,
102
            self::ACCESS_URL_LOCKED_NO
103
        )));
104
105
        /** @var SettingsCurrent[] $candidateSettings */
106
        $candidateSettings = $repo->findBy(['variable' => $candidates]);
107
108
        // Index by variable to avoid extra queries.
109
        $byVariable = [];
110
        foreach ($candidateSettings as $setting) {
111
            $byVariable[$setting->getVariable()] = $setting;
112
113
            $setting->setAccessUrlLocked(0);
114
            $manager->persist($setting);
115
        }
116
117
        // Apply access_url_locked = 1 for the explicit YES list.
118
        foreach (self::ACCESS_URL_LOCKED_YES as $variable) {
119
            if (!isset($byVariable[$variable])) {
120
                continue;
121
            }
122
123
            $byVariable[$variable]->setAccessUrlLocked(1);
124
            $manager->persist($byVariable[$variable]);
125
        }
126
127
        $manager->flush();
128
    }
129
130
    private function flattenConfigurationSettings(array $categorizedSettings): array
131
    {
132
        $flattenedSettings = [];
133
        foreach ($categorizedSettings as $category => $settings) {
134
            foreach ($settings as $setting) {
135
                $flattenedSettings[] = $setting;
136
            }
137
        }
138
139
        return $flattenedSettings;
140
    }
141
142
    public static function getExistingSettings(): array
143
    {
144
        return [
145
            'profile' => [
146
                [
147
                    'name' => 'account_valid_duration',
148
                    'title' => 'Account validity',
149
                    'comment' => 'A user account is valid for this number of days after creation',
150
                ],
151
                [
152
                    'name' => 'extended_profile',
153
                    'title' => 'Portfolio',
154
                    'comment' => "If this setting is on, a user can fill in the following (optional) fields: 'My personal open area', 'My competences', 'My diplomas', 'What I am able to teach'",
155
                ],
156
                [
157
                    'name' => 'split_users_upload_directory',
158
                    'title' => "Split users' upload directory",
159
                    'comment' => "On high-load portals, where a lot of users are registered and send their pictures, the upload directory (main/upload/users/) might contain too many files for the filesystem to handle (it has been reported with more than 36000 files on a Debian server). Changing this option will enable a one-level splitting of the directories in the upload directory. 9 directories will be used in the base directory and all subsequent users' directories will be stored into one of these 9 directories. The change of this option will not affect the directories structure on disk, but will affect the behaviour of the Chamilo code, so if you change this option, you have to create the new directories and move the existing directories by yourself on te server. Be aware that when creating and moving those directories, you will have to move the directories of users 1 to 9 into subdirectories of the same name. If you are not sure about this option, it is best not to activate it.",
160
                ],
161
                [
162
                    'name' => 'user_selected_theme',
163
                    'title' => 'User theme selection',
164
                    'comment' => 'Allow users to select their own visual theme in their profile. This will change the look of Chamilo for them, but will leave the default style of the portal intact. If a specific course or session has a specific theme assigned, it will have priority over user-defined themes.',
165
                ],
166
                [
167
                    'name' => 'allow_users_to_change_email_with_no_password',
168
                    'title' => 'Allow users to change e-mail without password',
169
                    'comment' => 'When changing the account information',
170
                ],
171
                [
172
                    'name' => 'login_is_email',
173
                    'title' => 'Use the email as username',
174
                    'comment' => 'Use the email in order to login to the system',
175
                ],
176
                [
177
                    'name' => 'use_users_timezone',
178
                    'title' => 'Enable users timezones',
179
                    'comment' => 'Enable the possibility for users to select their own timezone. Once configured, users will be able to see assignment deadlines and other time references in their own timezone, which will reduce errors at delivery time.',
180
                ],
181
                [
182
                    'name' => 'allow_show_linkedin_url',
183
                    'title' => 'Allow show the user LinkedIn URL',
184
                    'comment' => "Add a link on the user social block, allowing visit the user's LinkedIn profile",
185
                ],
186
                [
187
                    'name' => 'allow_show_skype_account',
188
                    'title' => 'Allow show the user Skype account',
189
                    'comment' => 'Add a link on the user social block allowing start a chat by Skype',
190
                ],
191
                [
192
                    'name' => 'enable_profile_user_address_geolocalization',
193
                    'title' => "Enable user's geolocalization",
194
                    'comment' => "Enable user's address field and show it on a map using geolocalization features",
195
                ],
196
                [
197
                    'name' => 'show_official_code_whoisonline',
198
                    'title' => "Official code on 'Who is online'",
199
                    'comment' => "Show official code on the 'Who is online' page, below the username.",
200
                ],
201
            ],
202
            'session' => [
203
                [
204
                    'name' => 'career_diagram_disclaimer',
205
                    'title' => 'Display a disclaimer below the career diagram',
206
                    'comment' => "Add a disclaimer below the career diagram. A language variable called 'Career diagram disclaimer' must exist in your sub-language.",
207
                ],
208
                [
209
                    'name' => 'career_diagram_legend',
210
                    'title' => 'Display a legend below the career diagram',
211
                    'comment' => "Add a career legend below the career diagram. A language variable called 'Career diagram legend' must exist in your sub-language.",
212
                ],
213
                [
214
                    'name' => 'allow_career_users',
215
                    'title' => 'Enable career diagrams for users',
216
                    'comment' => 'If career diagrams are enabled, users can only see them (and only the diagrams that correspond to their studies) if you enable this option.',
217
                ],
218
                [
219
                    'name' => 'allow_edit_tool_visibility_in_session',
220
                    'title' => 'Allow tool visibility edition in sessions',
221
                    'comment' => 'When using sessions, the default behaviour is to use the tool visibility defined in the base course. This setting changes that to allow coaches in session courses to adapt tool visibilities to their needs.',
222
                ],
223
                [
224
                    'name' => 'courses_list_session_title_link',
225
                    'title' => 'Type of link for the session title',
226
                    'comment' => 'On the courses/sessions page, the session title can be either of the following : 0 = no link (hide session title) ; 1 = link title to a special session page ; 2 = link to the course if there is only one course ; 3 = session title makes the courses list foldable ; 4 = no link (show session title).',
227
                ],
228
                [
229
                    'name' => 'user_session_display_mode',
230
                    'title' => 'My Sessions display mode',
231
                    'comment' => 'Choose how the "My Sessions" page is displayed: as a modern visual block (card) view or the classic list style.',
232
                ],
233
                [
234
                    'name' => 'session_list_view_remaining_days',
235
                    'title' => 'Show remaining days in My Sessions',
236
                    'comment' => 'If enabled, the session dates on the "My Sessions" page will be replaced by the number of remaining days.',
237
                ],
238
                [
239
                    'name' => 'add_users_by_coach',
240
                    'title' => 'Register users by Coach',
241
                    'comment' => 'Coach users may create users to the platform and subscribe users to a session.',
242
                ],
243
                [
244
                    'name' => 'allow_coach_to_edit_course_session',
245
                    'title' => 'Allow coaches to edit inside course sessions',
246
                    'comment' => 'Allow coaches to edit inside course sessions',
247
                ],
248
                [
249
                    'name' => 'extend_rights_for_coach',
250
                    'title' => 'Extend rights for coach',
251
                    'comment' => 'Activate this option will give the coach the same permissions as the trainer on authoring tools',
252
                ],
253
                [
254
                    'name' => 'show_session_coach',
255
                    'title' => 'Show session coach',
256
                    'comment' => 'Show the global session coach name in session title box in the courses list',
257
                ],
258
                [
259
                    'name' => 'show_session_data',
260
                    'title' => 'Show session data title',
261
                    'comment' => 'Show session data comment',
262
                ],
263
                [
264
                    'name' => 'allow_session_admins_to_manage_all_sessions',
265
                    'title' => 'Allow session administrators to see all sessions',
266
                    'comment' => 'When this option is not enabled (default), session administrators can only see the sessions they have created. This is confusing in an open environment where session administrators might need to share support time between two sessions.',
267
                ],
268
                [
269
                    'name' => 'hide_courses_in_sessions',
270
                    'title' => 'Hide courses list in sessions',
271
                    'comment' => 'When showing the session block in your courses page, hide the list of courses inside that session (only show them inside the specific session screen).',
272
                ],
273
                [
274
                    'name' => 'prevent_session_admins_to_manage_all_users',
275
                    'title' => 'Prevent session admins to manage all users',
276
                    'comment' => 'By enabling this option, session admins will only be able to see, in the administration page, the users they created.',
277
                ],
278
                [
279
                    'name' => 'allow_session_course_copy_for_teachers',
280
                    'title' => 'Allow session-to-session copy for teachers',
281
                    'comment' => 'Enable this option to let teachers copy their content from one course in a session to a course in another session. By default, this option is only available to platform administrators.',
282
                ],
283
                [
284
                    'name' => 'allow_teachers_to_create_sessions',
285
                    'title' => 'Allow teachers to create sessions',
286
                    'comment' => 'Teachers can create, edit and delete their own sessions.',
287
                ],
288
                [
289
                    'name' => 'allow_tutors_to_assign_students_to_session',
290
                    'title' => 'Tutors can assign students to sessions',
291
                    'comment' => 'When enabled, course coaches/tutors in sessions can subscribe new users to their session. This option is otherwise only available to administrators and session administrators.',
292
                ],
293
                [
294
                    'name' => 'drh_can_access_all_session_content',
295
                    'title' => 'HR directors access all session content',
296
                    'comment' => 'If enabled, human resources directors will get access to all content and users from the sessions (s)he follows.',
297
                ],
298
                [
299
                    'name' => 'limit_session_admin_role',
300
                    'title' => 'Limit session admins permissions',
301
                    'comment' => "If enabled, the session administrators will only see the User block with the 'Add user' option and the Sessions block with the 'Sessions list' option.",
302
                ],
303
                [
304
                    'name' => 'my_courses_view_by_session',
305
                    'title' => 'View my courses by session',
306
                    'comment' => "Enable an additional 'My courses' page where sessions appear as part of courses, rather than the opposite.",
307
                ],
308
                [
309
                    'name' => 'session_course_ordering',
310
                    'title' => 'Session courses manual ordering',
311
                    'comment' => 'Enable this option to allow the session administrators to order the courses inside a session manually. If disabled, courses are ordered alphabetically on course title.',
312
                ],
313
                [
314
                    'name' => 'session_days_after_coach_access',
315
                    'title' => 'Default coach access days after session',
316
                    'comment' => 'Default number of days a coach can access his session after the official session end date',
317
                ],
318
                [
319
                    'name' => 'session_days_before_coach_access',
320
                    'title' => 'Default coach access days before session',
321
                    'comment' => 'Default number of days a coach can access his session before the official session start date',
322
                ],
323
                [
324
                    'name' => 'show_session_description',
325
                    'title' => 'Show session description',
326
                    'comment' => 'Show the session description wherever this option is implemented (sessions tracking pages, etc)',
327
                ],
328
            ],
329
            'admin' => [
330
                [
331
                    'name' => 'administrator_email',
332
                    'title' => 'Portal Administrator: e-mail',
333
                    'comment' => 'The e-mail address of the Platform Administrator (appears in the footer on the left)',
334
                ],
335
                [
336
                    'name' => 'administrator_name',
337
                    'title' => 'Portal Administrator: First Name',
338
                    'comment' => 'The First Name of the Platform Administrator (appears in the footer on the left)',
339
                ],
340
                [
341
                    'name' => 'administrator_phone',
342
                    'title' => 'Portal Administrator: Phone number',
343
                    'comment' => 'The phone number of the Platform Administrator (appears in the footer on the left)',
344
                ],
345
                [
346
                    'name' => 'administrator_surname',
347
                    'title' => 'Portal Administrator: Last Name',
348
                    'comment' => 'The Family Name of the Platform Administrator (appears in the footer on the left)',
349
                ],
350
                [
351
                    'name' => 'redirect_admin_to_courses_list',
352
                    'title' => 'Redirect admin to courses list',
353
                    'comment' => 'The default behaviour is to send administrators directly to the administration panel (while teachers and students are sent to the courses list or the platform homepage). Enable to redirect the administrator also to his/her courses list.',
354
                ],
355
            ],
356
            'course' => [
357
                [
358
                    'name' => 'profiling_filter_adding_users',
359
                    'title' => 'Filter users on profile fields on subscription to course',
360
                    'comment' => 'Allow teachers to filter the users based on extra fields on the page to subscribe users to their course.',
361
                ],
362
                [
363
                    'name' => 'course_sequence_valid_only_in_same_session',
364
                    'title' => 'Validate prerequisites only within the same session',
365
                    'comment' => 'When enabled, a course will be considered validated only if passed within the current session. If disabled, courses passed in other sessions will also unlock dependent courses.',
366
                ],
367
                [
368
                    'name' => 'allow_course_theme',
369
                    'title' => 'Allow course themes',
370
                    'comment' => "Allows course graphical themes and makes it possible to change the style sheet used by a course to any of the possible style sheets available to Chamilo. When a user enters the course, the style sheet of the course will have priority over the user's own style sheet and the platform's default style sheet.",
371
                ],
372
                [
373
                    'name' => 'breadcrumbs_course_homepage',
374
                    'title' => 'Course homepage breadcrumb',
375
                    'comment' => "The breadcrumb is the horizontal links navigation system usually in the top left of your page. This option selects what you want to appear in the breadcrumb on courses' homepages",
376
                ],
377
                [
378
                    'name' => 'display_coursecode_in_courselist',
379
                    'title' => 'Display Code in Course name',
380
                    'comment' => 'Display Course Code in courses list',
381
                ],
382
                [
383
                    'name' => 'display_teacher_in_courselist',
384
                    'title' => 'Display teacher in course name',
385
                    'comment' => 'Display teacher in courses list',
386
                ],
387
                [
388
                    'name' => 'enable_tool_introduction',
389
                    'title' => 'Enable tool introduction',
390
                    'comment' => "Enable introductions on each tool's homepage",
391
                ],
392
                [
393
                    'name' => 'example_material_course_creation',
394
                    'title' => 'Example material on course creation',
395
                    'comment' => 'Create example material automatically when creating a new course',
396
                ],
397
                [
398
                    'name' => 'send_email_to_admin_when_create_course',
399
                    'title' => 'E-mail alert on course creation',
400
                    'comment' => 'Send an email to the platform administrator each time a teacher creates a new course',
401
                ],
402
                [
403
                    'name' => 'show_navigation_menu',
404
                    'title' => 'Display course navigation menu',
405
                    'comment' => 'Display a navigation menu that quickens access to the tools',
406
                ],
407
                [
408
                    'name' => 'show_toolshortcuts',
409
                    'title' => 'Tools shortcuts',
410
                    'comment' => 'Show the tool shortcuts in the banner?',
411
                ],
412
                [
413
                    'name' => 'student_view_enabled',
414
                    'title' => 'Enable learner view',
415
                    'comment' => 'Enable the learner view, which allows a teacher or admin to see a course as a learner would see it',
416
                ],
417
                [
418
                    'name' => 'course_hide_tools',
419
                    'title' => 'Hide tools from teachers',
420
                    'comment' => 'Check the tools you want to hide from teachers. This will prohibit access to the tool.',
421
                ],
422
                [
423
                    'name' => 'course_validation',
424
                    'title' => 'Courses validation',
425
                    'comment' => "When the 'Courses validation' feature is enabled, a teacher is not able to create a course alone. He/she fills a course request. The platform administrator reviews the request and approves it or rejects it.<br />This feature relies on automated e-mail messaging; set Chamilo to access an e-mail server and to use a dedicated an e-mail account.",
426
                ],
427
                [
428
                    'name' => 'course_validation_terms_and_conditions_url',
429
                    'title' => 'Course validation - a link to the terms and conditions',
430
                    'comment' => "This is the URL to the 'Terms and Conditions' document that is valid for making a course request. If the address is set here, the user should read and agree with these terms and conditions before sending a course request.<br />If you enable Chamilo's 'Terms and Conditions' module and if you want its URL to be used, then leave this setting empty.",
431
                ],
432
                [
433
                    'name' => 'courses_default_creation_visibility',
434
                    'title' => 'Default course visibility',
435
                    'comment' => 'Default course visibility while creating a new course',
436
                ],
437
                [
438
                    'name' => 'scorm_cumulative_session_time',
439
                    'title' => 'Cumulative session time for SCORM',
440
                    'comment' => 'When enabled, the session time for SCORM Learning Paths will be cumulative, otherwise, it will only be counted from the last update time. This is a global setting. It is used when creating a new Learning Path but can then be redefined for each one.',
441
                ],
442
                [
443
                    'name' => 'course_creation_use_template',
444
                    'title' => 'Use template course for new courses',
445
                    'comment' => 'Set this to use the same template course (identified by its course numeric ID in the database) for all new courses that will be created on the platform. Please note that, if not properly planned, this setting might have a massive impact on space usage. The template course will be used as if the teacher did a copy of the course with the course backup tools, so no user content is copied, only teacher material. All other course-backup rules apply. Leave empty (or set to 0) to disable.',
446
                ],
447
                [
448
                    'name' => 'course_images_in_courses_list',
449
                    'title' => 'Courses custom icons',
450
                    'comment' => 'Use course images as the course icon in courses lists (instead of the default green blackboard icon).',
451
                ],
452
            ],
453
            'editor' => [
454
                [
455
                    'name' => 'allow_email_editor',
456
                    'title' => 'Online e-mail editor enabled',
457
                    'comment' => 'If this option is activated, clicking on an e-mail address will open an online editor.',
458
                ],
459
                [
460
                    'name' => 'enabled_asciisvg',
461
                    'title' => 'Enable AsciiSVG',
462
                    'comment' => 'Enable the AsciiSVG plugin in the WYSIWYG editor to draw charts from mathematical functions.',
463
                ],
464
                [
465
                    'name' => 'math_asciimathML',
466
                    'title' => 'ASCIIMathML mathematical editor',
467
                    'comment' => 'Enable ASCIIMathML mathematical editor',
468
                ],
469
                [
470
                    'name' => 'allow_spellcheck',
471
                    'title' => 'Spell check',
472
                    'comment' => 'Enable spell check',
473
                ],
474
                [
475
                    'name' => 'block_copy_paste_for_students',
476
                    'title' => 'Block learners copy and paste',
477
                    'comment' => 'Block learners the ability to copy and paste into the WYSIWYG editor',
478
                ],
479
                [
480
                    'name' => 'enable_iframe_inclusion',
481
                    'title' => 'Allow iframes in HTML Editor',
482
                    'comment' => 'Allowing arbitrary iframes in the HTML Editor will enhance the edition capabilities of the users, but it can represent a security risk. Please make sure you can rely on your users (i.e. you know who they are) before enabling this feature.',
483
                ],
484
                [
485
                    'name' => 'enabled_googlemaps',
486
                    'title' => 'Activate Google maps',
487
                    'comment' => 'Activate the button to insert Google maps. Activation is not fully realized if not previously edited the file main/inc/lib/fckeditor/myconfig.php and added a Google maps API key.',
488
                ],
489
                [
490
                    'name' => 'enabled_imgmap',
491
                    'title' => 'Activate Image maps',
492
                    'comment' => 'Activate the button to insert Image maps. This allows you to associate URLs to areas of an image, creating hotspots.',
493
                ],
494
                [
495
                    'name' => 'enabled_insertHtml',
496
                    'title' => 'Allow insertion of widgets',
497
                    'comment' => 'This allows you to embed on your webpages your favorite videos and applications such as vimeo or slideshare and all sorts of widgets and gadgets',
498
                ],
499
                [
500
                    'name' => 'enabled_mathjax',
501
                    'title' => 'Enable MathJax',
502
                    'comment' => 'Enable the MathJax library to visualize mathematical formulas. This is only useful if either ASCIIMathML or ASCIISVG settings are enabled.',
503
                ],
504
                [
505
                    'name' => 'enabled_support_svg',
506
                    'title' => 'Create and edit SVG files',
507
                    'comment' => 'This option allows you to create and edit SVG (Scalable Vector Graphics) multilayer online, as well as export them to png format images.',
508
                ],
509
                [
510
                    'name' => 'enabled_wiris',
511
                    'title' => 'WIRIS mathematical editor',
512
                    'comment' => "Enable WIRIS mathematical editor. Installing this plugin you get WIRIS editor and WIRIS CAS.<br/>This activation is not fully realized unless it has been previously downloaded the <a href='http://www.wiris.com/es/plugins3/ckeditor/download' target='_blank'>PHP plugin for CKeditor WIRIS</a> and unzipped its contents in the Chamilo's directory main/inc/lib/javascript/ckeditor/plugins/.<br/>This is necessary because Wiris is proprietary software and his services are <a href='http://www.wiris.com/store/who-pays' target='_blank'>commercial</a>. To make adjustments to the plugin, edit configuration.ini file or replace his content by the file configuration.ini.default shipped with Chamilo.",
513
                ],
514
                [
515
                    'name' => 'force_wiki_paste_as_plain_text',
516
                    'title' => 'Forcing pasting as plain text in the wiki',
517
                    'comment' => 'This will prevent many hidden tags, incorrect or non-standard, copied from other texts to stop corrupting the text of the Wiki after many issues; but will lose some features while editing.',
518
                ],
519
                [
520
                    'name' => 'htmlpurifier_wiki',
521
                    'title' => 'HTMLPurifier in Wiki',
522
                    'comment' => 'Enable HTML purifier in the wiki tool (will increase security but reduce style features)',
523
                ],
524
                [
525
                    'name' => 'include_asciimathml_script',
526
                    'title' => 'Load the Mathjax library in all the system pages',
527
                    'comment' => "Activate this setting if you want to show MathML-based mathematical formulas and ASCIIsvg-based mathematical graphics not only in the 'Documents' tool, but elsewhere in the system.",
528
                ],
529
                [
530
                    'name' => 'more_buttons_maximized_mode',
531
                    'title' => 'Buttons bar extended',
532
                    'comment' => 'Enable button bars extended when the WYSIWYG editor is maximized',
533
                ],
534
                [
535
                    'name' => 'youtube_for_students',
536
                    'title' => 'Allow learners to insert videos from YouTube',
537
                    'comment' => 'Enable the possibility that learners can insert Youtube videos',
538
                ],
539
            ],
540
            'group' => [
541
                [
542
                    'name' => 'show_groups_to_users',
543
                    'title' => 'Show classes to users',
544
                    'comment' => 'Show the classes to users. Classes are a feature that allow you to register/unregister groups of users into a session or a course directly, reducing the administrative hassle. When you pick this option, learners will be able to see in which class they are through their social network interface.',
545
                ],
546
                [
547
                    'name' => 'allow_group_categories',
548
                    'title' => 'Group categories',
549
                    'comment' => 'Allow teachers to create categories in the Groups tool?',
550
                ],
551
                [
552
                    'name' => 'hide_course_group_if_no_tools_available',
553
                    'title' => 'Hide course group if no tool',
554
                    'comment' => 'If no tool is available in a group and the user is not registered to the group itself, hide the group completely in the groups list.',
555
                ],
556
            ],
557
            'registration' => [
558
                [
559
                    'name' => 'user_hide_never_expire_option',
560
                    'title' => "Hide 'never expires' option for users",
561
                    'comment' => "Remove the option 'never expires' when creating/editing a user account.",
562
                ],
563
                [
564
                    'name' => 'extldap_config',
565
                    'title' => 'LDAP connection configuration',
566
                    'comment' => 'Array defining host and port for the LDAP server.',
567
                ],
568
                [
569
                    'name' => 'redirect_after_login',
570
                    'title' => 'Redirect after login (per profile)',
571
                    'comment' => 'Define redirection per profile after login using a JSON object like {"STUDENT":"", "ADMIN":"admin-dashboard"}',
572
                ],
573
                [
574
                    'name' => 'allow_lostpassword',
575
                    'title' => 'Lost password',
576
                    'comment' => 'Are users allowed to request their lost password?',
577
                ],
578
                [
579
                    'name' => 'allow_registration',
580
                    'title' => 'Registration',
581
                    'comment' => 'Is registration as a new user allowed? Can users create new accounts?',
582
                ],
583
                [
584
                    'name' => 'allow_registration_as_teacher',
585
                    'title' => 'Registration as teacher',
586
                    'comment' => 'Can one register as a teacher (with the ability to create courses)?',
587
                ],
588
                [
589
                    'name' => 'allow_terms_conditions',
590
                    'title' => 'Enable terms and conditions',
591
                    'comment' => 'This option will display the Terms and Conditions in the register form for new users. Need to be configured first in the portal administration page.',
592
                ],
593
                [
594
                    'name' => 'extendedprofile_registration',
595
                    'title' => 'Portfolio fields at registration',
596
                    'comment' => 'Which of the following fields of the portfolio have to be available in the user registration process? This requires that the portfolio option be enabled (see above).',
597
                ],
598
                [
599
                    'name' => 'extendedprofile_registrationrequired',
600
                    'title' => 'Required portfolio fields in registration',
601
                    'comment' => 'Which of the following fields of the portfolio are *required* in the user registration process? This requires that the portfolio option be enabled and that the field be also available in the registration form (see above).',
602
                ],
603
                [
604
                    'name' => 'drh_autosubscribe',
605
                    'title' => 'Human resources director autosubscribe',
606
                    'comment' => 'Human resources director autosubscribe - not yet available',
607
                ],
608
                [
609
                    'name' => 'platform_unsubscribe_allowed',
610
                    'title' => 'Allow unsubscription from platform',
611
                    'comment' => 'By enabling this option, you allow any user to definitively remove his own account and all data related to it from the platform. This is quite a radical action, but it is necessary for portals opened to the public where users can auto-register. An additional entry will appear in the user profile to unsubscribe after confirmation.',
612
                ],
613
                [
614
                    'name' => 'sessionadmin_autosubscribe',
615
                    'title' => 'Session admin autosubscribe',
616
                    'comment' => 'Session administrator autosubscribe - not available yet',
617
                ],
618
                [
619
                    'name' => 'student_autosubscribe',
620
                    'title' => 'Learner autosubscribe',
621
                    'comment' => 'Learner autosubscribe - not yet available',
622
                ],
623
                [
624
                    'name' => 'teacher_autosubscribe',
625
                    'title' => 'Teacher autosubscribe',
626
                    'comment' => 'Teacher autosubscribe - not yet available',
627
                ],
628
            ],
629
            'message' => [
630
                [
631
                    'name' => 'allow_message_tool',
632
                    'title' => 'Internal messaging tool',
633
                    'comment' => 'Enabling the internal messaging tool allows users to send messages to other users of the platform and to have a messaging inbox.',
634
                ],
635
                [
636
                    'name' => 'allow_send_message_to_all_platform_users',
637
                    'title' => 'Allow sending messages to any platform user',
638
                    'comment' => 'Allows you to send messages to any user of the platform, not just your friends or the people currently online.',
639
                ],
640
                [
641
                    'name' => 'message_max_upload_filesize',
642
                    'title' => 'Max upload file size in messages',
643
                    'comment' => 'Maximum size for file uploads in the messaging tool (in Bytes)',
644
                ],
645
            ],
646
            'agenda' => [
647
                [
648
                    'name' => 'allow_personal_agenda',
649
                    'title' => 'Personal Agenda',
650
                    'comment' => 'Can the learner add personal events to the Agenda?',
651
                ],
652
            ],
653
            'social' => [
654
                [
655
                    'name' => 'hide_social_groups_block',
656
                    'title' => 'Hide groups block in social network',
657
                    'comment' => 'Removes the groups section from the social network view.',
658
                ],
659
                [
660
                    'name' => 'allow_social_tool',
661
                    'title' => 'Social network tool (Facebook-like)',
662
                    'comment' => 'The social network tool allows users to define relations with other users and, by doing so, to define groups of friends. Combined with the internal messaging tool, this tool allows tight communication with friends, inside the portal environment.',
663
                ],
664
                [
665
                    'name' => 'allow_students_to_create_groups_in_social',
666
                    'title' => 'Allow learners to create groups in social network',
667
                    'comment' => 'Allow learners to create groups in social network',
668
                ],
669
            ],
670
            'display' => [
671
                [
672
                    'name' => 'show_tabs',
673
                    'title' => 'Main menu entries',
674
                    'comment' => 'Check the entrie you want to see appear in the main menu',
675
                ],
676
                [
677
                    'name' => 'show_tabs_per_role',
678
                    'title' => 'Main menu entries per role',
679
                    'comment' => 'Define header tabs visibility per role.',
680
                ],
681
                [
682
                    'name' => 'pdf_logo_header',
683
                    'title' => 'PDF header logo',
684
                    'comment' => 'Whether to use the image at var/themes/[your-theme]/images/pdf_logo_header.png as the PDF header logo for all PDF exports (instead of the normal portal logo)',
685
                ],
686
                [
687
                    'name' => 'gravatar_type',
688
                    'title' => 'Gravatar avatar type',
689
                    'comment' => "If the Gravatar option is enabled and the user doesn't have a picture configured on Gravatar, this option allows you to choose the type of avatar that Gravatar will generate for each user. Check <a href='http://en.gravatar.com/site/implement/images#default-image'>http://en.gravatar.com/site/implement/images#default-image</a> for avatar types examples.",
690
                ],
691
                [
692
                    'name' => 'display_categories_on_homepage',
693
                    'title' => 'Display categories on home page',
694
                    'comment' => 'This option will display or hide courses categories on the portal home page',
695
                ],
696
                [
697
                    'name' => 'show_administrator_data',
698
                    'title' => 'Platform Administrator Information in footer',
699
                    'comment' => 'Show the Information of the Platform Administrator in the footer?',
700
                ],
701
                [
702
                    'name' => 'show_back_link_on_top_of_tree',
703
                    'title' => 'Show back links from categories/courses',
704
                    'comment' => 'Show a link to go back in the courses hierarchy. A link is available at the bottom of the list anyway.',
705
                ],
706
                [
707
                    'name' => 'show_closed_courses',
708
                    'title' => 'Display closed courses on login page and portal start page?',
709
                    'comment' => "Display closed courses on the login page and courses start page? On the portal start page an icon will appear next to the courses to quickly subscribe to each courses. This will only appear on the portal's start page when the user is logged in and when the user is not subscribed to the portal yet.",
710
                ],
711
                [
712
                    'name' => 'show_email_addresses',
713
                    'title' => 'Show email addresses',
714
                    'comment' => 'Show email addresses to users',
715
                ],
716
                [
717
                    'name' => 'show_empty_course_categories',
718
                    'title' => 'Show empty courses categories',
719
                    'comment' => "Show the categories of courses on the homepage, even if they're empty",
720
                ],
721
                [
722
                    'name' => 'show_number_of_courses',
723
                    'title' => 'Show courses number',
724
                    'comment' => 'Show the number of courses in each category in the courses categories on the homepage',
725
                ],
726
                [
727
                    'name' => 'show_teacher_data',
728
                    'title' => 'Show teacher information in footer',
729
                    'comment' => 'Show the teacher reference (name and e-mail if available) in the footer?',
730
                ],
731
                [
732
                    'name' => 'show_tutor_data',
733
                    'title' => "Session's tutor's data is shown in the footer.",
734
                    'comment' => "Show the session's tutor reference (name and e-mail if available) in the footer?",
735
                ],
736
                [
737
                    'name' => 'showonline',
738
                    'title' => "Who's Online",
739
                    'comment' => 'Display the number of persons that are online?',
740
                ],
741
                [
742
                    'name' => 'time_limit_whosonline',
743
                    'title' => 'Time limit on Who Is Online',
744
                    'comment' => 'This time limit defines for how many minutes after his last action a user will be considered *online*',
745
                ],
746
                [
747
                    'name' => 'accessibility_font_resize',
748
                    'title' => 'Font resize accessibility feature',
749
                    'comment' => 'Enable this option to show a set of font resize options on the top-right side of your campus. This will allow visually impaired to read their course contents more easily.',
750
                ],
751
                [
752
                    'name' => 'enable_help_link',
753
                    'title' => 'Enable help link',
754
                    'comment' => 'The Help link is located in the top right part of the screen',
755
                ],
756
                [
757
                    'name' => 'show_admin_toolbar',
758
                    'title' => 'Show admin toolbar',
759
                    'comment' => "Shows a global toolbar on top of the page to the designated user roles. This toolbar, very similar to Wordpress and Google's black toolbars, can really speed up complicated actions and improve the space you have available for the learning content, but it might be confusing for some users",
760
                ],
761
                [
762
                    'name' => 'show_hot_courses',
763
                    'title' => 'Show hot courses',
764
                    'comment' => 'The hot courses list will be added in the index page',
765
                ],
766
                [
767
                    'name' => 'hide_home_top_when_connected',
768
                    'title' => 'Hide top content on homepage when logged in',
769
                    'comment' => 'On the platform homepage, this option allows you to hide the introduction block (to leave only the announcements, for example), for all users that are already logged in. The general introduction block will still appear to users not already logged in.',
770
                ],
771
                [
772
                    'name' => 'hide_logout_button',
773
                    'title' => 'Hide logout button',
774
                    'comment' => 'Hide the logout button. This is usually only interesting when using an external login/logout method, for example when using Single Sign On of some sort.',
775
                ],
776
            ],
777
            'language' => [
778
                [
779
                    'name' => 'platform_language',
780
                    'title' => 'Default platform language',
781
                    'comment' => 'Main language, used by default when no user language is set.',
782
                ],
783
                [
784
                    'name' => 'language_priority_1',
785
                    'title' => 'Highest priority language',
786
                    'comment' => 'Primary language selected when multiple language contexts are set.',
787
                ],
788
                [
789
                    'name' => 'language_priority_2',
790
                    'title' => 'Secondary priority language',
791
                    'comment' => 'Secondary fallback language if first priority is unavailable or out of context.',
792
                ],
793
                [
794
                    'name' => 'language_priority_3',
795
                    'title' => 'Third priority language',
796
                    'comment' => 'Tertiary language fallback if higher priorities fail.',
797
                ],
798
                [
799
                    'name' => 'language_priority_4',
800
                    'title' => 'Fourth priority language',
801
                    'comment' => 'Last language fallback option by order of priority.',
802
                ],
803
                [
804
                    'name' => 'allow_use_sub_language',
805
                    'title' => 'Allow definition and use of sub-languages',
806
                    'comment' => "By enabling this option, you will be able to define variations for each of the language terms used in the platform's interface, in the form of a new language based on and extending an existing language. You'll find this option in the languages section of the administration panel.",
807
                ],
808
                [
809
                    'name' => 'show_different_course_language',
810
                    'title' => 'Show course languages',
811
                    'comment' => 'Show the language each course is in, next to the course title, on the homepage courses list',
812
                ],
813
                [
814
                    'name' => 'auto_detect_language_custom_pages',
815
                    'title' => 'Enable language auto-detect in custom pages',
816
                    'comment' => "If you use custom pages, enable this if you want to have a language detector there present the page in the user's browser language, or disable to force the language to be the default platform language.",
817
                ],
818
            ],
819
            'document' => [
820
                [
821
                    'name' => 'access_url_specific_files',
822
                    'title' => 'Enable URL-specific files',
823
                    'comment' => 'When this feature is enabled on a multi-URL configuration, you can go to the main URL and provide URL-specific versions of any file (in the documents tool). The original file will be replaced by the alternative whenever seeing it from a different URL. This allows you to customize each URL even further, while enjoying the advantage of re-using the same courses many times.',
824
                ],
825
                [
826
                    'name' => 'default_document_quotum',
827
                    'title' => 'Default hard disk space',
828
                    'comment' => 'What is the available disk space for a course? You can override the quota for specific course through: platform administration > Courses > modify',
829
                ],
830
                [
831
                    'name' => 'default_group_quotum',
832
                    'title' => 'Group disk space available',
833
                    'comment' => 'What is the default hard disk spacde available for a groups documents tool?',
834
                ],
835
                [
836
                    'name' => 'permanently_remove_deleted_files',
837
                    'title' => 'Deleted files cannot be restored',
838
                    'comment' => 'Deleting a file in the documents tool permanently deletes it. The file cannot be restored',
839
                ],
840
                [
841
                    'name' => 'permissions_for_new_directories',
842
                    'title' => 'Permissions for new directories',
843
                    'comment' => 'The ability to define the permissions settings to assign to every newly created directory lets you improve security against attacks by hackers uploading dangerous content to your portal. The default setting (0770) should be enough to give your server a reasonable protection level. The given format uses the UNIX terminology of Owner-Group-Others with Read-Write-Execute permissions.',
844
                ],
845
                [
846
                    'name' => 'permissions_for_new_files',
847
                    'title' => 'Permissions for new files',
848
                    'comment' => 'The ability to define the permissions settings to assign to every newly-created file lets you improve security against attacks by hackers uploading dangerous content to your portal. The default setting (0550) should be enough to give your server a reasonable protection level. The given format uses the UNIX terminology of Owner-Group-Others with Read-Write-Execute permissions. If you use Oogie, take care that the user who launch LibreOffice can write files in the course folder.',
849
                ],
850
                [
851
                    'name' => 'upload_extensions_blacklist',
852
                    'title' => 'Blacklist - setting',
853
                    'comment' => "The blacklist is used to filter the files extensions by removing (or renaming) any file which extension figures in the blacklist below. The extensions should figure without the leading dot (.) and separated by semi-column (;) like the following:  exe;com;bat;scr;php. Files without extension are accepted. Letter casing (uppercase/lowercase) doesn't matter.",
854
                ],
855
                [
856
                    'name' => 'upload_extensions_list_type',
857
                    'title' => 'Type of filtering on document uploads',
858
                    'comment' => 'Whether you want to use the blacklist or whitelist filtering. See blacklist or whitelist description below for more details.',
859
                ],
860
                [
861
                    'name' => 'upload_extensions_replace_by',
862
                    'title' => 'Replacement extension',
863
                    'comment' => 'Enter the extension that you want to use to replace the dangerous extensions detected by the filter. Only needed if you have selected a filter by replacement.',
864
                ],
865
                [
866
                    'name' => 'upload_extensions_skip',
867
                    'title' => 'Filtering behaviour (skip/rename)',
868
                    'comment' => "If you choose to skip, the files filtered through the blacklist or whitelist will not be uploaded to the system. If you choose to rename them, their extension will be replaced by the one defined in the extension replacement setting. Beware that renaming doesn't really protect you, and may cause name collision if several files of the same name but different extensions exist.",
869
                ],
870
                [
871
                    'name' => 'upload_extensions_whitelist',
872
                    'title' => 'Whitelist - setting',
873
                    'comment' => "The whitelist is used to filter the file extensions by removing (or renaming) any file whose extension does *NOT* figure in the whitelist below. It is generally considered as a safer but more restrictive approach to filtering. The extensions should figure without the leading dot (.) and separated by semi-column (;) such as the following:  htm;html;txt;doc;xls;ppt;jpg;jpeg;gif;sxw. Files without extension are accepted. Letter casing (uppercase/lowercase) doesn't matter.",
874
                ],
875
                [
876
                    'name' => 'documents_default_visibility_defined_in_course',
877
                    'title' => 'Document visibility defined in course',
878
                    'comment' => 'The default document visibility for all courses',
879
                ],
880
                [
881
                    'name' => 'pdf_export_watermark_by_course',
882
                    'title' => 'Enable watermark definition by course',
883
                    'comment' => 'When this option is enabled, teachers can define their own watermark for the documents in their courses.',
884
                ],
885
                [
886
                    'name' => 'pdf_export_watermark_enable',
887
                    'title' => 'Enable watermark in PDF export',
888
                    'comment' => 'By enabling this option, you can upload an image or a text that will be automatically added as watermark to all PDF exports of documents on the system.',
889
                ],
890
                [
891
                    'name' => 'pdf_export_watermark_text',
892
                    'title' => 'PDF watermark text',
893
                    'comment' => 'This text will be added as a watermark to the documents exports as PDF.',
894
                ],
895
                [
896
                    'name' => 'show_default_folders',
897
                    'title' => 'Show in documents tool all folders containing multimedia resources supplied by default',
898
                    'comment' => 'Multimedia file folders containing files supplied by default organized in categories of video, audio, image and flash animations to use in their courses. Although you make it invisible into the document tool, you can still use these resources in the platform web editor.',
899
                ],
900
                [
901
                    'name' => 'show_documents_preview',
902
                    'title' => 'Show document preview',
903
                    'comment' => 'Showing previews of the documents in the documents tool will avoid loading a new page just to show a document, but can result unstable with some older browsers or smaller width screens.',
904
                ],
905
                [
906
                    'name' => 'show_users_folders',
907
                    'title' => 'Show users folders in the documents tool',
908
                    'comment' => 'This option allows you to show or hide to teachers the folders that the system generates for each user who visits the tool documents or send a file through the web editor. If you display these folders to the teachers, they may make visible or not the learners and allow each learner to have a specific place on the course where not only store documents, but where they can also create and edit web pages and to export to pdf, make drawings, make personal web templates, send files, as well as create, move and delete directories and files and make security copies from their folders. Each user of course have a complete document manager. Also, remember that any user can copy a file that is visible from any folder in the documents tool (whether or not the owner) to his/her portfolios or personal documents area of social network, which will be available for his/her can use it in other courses.',
909
                ],
910
                [
911
                    'name' => 'students_download_folders',
912
                    'title' => 'Allow learners to download directories',
913
                    'comment' => 'Allow learners to pack and download a complete directory from the document tool',
914
                ],
915
                [
916
                    'name' => 'students_export2pdf',
917
                    'title' => 'Allow learners to export web documents to PDF format in the documents and wiki tools',
918
                    'comment' => 'This feature is enabled by default, but in case of server overload abuse it, or specific learning environments, might want to disable it for all courses.',
919
                ],
920
                [
921
                    'name' => 'tool_visible_by_default_at_creation',
922
                    'title' => 'Tool visible at course creation',
923
                    'comment' => 'Select the tools that will be visible when creating the courses - not yet available',
924
                ],
925
                [
926
                    'name' => 'users_copy_files',
927
                    'title' => 'Allow users to copy files from a course in your personal file area',
928
                    'comment' => 'Allows users to copy files from a course in your personal file area, visible through the Social Network or through the HTML editor when they are out of a course',
929
                ],
930
            ],
931
            'forum' => [
932
                [
933
                    'name' => 'community_managers_user_list',
934
                    'title' => 'Community managers list',
935
                    'comment' => 'Provide an array of user IDs that will be considered community managers in the special course designated as global forum. Community managers have additional privileges on the global forum.',
936
                ],
937
                [
938
                    'name' => 'default_forum_view',
939
                    'title' => 'Default forum view',
940
                    'comment' => 'What should be the default option when creating a new forum. Any trainer can however choose a different view for every individual forum',
941
                ],
942
                [
943
                    'name' => 'display_groups_forum_in_general_tool',
944
                    'title' => 'Display group forums in general forum',
945
                    'comment' => 'Display group forums in the forum tool at the course level. This option is enabled by default (in this case, group forum individual visibilities still act as an additional criteria). If disabled, group forums will only be visible through the group tool, be them public or not.',
946
                ],
947
            ],
948
            'dropbox' => [
949
                [
950
                    'name' => 'dropbox_allow_group',
951
                    'title' => 'Dropbox: allow group',
952
                    'comment' => 'Users can send files to groups',
953
                ],
954
                [
955
                    'name' => 'dropbox_allow_just_upload',
956
                    'title' => 'Dropbox: Upload to own dropbox space?',
957
                    'comment' => 'Allow trainers and users to upload documents to their dropbox without sending  the documents to themselves',
958
                ],
959
                [
960
                    'name' => 'dropbox_allow_mailing',
961
                    'title' => 'Dropbox: Allow mailing',
962
                    'comment' => 'With the mailing functionality you can send each learner a personal document',
963
                ],
964
                [
965
                    'name' => 'dropbox_allow_overwrite',
966
                    'title' => 'Dropbox: Can documents be overwritten',
967
                    'comment' => 'Can the original document be overwritten when a user or trainer uploads a document with the name of a document that already exist? If you answer yes then you loose the versioning mechanism.',
968
                ],
969
                [
970
                    'name' => 'dropbox_allow_student_to_student',
971
                    'title' => 'Dropbox: Learner <-> Learner',
972
                    'comment' => 'Allow users to send documents to other users (peer 2 peer). Users might use this for less relevant documents also (mp3, tests solutions, ...). If you disable this then the users can send documents to the trainer only.',
973
                ],
974
                [
975
                    'name' => 'dropbox_max_filesize',
976
                    'title' => 'Dropbox: Maximum file size of a document',
977
                    'comment' => 'How big (in MB) can a dropbox document be?',
978
                ],
979
                [
980
                    'name' => 'dropbox_hide_course_coach',
981
                    'title' => 'Dropbox: hide course coach',
982
                    'comment' => 'Hide session course coach in dropbox when a document is sent by the coach to students',
983
                ],
984
                [
985
                    'name' => 'dropbox_hide_general_coach',
986
                    'title' => 'Hide general coach in dropbox',
987
                    'comment' => 'Hide general coach name in the dropbox tool when the general coach uploaded the file',
988
                ],
989
            ],
990
            'survey' => [
991
                [
992
                    'name' => 'extend_rights_for_coach_on_survey',
993
                    'title' => 'Extend rights for coachs on surveys',
994
                    'comment' => 'Activate this option will allow the coachs to create and edit surveys',
995
                ],
996
                [
997
                    'name' => 'survey_email_sender_noreply',
998
                    'title' => 'Survey e-mail sender (no-reply)',
999
                    'comment' => 'Should the survey invitations use the coach e-mail address or the no-reply address defined in the main configuration section?',
1000
                ],
1001
            ],
1002
            'gradebook' => [
1003
                [
1004
                    'name' => 'gradebook_enable',
1005
                    'title' => 'Assessments tool activation',
1006
                    'comment' => 'The Assessments tool allows you to assess competences in your organization by merging classroom and online activities evaluations into Performance reports. Do you want to activate it?',
1007
                ],
1008
                [
1009
                    'name' => 'gradebook_number_decimals',
1010
                    'title' => 'Number of decimals',
1011
                    'comment' => 'Allows you to set the number of decimals allowed in a score',
1012
                ],
1013
                [
1014
                    'name' => 'gradebook_score_display_colorsplit',
1015
                    'title' => 'Threshold',
1016
                    'comment' => 'The threshold (in %) under which scores will be colored red',
1017
                ],
1018
                [
1019
                    'name' => 'gradebook_score_display_custom',
1020
                    'title' => 'Competence levels labelling',
1021
                    'comment' => 'Tick the box to enable Competence levels labelling',
1022
                ],
1023
                [
1024
                    'name' => 'gradebook_score_display_upperlimit',
1025
                    'title' => 'Display score upper limit',
1026
                    'comment' => "Tick the box to show the score's upper limit",
1027
                ],
1028
                [
1029
                    'name' => 'gradebook_default_grade_model_id',
1030
                    'title' => 'Default grade model',
1031
                    'comment' => 'This value will be selected by default when creating a course',
1032
                ],
1033
                [
1034
                    'name' => 'gradebook_default_weight',
1035
                    'title' => 'Default weight in Gradebook',
1036
                    'comment' => 'This weight will be use in all courses by default',
1037
                ],
1038
                [
1039
                    'name' => 'gradebook_enable_grade_model',
1040
                    'title' => 'Enable Gradebook model',
1041
                    'comment' => 'Enables the auto creation of gradebook categories inside a course depending of the gradebook models.',
1042
                ],
1043
                [
1044
                    'name' => 'gradebook_locking_enabled',
1045
                    'title' => 'Enable locking of assessments by teachers',
1046
                    'comment' => "Once enabled, this option will enable locking of any assessment by the teachers of the corresponding course. This, in turn, will prevent any modification of results by the teacher inside the resources used in the assessment: exams, learning paths, tasks, etc. The only role authorized to unlock a locked assessment is the administrator. The teacher will be informed of this possibility. The locking and unlocking of gradebooks will be registered in the system's report of important activities",
1047
                ],
1048
                [
1049
                    'name' => 'teachers_can_change_grade_model_settings',
1050
                    'title' => 'Teachers can change the Gradebook model settings',
1051
                    'comment' => 'When editing a Gradebook',
1052
                ],
1053
                [
1054
                    'name' => 'teachers_can_change_score_settings',
1055
                    'title' => 'Teachers can change the Gradebook score settings',
1056
                    'comment' => 'When editing the Gradebook settings',
1057
                ],
1058
                [
1059
                    'name' => 'gradebook_detailed_admin_view',
1060
                    'title' => 'Show additional columns in gradebook',
1061
                    'comment' => 'Show additional columns in the student view of the gradebook with the best score of all students, the relative position of the student looking at the report and the average score of the whole group of students.',
1062
                ],
1063
                [
1064
                    'name' => 'student_publication_to_take_in_gradebook',
1065
                    'title' => 'Assignment considered for gradebook',
1066
                    'comment' => "In the assignments tool, students can upload more than one file. In case there is more than one for a single assignment, which one should be considered when ranking them in the gradebook? This depends on your methodology. Use 'first' to put the accent on attention to detail (like handling in time and handling the right work first). Use 'last' to highlight collaborative and adaptative work.",
1067
                ],
1068
            ],
1069
            'platform' => [
1070
                [
1071
                    'name' => 'disable_copy_paste',
1072
                    'title' => 'Disable copy-pasting',
1073
                    'comment' => 'When enabled, this option disables as well as possible the copy-pasting mechanisms. Useful in restrictive exams setups.',
1074
                ],
1075
                [
1076
                    'name' => 'session_admin_access_to_all_users_on_all_urls',
1077
                    'title' => 'Allow session admins to see all users on all URLs',
1078
                    'comment' => 'If enabled, session admins can search and list users from all access URLs, regardless of their current URL.',
1079
                ],
1080
                [
1081
                    'name' => 'hosting_limit_users_per_course',
1082
                    'title' => 'Global limit of users per course',
1083
                    'comment' => 'Defines a global maximum number of users (teachers included) allowed to be subscribed to any single course in the platform. Set this value to 0 to disable the limit. This helps avoid courses being overloaded in open portals.',
1084
                ],
1085
                [
1086
                    'name' => 'push_notification_settings',
1087
                    'title' => 'Push notification settings (JSON)',
1088
                    'comment' => 'JSON configuration for Push notifications integration.',
1089
                ],
1090
                [
1091
                    'name' => 'donotlistcampus',
1092
                    'title' => 'Do not list this campus on chamilo.org',
1093
                    'comment' => 'By default, Chamilo portals are automatically registered in a public list at chamilo.org, just using the title you gave to this portal (not the URL nor any private data). Check this box to avoid having the title of your portal appear.',
1094
                ],
1095
                [
1096
                    'name' => 'timezone',
1097
                    'title' => 'Default timezone',
1098
                    'comment' => 'Select the default timezone for this portal. This will help set the timezone (if the feature is enabled) for each new user or for any user that has not set a specific timezone yet. Timezones help show all time-related information on screen in the specific timezone of each user.',
1099
                ],
1100
                [
1101
                    'name' => 'chamilo_database_version',
1102
                    'title' => 'Current version of the database schema used by Chamilo',
1103
                    'comment' => 'Displays the current DB version to match the Chamilo core version.',
1104
                ],
1105
                [
1106
                    'name' => 'notification_event',
1107
                    'title' => 'Enable the notification tool for a more impactful communication channel with students',
1108
                    'comment' => 'Activates popup or system notifications for important platform events.',
1109
                ],
1110
                [
1111
                    'name' => 'institution',
1112
                    'title' => 'Organization name',
1113
                    'comment' => 'The name of the organization (appears in the header on the right)',
1114
                ],
1115
                [
1116
                    'name' => 'institution_url',
1117
                    'title' => 'Organization URL (web address)',
1118
                    'comment' => 'The URL of the institutions (the link that appears in the header on the right)',
1119
                ],
1120
                [
1121
                    'name' => 'server_type',
1122
                    'title' => 'Server Type',
1123
                    'comment' => 'Defines the environment type: "prod" (normal production), "validation" (like production but without reporting statistics), or "test" (debug mode with developer tools such as untranslated string indicators).',
1124
                ],
1125
                [
1126
                    'name' => 'site_name',
1127
                    'title' => 'E-learning portal name',
1128
                    'comment' => 'The Name of your Chamilo Portal (appears in the header)',
1129
                ],
1130
                [
1131
                    'name' => 'use_custom_pages',
1132
                    'title' => 'Use custom pages',
1133
                    'comment' => 'Enable this feature to configure specific login pages by role',
1134
                ],
1135
                [
1136
                    'name' => 'allow_my_files',
1137
                    'title' => "Enable 'My Files' section",
1138
                    'comment' => 'Allow users to upload files to a personal space on the platform.',
1139
                ],
1140
                [
1141
                    'name' => 'cookie_warning',
1142
                    'title' => 'Cookie privacy notification',
1143
                    'comment' => 'If enabled, this option shows a banner on top of your platform that asks users to acknowledge that the platform is using cookies necessary to provide the user experience. The banner can easily be acknowledged and hidden by the user. This allows Chamilo to comply with EU web cookies regulations.',
1144
                ],
1145
                [
1146
                    'name' => 'institution_address',
1147
                    'title' => 'Institution address',
1148
                    'comment' => 'Address',
1149
                ],
1150
            ],
1151
            'mail' => [
1152
                [
1153
                    'name' => 'mailer_dsn',
1154
                    'title' => 'Mail DSN',
1155
                    'comment' => \sprintf(
1156
                        'The DSN fully includes all parameters needed to connect to the mail service. You can learn more at %s. Here are a few examples of supported DSN syntaxes: %s',
1157
                        'https://symfony.com/doc/6.4/mailer.html#using-built-in-transports',
1158
                        'https://symfony.com/doc/6.4/mailer.html#using-a-3rd-party-transport'
1159
                    ),
1160
                ],
1161
                [
1162
                    'name' => 'mailer_from_email',
1163
                    'title' => 'Send all e-mails from this e-mail address',
1164
                    'comment' => 'Sets the default email address used in the "from" field of emails.',
1165
                ],
1166
                [
1167
                    'name' => 'mailer_from_name',
1168
                    'title' => 'Send all e-mails as originating from this (organizational) name',
1169
                    'comment' => 'Sets the default display name used for sending platform emails. e.g. "Support team".',
1170
                ],
1171
                [
1172
                    'name' => 'mailer_mails_charset',
1173
                    'title' => 'Mail: character set',
1174
                    'comment' => "In case you need to define the charset to use when sending those e-mails. Leave empty if you're not sure.",
1175
                ],
1176
                [
1177
                    'name' => 'mailer_debug_enable',
1178
                    'title' => 'Mail: Debug',
1179
                    'comment' => 'Select whether you want to enable the e-mail sending debug logs. These will give you more information on what is happening when connecting to the mail service, but are not elegant and might break page design. Only use when there is not user activity.',
1180
                ],
1181
                [
1182
                    'name' => 'mailer_exclude_json',
1183
                    'title' => 'Mail: Avoid using LD+JSON',
1184
                    'comment' => "Some e-mail clients do not understand the descriptive LD+JSON format, showing it as a loose JSON string to the final user. If this is your case, you might want to set the variable below to 'false' to disable this header.",
1185
                ],
1186
                [
1187
                    'name' => 'mailer_dkim',
1188
                    'title' => 'Mail: DKIM headers',
1189
                    'comment' => 'Enter a JSON array of your DKIM configuration settings (see example).',
1190
                ],
1191
                [
1192
                    'name' => 'mailer_xoauth2',
1193
                    'title' => 'Mail: XOAuth2 options',
1194
                    'comment' => 'If you use some XOAuth2-based e-mail service, use this setting in JSON to save your specific configuration (see example) and select XOAuth2 in the mail service setting.',
1195
                ],
1196
            ],
1197
            'search' => [
1198
                [
1199
                    'name' => 'search_enabled',
1200
                    'title' => 'Full-text search feature',
1201
                    'comment' => "Select 'Yes' to enable this feature. It is highly dependent on the Xapian extension for PHP, so this will not work if this extension is not installed on your server, in version 1.x at minimum.",
1202
                ],
1203
                [
1204
                    'name' => 'search_prefilter_prefix',
1205
                    'title' => 'Specific Field for prefilter',
1206
                    'comment' => 'This option let you choose the Specific field to use on prefilter search type.',
1207
                ],
1208
                [
1209
                    'name' => 'search_show_unlinked_results',
1210
                    'title' => 'Full-text search: show unlinked results',
1211
                    'comment' => 'When showing the results of a full-text search, what should be done with the results that are not accessible to the current user?',
1212
                ],
1213
            ],
1214
            'glossary' => [
1215
                [
1216
                    'name' => 'show_glossary_in_extra_tools',
1217
                    'title' => 'Show the glossary terms in extra tools',
1218
                    'comment' => 'From here you can configure how to add the glossary terms in extra tools as learning path and exercice tool',
1219
                ],
1220
            ],
1221
            'chat' => [
1222
                [
1223
                    'name' => 'allow_global_chat',
1224
                    'title' => 'Allow global chat',
1225
                    'comment' => 'Users can chat with each other',
1226
                ],
1227
                [
1228
                    'name' => 'show_chat_folder',
1229
                    'title' => 'Show the history folder of chat conversations',
1230
                    'comment' => 'This will show to theacher the folder that contains all sessions that have been made in the chat, the teacher can make them visible or not learners and use them as a resource',
1231
                ],
1232
            ],
1233
            'skill' => [
1234
                [
1235
                    'name' => 'openbadges_backpack',
1236
                    'title' => 'OpenBadges backpack URL',
1237
                    'comment' => 'The URL of the OpenBadges backpack server that will be used by default for all users wanting to export their badges. This defaults to the open and free Mozilla Foundation backpack repository: https://backpack.openbadges.org/',
1238
                ],
1239
                [
1240
                    'name' => 'allow_hr_skills_management',
1241
                    'title' => 'Allow HR skills management',
1242
                    'comment' => 'Allows HR to manage skills',
1243
                ],
1244
                [
1245
                    'name' => 'allow_skills_tool',
1246
                    'title' => 'Allow Skills tool',
1247
                    'comment' => 'Users can see their skills in the social network and in a block in the homepage.',
1248
                ],
1249
                [
1250
                    'name' => 'show_full_skill_name_on_skill_wheel',
1251
                    'title' => 'Show full skill name on skill wheel',
1252
                    'comment' => 'On the wheel of skills, it shows the name of the skill when it has short code.',
1253
                ],
1254
            ],
1255
            'cas' => [
1256
                [
1257
                    'name' => 'cas_activate',
1258
                    'title' => 'Enable CAS authentication',
1259
                    'comment' => "Enabling CAS authentication will allow users to authenticate with their CAS credentials.<br/>Go to <a href='settings.php?category=CAS'>Plugin</a> to add a configurable 'CAS Login' button for your Chamilo campus. Or you can force CAS authentication by setting cas[force_redirect] in app/config/auth.conf.php.",
1260
                ],
1261
                [
1262
                    'name' => 'cas_add_user_activate',
1263
                    'title' => 'Enable CAS user addition',
1264
                    'comment' => 'Enable CAS user addition. To create the user account from the LDAP directory, the extldap_config and extldap_user_correspondance tables must be filled in in app/config/auth.conf.php',
1265
                ],
1266
                [
1267
                    'name' => 'cas_port',
1268
                    'title' => 'Main CAS server port',
1269
                    'comment' => 'The port on which to connect to the main CAS server',
1270
                ],
1271
                [
1272
                    'name' => 'cas_protocol',
1273
                    'title' => 'Main CAS server protocol',
1274
                    'comment' => 'The protocol with which we connect to the CAS server',
1275
                ],
1276
                [
1277
                    'name' => 'cas_server',
1278
                    'title' => 'Main CAS server',
1279
                    'comment' => 'This is the main CAS server which will be used for the authentication (IP address or hostname)',
1280
                ],
1281
                [
1282
                    'name' => 'cas_server_uri',
1283
                    'title' => 'Main CAS server URI',
1284
                    'comment' => 'The path to the CAS service',
1285
                ],
1286
                [
1287
                    'name' => 'update_user_info_cas_with_ldap',
1288
                    'title' => 'Update CAS-authenticated user account information from LDAP',
1289
                    'comment' => 'Makes sure the user firstname, lastname and email address are the same as current values in the LDAP directory',
1290
                ],
1291
            ],
1292
            'exercise' => [
1293
                [
1294
                    'name' => 'enable_quiz_scenario',
1295
                    'title' => 'Enable Quiz scenario',
1296
                    'comment' => "From here you will be able to create exercises that propose different questions depending in the user's answers.",
1297
                ],
1298
                [
1299
                    'name' => 'exercise_max_score',
1300
                    'title' => 'Maximum score of exercises',
1301
                    'comment' => 'Define a maximum score (generally 10,20 or 100) for all the exercises on the platform. This will define how final results are shown to users and teachers.',
1302
                ],
1303
                [
1304
                    'name' => 'exercise_min_score',
1305
                    'title' => 'Minimum score of exercises',
1306
                    'comment' => 'Define a minimum score (generally 0) for all the exercises on the platform. This will define how final results are shown to users and teachers.',
1307
                ],
1308
                [
1309
                    'name' => 'allow_coach_feedback_exercises',
1310
                    'title' => 'Allow coaches to comment in review of exercises',
1311
                    'comment' => 'Allow coaches to edit feedback during review of exercises',
1312
                ],
1313
                [
1314
                    'name' => 'configure_exercise_visibility_in_course',
1315
                    'title' => 'Enable to bypass the configuration of Exercise invisible in session at a base course level',
1316
                    'comment' => 'To enable the configuration of the exercise invisibility in session in the base course to by pass the global configuration. If not set the global parameter is used.',
1317
                ],
1318
                [
1319
                    'name' => 'email_alert_manager_on_new_quiz',
1320
                    'title' => 'Default e-mail alert setting on new quiz',
1321
                    'comment' => 'Whether you want course managers (teachers) to be notified by e-mail when a quiz is answered by a student. This is the default value to be given to all new courses, but each teacher can still change this setting in his/her own course.',
1322
                ],
1323
                [
1324
                    'name' => 'exercise_invisible_in_session',
1325
                    'title' => 'Exercise invisible in Session',
1326
                    'comment' => 'If an exercise is visible in the base course then it appears invisible in the session. If an exercise is invisible in the base course then it does not appear in the session.',
1327
                ],
1328
                [
1329
                    'name' => 'exercise_max_ckeditors_in_page',
1330
                    'title' => 'Max editors in exercise result screen',
1331
                    'comment' => 'Because of the sheer number of questions that might appear in an exercise, the correction screen, allowing the teacher to add comments to each answer, might be very slow to load. Set this number to 5 to ask the platform to only show WYSIWYG editors up to a certain number of answers on the screen. This will speed up the correction page loading time considerably, but will remove WYSIWYG editors and leave only a plain text editor.',
1332
                ],
1333
                [
1334
                    'name' => 'show_official_code_exercise_result_list',
1335
                    'title' => 'Display official code in exercises results',
1336
                    'comment' => "Whether to show the students' official code in the exercises results reports",
1337
                ],
1338
            ],
1339
            'security' => [
1340
                [
1341
                    'name' => 'hide_breadcrumb_if_not_allowed',
1342
                    'title' => "Hide breadcrumb if 'not allowed'",
1343
                    'comment' => 'If the user is not allowed to access a specific page, also hide the breadcrumb. This increases security by avoiding the display of unnecessary information.',
1344
                ],
1345
                [
1346
                    'name' => 'force_renew_password_at_first_login',
1347
                    'title' => 'Force password renewal at first login',
1348
                    'comment' => 'This is one simple measure to increase the security of your portal by asking users to immediately change their password, so the one that was transfered by e-mail is no longer valid and they then will use one that they came up with and that they are the only person to know.',
1349
                ],
1350
                [
1351
                    'name' => 'login_max_attempt_before_blocking_account',
1352
                    'title' => 'Max login attempts before lockdown',
1353
                    'comment' => 'Number of failed login attempts to tolerate before the user account is locked and has to be unlocked by an admin.',
1354
                ],
1355
                [
1356
                    'name' => '2fa_enable',
1357
                    'title' => 'Enable 2FA',
1358
                    'comment' => "Add fields in the password update page to enable 2FA using a TOTP authenticator app. When disabled globally, users won't see 2FA fields and won't be prompted for 2FA at login, even if they had enabled it previously.",
1359
                ],
1360
                [
1361
                    'name' => 'filter_terms',
1362
                    'title' => 'Filter terms',
1363
                    'comment' => 'Give a list of terms, one by line, to be filtered out of web pages and e-mails. These terms will be replaced by ***.',
1364
                ],
1365
                [
1366
                    'name' => 'allow_captcha',
1367
                    'title' => 'CAPTCHA',
1368
                    'comment' => 'Enable a CAPTCHA on the login form, inscription form and lost password form to avoid password hammering',
1369
                ],
1370
                [
1371
                    'name' => 'allow_strength_pass_checker',
1372
                    'title' => 'Password strength checker',
1373
                    'comment' => 'Enable this option to add a visual indicator of password strength, when the user changes his/her password. This will NOT prevent bad passwords to be added, it only acts as a visual helper.',
1374
                ],
1375
                [
1376
                    'name' => 'captcha_number_mistakes_to_block_account',
1377
                    'title' => 'CAPTCHA mistakes allowance',
1378
                    'comment' => 'The number of times a user can make a mistake on the CAPTCHA box before his account is locked out.',
1379
                ],
1380
                [
1381
                    'name' => 'captcha_time_to_block',
1382
                    'title' => 'CAPTCHA account locking time',
1383
                    'comment' => 'If the user reaches the maximum allowance for login mistakes (when using the CAPTCHA), his/her account will be locked for this number of minutes.',
1384
                ],
1385
                [
1386
                    'name' => 'prevent_multiple_simultaneous_login',
1387
                    'title' => 'Prevent simultaneous login',
1388
                    'comment' => 'Prevent users connecting with the same account more than once. This is a good option on pay-per-access portals, but might be restrictive during testing as only one browser can connect with any given account.',
1389
                ],
1390
                [
1391
                    'name' => 'user_reset_password',
1392
                    'title' => 'Enable password reset token',
1393
                    'comment' => 'This option allows to generate a expiring single-use token sent by e-mail to the user to reset his/her password.',
1394
                ],
1395
                [
1396
                    'name' => 'user_reset_password_token_limit',
1397
                    'title' => 'Time limit for password reset token',
1398
                    'comment' => 'The number of seconds before the generated token automatically expires and cannot be used anymore (a new token needs to be generated).',
1399
                ],
1400
                [
1401
                    'name' => 'access_to_personal_file_for_all',
1402
                    'title' => 'Access to personal file for all',
1403
                    'comment' => 'Allows access to all personal files without restriction',
1404
                ],
1405
            ],
1406
            'tracking' => [
1407
                [
1408
                    'name' => 'my_progress_course_tools_order',
1409
                    'title' => "Order of tools on 'My progress' page",
1410
                    'comment' => "Change the order of tools shown on the 'My progress' page for learners. Options include 'quizzes', 'learning_paths' and 'skills'.",
1411
                ],
1412
                [
1413
                    'name' => 'block_my_progress_page',
1414
                    'title' => "Prevent access to 'My progress'",
1415
                    'comment' => "In specific implementations like online exams, you might want to prevent user access to the 'My progress' page.",
1416
                ],
1417
                [
1418
                    'name' => 'tracking_skip_generic_data',
1419
                    'title' => 'Skip generic data in learner self-tracking page',
1420
                    'comment' => "If the 'My progress' page takes too long to load, you might want to remove the processing of generic statistics for the user. In this case enable this setting.",
1421
                ],
1422
                [
1423
                    'name' => 'footer_extra_content',
1424
                    'title' => 'Extra content in footer',
1425
                    'comment' => 'You can add HTML code like meta tags',
1426
                ],
1427
                [
1428
                    'name' => 'header_extra_content',
1429
                    'title' => 'Extra content in header',
1430
                    'comment' => 'You can add HTML code like meta tags',
1431
                ],
1432
                [
1433
                    'name' => 'meta_twitter_creator',
1434
                    'title' => 'Twitter Creator account',
1435
                    'comment' => 'The Twitter Creator is a Twitter account (e.g. @ywarnier) that represents the *person* that created the site. This field is optional.',
1436
                ],
1437
                [
1438
                    'name' => 'meta_twitter_site',
1439
                    'title' => 'Twitter Site account',
1440
                    'comment' => 'The Twitter site is a Twitter account (e.g. @chamilo_news) that is related to your site. It is usually a more temporary account than the Twitter creator account, or represents an entity (instead of a person). This field is required if you want the Twitter card meta fields to show.',
1441
                ],
1442
                [
1443
                    'name' => 'meta_description',
1444
                    'title' => 'Meta description',
1445
                    'comment' => "This will show an OpenGraph Description meta (og:description) in your site's headers",
1446
                ],
1447
                [
1448
                    'name' => 'meta_image_path',
1449
                    'title' => 'Meta image path',
1450
                    'comment' => 'This Meta Image path is the path to a file inside your Chamilo directory (e.g. home/image.png) that should show in a Twitter card or a OpenGraph card when showing a link to your LMS. Twitter recommends an image of 120 x 120 pixels, which might sometimes be cropped to 120x90.',
1451
                ],
1452
                [
1453
                    'name' => 'meta_title',
1454
                    'title' => 'OpenGraph meta title',
1455
                    'comment' => "This will show an OpenGraph Title meta (og:title) in your site's headers",
1456
                ],
1457
            ],
1458
            'attendance' => [
1459
                [
1460
                    'name' => 'allow_delete_attendance',
1461
                    'title' => 'Attendances: enable deletion',
1462
                    'comment' => 'The default behaviour in Chamilo is to hide attendance sheets instead of deleting them, just in case the teacher would do it by mistake. Enable this option to allow teachers to *really* delete attendance sheets.',
1463
                ],
1464
            ],
1465
            'webservice' => [
1466
                [
1467
                    'name' => 'webservice_return_user_field',
1468
                    'title' => 'Webservices return user field',
1469
                    'comment' => "Ask REST webservices (v2.php) to return another identifier for fields related to user ID. This is useful if the external system doesn't really deal with user IDs as they are in Chamilo, as it helps the external system match the user data return with some external data that is know to Chamilo. For example, if you use an external authentication system, you can return the extra field used to match the user with the external authentication system rather than user.id.",
1470
                ],
1471
                [
1472
                    'name' => 'webservice_enable_adminonly_api',
1473
                    'title' => 'Enable admin-only web services',
1474
                    'comment' => 'Some REST web services are marked for admins only and are disabled by default. Enable this feature to give access to these web services (to users with admin credentials, obviously).',
1475
                ],
1476
                [
1477
                    'name' => 'disable_webservices',
1478
                    'title' => 'Disable web services',
1479
                    'comment' => 'If you do not use web services, enable this to avoid any unnecessary security risk.',
1480
                ],
1481
                [
1482
                    'name' => 'allow_download_documents_by_api_key',
1483
                    'title' => 'Allow download course documents by API Key',
1484
                    'comment' => 'Download documents verifying the REST API key for a user',
1485
                ],
1486
                [
1487
                    'name' => 'messaging_allow_send_push_notification',
1488
                    'title' => 'Allow Push Notifications to the Chamilo Messaging mobile app',
1489
                    'comment' => "Send Push Notifications by Google's Firebase Console",
1490
                ],
1491
                [
1492
                    'name' => 'messaging_gdc_api_key',
1493
                    'title' => 'Server key of Firebase Console for Cloud Messaging',
1494
                    'comment' => 'Server key (legacy token) from project credentials',
1495
                ],
1496
                [
1497
                    'name' => 'messaging_gdc_project_number',
1498
                    'title' => 'Sender ID of Firebase Console for Cloud Messaging',
1499
                    'comment' => "You need register a project on <a href='https://console.firebase.google.com/'>Google Firebase Console</a>",
1500
                ],
1501
            ],
1502
            'crons' => [
1503
                [
1504
                    'name' => 'cron_remind_course_expiration_activate',
1505
                    'title' => 'Remind Course Expiration cron',
1506
                    'comment' => 'Enable the Remind Course Expiration cron',
1507
                ],
1508
                [
1509
                    'name' => 'cron_remind_course_expiration_frequency',
1510
                    'title' => 'Frequency for the Remind Course Expiration cron',
1511
                    'comment' => 'Number of days before the expiration of the course to consider to send reminder mail',
1512
                ],
1513
                [
1514
                    'name' => 'cron_remind_course_finished_activate',
1515
                    'title' => 'Send course finished notification',
1516
                    'comment' => 'Whether to send an e-mail to students when their course (session) is finished. This requires cron tasks to be configured (see main/cron/ directory).',
1517
                ],
1518
            ],
1519
            'announcement' => [
1520
                [
1521
                    'name' => 'announcements_hide_send_to_hrm_users',
1522
                    'title' => 'Hide option to send announcements to HR users',
1523
                    'comment' => 'Remove the checkbox to enable sending announcements to users with HR roles (still requires to confirm in the announcements tool).',
1524
                ],
1525
                [
1526
                    'name' => 'hide_global_announcements_when_not_connected',
1527
                    'title' => 'Hide global announcements for anonymous',
1528
                    'comment' => 'Hide platform announcements from anonymous users, and only show them to authenticated users.',
1529
                ],
1530
            ],
1531
            'ticket' => [
1532
                [
1533
                    'name' => 'show_link_bug_notification',
1534
                    'title' => 'Show link to report bug',
1535
                    'comment' => 'Show a link in the header to report a bug inside of our support platform (http://support.chamilo.org). When clicking on the link, the user is sent to the support platform, on a wiki page that describes the bug reporting process.',
1536
                ],
1537
                [
1538
                    'name' => 'show_link_ticket_notification',
1539
                    'title' => 'Show ticket creation link',
1540
                    'comment' => 'Show the ticket creation link to users on the right side of the portal',
1541
                ],
1542
                [
1543
                    'name' => 'ticket_allow_category_edition',
1544
                    'title' => 'Allow tickets categories edition',
1545
                    'comment' => 'Allow category edition by administrators.',
1546
                ],
1547
                [
1548
                    'name' => 'ticket_allow_student_add',
1549
                    'title' => 'Allow users to add tickets',
1550
                    'comment' => 'Allows all users to add tickets not only the administrators.',
1551
                ],
1552
                [
1553
                    'name' => 'ticket_send_warning_to_all_admins',
1554
                    'title' => 'Send ticket warning messages to administrators',
1555
                    'comment' => "Send a message if a ticket was created without a category or if a category doesn't have any administrator assigned.",
1556
                ],
1557
                [
1558
                    'name' => 'ticket_warn_admin_no_user_in_category',
1559
                    'title' => 'Send alert to administrators if tickets category has no one in charge',
1560
                    'comment' => "Send a warning message (e-mail and Chamilo message) to all administrators if there's not a user assigned to a category.",
1561
                ],
1562
            ],
1563
        ];
1564
    }
1565
1566
    public static function getNewConfigurationSettings(): array
1567
    {
1568
        return [
1569
            'catalog' => [
1570
                [
1571
                    'name' => 'course_catalog_settings',
1572
                    'title' => 'Course Catalog Settings',
1573
                    'comment' => 'JSON configuration for course catalog: link settings, filters, sort options, and more.',
1574
                ],
1575
                [
1576
                    'name' => 'session_catalog_settings',
1577
                    'title' => 'Session Catalog Settings',
1578
                    'comment' => 'JSON configuration for session catalog: filters and display options.',
1579
                ],
1580
                [
1581
                    'name' => 'show_courses_descriptions_in_catalog',
1582
                    'title' => 'Show Course Descriptions',
1583
                    'comment' => 'Display course descriptions within the catalog listing.',
1584
                ],
1585
                [
1586
                    'name' => 'course_catalog_published',
1587
                    'title' => 'Published Courses Only',
1588
                    'comment' => 'Limit the catalog to only courses marked as published.',
1589
                ],
1590
                [
1591
                    'name' => 'course_catalog_display_in_home',
1592
                    'title' => 'Display Catalog on Homepage',
1593
                    'comment' => 'Show the course catalog block on the platform homepage.',
1594
                ],
1595
                [
1596
                    'name' => 'hide_public_link',
1597
                    'title' => 'Hide Public Link',
1598
                    'comment' => 'Remove the public URL link from course cards.',
1599
                ],
1600
                [
1601
                    'name' => 'only_show_selected_courses',
1602
                    'title' => 'Only Selected Courses',
1603
                    'comment' => 'Show only manually selected courses in the catalog.',
1604
                ],
1605
                [
1606
                    'name' => 'only_show_course_from_selected_category',
1607
                    'title' => 'Only show matching categories in courses catalogue',
1608
                    'comment' => 'When not empty, only the courses from the given categories will appear in the courses catalogue.',
1609
                ],
1610
                [
1611
                    'name' => 'allow_students_to_browse_courses',
1612
                    'title' => 'Allow Student Browsing',
1613
                    'comment' => 'Permit students to browse and filter the course catalog.',
1614
                ],
1615
                [
1616
                    'name' => 'course_catalog_hide_private',
1617
                    'title' => 'Hide Private Courses',
1618
                    'comment' => 'Exclude private courses from the catalog display.',
1619
                ],
1620
                [
1621
                    'name' => 'show_courses_sessions',
1622
                    'title' => 'Show Courses & Sessions',
1623
                    'comment' => 'Include both courses and sessions in catalog results.',
1624
                ],
1625
                [
1626
                    'name' => 'allow_session_auto_subscription',
1627
                    'title' => 'Auto Session Subscription',
1628
                    'comment' => 'Enable automatic subscription to sessions for users.',
1629
                ],
1630
                [
1631
                    'name' => 'course_subscription_in_user_s_session',
1632
                    'title' => 'Subscription in Session View',
1633
                    'comment' => 'Allow users to subscribe to courses directly from their session page.',
1634
                ],
1635
            ],
1636
            'course' => [
1637
                [
1638
                    'name' => 'active_tools_on_create',
1639
                    'title' => 'Active tools on course creation',
1640
                    'comment' => 'Select the tools that will be *active* after the creation of a course.',
1641
                ],
1642
                [
1643
                    'name' => 'allow_base_course_category',
1644
                    'title' => 'Use course categories from top URL',
1645
                    'comment' => 'In multi-URL settings, allow admins and teachers to assign categories from the top URL to courses in the children URLs.',
1646
                ],
1647
                [
1648
                    'name' => 'allow_public_course_with_no_terms_conditions',
1649
                    'title' => 'Access public courses with terms and conditions',
1650
                    'comment' => 'With this option enabled, if a course has public visibility and terms and conditions, those terms are disabled while the course is public.',
1651
                ],
1652
                [
1653
                    'name' => 'block_registered_users_access_to_open_course_contents',
1654
                    'title' => 'Block public courses access to authenticated users',
1655
                    'comment' => "Only show public courses. Do not allow registered users to access courses with 'open' visibility unless they are subscribed to each of these courses.",
1656
                ],
1657
                [
1658
                    'name' => 'course_about_teacher_name_hide',
1659
                    'title' => 'Hide course teacher info on course details page',
1660
                    'comment' => 'On the course details page, hide the teacher information.',
1661
                ],
1662
                [
1663
                    'name' => 'course_category_code_to_use_as_model',
1664
                    'title' => 'Restrict course templates to one course category',
1665
                    'comment' => 'Give a category code to use as course templates. Only those courses will show in the drop-down at course creation time, and users won’t see the courses in this category from the courses catalogue.',
1666
                ],
1667
                [
1668
                    'name' => 'course_configuration_tool_extra_fields_to_show_and_edit',
1669
                    'title' => 'Extra fields to show in course settings',
1670
                    'comment' => 'The fields defined in this array will appear on the course settings page.',
1671
                ],
1672
                [
1673
                    'name' => 'course_creation_by_teacher_extra_fields_to_show',
1674
                    'title' => 'Extra fields to show on course creation form',
1675
                    'comment' => 'The fields defined in this array will appear as additional fields in the course creation form.',
1676
                ],
1677
                [
1678
                    'name' => 'course_creation_donate_link',
1679
                    'title' => 'Donation link on course creation page',
1680
                    'comment' => 'The page the donation message should link to (full URL).',
1681
                ],
1682
                [
1683
                    'name' => 'course_creation_donate_message_show',
1684
                    'title' => 'Show donate message on course creation page',
1685
                    'comment' => 'Add a message box in the course creation page for teachers, asking them to donate to the project.',
1686
                ],
1687
                [
1688
                    'name' => 'course_creation_form_hide_course_code',
1689
                    'title' => 'Remove course code field from course creation form',
1690
                    'comment' => 'If not provided, the course code is generated by default based on the course title, so enable this option to remove the code field from the course creation form altogether.',
1691
                ],
1692
                [
1693
                    'name' => 'course_creation_form_set_course_category_mandatory',
1694
                    'title' => 'Set course category mandatory',
1695
                    'comment' => 'When creating a course, make the course category a required setting.',
1696
                ],
1697
                [
1698
                    'name' => 'course_creation_form_set_extra_fields_mandatory',
1699
                    'title' => 'Extra fields to require on course creation form',
1700
                    'comment' => 'The fields defined in this array will be mandatory in the course creation form.',
1701
                ],
1702
                [
1703
                    'name' => 'course_creation_splash_screen',
1704
                    'title' => 'Splash screen for courses',
1705
                    'comment' => 'Show a splash screen when creating a new course.',
1706
                ],
1707
                [
1708
                    'name' => 'course_creation_user_course_extra_field_relation_to_prefill',
1709
                    'title' => 'Prefill course fields with fields from user',
1710
                    'comment' => 'If not empty, the course creation process will look for some fields in the user profile and auto-fill them for the course. For example, a teacher specialized in digital marketing could automatically set a « digital marketing » flag on each course (s)he creates.',
1711
                ],
1712
                [
1713
                    'name' => 'course_log_default_extra_fields',
1714
                    'title' => 'User extra fields by default in course stats page',
1715
                    'comment' => 'Configure this array with the internal IDs of the extra fields you want to show by default in the main course stats page.',
1716
                ],
1717
                [
1718
                    'name' => 'course_log_hide_columns',
1719
                    'title' => 'Hide columns from course logs',
1720
                    'comment' => 'This array gives you the possibility to configure which columns to hide in the main course stats page and in the total time report.',
1721
                ],
1722
                [
1723
                    'name' => 'course_student_info',
1724
                    'title' => 'Course student info display',
1725
                    'comment' => 'On the ‘My courses’/’My sessions’ pages, show additional information regarding the score, progress and/or certificate acquisition by the student.',
1726
                ],
1727
                [
1728
                    'name' => 'enable_unsubscribe_button_on_my_course_page',
1729
                    'title' => 'Show unsubscribe button in ‘My courses’',
1730
                    'comment' => 'Add a button to unsubscribe from a course on the ‘My courses’ page.',
1731
                ],
1732
                [
1733
                    'name' => 'hide_course_rating',
1734
                    'title' => 'Hide course rating',
1735
                    'comment' => 'The course rating feature comes by default in different places. If you don’t want it, enable this option.',
1736
                ],
1737
                [
1738
                    'name' => 'hide_course_sidebar',
1739
                    'title' => 'Hide courses block in the sidebar',
1740
                    'comment' => 'When on screens where the left menu is visible, do not display the « Courses » section.',
1741
                ],
1742
                [
1743
                    'name' => 'multiple_access_url_show_shared_course_marker',
1744
                    'title' => 'Show multi-URL shared course marker',
1745
                    'comment' => 'Adds a link icon to courses that are shared between URLs, so users (in particular teachers) know they have to take special care when editing the course content.',
1746
                ],
1747
                [
1748
                    'name' => 'my_courses_show_courses_in_user_language_only',
1749
                    'title' => "Only show courses in the user's language",
1750
                    'comment' => "If enabled, this option will hide all courses not set in the user's language.",
1751
                ],
1752
                [
1753
                    'name' => 'resource_sequence_show_dependency_in_course_intro',
1754
                    'title' => 'Show dependencies in course intro',
1755
                    'comment' => 'When using resources sequencing with courses or sessions, show the dependencies of the course on the course’s homepage.',
1756
                ],
1757
                [
1758
                    'name' => 'view_grid_courses',
1759
                    'title' => 'View courses in a grid layout',
1760
                    'comment' => 'View courses in a layout with several courses per line. Otherwise, the layout will show one course per line.',
1761
                ],
1762
                [
1763
                    'name' => 'show_course_duration',
1764
                    'title' => 'Show courses duration',
1765
                    'comment' => 'Display the course duration next to the course title in the course catalogue and the courses list.',
1766
                ],
1767
            ],
1768
            'certificate' => [
1769
                [
1770
                    'name' => 'add_certificate_pdf_footer',
1771
                    'title' => 'Add footer to PDF certificate exports',
1772
                    'comment' => '',
1773
                ],
1774
                [
1775
                    'name' => 'hide_my_certificate_link',
1776
                    'title' => "Hide 'my certificate' link",
1777
                    'comment' => 'Hide the certificates page for non-admin users.',
1778
                ],
1779
                [
1780
                    'name' => 'session_admin_can_download_all_certificates',
1781
                    'title' => 'Allow session admins to download private certificates',
1782
                    'comment' => 'If enabled, session administrators can download certificates even if they are not publicly published.',
1783
                ],
1784
                [
1785
                    'name' => 'allow_public_certificates',
1786
                    'title' => 'Allow public certificates',
1787
                    'comment' => 'User certificates can be view by unregistered users.',
1788
                ],
1789
                [
1790
                    'name' => 'certificate_pdf_orientation',
1791
                    'title' => 'PDF orientation for certificates',
1792
                    'comment' => 'Set ‘portrait’ or ‘landscape’ (technical terms) for PDF certificates.',
1793
                ],
1794
                [
1795
                    'name' => 'allow_general_certificate',
1796
                    'title' => 'Enable general certificate',
1797
                    'comment' => 'A general certificate is a certificate grouping all the accomplishments by the user in the courses (s)he followed.',
1798
                ],
1799
                [
1800
                    'name' => 'hide_certificate_export_link',
1801
                    'title' => 'Certificates: hide PDF export link for all',
1802
                    'comment' => 'Enable to completely remove the possibility to export certificates to PDF (for all users). If enabled, this includes hiding it from students.',
1803
                ],
1804
                [
1805
                    'name' => 'add_gradebook_certificates_cron_task_enabled',
1806
                    'title' => 'Certificates auto-generation on WS call',
1807
                    'comment' => 'When enabled, and when using the WSCertificatesList webservice, this option will make sure that all certificates have been generated by users if they reached the sufficient score in all items defined in gradebooks for all courses and sessions (this might consume considerable processing resources on your server).',
1808
                ],
1809
                [
1810
                    'name' => 'certificate_filter_by_official_code',
1811
                    'title' => 'Certificates filter by official code',
1812
                    'comment' => 'Add a filter on the students official code to the certificates list.',
1813
                ],
1814
                [
1815
                    'name' => 'hide_certificate_export_link_students',
1816
                    'title' => 'Certificates: hide export link from students',
1817
                    'comment' => "If enabled, students won't be able to export their certificates to PDF. This option is available because, depending on the precise HTML structure of the certificate template, the PDF export might be of low quality. In this case, it is best to only show the HTML certificate to students.",
1818
                ],
1819
            ],
1820
            'admin' => [
1821
                [
1822
                    'name' => 'max_anonymous_users',
1823
                    'title' => 'Multiple anonymous users',
1824
                    'comment' => 'Enable this option to allow multiple system users for anonymous users. This is useful when using this platform as a public showroom for some courses. Having multiple anonymous users will let tracking work for the duration of the experience for several users without mixing their data (which could otherwise confuse them).',
1825
                ],
1826
                [
1827
                    'name' => 'chamilo_latest_news',
1828
                    'title' => 'Latest news',
1829
                    'comment' => 'Get the latest news from Chamilo, including security vulnerabilities and events, directly inside your administration panel. These pieces of news will be checked on the Chamilo news server every time you load the administration page and are only visible to administrators.',
1830
                ],
1831
                [
1832
                    'name' => 'chamilo_support',
1833
                    'title' => 'Chamilo support block',
1834
                    'comment' => 'Get pro tips and an easy way to contact official service providers for professional support, directly from the makers of Chamilo. This block appears on your administration page, is only visible by administrators, and refreshes every time you load the administration page.',
1835
                ],
1836
                [
1837
                    'name' => 'send_inscription_notification_to_general_admin_only',
1838
                    'title' => 'Notify global admin only of new users',
1839
                    'comment' => '',
1840
                ],
1841
                [
1842
                    'name' => 'show_link_request_hrm_user',
1843
                    'title' => 'Show link to request bond between user and HRM',
1844
                    'comment' => '',
1845
                ],
1846
                [
1847
                    'name' => 'user_status_option_only_for_admin_enabled',
1848
                    'title' => 'Hide role from normal users',
1849
                    'comment' => "Allows hiding users' role when this option is set to true and the following array sets the corresponding role to 'true'.",
1850
                ],
1851
                [
1852
                    'name' => 'user_status_option_show_only_for_admin',
1853
                    'title' => 'Define which roles are hidden to normal users',
1854
                    'comment' => "The roles set to 'true' will only appear to administrators. Other users will not be able to see them.",
1855
                ],
1856
            ],
1857
            'agenda' => [
1858
                [
1859
                    'name' => 'agenda_reminders_sender_id',
1860
                    'title' => 'ID of the user who officially sends the agenda reminders',
1861
                    'comment' => 'Sets which user appears as the sender of agenda reminder emails.',
1862
                ],
1863
                [
1864
                    'name' => 'agenda_colors',
1865
                    'title' => 'Agenda colours',
1866
                    'comment' => 'Set HTML-code colours for each type of event to change the colour when displaying the event.',
1867
                ],
1868
                [
1869
                    'name' => 'agenda_legend',
1870
                    'title' => 'Agenda colour legends',
1871
                    'comment' => 'Add a small text as legend describing the colours used for the events.',
1872
                ],
1873
                [
1874
                    'name' => 'agenda_on_hover_info',
1875
                    'title' => 'Agenda hover info',
1876
                    'comment' => 'Customize the agenda on cursor hovering. Show agenda comment and/or description.',
1877
                ],
1878
                [
1879
                    'name' => 'allow_agenda_edit_for_hrm',
1880
                    'title' => 'Allow HRM role to edit or delete agenda events',
1881
                    'comment' => 'This gives the HRM a little more power by allowing them to edit/delete agenda events in the course-session.',
1882
                ],
1883
                [
1884
                    'name' => 'allow_careers_in_global_agenda',
1885
                    'title' => 'Link global calendar events with careers and promotions',
1886
                    'comment' => '',
1887
                ],
1888
                [
1889
                    'name' => 'default_calendar_view',
1890
                    'title' => 'Default calendar display mode',
1891
                    'comment' => 'Set this to dayGridMonth, basicWeek, agendaWeek or agendaDay to change the default view of the calendar.',
1892
                ],
1893
                [
1894
                    'name' => 'fullcalendar_settings',
1895
                    'title' => 'Calendar customization',
1896
                    'comment' => 'Extra settings for the agenda, allowing you to configure the specific calendar library we use.',
1897
                ],
1898
                [
1899
                    'name' => 'personal_agenda_show_all_session_events',
1900
                    'title' => 'Display all agenda events in personal agenda',
1901
                    'comment' => 'Do not hide events from expired sessions.',
1902
                ],
1903
                [
1904
                    'name' => 'personal_calendar_show_sessions_occupation',
1905
                    'title' => 'Display sessions occupations in personal agenda',
1906
                    'comment' => '',
1907
                ],
1908
            ],
1909
            'announcement' => [
1910
                [
1911
                    'name' => 'allow_careers_in_global_announcements',
1912
                    'title' => 'Link global announcements with careers and promotions',
1913
                    'comment' => '',
1914
                ],
1915
                [
1916
                    'name' => 'allow_coach_to_edit_announcements',
1917
                    'title' => 'Allow coaches to always edit announcements',
1918
                    'comment' => 'Allow coaches to always edit announcements inside active or past sessions.',
1919
                ],
1920
                [
1921
                    'name' => 'allow_scheduled_announcements',
1922
                    'title' => 'Enable scheduled announcements in sessions',
1923
                    'comment' => 'Allows the sessions managers to set announcements that will be triggered on specific dates or after/before a number of days of start/end of the session. Enabling this feature requires you to setup a cron task.',
1924
                ],
1925
                [
1926
                    'name' => 'course_announcement_scheduled_by_date',
1927
                    'title' => 'Date-based announcements',
1928
                    'comment' => 'Allow teachers to configure announcements that will be sent at specific dates. This requires you to setup a cron task on cron/course_announcement.php running at least once daily.',
1929
                ],
1930
                [
1931
                    'name' => 'disable_announcement_attachment',
1932
                    'title' => 'Disable attachment to announcements',
1933
                    'comment' => 'Even though attachments in this version are dealt in an elegant way and do not multiply on disk, you might want to disable attachments altogether if you want to avoid excesses.',
1934
                ],
1935
                [
1936
                    'name' => 'disable_delete_all_announcements',
1937
                    'title' => 'Disable button to delete all announcements',
1938
                    'comment' => "Select 'Yes' to remove the button to delete all announcements, as this can be used by mistake by teachers.",
1939
                ],
1940
                [
1941
                    'name' => 'hide_announcement_sent_to_users_info',
1942
                    'title' => "Hide 'sent to' in announcements",
1943
                    'comment' => "Select 'Yes' to avoid showing to whom an announcement has been sent.",
1944
                ],
1945
                [
1946
                    'name' => 'hide_send_to_hrm_users',
1947
                    'title' => 'Hide the option to send an announcement copy to HRM',
1948
                    'comment' => "In the announcements form, an option normally appears to allow teachers to send a copy of the announcement to the user's HRM. Set this to 'Yes' to remote the option (and *not* send the copy).",
1949
                ],
1950
            ],
1951
            'document' => [
1952
                [
1953
                    'name' => 'video_features',
1954
                    'title' => 'Video features',
1955
                    'comment' => "Array of extra features you can enable for the video player in Chamilo. Options include 'speed', which allows you to change the playback speed of a video.",
1956
                ],
1957
                [
1958
                    'name' => 'documents_custom_cloud_link_list',
1959
                    'title' => 'Set strict hosts list for cloud links',
1960
                    'comment' => 'The documents tool can integrate links to files in the cloud. The list of cloud services is limited to a hardcoded list, but you can define the ‘links’ array that will contain a list of your own list of services/URLs. The list defined here will replace the default list.',
1961
                ],
1962
                [
1963
                    'name' => 'documents_hide_download_icon',
1964
                    'title' => 'Hide documents download icon',
1965
                    'comment' => 'In the documents tool, hide the download icon from users.',
1966
                ],
1967
                [
1968
                    'name' => 'enable_x_sendfile_headers',
1969
                    'title' => 'Enable X-sendfile headers',
1970
                    'comment' => 'Enable this if you have X-sendfile enabled at the web server level and you want to add the required headers for browsers to pick it up.',
1971
                ],
1972
                [
1973
                    'name' => 'group_category_document_access',
1974
                    'title' => 'Enable sharing options for document inside group category',
1975
                    'comment' => '',
1976
                ],
1977
                [
1978
                    'name' => 'group_document_access',
1979
                    'title' => 'Enable sharing options for group document',
1980
                    'comment' => '',
1981
                ],
1982
                [
1983
                    'name' => 'send_notification_when_document_added',
1984
                    'title' => 'Send notification to students when document added',
1985
                    'comment' => 'Whenever someone creates a new item in the documents tool, send a notification to users.',
1986
                ],
1987
                [
1988
                    'name' => 'thematic_pdf_orientation',
1989
                    'title' => 'PDF orientation for course progress',
1990
                    'comment' => 'In the course progress tool, you can print a PDF of the different elements. Set ‘portrait’ or ‘landscape’ (technical terms) to change it.',
1991
                ],
1992
            ],
1993
            'attendance' => [
1994
                [
1995
                    'name' => 'attendance_allow_comments',
1996
                    'title' => 'Allow comments in attendance sheets',
1997
                    'comment' => 'Teachers and students can comment on each individual attendance (to justify).',
1998
                ],
1999
                [
2000
                    'name' => 'attendance_calendar_set_duration',
2001
                    'title' => 'Duration of attendance events',
2002
                    'comment' => 'Option to define the duration for an event in attendance sheet.',
2003
                ],
2004
                [
2005
                    'name' => 'enable_sign_attendance_sheet',
2006
                    'title' => 'Attendance signing',
2007
                    'comment' => "Enable taking signatures to confirm one's attendance.",
2008
                ],
2009
                [
2010
                    'name' => 'multilevel_grading',
2011
                    'title' => 'Enable Multi-Level Attendance Grading',
2012
                    'comment' => 'Allows grading attendance with multiple levels instead of a simple present/absent system.',
2013
                ],
2014
            ],
2015
            'display' => [
2016
                [
2017
                    'name' => 'table_row_list',
2018
                    'title' => 'Default offered pagination numbers in tables',
2019
                    'comment' => 'Set the options you want to appear in the navigation around a table to show less or more rows on one page. e.g. [50, 100, 200, 500].',
2020
                ],
2021
                [
2022
                    'name' => 'table_default_row',
2023
                    'title' => 'Default number of table rows',
2024
                    'comment' => 'How many rows should be shown in all tables by default.',
2025
                ],
2026
                [
2027
                    'name' => 'hide_complete_name_in_whoisonline',
2028
                    'title' => "Hide the complete username in 'who is online'",
2029
                    'comment' => "The 'who is online' page (if enabled) will show a picture and a name for each user currently online. Enable this option to hide the names.",
2030
                ],
2031
                [
2032
                    'name' => 'hide_main_navigation_menu',
2033
                    'title' => 'Hide main navigation menu',
2034
                    'comment' => 'When using Chamilo for a specific purpose (like one massive online exam), you might want to reduce distraction even more by removing the side menu.',
2035
                ],
2036
                [
2037
                    'name' => 'order_user_list_by_official_code',
2038
                    'title' => 'Order users by official code',
2039
                    'comment' => "Use the 'official code' to sort most students list on the platform, instead of their lastname or firstname.",
2040
                ],
2041
                [
2042
                    'name' => 'gravatar_enabled',
2043
                    'title' => 'Gravatar user pictures',
2044
                    'comment' => "Enable this option to search into the Gravatar repository for pictures of the current user, if the user hasn't defined a picture locally. This is great to auto-fill pictures on your site, in particular if your users are active internet users. Gravatar pictures can be configured easily, based on the e-mail address of a user, at http://en.gravatar.com/",
2045
                ],
2046
                [
2047
                    'name' => 'hide_social_media_links',
2048
                    'title' => 'Hide social media links',
2049
                    'comment' => 'Some pages allow you to promote the portal or a course on social networks. Enable this setting to remove the links.',
2050
                ],
2051
            ],
2052
            'editor' => [
2053
                [
2054
                    'name' => 'ck_editor_block_image_copy_paste',
2055
                    'title' => 'Prevent copy-pasting images in WYSIWYG editor',
2056
                    'comment' => 'Prevent the use of images copy-paste as base64 in the editor to avoid filling the database with images.',
2057
                ],
2058
                [
2059
                    'name' => 'editor_driver_list',
2060
                    'title' => 'List of WYSIWYG files drivers',
2061
                    'comment' => 'Array containing the names of the drivers for files access from the WYSIWYG editor.',
2062
                ],
2063
                [
2064
                    'name' => 'editor_settings',
2065
                    'title' => 'WYSIWYG editor settings',
2066
                    'comment' => 'Generic configuration array to reconfigure the WYSIWYG editor globally.',
2067
                ],
2068
                [
2069
                    'name' => 'enable_uploadimage_editor',
2070
                    'title' => 'Allow images drag&drop in WYSIWYG editor',
2071
                    'comment' => 'Enable image upload as file when doing a copy in the content or a drag and drop.',
2072
                ],
2073
                [
2074
                    'name' => 'full_ckeditor_toolbar_set',
2075
                    'title' => 'Full WYSIWYG editor toolbar',
2076
                    'comment' => 'Show the full toolbar in all WYSIWYG editor boxes around the platform.',
2077
                ],
2078
                [
2079
                    'name' => 'save_titles_as_html',
2080
                    'title' => 'Save titles as HTML',
2081
                    'comment' => 'Allow users to include HTML in title fields in several places. This allows for some styling of titles, notably in test questions.',
2082
                ],
2083
                [
2084
                    'name' => 'translate_html',
2085
                    'title' => 'Support multi-language HTML content',
2086
                    'comment' => 'If enabled, this option allows users to use a ‘lang’ attribute in HTML elements to define the langage the content of that element is written in. Enable multiple elements with different ‘lang’ attributes and Chamilo will display the content in the langage of the user only.',
2087
                ],
2088
                [
2089
                    'name' => 'video_context_menu_hidden',
2090
                    'title' => 'Hide the context menu on video player',
2091
                    'comment' => '',
2092
                ],
2093
                [
2094
                    'name' => 'video_player_renderers',
2095
                    'title' => 'Video player renderers',
2096
                    'comment' => 'Enable player renderers for YouTube, Vimeo, Facebook, DailyMotion, Twitch medias',
2097
                ],
2098
            ],
2099
            'chat' => [
2100
                [
2101
                    'name' => 'course_chat_restrict_to_coach',
2102
                    'title' => 'Restrict course chat to coaches',
2103
                    'comment' => 'Only allow students to talk to the tutors in the course (not other students).',
2104
                ],
2105
                [
2106
                    'name' => 'hide_chat_video',
2107
                    'title' => 'Hide videochat option in global chat',
2108
                    'comment' => '',
2109
                ],
2110
            ],
2111
            'platform' => [
2112
                [
2113
                    'name' => 'use_virtual_keyboard',
2114
                    'title' => 'Use virtual keyboard',
2115
                    'comment' => 'Make a virtual keyboard appear. This is useful when setting up restrictive exams in a physical room where students have no keyboard to limit their ability to cheat.',
2116
                ],
2117
                [
2118
                    'name' => 'hosting_limit_identical_email',
2119
                    'title' => 'Limit identical email usage',
2120
                    'comment' => 'Maximum number of accounts allowed to share the same e-mail address. Set to 0 to disable this limit.',
2121
                ],
2122
                [
2123
                    'name' => 'generate_random_login',
2124
                    'title' => 'Generate random username',
2125
                    'comment' => 'When importing users (batch processes), automatically generate a random string for username. Otherwise, the username will be generated on the basis of the firstname and lastname, or the prefix of the e-mail.',
2126
                ],
2127
                [
2128
                    'name' => 'pdf_img_dpi',
2129
                    'title' => 'PDF export resolution',
2130
                    'comment' => 'This represents the resolution of generated PDF files (in dot per inch, or dpi). The default is 96. Increasing it will give you better resolution PDF files but will also increase the weight and generation time of the files.',
2131
                ],
2132
                [
2133
                    'name' => 'platform_logo_url',
2134
                    'title' => 'URL for alternative platform logo',
2135
                    'comment' => 'Replaces the Chamilo logo by loading a (possibly remote) URL. Make sure this is allowed by your security policies.',
2136
                ],
2137
                [
2138
                    'name' => 'portfolio_advanced_sharing',
2139
                    'title' => 'Enable portfolio advanced sharing',
2140
                    'comment' => 'Decide who can view the posts and comments of the portfolio.',
2141
                ],
2142
                [
2143
                    'name' => 'portfolio_show_base_course_post_in_sessions',
2144
                    'title' => 'Show base course posts in session course',
2145
                    'comment' => 'Decide who can view the posts and comments of the portfolio.',
2146
                ],
2147
                [
2148
                    'name' => 'timepicker_increment',
2149
                    'title' => 'Timepicker increment',
2150
                    'comment' => 'Minimal time increment (in minutes) when selecting a date and time with the timepicker widget. For example, it might not be useful to have less than 5 or 15 minutes increments when talking about assignment submission, availability of a test, start time of a session, etc.',
2151
                ],
2152
                [
2153
                    'name' => 'unoconv_binaries',
2154
                    'title' => 'UNO converter binaries',
2155
                    'comment' => 'Give the system path to the UNO converter library to enable some extra exporting features.',
2156
                ],
2157
                [
2158
                    'name' => 'use_career_external_id_as_identifier_in_diagrams',
2159
                    'title' => 'Use external career ID in diagrams',
2160
                    'comment' => 'If using career diagrams, show an extra field instead of the internal career ID.',
2161
                ],
2162
                [
2163
                    'name' => 'user_status_show_option',
2164
                    'title' => 'Roles display options',
2165
                    'comment' => 'An array of role => true/false that defines whether that role should be shown or hidden.',
2166
                ],
2167
                [
2168
                    'name' => 'user_status_show_options_enabled',
2169
                    'title' => 'Selective display of roles',
2170
                    'comment' => 'Enable to use an array to define which roles should be clearly displayed and which should be hidden.',
2171
                ],
2172
                [
2173
                    'name' => 'access_to_personal_file_for_all',
2174
                    'title' => 'Access to personal file for all',
2175
                    'comment' => 'Allows all users to access, view, and manage their personal files within the system.',
2176
                ],
2177
            ],
2178
            'language' => [
2179
                [
2180
                    'name' => 'allow_course_multiple_languages',
2181
                    'title' => 'Multiple-language courses',
2182
                    'comment' => "Enable courses managed in more than one language. This option adds a language selector within the course page to let users switch easily, and adds a 'multiple_language' extra field to courses which allows for remote management procedures.",
2183
                ],
2184
                [
2185
                    'name' => 'language_flags_by_country',
2186
                    'title' => 'Language flags',
2187
                    'comment' => 'Use country flags for languages. This is not enabled by default because some languages are not strictly attached to a country, which can lead to frustration for some users.',
2188
                ],
2189
                [
2190
                    'name' => 'show_language_selector_in_menu',
2191
                    'title' => 'Language switcher in main menu',
2192
                    'comment' => 'Display a language selector in the main menu that immediately updates the language preference of the user. This can be useful in multilingual portals where learners have to switch from one language to another for their learning.',
2193
                ],
2194
                [
2195
                    'name' => 'template_activate_language_filter',
2196
                    'title' => 'Multiple-language document templates',
2197
                    'comment' => 'Enable document templates (at the platform or course level) to be configured for specific languages.',
2198
                ],
2199
            ],
2200
            'lp' => [
2201
                [
2202
                    'name' => 'lp_show_reduced_report',
2203
                    'title' => 'Learning paths: show reduced report',
2204
                    'comment' => 'Inside the learning paths tool, when a user reviews his own progress (through the stats icon), show a shorten (less detailed) version of the progress report.',
2205
                ],
2206
                [
2207
                    'name' => 'hide_scorm_pdf_link',
2208
                    'title' => 'Hide Learning Path PDF export',
2209
                    'comment' => 'Hide the Learning Path PDF Export icon from the Learning Paths list',
2210
                ],
2211
                [
2212
                    'name' => 'hide_scorm_copy_link',
2213
                    'title' => 'Hide SCORM Copy',
2214
                    'comment' => 'Hide the Learning Path Copy icon from the Learning Paths list',
2215
                ],
2216
                [
2217
                    'name' => 'hide_scorm_export_link',
2218
                    'title' => 'Hide SCORM Export',
2219
                    'comment' => 'Hide the SCORM Export icon from the Learning Paths list',
2220
                ],
2221
                [
2222
                    'name' => 'allow_lp_return_link',
2223
                    'title' => 'Show learning paths return link',
2224
                    'comment' => "Disable this option to hide the 'Return to homepage' button in the learning paths",
2225
                ],
2226
                [
2227
                    'name' => 'lp_prerequisite_on_quiz_unblock_if_max_attempt_reached',
2228
                    'title' => 'Unlock prerequisites after last test attempt',
2229
                    'comment' => 'Allows users to continue in a learning path after using all quiz attempts of a test used as prerequisite for other items.',
2230
                ],
2231
                [
2232
                    'name' => 'add_all_files_in_lp_export',
2233
                    'title' => 'Export all files when exporting a learning path',
2234
                    'comment' => 'When exporting a LP, all files and folders in the same path of an html will be exported too.',
2235
                ],
2236
                [
2237
                    'name' => 'allow_lp_chamilo_export',
2238
                    'title' => 'Export learning paths in the Chamilo backup format',
2239
                    'comment' => 'Enable the possibility to export any of your learning paths in a Chamilo course backup format.',
2240
                ],
2241
                [
2242
                    'name' => 'allow_teachers_to_access_blocked_lp_by_prerequisite',
2243
                    'title' => 'Teachers can access blocked learning paths',
2244
                    'comment' => 'Teachers do not need to pass complete learning paths to have access to a prerequisites-blocked learning path.',
2245
                ],
2246
                [
2247
                    'name' => 'disable_js_in_lp_view',
2248
                    'title' => 'Disable JS in learning paths view',
2249
                    'comment' => 'Disable JS files that Chamilo usually adds to HTML files in the learning path (while displaying them).',
2250
                ],
2251
                [
2252
                    'name' => 'hide_accessibility_label_on_lp_item',
2253
                    'title' => 'Hide requirements label in learning paths',
2254
                    'comment' => 'Hide the pre-requisites tooltip on learning path items. This is mostly an estaethic choice.',
2255
                ],
2256
                [
2257
                    'name' => 'hide_lp_time',
2258
                    'title' => 'Hide time from learning paths records',
2259
                    'comment' => 'Hide learning paths time spent in reports in general.',
2260
                ],
2261
                [
2262
                    'name' => 'lp_minimum_time',
2263
                    'title' => 'Minimum time to complete learning path',
2264
                    'comment' => 'Add a minimum time field to learning paths. If the user has not spent that much time on the learning path, the last item of the learning path cannot be completed.',
2265
                ],
2266
                [
2267
                    'name' => 'lp_view_accordion',
2268
                    'title' => "Foldable learning paths' items",
2269
                    'comment' => '',
2270
                ],
2271
                [
2272
                    'name' => 'show_invisible_exercise_in_lp_toc',
2273
                    'title' => 'Invisible tests visible in learning paths',
2274
                    'comment' => "Make tests marked as 'invisible' in the tests tool appear when they are included in a learning path.",
2275
                ],
2276
                [
2277
                    'name' => 'show_prerequisite_as_blocked',
2278
                    'title' => "Learning path's prerequisites",
2279
                    'comment' => 'On the learning paths lists, display a visual element to show that other learning paths are currently blocked by some prerequisites rule.',
2280
                ],
2281
                [
2282
                    'name' => 'validate_lp_prerequisite_from_other_session',
2283
                    'title' => 'Use learning path item status from other sessions',
2284
                    'comment' => 'Allow users to complete prerequisites in a learning path if the corresponding item was already completed in another session.',
2285
                ],
2286
                [
2287
                    'name' => 'allow_htaccess_import_from_scorm',
2288
                    'title' => 'Allow .htaccess from SCORM packages',
2289
                    'comment' => 'Normally, all .htaccess files are filtered and removed when importing content in Chamilo. This feature allows .htaccess to be imported if it is present in a SCORM package.',
2290
                ],
2291
                [
2292
                    'name' => 'allow_import_scorm_package_in_course_builder',
2293
                    'title' => 'SCORM import within course import',
2294
                    'comment' => 'Enable to copy the directory structure of SCORM packages when restoring a course (from the course maintenance tool).',
2295
                ],
2296
                [
2297
                    'name' => 'allow_lp_subscription_to_usergroups',
2298
                    'title' => 'Learning paths subscription for classes',
2299
                    'comment' => 'Enable subscription to learning paths and learning path categories to groups/classes.',
2300
                ],
2301
                [
2302
                    'name' => 'allow_session_lp_category',
2303
                    'title' => 'Learning paths categories can be managed in sessions',
2304
                    'comment' => '',
2305
                ],
2306
                [
2307
                    'name' => 'disable_my_lps_page',
2308
                    'title' => "Hide 'My learning paths' page",
2309
                    'comment' => "The page 'My learning path' was added in 1.11. Use this option to hide it.",
2310
                ],
2311
                [
2312
                    'name' => 'download_files_after_all_lp_finished',
2313
                    'title' => 'Download button after finishing learning paths',
2314
                    'comment' => "Show download files button after finishing all LP. Example: if ABC is the course code, and 1 and 100 are the doc id, choose: ['courses' => ['ABC' => [1, 100]]].",
2315
                ],
2316
                [
2317
                    'name' => 'force_edit_exercise_in_lp',
2318
                    'title' => 'Edition of tests included in learning paths',
2319
                    'comment' => 'Enable editing tests even if they have been included in a learning path. The default is to prevent edition if the test is in a learning path, because that can affect consistency of tracking among many learners if test modifications are significant.',
2320
                ],
2321
                [
2322
                    'name' => 'lp_allow_export_to_students',
2323
                    'title' => 'Learners can export learning paths',
2324
                    'comment' => 'Enable this to allow learners to download the learning paths as SCORM packages.',
2325
                ],
2326
                [
2327
                    'name' => 'lp_enable_flow',
2328
                    'title' => 'Navigate between learning paths',
2329
                    'comment' => "Add the possibility to select a 'next' learning path and show buttons inside the learning path to move from one to the next.",
2330
                ],
2331
                [
2332
                    'name' => 'lp_fixed_encoding',
2333
                    'title' => 'Fixed encoding in learning path',
2334
                    'comment' => 'Reduce resource usage by ignoring a check on the text encoding in imported learning paths.',
2335
                ],
2336
                [
2337
                    'name' => 'lp_item_prerequisite_dates',
2338
                    'title' => 'Date-based learning path items prerequisites',
2339
                    'comment' => 'Adds the option to define prerequisites with start and end dates for learnpath items.',
2340
                ],
2341
                [
2342
                    'name' => 'lp_menu_location',
2343
                    'title' => 'Learning path menu location',
2344
                    'comment' => "Set this to 'left' or 'right' to change the side of the learning path menu.",
2345
                ],
2346
                [
2347
                    'name' => 'lp_prerequisit_on_quiz_unblock_if_max_attempt_reached',
2348
                    'title' => 'Unlock learning path item if max attempt is reached for test prerequisite',
2349
                    'comment' => '',
2350
                ],
2351
                [
2352
                    'name' => 'lp_prerequisite_use_last_attempt_only',
2353
                    'title' => 'Use last score in learning path test prerequisites',
2354
                    'comment' => 'When a test is used as prerequisite for an item in the learning path, use the last attempt of the test only as validation for the prerequisite (default is to use best attempt).',
2355
                ],
2356
                [
2357
                    'name' => 'lp_prevents_beforeunload',
2358
                    'title' => 'Prevent beforeunload JS event in learning path',
2359
                    'comment' => 'This helps with browser compatibility by preventing tricky JS events to execute.',
2360
                ],
2361
                [
2362
                    'name' => 'lp_score_as_progress_enable',
2363
                    'title' => 'Use learning path score as progress',
2364
                    'comment' => 'This is useful when using SCORM content with only one large SCO. SCORM does not communicate progress, so this is a trick to use the score as progress. Enabling this option will let you configure this on a per-learning path basis.',
2365
                ],
2366
                [
2367
                    'name' => 'lp_show_max_progress_instead_of_average',
2368
                    'title' => 'Show max progress instead of average for learning paths reporting',
2369
                    'comment' => '',
2370
                ],
2371
                [
2372
                    'name' => 'lp_show_max_progress_or_average_enable_course_level_redefinition',
2373
                    'title' => 'Select max progress vs average for learning paths at course level',
2374
                    'comment' => 'Enable redefinition of the setting to show the best progress instead of averages in reporting of learnpaths at a course level.',
2375
                ],
2376
                [
2377
                    'name' => 'lp_start_and_end_date_visible_in_student_view',
2378
                    'title' => 'Display learning path availability to learners',
2379
                    'comment' => 'Show learning paths to learners with their availability dates, rather than hiding them until the date comes.',
2380
                ],
2381
                [
2382
                    'name' => 'lp_subscription_settings',
2383
                    'title' => 'Learning paths subscription settings',
2384
                    'comment' => "Configure additional options for the learning paths subscription feature. Options include 'allow_add_users_to_lp' and 'allow_add_users_to_lp_category'.",
2385
                ],
2386
                [
2387
                    'name' => 'lp_view_settings',
2388
                    'title' => 'Learning path display settings',
2389
                    'comment' => "Configure additional options for the learning paths display. Options include 'show_reporting_icon', 'hide_lp_arrow_navigation', 'show_toolbar_by_default', 'navigation_in_the_middle' and 'add_extra_quit_to_home_icon'.",
2390
                ],
2391
                [
2392
                    'name' => 'scorm_api_extrafield_to_use_as_student_id',
2393
                    'title' => 'Use extra field as student_id in SCORM communication',
2394
                    'comment' => 'Give the name of the extra field to be used as student_id for all SCORM communication.',
2395
                ],
2396
                [
2397
                    'name' => 'scorm_api_username_as_student_id',
2398
                    'title' => 'Use username as student_id in SCORM communication',
2399
                    'comment' => '',
2400
                ],
2401
                [
2402
                    'name' => 'scorm_lms_update_sco_status_all_time',
2403
                    'title' => 'Update SCO status autonomously',
2404
                    'comment' => 'If the SCO is not sending a status, take over and update the status based on what can be observed in Chamilo.',
2405
                ],
2406
                [
2407
                    'name' => 'scorm_upload_from_cache',
2408
                    'title' => 'Upload SCORM from cache dir',
2409
                    'comment' => 'Allow admins to upload a SCORM package (in zip form) into the cache directory and to use it as import source on the SCORM upload page.',
2410
                ],
2411
                [
2412
                    'name' => 'show_hidden_exercise_added_to_lp',
2413
                    'title' => 'Display tests from learning paths even if invisible',
2414
                    'comment' => 'Show hidden exercises that were added to a LP in the exercise list. If we are in a session, the test is invisible in the base course, it is included in a LP and the setting to show it is not specifically set to true, then hide it.',
2415
                ],
2416
                [
2417
                    'name' => 'show_invisible_exercise_in_lp_list',
2418
                    'title' => 'Display tests in list of learning path tests even if invisible',
2419
                    'comment' => '',
2420
                ],
2421
                [
2422
                    'name' => 'show_invisible_lp_in_course_home',
2423
                    'title' => 'Display link to learning path on course home when invisible',
2424
                    'comment' => 'If a learning path is set to invisible but the teacher/coach decided to make it available from the course homepage, this option prevents Chamilo from hiding the link on the course homepage.',
2425
                ],
2426
                [
2427
                    'name' => 'student_follow_page_add_LP_acquisition_info',
2428
                    'title' => 'Add acquisition column in learner follow-up',
2429
                    'comment' => 'Add column to learner follow-up page to show acquisition status by a learner on a learning path.',
2430
                ],
2431
                [
2432
                    'name' => 'student_follow_page_add_LP_invisible_checkbox',
2433
                    'title' => 'Add visibility information for learning paths on learner follow-up page',
2434
                    'comment' => '',
2435
                ],
2436
                [
2437
                    'name' => 'student_follow_page_add_LP_subscription_info',
2438
                    'title' => 'Unlocked information in learning paths list',
2439
                    'comment' => "This adds an 'unlocked' column in the learning paths list if the learner is subscribed to the given learning path and has access to it.",
2440
                ],
2441
                [
2442
                    'name' => 'student_follow_page_hide_lp_tests_average',
2443
                    'title' => 'Hide percentage sign in average of tests in learning paths in learner follow-up',
2444
                    'comment' => "Hides the icon of percentage in 'Average of tests in Learning Paths' indication on a student tracking",
2445
                ],
2446
                [
2447
                    'name' => 'student_follow_page_include_not_subscribed_lp_students',
2448
                    'title' => 'Include learning paths not subscribed to on learner follow-up page',
2449
                    'comment' => '',
2450
                ],
2451
                [
2452
                    'name' => 'ticket_lp_quiz_info_add',
2453
                    'title' => 'Add learning paths and tests info to ticket reporting',
2454
                    'comment' => '',
2455
                ],
2456
            ],
2457
            'exercise' => [
2458
                [
2459
                    'name' => 'add_exercise_best_attempt_in_report',
2460
                    'title' => 'Enable display of best score attempt',
2461
                    'comment' => "Provide a list of courses and tests' IDs that will show the best score attempt for any learner in the reports. ",
2462
                ],
2463
                [
2464
                    'name' => 'allow_edit_exercise_in_lp',
2465
                    'title' => 'Allow teachers to edit tests in learning paths',
2466
                    'comment' => 'By default, Chamilo prevents you from editing tests that are included inside a learning path. This is to avoid changes that would affect learners (past and future) differently regarding the results and/or progress in the learning path. This option allows teachers to bypass this restriction.',
2467
                ],
2468
                [
2469
                    'name' => 'allow_exercise_categories',
2470
                    'title' => 'Enable test categories',
2471
                    'comment' => 'Test categories are not enabled by default because they add a level of complexity. Enable this feature to show all test categories related management icons appear.',
2472
                ],
2473
                [
2474
                    'name' => 'allow_mandatory_question_in_category',
2475
                    'title' => 'Enable selecting mandatory questions',
2476
                    'comment' => 'Enable the selection of mandatory questions in a test when using random categories.',
2477
                ],
2478
                [
2479
                    'name' => 'allow_notification_setting_per_exercise',
2480
                    'title' => 'Test notification settings at test-level',
2481
                    'comment' => 'Enable the configuration of test submission notifications at the test level rather than the course level. Falls back to course-level settings if not defined at test-level.',
2482
                ],
2483
                [
2484
                    'name' => 'allow_quick_question_description_popup',
2485
                    'title' => 'Quick image addition to question',
2486
                    'comment' => 'Enable an additional icon in the test questions list to add an image as question description. This vastly accelerates question edition when the questions are in the title and the description only includes an image.',
2487
                ],
2488
                [
2489
                    'name' => 'allow_quiz_question_feedback',
2490
                    'title' => 'Add question feedback if incorrect answer',
2491
                    'comment' => 'By default, Chamilo allows you to show feedback on each answer in a question. With this option, an additional field is created to provide pre-defined feedback to the whole question. This feedback will only appear if the user answered incorrectly.',
2492
                ],
2493
                [
2494
                    'name' => 'allow_quiz_results_page_config',
2495
                    'title' => 'Enable test results page configuration',
2496
                    'comment' => "Define an array of settings you want to apply to all tests results pages. Settings can be 'hide_question_score', 'hide_expected_answer', 'hide_category_table', 'hide_correct_answered_questions', 'hide_total_score' and possibly more in the future. Look for ‘getPageConfigurationAttribute’ in the code to see what’s in use.",
2497
                ],
2498
                [
2499
                    'name' => 'allow_quiz_show_previous_button_setting',
2500
                    'title' => "Show 'previous' button in test to navigate questions",
2501
                    'comment' => "Set this to false to disable the 'previous' button when answering questions in a test, thus forcing users to always move ahead.",
2502
                ],
2503
                [
2504
                    'name' => 'allow_teacher_comment_audio',
2505
                    'title' => 'Audio feedback to submitted answers',
2506
                    'comment' => 'Allow teachers to provide feedback to users through audio (alternatively to text) on each question in a test.',
2507
                ],
2508
                [
2509
                    'name' => 'allow_time_per_question',
2510
                    'title' => 'Enable time per question in tests',
2511
                    'comment' => 'By default, it is only possible to limit the time per test. Limiting it per question adds an extra layer of possibilities, and you can (carefully) combine both.',
2512
                ],
2513
                [
2514
                    'name' => 'block_category_questions',
2515
                    'title' => 'Lock questions of previous categories in a test',
2516
                    'comment' => "When using this option, an additional option will appear in the test's configuration. When using a test with multiple question categories and asking for a distribution by category, this will allow the user to navigate questions per category. Once a category is finished, (s)he moves to the next category and cannot return to the previous category.",
2517
                ],
2518
                [
2519
                    'name' => 'block_quiz_mail_notification_general_coach',
2520
                    'title' => 'Block sending test notifications to general coach',
2521
                    'comment' => 'Learners completing a test usually sends notifications to coaches, including the general session coach. Enable this option to omit the general coach from these notifications.',
2522
                ],
2523
                [
2524
                    'name' => 'disable_clean_exercise_results_for_teachers',
2525
                    'title' => "Disable 'clean results' for teachers",
2526
                    'comment' => 'Disable the option to delete test results from the tests list. This is often used when less-careful teachers manage courses, to avoid critical mistakes.',
2527
                ],
2528
                [
2529
                    'name' => 'exercise_additional_teacher_modify_actions',
2530
                    'title' => 'Additional links for teachers in tests list',
2531
                    'comment' => "Configure callback elements to generate new action icons for teachers to the right side of the tests list, in the form of an array, e.g. ['myplugin' => ['MyPlugin', 'urlGeneratorCallback']]",
2532
                ],
2533
                [
2534
                    'name' => 'exercise_attempts_report_show_username',
2535
                    'title' => 'Show username in test results page',
2536
                    'comment' => 'Show the username (instead or, or as well as, the user info) on the test results page.',
2537
                ],
2538
                [
2539
                    'name' => 'exercise_category_report_user_extra_fields',
2540
                    'title' => 'Add user extra fields in exercise category report',
2541
                    'comment' => 'Define an array with the list of user extra fields to add to the report.',
2542
                ],
2543
                [
2544
                    'name' => 'exercise_category_round_score_in_export',
2545
                    'title' => 'Round score in test exports',
2546
                    'comment' => '',
2547
                ],
2548
                [
2549
                    'name' => 'exercise_embeddable_extra_types',
2550
                    'title' => 'Embeddable question types',
2551
                    'comment' => 'By default, only single answer and multiple answer questions are considered when deciding whether a test can be embedded in a video or not. With this option, you can decide that more question types are available. Be aware that not all question types fit nicely in the space assigned to videos. Questions types are availalble in the code in question.class.php.',
2552
                ],
2553
                [
2554
                    'name' => 'exercise_hide_ip',
2555
                    'title' => 'Hide user IP from test reports',
2556
                    'comment' => 'By default, we show user information and its IP address, but this might be considered personal data, so this option allows you to remove this info from all test reports.',
2557
                ],
2558
                [
2559
                    'name' => 'exercise_hide_label',
2560
                    'title' => 'Hide question ribbon (right/wrong) in test results',
2561
                    'comment' => 'In test results, a ribbon appears by default to indicate if the answer was right or wrong. Enable this option to remove the ribbon globally.',
2562
                ],
2563
                [
2564
                    'name' => 'exercise_result_end_text_html_strict_filtering',
2565
                    'title' => 'Bypass HTML filtering in test end messages',
2566
                    'comment' => 'Consider messages at the end of tests are always safe. Removing the filter makes it possible to use JavaScript there.',
2567
                ],
2568
                [
2569
                    'name' => 'exercise_score_format',
2570
                    'title' => 'Tests score format',
2571
                    'comment' => "Select between the following forms for the display of users' score in various reports: 1 = SCORE_AVERAGE (5 / 10); 2 = SCORE_PERCENT (50%); 3 = SCORE_DIV_PERCENT (5 / 10 (50%)). Use the numerical ID of the form you want to use.",
2572
                ],
2573
                [
2574
                    'name' => 'exercises_disable_new_attempts',
2575
                    'title' => 'Disable new test attempts',
2576
                    'comment' => 'Disable new test attempts globally. Usually used when there is a problem with tests in general and you want some time to analyse without blocking the whole platform.',
2577
                ],
2578
                [
2579
                    'name' => 'hide_free_question_score',
2580
                    'title' => "Hide open questions' score",
2581
                    'comment' => 'Hide the fact that open questions (including audio and annotations) have a score by hiding the score display in all learner-facing reports.',
2582
                ],
2583
                [
2584
                    'name' => 'hide_user_info_in_quiz_result',
2585
                    'title' => 'Hide user info on test results page',
2586
                    'comment' => 'The default test results page shows a user datasheet (photo, name, etc) which might, in some contexts, be considered as pushing the limits of personal data treatment. Enable this option to remove user details from the test results.',
2587
                ],
2588
                [
2589
                    'name' => 'limit_exercise_teacher_access',
2590
                    'title' => "Limit teachers' permissions over tests",
2591
                    'comment' => 'When enabled, teachers cannot delete tests nor questions, change tests visibility, download to QTI, clean results, etc.',
2592
                ],
2593
                [
2594
                    'name' => 'my_courses_show_pending_exercise_attempts',
2595
                    'title' => 'Global pending tests list',
2596
                    'comment' => 'Enable to display to the final user a page with the list of pending tests across all courses.',
2597
                ],
2598
                [
2599
                    'name' => 'question_exercise_html_strict_filtering',
2600
                    'title' => 'Bypass HTML filtering in test questions',
2601
                    'comment' => 'Consider questions text in tests are always safe. Removing the filter makes it possible to use JavaScript there.',
2602
                ],
2603
                [
2604
                    'name' => 'question_pagination_length',
2605
                    'title' => 'Question pagination length for teachers',
2606
                    'comment' => 'Number of questions to show on every page when using the question pagination for teachers option.',
2607
                ],
2608
                [
2609
                    'name' => 'quiz_answer_extra_recording',
2610
                    'title' => 'Enable extra test answers recording',
2611
                    'comment' => 'Enable recording of all answers (even temporary) in the track_e_attempt_recording table. This feautre is experimentaland can create issues in the reporting pages when attempting to grade a test.',
2612
                ],
2613
                [
2614
                    'name' => 'quiz_check_all_answers_before_end_test',
2615
                    'title' => 'Check all answers before submitting test',
2616
                    'comment' => 'Display a popup with the list of answered/unanswered questions before submitting the test.',
2617
                ],
2618
                [
2619
                    'name' => 'quiz_check_button_enable',
2620
                    'title' => 'Add answer-saving process check before test',
2621
                    'comment' => 'Make sure users are all set to start the test by providing a simulation of the question-saving process before entering the test. This allows for early detection of some connection issues and reduces user experience frictions.',
2622
                ],
2623
                [
2624
                    'name' => 'quiz_confirm_saved_answers',
2625
                    'title' => 'Add checkbox for answers count confirmation',
2626
                    'comment' => 'This option adds a checkbox at the end of each test asking the user to confirm the number of answers saved. This provides better auditing data for critical tests.',
2627
                ],
2628
                [
2629
                    'name' => 'quiz_discard_orphan_in_course_export',
2630
                    'title' => 'Discard orphan questions in course export',
2631
                    'comment' => 'When exporting a course, do not export the questions that are not part of any test.',
2632
                ],
2633
                [
2634
                    'name' => 'quiz_generate_certificate_ending',
2635
                    'title' => 'Generate certificate on test end',
2636
                    'comment' => 'Generate certificate when ending a quiz. The quiz needs to be linked in the gradebook tool and have a pass percentage configured.',
2637
                ],
2638
                [
2639
                    'name' => 'quiz_hide_attempts_table_on_start_page',
2640
                    'title' => 'Hide test attempts table on test start page',
2641
                    'comment' => 'Hide the table showing all previous attempts on the test start page.',
2642
                ],
2643
                [
2644
                    'name' => 'quiz_hide_question_number',
2645
                    'title' => 'Hide question number',
2646
                    'comment' => 'Hide the question incremental numbering when taking a test.',
2647
                ],
2648
                [
2649
                    'name' => 'quiz_image_zoom',
2650
                    'title' => 'Enable test images zooming',
2651
                    'comment' => 'Enable this feature to allow users to zoom on images used in the tests.',
2652
                ],
2653
                [
2654
                    'name' => 'quiz_keep_alive_ping_interval',
2655
                    'title' => 'Keep session active in tests',
2656
                    'comment' => 'Keep session active by maintaining a regular ping signal to the server every x seconds, define here. We recommend once every 300 seconds.',
2657
                ],
2658
                [
2659
                    'name' => 'quiz_open_question_decimal_score',
2660
                    'title' => 'Decimal score in open question types',
2661
                    'comment' => 'Allow the teacher to rate the open, oral expression and annotation question types with a decimal score.',
2662
                ],
2663
                [
2664
                    'name' => 'quiz_prevent_copy_paste',
2665
                    'title' => 'Block copy-pasting in tests',
2666
                    'comment' => 'Block copy/paste/save/print keys and right-clicks in exercises.',
2667
                ],
2668
                [
2669
                    'name' => 'quiz_question_delete_automatically_when_deleting_exercise',
2670
                    'title' => 'Automatically delete questions when deleting test',
2671
                    'comment' => 'The default behaviour is to make questions orphan when the only test using them is deleted. When enabled, this option ensure that all questions that would otherwise end up orphan are deleted as well.',
2672
                ],
2673
                [
2674
                    'name' => 'quiz_results_answers_report',
2675
                    'title' => 'Show link to download test results',
2676
                    'comment' => 'On the test results page, display a link to download the results as a file.',
2677
                ],
2678
                [
2679
                    'name' => 'quiz_show_description_on_results_page',
2680
                    'title' => 'Always show test description on results page',
2681
                    'comment' => '',
2682
                ],
2683
                [
2684
                    'name' => 'score_grade_model',
2685
                    'title' => 'Score grades model',
2686
                    'comment' => 'Define an array of score ranges and colors to display reports using this model. This allows you to show colors rather than numerical grades.',
2687
                ],
2688
                [
2689
                    'name' => 'send_score_in_exam_notification_mail_to_manager',
2690
                    'title' => 'Add score in mail notification of test submission',
2691
                    'comment' => "Add the learner's score to the e-mail notification sent to the teacher after a test was submitted.",
2692
                ],
2693
                [
2694
                    'name' => 'show_exercise_attempts_in_all_user_sessions',
2695
                    'title' => 'Show test attempts from all sessions in pending tests report',
2696
                    'comment' => 'Show test attempts from users in all sessions where the general coach has access in pending tests report.',
2697
                ],
2698
                [
2699
                    'name' => 'show_exercise_expected_choice',
2700
                    'title' => 'Show expected choice in test results',
2701
                    'comment' => 'Show the expected choice and a status (right/wrong) for each answer on the test results page (if the test has been configured to show results).',
2702
                ],
2703
                [
2704
                    'name' => 'show_exercise_question_certainty_ribbon_result',
2705
                    'title' => 'Show score for certainty degree questions',
2706
                    'comment' => 'By default, Chamilo does not show a score for the certainty degree question types.',
2707
                ],
2708
                [
2709
                    'name' => 'show_exercise_session_attempts_in_base_course',
2710
                    'title' => 'Show test attempts from all sessions in base course',
2711
                    'comment' => 'Show test attempts from users in all sessions to the teacher in the base course.',
2712
                ],
2713
                [
2714
                    'name' => 'show_question_id',
2715
                    'title' => 'Show question IDs in tests',
2716
                    'comment' => "Show questions' internal IDs to let users take note of issues on specific questions and report them more efficiently.",
2717
                ],
2718
                [
2719
                    'name' => 'show_question_pagination',
2720
                    'title' => 'Show question pagination for teachers',
2721
                    'comment' => 'For tests with many questions, use pagination if the number of questions is higher than this setting. Set to 0 to prevent using pagination.',
2722
                ],
2723
                [
2724
                    'name' => 'tracking_my_progress_show_deleted_exercises',
2725
                    'title' => "Show deleted tests in 'My progress'",
2726
                    'comment' => "Enable this option to display, on the 'My progress' page, the results of all tests you have taken, even the ones that have been deleted.",
2727
                ],
2728
            ],
2729
            'forum' => [
2730
                [
2731
                    'name' => 'allow_forum_category_language_filter',
2732
                    'title' => 'Forum categories language filter',
2733
                    'comment' => "Add a language filter to the forum view to only see categries configured in a specific language. Requires using the 'language' extra field on the 'forum_category' entity.",
2734
                ],
2735
                [
2736
                    'name' => 'allow_forum_post_revisions',
2737
                    'title' => 'Forum post review',
2738
                    'comment' => "Enable this option to allow asking for a review or a translation to one's post in a forum. When extensively configured, can be used to collaborate with other users in a language-learning forum.",
2739
                ],
2740
                [
2741
                    'name' => 'forum_fold_categories',
2742
                    'title' => 'Fold forum categories',
2743
                    'comment' => 'Visual effect to enable forum categories folding/unfolding.',
2744
                ],
2745
                [
2746
                    'name' => 'global_forums_course_id',
2747
                    'title' => 'Use course as global forum',
2748
                    'comment' => "Set the course ID (numerical) of a course reserverd to use as a global forum. This replaces the 'Social groups' link in the social network by a link to the forum of that course.",
2749
                ],
2750
                [
2751
                    'name' => 'hide_forum_post_revision_language',
2752
                    'title' => 'Hide forum post review language',
2753
                    'comment' => 'Hide the possibility to assign a language to a forum post review.',
2754
                ],
2755
                [
2756
                    'name' => 'subscribe_users_to_forum_notifications_also_in_base_course',
2757
                    'title' => 'Forum notifications from base course as well',
2758
                    'comment' => 'Enable this option to enable notifications coming from the base course forum, even if following the course through a session.',
2759
                ],
2760
            ],
2761
            'gradebook' => [
2762
                [
2763
                    'name' => 'my_display_coloring',
2764
                    'title' => 'Display colors for scores in the gradebook',
2765
                    'comment' => 'Enables color coding for better score visibility in the gradebook.',
2766
                ],
2767
                [
2768
                    'name' => 'allow_gradebook_comments',
2769
                    'title' => 'Gradebook comments',
2770
                    'comment' => 'Enable gradebook comments so teachers can add a comment to the overall performance of the learner in this course. The comment will appear in the PDF export for the learner.',
2771
                ],
2772
                [
2773
                    'name' => 'allow_gradebook_stats',
2774
                    'title' => 'Cache results in the gradebook',
2775
                    'comment' => 'Put some of the large calculations of averages in cached fields for the links and evaluations to increase speed (considerably). The potential negative impact is that it can take some time to refresh the gradebook results tables.',
2776
                ],
2777
                [
2778
                    'name' => 'gradebook_badge_sidebar',
2779
                    'title' => 'Gradebook badges sidebar',
2780
                    'comment' => 'Generate a block inside the side menu where a few badges can be shown as pending approval. Requires gradebooks to be listed here, by (numerical) ID.',
2781
                ],
2782
                [
2783
                    'name' => 'gradebook_dependency',
2784
                    'title' => 'Inter-gradebook dependencies',
2785
                    'comment' => 'Enables a mechanism of gradebook dependencies that lets people know which other items they need to go through first in order to complete the gradebook.',
2786
                ],
2787
                [
2788
                    'name' => 'gradebook_dependency_mandatory_courses',
2789
                    'title' => 'Mandatory courses for gradebook dependencies',
2790
                    'comment' => 'When using inter-gradebook dependencies, you can choose a list of mandatory courses that will be required before approving any gradebook that has dependencies.',
2791
                ],
2792
                [
2793
                    'name' => 'gradebook_display_extra_stats',
2794
                    'title' => 'Gradebook extra statistics',
2795
                    'comment' => "Add additional columns to the gradebook's main report (1 = ranking, 2 = best score, 3 = average).",
2796
                ],
2797
                [
2798
                    'name' => 'gradebook_enable_subcategory_skills_independant_assignement',
2799
                    'title' => "Enable skills by gradebook's subcategory",
2800
                    'comment' => 'Skills are normally attributed for completing a whole gradebook. By enabling this option, you allow skills to be attached to sub-sections of gradebooks.',
2801
                ],
2802
                [
2803
                    'name' => 'gradebook_flatview_extrafields_columns',
2804
                    'title' => 'User extra fields in gradebook flat view',
2805
                    'comment' => "Add the given columns ('variables' array) to the main results table in the gradebook.",
2806
                ],
2807
                [
2808
                    'name' => 'gradebook_hide_graph',
2809
                    'title' => 'Hide gradebook charts',
2810
                    'comment' => 'If your portal is resources-limited, reducing the generation of the dynamic gradebok charts with potentially thousands of results is a good option.',
2811
                ],
2812
                [
2813
                    'name' => 'gradebook_hide_link_to_item_for_student',
2814
                    'title' => 'Hide item links for learners in gradebook',
2815
                    'comment' => 'Avoid learners clicking on items from the gradebook by removing the links on the items.',
2816
                ],
2817
                [
2818
                    'name' => 'gradebook_hide_pdf_report_button',
2819
                    'title' => "Hide gradebook button 'download PDF report'",
2820
                    'comment' => '',
2821
                ],
2822
                [
2823
                    'name' => 'gradebook_hide_table',
2824
                    'title' => 'Hide gradebook table for learners',
2825
                    'comment' => 'Reduce gradebook load time by hiding the results table (but still giving access to certificates, skills, etc).',
2826
                ],
2827
                [
2828
                    'name' => 'gradebook_multiple_evaluation_attempts',
2829
                    'title' => 'Allow multiple evaluation attempts in gradebook',
2830
                    'comment' => '',
2831
                ],
2832
                [
2833
                    'name' => 'gradebook_pdf_export_settings',
2834
                    'title' => 'Gradebook PDF export options',
2835
                    'comment' => "Change the PDF export for learners based on the provided settings ('hide_score_weight', 'hide_feedback_textarea', ...)",
2836
                ],
2837
                [
2838
                    'name' => 'gradebook_report_score_style',
2839
                    'title' => 'Gradebook reports score style',
2840
                    'comment' => 'Add gradebook score style configuration in the flat view. See api.lib.php in order to find the options: examples SCORE_DIV = 1, SCORE_PERCENT = 2, etc',
2841
                ],
2842
                [
2843
                    'name' => 'gradebook_score_display_custom_standalone',
2844
                    'title' => "Custom score display in gradebook's standalone column",
2845
                    'comment' => '',
2846
                ],
2847
                [
2848
                    'name' => 'gradebook_use_apcu_cache',
2849
                    'title' => 'Use APCu caching to speed up gradebok',
2850
                    'comment' => 'Improve speed when rendering gradebook student reports using Doctrine APCU cache. APCu is an optional but recommended PHP extension.',
2851
                ],
2852
                [
2853
                    'name' => 'gradebook_use_exercise_score_settings_in_categories',
2854
                    'title' => 'Use test settings for grades display',
2855
                    'comment' => '',
2856
                ],
2857
                [
2858
                    'name' => 'gradebook_use_exercise_score_settings_in_total',
2859
                    'title' => 'Use global score display setting in gradebook',
2860
                    'comment' => '',
2861
                ],
2862
                [
2863
                    'name' => 'hide_gradebook_percentage_user_result',
2864
                    'title' => 'Hide percentage in best/average gradebook results',
2865
                    'comment' => '',
2866
                ],
2867
            ],
2868
            'glossary' => [
2869
                [
2870
                    'name' => 'allow_remove_tags_in_glossary_export',
2871
                    'title' => 'Remove HTML tags in glossary export',
2872
                    'comment' => '',
2873
                ],
2874
                [
2875
                    'name' => 'default_glossary_view',
2876
                    'title' => 'Default glossary view',
2877
                    'comment' => "Choose which view ('table' or 'list') will be used by default in the glossary tool.",
2878
                ],
2879
            ],
2880
            'profile' => [
2881
                [
2882
                    'name' => 'show_terms_if_profile_completed',
2883
                    'title' => 'Terms and conditions only if profile complete',
2884
                    'comment' => "By enabling this option, terms and conditions will be available to the user only when the extra profile fields that start with 'terms_' and set to visible are completed.",
2885
                ],
2886
                [
2887
                    'name' => 'allow_user_headings',
2888
                    'title' => 'Allow users profiling inside courses',
2889
                    'comment' => 'Can a teacher define learner profile fields to retrieve additional information?',
2890
                ],
2891
                [
2892
                    'name' => 'visible_options',
2893
                    'title' => 'List of visible fields in profile',
2894
                    'comment' => 'Controls which profile fields are visible to users and others.',
2895
                ],
2896
                [
2897
                    'name' => 'add_user_course_information_in_mailto',
2898
                    'title' => 'Pre-fill the mail with user and course info in footer contact',
2899
                    'comment' => 'Add subject and body in the mailto: footer.',
2900
                ],
2901
                [
2902
                    'name' => 'changeable_options',
2903
                    'title' => 'Fields users are allowed to change in their profile',
2904
                    'comment' => 'Select the fields users will be able to change on their profile page.',
2905
                ],
2906
                [
2907
                    'name' => 'hide_username_in_course_chat',
2908
                    'title' => 'Hide username in course chat',
2909
                    'comment' => "In the course chat, hide the username. Only display people's names.",
2910
                ],
2911
                [
2912
                    'name' => 'hide_username_with_complete_name',
2913
                    'title' => 'Hide username when already showing complete name',
2914
                    'comment' => "Some internal functions will return the username when returning the user's complete name. With this option enabled, you ensure the username will not appear.",
2915
                ],
2916
                [
2917
                    'name' => 'my_space_users_items_per_page',
2918
                    'title' => 'Default number of items per page in mySpace',
2919
                    'comment' => '',
2920
                ],
2921
                [
2922
                    'name' => 'pass_reminder_custom_link',
2923
                    'title' => 'Custom page for password reminder',
2924
                    'comment' => 'Set your own URL to a password reset page. Useful when using a federated account management system.',
2925
                ],
2926
                [
2927
                    'name' => 'registration_add_helptext_for_2_names',
2928
                    'title' => 'Add helper to add two names in registration',
2929
                    'comment' => 'Add help text for users to enter two names in the registration form when double lastnames are common.',
2930
                ],
2931
                [
2932
                    'name' => 'allow_social_map_fields',
2933
                    'title' => 'Users geolocation on a map',
2934
                    'comment' => 'Enable the display of a map in the social network allowing you to locate other users. This includes several positions (current and destination) which have to be defined as addresses or coordinates in separate extra fields. The extra fields must be set as an array here.',
2935
                ],
2936
                [
2937
                    'name' => 'allow_teachers_to_classes',
2938
                    'title' => 'Allow teachers to manage classes',
2939
                    'comment' => '',
2940
                ],
2941
                [
2942
                    'name' => 'linkedin_organization_id',
2943
                    'title' => 'LinkedIn Orgnization ID',
2944
                    'comment' => "When sharing a badge on LinkedIn, LinkedIn allows you to set an organization ID that will link to the LinkedIn's page of your organization (to link the organization attributing the badge).",
2945
                ],
2946
                [
2947
                    'name' => 'profile_fields_visibility',
2948
                    'title' => 'Fields visible on profile page',
2949
                    'comment' => "Array of fields and whether (boolean) they are visible or not on the user's profile page (also works with extra fields labels).",
2950
                ],
2951
                [
2952
                    'name' => 'send_notification_when_user_added',
2953
                    'title' => 'Send mail to admin when user created',
2954
                    'comment' => 'Send email notification to admin when a user is created.',
2955
                ],
2956
                [
2957
                    'name' => 'show_conditions_to_user',
2958
                    'title' => 'Show specific registration conditions',
2959
                    'comment' => "Show multiple conditions to user during sign up process. Provide an array with each element containing 'variable' (internal extra field name), 'display_text' (simple text for a checkbox), 'text_area' (long text of conditions).",
2960
                ],
2961
                [
2962
                    'name' => 'user_import_settings',
2963
                    'title' => 'Options for user import',
2964
                    'comment' => 'Array of options to apply as default parameters in the CSV/XML user import.',
2965
                ],
2966
                [
2967
                    'name' => 'user_search_on_extra_fields',
2968
                    'title' => 'Search users by extra fields in users list for admins',
2969
                    'comment' => 'Naturally include the given extra fields (array of extra fields labels) in the user searches.',
2970
                ],
2971
            ],
2972
            'mail' => [
2973
                [
2974
                    'name' => 'allow_email_editor_for_anonymous',
2975
                    'title' => 'E-mail editor for anonymous',
2976
                    'comment' => 'Allow anonymous users to send e-mails from the platform. In this day and age of information security this is not a recommended option.',
2977
                ],
2978
                [
2979
                    'name' => 'cron_notification_help_desk',
2980
                    'title' => 'E-mail addresses to send cronjobs execution reports',
2981
                    'comment' => 'Given as array of e-mail addresses. Does not work for all cronjobs yet.',
2982
                ],
2983
                [
2984
                    'name' => 'mail_content_style',
2985
                    'title' => 'Extra e-mail HTML body attributes',
2986
                    'comment' => '',
2987
                ],
2988
                [
2989
                    'name' => 'mail_header_style',
2990
                    'title' => 'Extra e-mail HTML header attributes',
2991
                    'comment' => '',
2992
                ],
2993
                [
2994
                    'name' => 'messages_hide_mail_content',
2995
                    'title' => 'Hide e-mail content to bring users to platform',
2996
                    'comment' => 'Prefer short e-mail versions with a link to the messaging space on the platform to increase platform-based engagement.',
2997
                ],
2998
                [
2999
                    'name' => 'notifications_extended_footer_message',
3000
                    'title' => 'Extended notifications footer',
3001
                    'comment' => 'Add a custom extra footer for notifications emails for a specific language, for example for privacy policy notices. Multiple languages and paragraphs can be added.',
3002
                ],
3003
                [
3004
                    'name' => 'send_notification_score_in_percentage',
3005
                    'title' => 'Send score in percentage in test results notification',
3006
                    'comment' => '',
3007
                ],
3008
                [
3009
                    'name' => 'send_two_inscription_confirmation_mail',
3010
                    'title' => 'Send 2 registration e-mails',
3011
                    'comment' => 'Send two separate e-mails on registration. One for the username, another one for the password.',
3012
                ],
3013
                [
3014
                    'name' => 'show_user_email_in_notification',
3015
                    'title' => "Show sender's e-mail address in notifications",
3016
                    'comment' => '',
3017
                ],
3018
                [
3019
                    'name' => 'update_users_email_to_dummy_except_admins',
3020
                    'title' => 'Update users e-mail to dummy value during imports',
3021
                    'comment' => 'During special CSV cron imports of users, automatically replace e-mails with dummy e-mail [email protected].',
3022
                ],
3023
            ],
3024
            'message' => [
3025
                [
3026
                    'name' => 'allow_user_message_tracking',
3027
                    'title' => 'Admins can see personal messages',
3028
                    'comment' => 'Allow administrators to see personal messages between a teacher and a learner. Please make sure you include a note in your terms and conditions as this might affect privacy protection.',
3029
                ],
3030
                [
3031
                    'name' => 'filter_interactivity_messages',
3032
                    'title' => 'Teachers can access learners messages only within session timeframe',
3033
                    'comment' => 'Filter messages between a teacher and a learner between the session start end dates',
3034
                ],
3035
                [
3036
                    'name' => 'private_messages_about_user',
3037
                    'title' => 'Allow private messages between teachers about a learner',
3038
                    'comment' => 'Allow exchange of messages from teachers/bosses about a user from the tracking page of that user.',
3039
                ],
3040
                [
3041
                    'name' => 'private_messages_about_user_visible_to_user',
3042
                    'title' => 'Allow learners to see messages about them between teachers',
3043
                    'comment' => 'If exchange of messages about a user are enabled, this option will allow the corresponding user to see the messages. This is to comply with rules of transparency the organization may need to comply to.',
3044
                ],
3045
            ],
3046
            'social' => [
3047
                [
3048
                    'name' => 'disable_dislike_option',
3049
                    'title' => "Disable 'dislike' for social posts",
3050
                    'comment' => 'Remove the thumb down option for social posts feedback. Only keep thumb up (like).',
3051
                ],
3052
                [
3053
                    'name' => 'social_enable_messages_feedback',
3054
                    'title' => 'Like/Dislike for social posts',
3055
                    'comment' => 'Allows users to add feedback (likes or dislikes) to posts in social wall.',
3056
                ],
3057
                [
3058
                    'name' => 'social_make_teachers_friend_all',
3059
                    'title' => 'Teachers and admins see students as friends on social network',
3060
                    'comment' => '',
3061
                ],
3062
                [
3063
                    'name' => 'social_show_language_flag_in_profile',
3064
                    'title' => 'Show language flag next to avatar in social network',
3065
                    'comment' => '',
3066
                ],
3067
            ],
3068
            'security' => [
3069
                [
3070
                    'name' => 'proxy_settings',
3071
                    'title' => 'Proxy settings',
3072
                    'comment' => 'Some features of Chamilo will connect to the exterior from the server. For example to make sure an external content exists when creating a link or showing an embedded page in the learning path. If your Chamilo server uses a proxy to get out of its network, this would be the place to configure it.',
3073
                ],
3074
                [
3075
                    'name' => 'password_rotation_days',
3076
                    'title' => 'Password rotation interval (days)',
3077
                    'comment' => 'Number of days before users must rotate their password (0 = disabled).',
3078
                ],
3079
                [
3080
                    'name' => 'password_requirements',
3081
                    'title' => 'Minimal password syntax requirements',
3082
                    'comment' => 'Defines the required structure for user passwords.',
3083
                ],
3084
                [
3085
                    'name' => 'allow_online_users_by_status',
3086
                    'title' => 'Filter users that can be seen as online',
3087
                    'comment' => 'Limits online user visibility to specific user roles.',
3088
                ],
3089
                [
3090
                    'name' => 'anonymous_autoprovisioning',
3091
                    'title' => 'Auto-provision more anonymous users',
3092
                    'comment' => 'Dynamically creates new anonymous users to support high visitor traffic.',
3093
                ],
3094
                [
3095
                    'name' => 'admins_can_set_users_pass',
3096
                    'title' => 'Admins can set users passwords manually',
3097
                    'comment' => '',
3098
                ],
3099
                [
3100
                    'name' => 'check_password',
3101
                    'title' => 'Check password strength',
3102
                    'comment' => '',
3103
                ],
3104
                [
3105
                    'name' => 'security_block_inactive_users_immediately',
3106
                    'title' => 'Block disabled users immediately',
3107
                    'comment' => 'Immediately block users who have been disabled by the admin through users management. Otherwise, users who have been disabled will keep their previous privileges until they logout.',
3108
                ],
3109
                [
3110
                    'name' => 'security_content_policy',
3111
                    'title' => 'Content Security Policy',
3112
                    'comment' => "Content Security Policy is an effective measure to protect your site from XSS attacks. By whitelisting sources of approved content, you can prevent the browser from loading malicious assets. This setting is particularly complicated to set with WYSIWYG editors, but if you add all domains that you want to authorize for iframes inclusion in the child-src statement, this example should work for you. You can prevent JavaScript from executing from external sources (including inside SVG images) by using a strict list in the 'script-src' argument. Leave blank to disable. Example setting: default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; child-src 'self' *.youtube.com yt.be *.vimeo.com *.slideshare.com;",
3113
                ],
3114
                [
3115
                    'name' => 'security_content_policy_report_only',
3116
                    'title' => 'Content Security Policy report only',
3117
                    'comment' => 'This setting allows you to experiment by reporting but not enforcing some Content Security Policy.',
3118
                ],
3119
                [
3120
                    'name' => 'security_public_key_pins',
3121
                    'title' => 'HTTP Public Key Pinning',
3122
                    'comment' => 'HTTP Public Key Pinning protects your site from MiTM attacks using rogue X.509 certificates. By whitelisting only the identities that the browser should trust, your users are protected in the event a certificate authority is compromised.',
3123
                ],
3124
                [
3125
                    'name' => 'security_public_key_pins_report_only',
3126
                    'title' => 'HTTP Public Key Pinning report only',
3127
                    'comment' => 'This setting allows you to experiment by reporting but not enforcing some HTTP Public Key Pinning.',
3128
                ],
3129
                [
3130
                    'name' => 'security_referrer_policy',
3131
                    'title' => 'Security Referrer Policy',
3132
                    'comment' => 'Referrer Policy is a new header that allows a site to control how much information the browser includes with navigation away from a document and should be set by all sites.',
3133
                ],
3134
                [
3135
                    'name' => 'security_session_cookie_samesite_none',
3136
                    'title' => 'Session cookie samesite',
3137
                    'comment' => 'Enable samesite:None parameter for session cookie. More info: https://www.chromium.org/updates/same-site and https://developers.google.com/search/blog/2020/01/get-ready-for-new-samesitenone-secure',
3138
                ],
3139
                [
3140
                    'name' => 'security_strict_transport',
3141
                    'title' => 'HTTP Strict Transport Security',
3142
                    'comment' => "HTTP Strict Transport Security is an excellent feature to support on your site and strengthens your implementation of TLS by getting the User Agent to enforce the use of HTTPS. Recommended value: 'strict-transport-security: max-age=63072000; includeSubDomains'. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security. You can include the 'preload' suffix, but this has consequences on the top level domain (TLD), so probably not to be done lightly. See https://hstspreload.org/. Leave blank to disable.",
3143
                ],
3144
                [
3145
                    'name' => 'security_x_content_type_options',
3146
                    'title' => 'X-Content-Type-Options',
3147
                    'comment' => "X-Content-Type-Options stops a browser from trying to MIME-sniff the content type and forces it to stick with the declared content-type. The only valid value for this header is 'nosniff'.",
3148
                ],
3149
                [
3150
                    'name' => 'security_x_frame_options',
3151
                    'title' => 'X-Frame-Options',
3152
                    'comment' => "X-Frame-Options tells the browser whether you want to allow your site to be framed or not. By preventing a browser from framing your site you can defend against attacks like clickjacking. If defining a URL here, it should define the URL(s) from which your content should be visible, not the URLs from which your site accepts content. For example, if your main URL (root_web above) is https://11.chamilo.org/, then this setting should be: 'ALLOW-FROM https://11.chamilo.org'. These headers only apply to pages where Chamilo is responsible of the HTTP headers generation (i.e. '.php' files). It does not apply to static files. If playing with this feature, make sure you also update your web server configuration to add the right headers for static files. See CDN configuration documentation above (search for 'add_header') for more information. Recommended (strict) value for this setting, if enabled: 'SAMEORIGIN'.",
3153
                ],
3154
                [
3155
                    'name' => 'security_xss_protection',
3156
                    'title' => 'X-XSS-Protection',
3157
                    'comment' => "X-XSS-Protection sets the configuration for the cross-site scripting filter built into most browsers. Recommended value '1; mode=block'.",
3158
                ],
3159
            ],
3160
            'session' => [
3161
                [
3162
                    'name' => 'allow_career_diagram',
3163
                    'title' => 'Enable career diagrams',
3164
                    'comment' => 'Career diagrams allow you to display diagrams of careers, skills and courses.',
3165
                ],
3166
                [
3167
                    'name' => 'show_all_sessions_on_my_course_page',
3168
                    'title' => "Show all sessions on 'My courses' page",
3169
                    'comment' => 'If enabled, this option show all sessions of the user in calendar-based view.',
3170
                ],
3171
                [
3172
                    'name' => 'show_simple_session_info',
3173
                    'title' => 'Show simple session info',
3174
                    'comment' => "Add coach and dates to the session's subtitle in the sessions' list.",
3175
                ],
3176
                [
3177
                    'name' => 'duplicate_specific_session_content_on_session_copy',
3178
                    'title' => 'Enable the copy of session-specific content to another session',
3179
                    'comment' => 'Allows duplication of resources that were created in the session when duplicating the session.',
3180
                ],
3181
                [
3182
                    'name' => 'allow_delete_user_for_session_admin',
3183
                    'title' => 'Session admins can delete users',
3184
                    'comment' => '',
3185
                ],
3186
                [
3187
                    'name' => 'allow_disable_user_for_session_admin',
3188
                    'title' => 'Session admins can disable users',
3189
                    'comment' => '',
3190
                ],
3191
                [
3192
                    'name' => 'allow_redirect_to_session_after_inscription_about',
3193
                    'title' => "Redirect to session after registration in session's 'About' page",
3194
                    'comment' => '',
3195
                ],
3196
                [
3197
                    'name' => 'allow_search_diagnostic',
3198
                    'title' => 'Enable sessions search diagnosis',
3199
                    'comment' => 'Allow tutors to get a diagnosis that will allow them to search for the best sessions for learners.',
3200
                ],
3201
                [
3202
                    'name' => 'allow_session_admin_extra_access',
3203
                    'title' => 'Session admin can access batch user import, update and export',
3204
                    'comment' => '',
3205
                ],
3206
                [
3207
                    'name' => 'allow_session_admin_login_as_teacher',
3208
                    'title' => "Session admins can 'login as' teachers",
3209
                    'comment' => '',
3210
                ],
3211
                [
3212
                    'name' => 'allow_session_admin_read_careers',
3213
                    'title' => 'Session admins can view careers',
3214
                    'comment' => '',
3215
                ],
3216
                [
3217
                    'name' => 'allow_user_session_collapsable',
3218
                    'title' => 'Allow user to collapse sessions in My sessions',
3219
                    'comment' => '',
3220
                ],
3221
                [
3222
                    'name' => 'assignment_base_course_teacher_access_to_all_session',
3223
                    'title' => 'Base course teacher can see assignments from all sessions',
3224
                    'comment' => 'Show all learner publications (from base course and from all sessions) in the work/pending.php page of the base course.',
3225
                ],
3226
                [
3227
                    'name' => 'default_session_list_view',
3228
                    'title' => 'Default sessions list view',
3229
                    'comment' => 'Select the default tab you want to see when opening the sessions list as admin.',
3230
                ],
3231
                [
3232
                    'name' => 'email_template_subscription_to_session_confirmation_lost_password',
3233
                    'title' => 'Add reset password link to e-mail notification of subscription to session',
3234
                    'comment' => '',
3235
                ],
3236
                [
3237
                    'name' => 'email_template_subscription_to_session_confirmation_username',
3238
                    'title' => 'Add username to e-mail notification of subscription to session',
3239
                    'comment' => '',
3240
                ],
3241
                [
3242
                    'name' => 'hide_reporting_session_list',
3243
                    'title' => 'Hide sessions list in reporting tool',
3244
                    'comment' => 'Sessions that include the course are listed in the reporting tool inside the course itself, which can add considerable weight if the same course is used in hundreds of sessions. This option removes that list.',
3245
                ],
3246
                [
3247
                    'name' => 'hide_search_form_in_session_list',
3248
                    'title' => 'Hide search form in sessions list',
3249
                    'comment' => '',
3250
                ],
3251
                [
3252
                    'name' => 'hide_session_graph_in_my_progress',
3253
                    'title' => 'Hide session chart in My progress',
3254
                    'comment' => '',
3255
                ],
3256
                [
3257
                    'name' => 'hide_tab_list',
3258
                    'title' => 'Hide tabs on the session page',
3259
                    'comment' => '',
3260
                ],
3261
                [
3262
                    'name' => 'limit_session_admin_list_users',
3263
                    'title' => 'Session admins are forbidden access to the users list',
3264
                    'comment' => '',
3265
                ],
3266
                [
3267
                    'name' => 'my_courses_session_order',
3268
                    'title' => 'Change the default sorting of session in My sessions',
3269
                    'comment' => "By default, sessions are ordered by start date. Change this by providing an array of type ['field' => 'end_date', 'order' => 'desc'].",
3270
                ],
3271
                [
3272
                    'name' => 'my_progress_session_show_all_courses',
3273
                    'title' => 'My progress: show course details in session',
3274
                    'comment' => 'Display all details of each course in session when clicking on session details.',
3275
                ],
3276
                [
3277
                    'name' => 'remove_session_url',
3278
                    'title' => 'Hide link to session page',
3279
                    'comment' => 'Hide link to the session page from the sessions list.',
3280
                ],
3281
                [
3282
                    'name' => 'session_admins_access_all_content',
3283
                    'title' => 'Session admins can access all course content',
3284
                    'comment' => '',
3285
                ],
3286
                [
3287
                    'name' => 'session_admins_edit_courses_content',
3288
                    'title' => 'Session admins can edit course content',
3289
                    'comment' => '',
3290
                ],
3291
                [
3292
                    'name' => 'session_automatic_creation_user_id',
3293
                    'title' => "Auto-created session's creator ID",
3294
                    'comment' => "Set the user to use as creator of the automatically-created sessions (to avoid assigning every session to user '1' which is often the portal administrator).",
3295
                ],
3296
                [
3297
                    'name' => 'session_classes_tab_disable',
3298
                    'title' => 'Disable add class in session course for non-admin',
3299
                    'comment' => 'Disable tab to add classes in session course for non-admins.',
3300
                ],
3301
                [
3302
                    'name' => 'session_coach_access_after_duration_end',
3303
                    'title' => 'Sessions by duration always available to coaches',
3304
                    'comment' => 'Otherwise, session coaches only have access to sessions by duration during the active duration.',
3305
                ],
3306
                [
3307
                    'name' => 'session_course_users_subscription_limited_to_session_users',
3308
                    'title' => 'Limit subscriptions to course to only users of the session',
3309
                    'comment' => 'Restrict the list of students to subscribe in the course session. And disable registration for users in all courses from Resume Session page.',
3310
                ],
3311
                [
3312
                    'name' => 'session_courses_read_only_mode',
3313
                    'title' => 'Set course read-only in session',
3314
                    'comment' => "Let teachers set some courses in read-only mode when opened through sessions. In the course properties, check the 'Lock course in session' option.",
3315
                ],
3316
                [
3317
                    'name' => 'session_creation_form_set_extra_fields_mandatory',
3318
                    'title' => 'Set mandatory extra fields in session creation form',
3319
                    'comment' => 'Require the listed fields during session creation.',
3320
                ],
3321
                [
3322
                    'name' => 'session_creation_user_course_extra_field_relation_to_prefill',
3323
                    'title' => 'Pre-fill session fields with user fields',
3324
                    'comment' => "Array of relationships between user extra fields and session extra fields, so the session can be pre-filled with data matching the user's data.",
3325
                ],
3326
                [
3327
                    'name' => 'session_import_settings',
3328
                    'title' => 'Options for session import',
3329
                    'comment' => 'Array of options to apply as default parameters in the CSV/XML session import.',
3330
                ],
3331
                [
3332
                    'name' => 'session_list_order',
3333
                    'title' => 'Sessions support manual sorting',
3334
                    'comment' => '',
3335
                ],
3336
                [
3337
                    'name' => 'session_list_show_count_users',
3338
                    'title' => 'Show number of users in sessions list',
3339
                    'comment' => 'The admin can see the number of users in each session. This adds additional weight to the sessions list, so if you use it often, consider carefully whether you want the extra waiting time.',
3340
                ],
3341
                [
3342
                    'name' => 'session_model_list_field_ordered_by_id',
3343
                    'title' => 'Sort session templates by id in session creation form',
3344
                    'comment' => '',
3345
                ],
3346
                [
3347
                    'name' => 'enable_auto_reinscription',
3348
                    'title' => 'Enable Automatic Reinscription',
3349
                    'comment' => 'Enable or disable automatic reinscription when course validity expires. The related cron job must also be activated.',
3350
                ],
3351
                [
3352
                    'name' => 'enable_session_replication',
3353
                    'title' => 'Enable Session Replication',
3354
                    'comment' => 'Enable or disable automatic session replication. The related cron job must also be activated.',
3355
                ],
3356
                [
3357
                    'name' => 'session_multiple_subscription_students_list_avoid_emptying',
3358
                    'title' => 'Prevent emptying the subscribed users in session subscription',
3359
                    'comment' => 'When using the multiple learners subscription to a session, prevent the normal behaviour which is to unsubscribe users who are not in the right panel when clicking submit. Keep all users there.',
3360
                ],
3361
                [
3362
                    'name' => 'show_users_in_active_sessions_in_tracking',
3363
                    'title' => 'Only display users from active sessions in tracking',
3364
                    'comment' => '',
3365
                ],
3366
                [
3367
                    'name' => 'tracking_columns',
3368
                    'title' => 'Customize course-session tracking columns',
3369
                    'comment' => "Define an array of columns for the following reports: 'course_session', 'my_students_lp', 'my_progress_lp', 'my_progress_courses'.",
3370
                ],
3371
                [
3372
                    'name' => 'user_s_session_duration',
3373
                    'title' => 'Auto-created sessions duration',
3374
                    'comment' => 'Duration (in days) of the single-user, auto-created sessions. After expiry, the user cannot register to the same course (no other session is created).',
3375
                ],
3376
            ],
3377
            'registration' => [
3378
                [
3379
                    'name' => 'allow_double_validation_in_registration',
3380
                    'title' => 'Double validation for registration process',
3381
                    'comment' => 'Simply display a confirmation request on the registration page before going forward with the user creation.',
3382
                ],
3383
                [
3384
                    'name' => 'allow_fields_inscription',
3385
                    'title' => 'Restrict fields shown during registration',
3386
                    'comment' => "If you only want to show some of the available profile field, your can complete the array here with sub-elements 'fields' and 'extra_fields' containing arrays with a list of the fields to show.",
3387
                ],
3388
                [
3389
                    'name' => 'required_extra_fields_in_inscription',
3390
                    'title' => 'Required extra fields during registration',
3391
                    'comment' => '',
3392
                ],
3393
                [
3394
                    'name' => 'required_profile_fields',
3395
                    'title' => 'Required fields during registration',
3396
                    'comment' => '',
3397
                ],
3398
                [
3399
                    'name' => 'send_inscription_msg_to_inbox',
3400
                    'title' => 'Send the welcome message to e-mail and inbox',
3401
                    'comment' => "By default, the welcome message (with credentials) is sent only by e-mail. Enable this option to send it to the user's Chamilo inbox as well.",
3402
                ],
3403
                [
3404
                    'name' => 'hide_legal_accept_checkbox',
3405
                    'title' => 'Hide legal accept checkbox in Terms and Conditions page',
3406
                    'comment' => 'If set to true, removes the "I have read and accept" checkbox in the Terms and Conditions page flow.',
3407
                ],
3408
            ],
3409
            'work' => [
3410
                [
3411
                    'name' => 'compilatio_tool',
3412
                    'title' => 'Compilatio settings',
3413
                    'comment' => 'Configure the Compilatio connection details here.',
3414
                ],
3415
                [
3416
                    'name' => 'allow_compilatio_tool',
3417
                    'title' => 'Enable Compilatio',
3418
                    'comment' => 'Compilatio is an anti-cheating service that compares text between two submissions and reports if there is a high probability the content (usually assignments) is not genuine.',
3419
                ],
3420
                [
3421
                    'name' => 'allow_my_student_publication_page',
3422
                    'title' => 'Enable My assignments page',
3423
                    'comment' => '',
3424
                ],
3425
                [
3426
                    'name' => 'allow_only_one_student_publication_per_user',
3427
                    'title' => 'Students can only upload one assignment',
3428
                    'comment' => '',
3429
                ],
3430
                [
3431
                    'name' => 'allow_redirect_to_main_page_after_work_upload',
3432
                    'title' => 'Redirect to assigment tool homepage after upload or comment',
3433
                    'comment' => 'Redirect to assignments list after uploading an assignment or a adding a comment',
3434
                ],
3435
                [
3436
                    'name' => 'assignment_prevent_duplicate_upload',
3437
                    'title' => 'Prevent duplicate uploads in assignments',
3438
                    'comment' => '',
3439
                ],
3440
                [
3441
                    'name' => 'block_student_publication_add_documents',
3442
                    'title' => 'Prevent adding documents to assignments',
3443
                    'comment' => '',
3444
                ],
3445
                [
3446
                    'name' => 'block_student_publication_edition',
3447
                    'title' => 'Prevent assignments edition',
3448
                    'comment' => '',
3449
                ],
3450
                [
3451
                    'name' => 'block_student_publication_score_edition',
3452
                    'title' => 'Prevent teacher from modifying assignment scores',
3453
                    'comment' => '',
3454
                ],
3455
                [
3456
                    'name' => 'considered_working_time',
3457
                    'title' => 'Enable time effort for assignments',
3458
                    'comment' => 'This will allow teachers to give an estimated time effort (in hh:mm:ss format) to complete the assignment. Upon submission of the assignment and approval by the teacher (the assignment is given a score), the learner will automatically be assigned the corresponding time.',
3459
                ],
3460
                [
3461
                    'name' => 'force_download_doc_before_upload_work',
3462
                    'title' => 'Force download of document before assignment upload',
3463
                    'comment' => 'Force users to download the provided document in the assignment definition before they can upload their assignment.',
3464
                ],
3465
                [
3466
                    'name' => 'my_courses_show_pending_work',
3467
                    'title' => "Display link to 'pending' assignments from My courses page",
3468
                    'comment' => '',
3469
                ],
3470
            ],
3471
            'skill' => [
3472
                [
3473
                    'name' => 'allow_private_skills',
3474
                    'title' => 'Hide skills from learners',
3475
                    'comment' => 'If enabled, skills can only be visible for admins, teachers (related to a user via a course), and HRM users (if related to a user).',
3476
                ],
3477
                [
3478
                    'name' => 'allow_skill_rel_items',
3479
                    'title' => 'Enable linking skills to items',
3480
                    'comment' => 'This enables a major feature that enables any item to be linked to (and as such to allow acquisition of) a skill. The feature still requires the teacher to confirm the acquisition of the skill, so the acquisition is not automatic.',
3481
                ],
3482
                [
3483
                    'name' => 'allow_teacher_access_student_skills',
3484
                    'title' => "Allow teachers to access learners' skills",
3485
                    'comment' => '',
3486
                ],
3487
                [
3488
                    'name' => 'badge_assignation_notification',
3489
                    'title' => 'Send notification to learner when a skill/badge has been acquired',
3490
                    'comment' => '',
3491
                ],
3492
                [
3493
                    'name' => 'hide_skill_levels',
3494
                    'title' => 'Hide skill levels feature',
3495
                    'comment' => '',
3496
                ],
3497
                [
3498
                    'name' => 'skill_levels_names',
3499
                    'title' => 'Skill levels names',
3500
                    'comment' => 'Define names for levels of skills as an array of id => name.',
3501
                ],
3502
                [
3503
                    'name' => 'skills_hierarchical_view_in_user_tracking',
3504
                    'title' => 'Show skills as a hierarchical table',
3505
                    'comment' => '',
3506
                ],
3507
                [
3508
                    'name' => 'skills_teachers_can_assign_skills',
3509
                    'title' => 'Allow teachers to set which skills are acquired through their courses',
3510
                    'comment' => 'By default, only admins can decide which skills can be acquired through which course.',
3511
                ],
3512
                [
3513
                    'name' => 'manual_assignment_subskill_autoload',
3514
                    'title' => 'Assigning skills to user: sub-skills auto-loading',
3515
                    'comment' => 'When manually assigning skills to a user, the form can be set to automatically offer you to assign a sub-skill instead of the skill you selected.',
3516
                ],
3517
            ],
3518
            'survey' => [
3519
                [
3520
                    'name' => 'show_pending_survey_in_menu',
3521
                    'title' => 'Show "Pending surveys" in menu',
3522
                    'comment' => 'Display a menu item that lets users access their pending surveys.',
3523
                ],
3524
                [
3525
                    'name' => 'hide_survey_edition',
3526
                    'title' => 'Prevent survey edition',
3527
                    'comment' => 'Prevent editing surveys for all surveys listed here (by code). Use * to prevent edition of all surveys.',
3528
                ],
3529
                [
3530
                    'name' => 'hide_survey_reporting_button',
3531
                    'title' => 'Hide survey reporting button',
3532
                    'comment' => 'Allows admins to hide survey reporting button if surveys are used to survey teachers.',
3533
                ],
3534
                [
3535
                    'name' => 'show_surveys_base_in_sessions',
3536
                    'title' => 'Display surveys from base course in all session courses',
3537
                    'comment' => '',
3538
                ],
3539
                [
3540
                    'name' => 'survey_additional_teacher_modify_actions',
3541
                    'title' => 'Add additional actions (as links) to survey lists for teachers',
3542
                    'comment' => "Add actions (usually connected to plugins) in the list of surveys. Use array syntax ['myplugin' => ['MyPlugin', 'urlGeneratorCallback']].",
3543
                ],
3544
                [
3545
                    'name' => 'survey_allow_answered_question_edit',
3546
                    'title' => 'Allow teachers to edit survey questions after students answered',
3547
                    'comment' => '',
3548
                ],
3549
                [
3550
                    'name' => 'survey_anonymous_show_answered',
3551
                    'title' => 'Allow teachers to see who answered in anonymous surveys',
3552
                    'comment' => 'Allow teachers to see which learners have already answered an anonymous survey. This only appears once more than one user has answered, so it remains difficult to identify who answered what.',
3553
                ],
3554
                [
3555
                    'name' => 'survey_backwards_enable',
3556
                    'title' => "Enable 'previous question' button in surveys",
3557
                    'comment' => '',
3558
                ],
3559
                [
3560
                    'name' => 'survey_duplicate_order_by_name',
3561
                    'title' => 'Order by student name when using survey duplication feature',
3562
                    'comment' => "The survey duplication feature is oriented towards teachers and is meant to ask teachers to give their appreciation about each student in order. This option will order the questions by learner's lastname.",
3563
                ],
3564
                [
3565
                    'name' => 'survey_mark_question_as_required',
3566
                    'title' => "Mark all survey questions as 'required' by default",
3567
                    'comment' => '',
3568
                ],
3569
            ],
3570
            'ticket' => [
3571
                [
3572
                    'name' => 'ticket_project_user_roles',
3573
                    'title' => 'Access by role to ticket projects',
3574
                    'comment' => "Allow ticket projects to be accesses by specific user roles. Example: ['permissions' => [1 => [17]] where project_id = 1, STUDENT_BOSS = 17.",
3575
                ],
3576
            ],
3577
            'ai_helpers' => [
3578
                [
3579
                    'name' => 'enable_ai_helpers',
3580
                    'title' => 'Enable the AI helper tool',
3581
                    'comment' => 'Enables all available AI-powered features in the platform.',
3582
                ],
3583
                [
3584
                    'name' => 'ai_providers',
3585
                    'title' => 'AI providers connection data',
3586
                    'comment' => 'Configuration data to connect with external AI services.',
3587
                ],
3588
                [
3589
                    'name' => 'learning_path_generator',
3590
                    'title' => 'Learning paths generator',
3591
                    'comment' => 'Generates personalized learning paths using AI suggestions.',
3592
                ],
3593
                [
3594
                    'name' => 'exercise_generator',
3595
                    'title' => 'Exercise generator',
3596
                    'comment' => 'Generates personalized tests with AI based on course content.',
3597
                ],
3598
                [
3599
                    'name' => 'open_answers_grader',
3600
                    'title' => 'Open answers grader',
3601
                    'comment' => 'Automatically grades open-ended answers using AI.',
3602
                ],
3603
                [
3604
                    'name' => 'tutor_chatbot',
3605
                    'title' => 'Tutor chatbot energized by AI',
3606
                    'comment' => 'Provides students with an AI-powered tutoring assistant.',
3607
                ],
3608
                [
3609
                    'name' => 'task_grader',
3610
                    'title' => 'Assignments grader',
3611
                    'comment' => 'Uses AI to evaluate and grade uploaded assignments.',
3612
                ],
3613
                [
3614
                    'name' => 'content_analyser',
3615
                    'title' => 'Content analyser',
3616
                    'comment' => 'Analyses learning materials to extract insights or improve quality.',
3617
                ],
3618
                [
3619
                    'name' => 'image_generator',
3620
                    'title' => 'Image generator',
3621
                    'comment' => 'Generates images based on prompts or content using AI.',
3622
                ],
3623
                [
3624
                    'name' => 'disclose_ai_assistance',
3625
                    'title' => 'Disclose AI assistance',
3626
                    'comment' => 'Show a tag on any content or feedback that has been generated or co-generated by any AI system, evidencing to the user that the content was built with the help of some AI system. Details about which AI system was used in which case are kept inside the database for audit, but are not directly accessible by the final user.',
3627
                ],
3628
            ],
3629
            'privacy' => [
3630
                [
3631
                    'name' => 'data_protection_officer_email',
3632
                    'title' => 'Data protection officer e-mail address',
3633
                    'comment' => '',
3634
                ],
3635
                [
3636
                    'name' => 'data_protection_officer_name',
3637
                    'title' => 'Data protection officer name',
3638
                    'comment' => '',
3639
                ],
3640
                [
3641
                    'name' => 'data_protection_officer_role',
3642
                    'title' => 'Data protection officer role',
3643
                    'comment' => '',
3644
                ],
3645
                [
3646
                    'name' => 'hide_user_field_from_list',
3647
                    'title' => 'Hide fields from users list in course',
3648
                    'comment' => 'By default, we show all data from users in the users tool in the course. This array allows you to specify which fields you do not want to display. Only affects main fields (not extra fields).',
3649
                ],
3650
                [
3651
                    'name' => 'disable_gdpr',
3652
                    'title' => 'Disable GDPR features',
3653
                    'comment' => 'If you already manage your personal data protection declaration to users elsewhere, you can safely disable this feature.',
3654
                ],
3655
                [
3656
                    'name' => 'disable_change_user_visibility_for_public_courses',
3657
                    'title' => 'Disable making tool users visible in public courses',
3658
                    'comment' => "Avoid anyone making the 'users' tool visible in a public course.",
3659
                ],
3660
            ],
3661
            'workflows' => [
3662
                [
3663
                    'name' => 'plugin_redirection_enabled',
3664
                    'title' => 'Enable redirection plugin',
3665
                    'comment' => 'Enable only if you are using the Redirection plugin',
3666
                ],
3667
                [
3668
                    'name' => 'usergroup_do_not_unsubscribe_users_from_course_nor_session_on_user_unsubscribe',
3669
                    'title' => 'Disable user unsubscription from course/session on user unsubscription from group/class',
3670
                    'comment' => '',
3671
                ],
3672
                [
3673
                    'name' => 'usergroup_do_not_unsubscribe_users_from_course_on_course_unsubscribe',
3674
                    'title' => 'Disable user unsubscription from course on course removal from group/class',
3675
                    'comment' => '',
3676
                ],
3677
                [
3678
                    'name' => 'usergroup_do_not_unsubscribe_users_from_session_on_session_unsubscribe',
3679
                    'title' => 'Disable user unsubscription from session on session removal from group/class',
3680
                    'comment' => '',
3681
                ],
3682
                [
3683
                    'name' => 'drh_allow_access_to_all_students',
3684
                    'title' => 'HRM can access all students from reporting pages',
3685
                    'comment' => '',
3686
                ],
3687
                [
3688
                    'name' => 'send_all_emails_to',
3689
                    'title' => 'Send all e-mails to',
3690
                    'comment' => 'Give a list of e-mail addresses to whom *all* e-mails sent from the platform will be sent. The e-mails are sent to these addresses as a visible destination.',
3691
                ],
3692
                [
3693
                    'name' => 'go_to_course_after_login',
3694
                    'title' => 'Go directly to the course after login',
3695
                    'comment' => 'When a user is registered in one course, go directly to the course after login',
3696
                ],
3697
                [
3698
                    'name' => 'allow_users_to_create_courses',
3699
                    'title' => 'Allow non admin to create courses',
3700
                    'comment' => 'Allow non administrators (teachers) to create new courses on the server',
3701
                ],
3702
                [
3703
                    'name' => 'allow_user_course_subscription_by_course_admin',
3704
                    'title' => 'Allow User Course Subscription By Course Admininistrator',
3705
                    'comment' => 'Activate this option will allow course administrator to subscribe users inside a course',
3706
                ],
3707
                [
3708
                    'name' => 'teacher_can_select_course_template',
3709
                    'title' => 'Teacher can select a course as template',
3710
                    'comment' => 'Allow pick a course as template for the new course that teacher is creating',
3711
                ],
3712
                [
3713
                    'name' => 'disabled_edit_session_coaches_course_editing_course',
3714
                    'title' => 'Disable the ability to edit course coaches',
3715
                    'comment' => 'When disabled, admins do not have a link to quickly assign coaches to session-courses on the course edition page.',
3716
                ],
3717
                [
3718
                    'name' => 'course_visibility_change_only_admin',
3719
                    'title' => 'Course visibility changes for admins only',
3720
                    'comment' => 'Remove the possibility for non-admins to change the course visibility. Visibility can be an issue when there are too many teachers to control directly. Forcing visibilities allows the organization to better manage courses catalogues.',
3721
                ],
3722
                [
3723
                    'name' => 'multiple_url_hide_disabled_settings',
3724
                    'title' => 'Hide disabled settings in sub-URLs',
3725
                    'comment' => 'Set to yes to hide settings completely in a sub-URL if the setting is disabled in the main URL (where the access_url_changeable field = 0)',
3726
                ],
3727
                [
3728
                    'name' => 'gamification_mode',
3729
                    'title' => 'Gamification mode',
3730
                    'comment' => 'Activate the stars achievement in learning paths',
3731
                ],
3732
                [
3733
                    'name' => 'load_term_conditions_section',
3734
                    'title' => 'Load term conditions section',
3735
                    'comment' => 'The legal agreement will appear during the login or when enter to a course.',
3736
                ],
3737
                [
3738
                    'name' => 'update_student_expiration_x_date',
3739
                    'title' => 'Set expiration date on first login',
3740
                    'comment' => "Array defining the 'days' and 'months' to set the account expiration date when the user first logs in.",
3741
                ],
3742
                [
3743
                    'name' => 'user_number_of_days_for_default_expiration_date_per_role',
3744
                    'title' => 'Default expiration days by role',
3745
                    'comment' => 'An array of role => number which represents the number of days an account has before expiration, depending on the role.',
3746
                ],
3747
                [
3748
                    'name' => 'user_edition_extra_field_to_check',
3749
                    'title' => 'Set an extra field as trigger for registration as ex-learner',
3750
                    'comment' => 'Give an extra field label here. If this extra field is updated for any user, a process is triggered to check the access to this user to courses with the same given extra field.',
3751
                ],
3752
                [
3753
                    'name' => 'allow_working_time_edition',
3754
                    'title' => 'Enable edition of course work time',
3755
                    'comment' => 'Enable this feature to let teachers manually update the time spent in the course by learners.',
3756
                ],
3757
                [
3758
                    'name' => 'disable_user_conditions_sender_id',
3759
                    'title' => 'Internal ID of the user used to send disabled account notifications',
3760
                    'comment' => "Avoid being too personal with users by using a 'bot' account to send e-mails to users when their account is disabled for some reason.",
3761
                ],
3762
                [
3763
                    'name' => 'redirect_index_to_url_for_logged_users',
3764
                    'title' => 'Redirect index.php to given URL for authenticated users',
3765
                    'comment' => 'If you do not want to use the index page (announcements, popular courses, etc), you can define here the script (from the document root) where users will be redirected when trying to load the index.',
3766
                ],
3767
                [
3768
                    'name' => 'default_menu_entry_for_course_or_session',
3769
                    'title' => 'Default menu entry for courses',
3770
                    'comment' => "Define the default sub-elements of the 'Courses' entry to display if user is not registered to any course nor session.",
3771
                ],
3772
                [
3773
                    'name' => 'session_admin_user_subscription_search_extra_field_to_search',
3774
                    'title' => 'Extra user field used to search and name sessions',
3775
                    'comment' => 'This setting defines the extra user field key (e.g., "company") that will be used to search for users and to define the name of the session when registering students from /admin-dashboard/register.',
3776
                ],
3777
            ],
3778
        ];
3779
    }
3780
}
3781