mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-44264' of https://github.com/merrill-oakland/moodle
This commit is contained in:
commit
9a85b4e053
1 changed files with 5 additions and 0 deletions
|
@ -341,6 +341,11 @@ if (!isset($hiddenfields['mycourses'])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require_once($CFG->libdir . '/badgeslib.php');
|
||||||
|
if (!empty($CFG->enablebadges) && !empty($CFG->badges_allowcoursebadges)) {
|
||||||
|
profile_display_badges($user->id, $courseid);
|
||||||
|
}
|
||||||
|
|
||||||
if (!isset($hiddenfields['suspended'])) {
|
if (!isset($hiddenfields['suspended'])) {
|
||||||
if ($user->suspended) {
|
if ($user->suspended) {
|
||||||
echo html_writer::tag('dt', " ");
|
echo html_writer::tag('dt', " ");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue