mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-75844 moodle_page: add a modname to body tag.
This commit is contained in:
parent
8f492a836a
commit
94c2a52528
2 changed files with 2 additions and 0 deletions
|
@ -1937,6 +1937,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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue