Merge branch 'MDL-75917-400' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_400_STABLE

This commit is contained in:
Andrew Nicols 2022-11-10 08:48:27 +08:00
commit 87002d24be
2 changed files with 2 additions and 0 deletions

View file

@ -1932,6 +1932,7 @@ class moodle_page {
if (!empty($this->_cm)) {
$this->add_body_class('cmid-' . $this->_cm->id);
$this->add_body_class('cm-type-' . $this->_cm->modname);
}
if (!empty($CFG->allowcategorythemes) && !empty($this->_course)) {

View file

@ -5,6 +5,7 @@ information provided here is intended especially for theme designer.
* A new theme config 'removedprimarynavitems' allows a theme to customise primary navigation by specifying the list of items to remove.
* A new theme config 'usescourseindex' allows a theme to specify whether it implements and uses course index.
* A new theme setting 'unaddableblocks' allows admins to define the blocks that won't be displayed in the "Add a block" list.
* The body tag include a class with module name specific for each activity E.g.: cm-type-page
=== 3.11 ===
* The classname 'viewmode-cobmined' in course/management.php has been changed to 'viewmode-combined'