mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Merge branch 'MDL-75917-400' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_400_STABLE
This commit is contained in:
commit
87002d24be
2 changed files with 2 additions and 0 deletions
|
@ -1932,6 +1932,7 @@ class moodle_page {
|
||||||
|
|
||||||
if (!empty($this->_cm)) {
|
if (!empty($this->_cm)) {
|
||||||
$this->add_body_class('cmid-' . $this->_cm->id);
|
$this->add_body_class('cmid-' . $this->_cm->id);
|
||||||
|
$this->add_body_class('cm-type-' . $this->_cm->modname);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($CFG->allowcategorythemes) && !empty($this->_course)) {
|
if (!empty($CFG->allowcategorythemes) && !empty($this->_course)) {
|
||||||
|
|
|
@ -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 '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 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.
|
* 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 ===
|
=== 3.11 ===
|
||||||
* The classname 'viewmode-cobmined' in course/management.php has been changed to 'viewmode-combined'
|
* The classname 'viewmode-cobmined' in course/management.php has been changed to 'viewmode-combined'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue