mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-11379 and MDL-11380 fixed
This commit is contained in:
parent
6421ee7191
commit
2f6c662f41
4 changed files with 32 additions and 30 deletions
|
@ -43,6 +43,8 @@
|
|||
$fullname = fullname($user, true);
|
||||
|
||||
$navlinks = array();
|
||||
$navlinks[] = array('name' => $course->shortname, 'link' => "course/view.php?id=$course->id", 'type' => 'misc');
|
||||
|
||||
if ($course->id != SITEID) {
|
||||
$navlinks[] = array('name' => $strparticipants, 'link' => "../user/index.php?id=$course->id", 'type' => 'misc');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue