MDL-61601 cohort: Add theme support for cohorts
authorSara Arjona <sara@moodle.com>
Tue, 23 Jan 2018 13:54:18 +0000 (14:54 +0100)
committerSara Arjona <sara@moodle.com>
Fri, 6 Apr 2018 06:28:01 +0000 (08:28 +0200)
commit88cb8b781d83e6aff3ef275a719023dcd2ea8499
treef5f9ed903f4254ffa2aff4773cf4eb6d45b49458
parent2bd26607512c36aeb17b2e788fa7e985788ca777
MDL-61601 cohort: Add theme support for cohorts

If enabled $CFG->allowcohortthemes, then themes can be set at the cohort level.
This will affect all users with only one cohort or more than one but with the same theme.
The default theme order will be: course, category, session, user, cohort, site.
18 files changed:
admin/settings/appearance.php
cohort/classes/external/cohort_summary_exporter.php
cohort/edit_form.php
cohort/externallib.php
cohort/lib.php
cohort/tests/behat/upload_cohorts.feature
cohort/tests/cohortlib_test.php
cohort/tests/externallib_test.php
cohort/tests/fixtures/uploadcohorts4.csv [new file with mode: 0644]
cohort/upload_form.php
config-dist.php
lang/en/admin.php
lang/en/cohort.php
lib/db/install.xml
lib/db/upgrade.php
lib/moodlelib.php
lib/pagelib.php
version.php