Skip to content

Commit 6a211b9

Browse files
Merge pull request #6196 from christianbeeznest/fixes-updates86
Internal: Settings cleanup and title fixes
2 parents 0efe00e + 485d687 commit 6a211b9

File tree

3 files changed

+15
-52
lines changed

3 files changed

+15
-52
lines changed

src/CoreBundle/DataFixtures/SettingsCurrentFixtures.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,11 @@ public static function getExistingSettings(): array
243243
],
244244
],
245245
'course' => [
246+
[
247+
'name' => 'access_url_specific_files',
248+
'title' => 'Enable URL-specific files',
249+
'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.'
250+
],
246251
[
247252
'name' => 'allow_course_theme',
248253
'title' => 'Allow course themes',
@@ -1046,6 +1051,16 @@ public static function getExistingSettings(): array
10461051
],
10471052
],
10481053
'platform' => [
1054+
[
1055+
'name' => 'donotlistcampus',
1056+
'title' => 'Do not list this campus on chamilo.org',
1057+
'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.'
1058+
],
1059+
[
1060+
'name' => 'timezone',
1061+
'title' => 'Default timezone',
1062+
'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.'
1063+
],
10491064
[
10501065
'name' => 'chamilo_database_version',
10511066
'title' => 'Current version of the database schema used by Chamilo',

src/CoreBundle/Resources/config/settings.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,6 @@ services:
134134
tags:
135135
- {name: sylius.settings_schema, alias: chamilo_core.settings.profile, namespace: profile}
136136

137-
chamilo_core.settings.ppt_to_lp:
138-
class: Chamilo\CoreBundle\Settings\PptToLpSettingsSchema
139-
tags:
140-
- {name: sylius.settings_schema, alias: chamilo_core.settings.ppt_to_lp, namespace: ppt_to_lp}
141-
142137
chamilo_core.settings.registration:
143138
class: Chamilo\CoreBundle\Settings\RegistrationSettingsSchema
144139
tags:

src/CoreBundle/Settings/PptToLpSettingsSchema.php

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)