mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks Author: Matt Clarkson <mattc@catalyst.net.nz>
This commit is contained in:
parent
7994464178
commit
3b27b0fe21
99 changed files with 471 additions and 547 deletions
|
@ -42,8 +42,8 @@
|
|||
$strname = get_string('name');
|
||||
$strdata = get_string('modulename','data');
|
||||
|
||||
$crumbs[] = array('name' => $strdata, 'link' => "index.php?id=$course->id", 'type' => 'activity');
|
||||
$navigation = build_navigation($crumbs);
|
||||
$navlinks[] = array('name' => $strdata, 'link' => "index.php?id=$course->id", 'type' => 'activity');
|
||||
$navigation = build_navigation($navlinks);
|
||||
|
||||
print_header_simple($strdata, '', $navigation, '', '', true, "", navmenu($course));
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
|||
array_push($table->align, 'center');
|
||||
}
|
||||
|
||||
$currentgroup = get_current_group($course->id);
|
||||
$currentgroup = get_and_set_current_group($course, groupmode($course));
|
||||
if ($currentgroup and has_capability('mod/data:manageentries', $context)) {
|
||||
$group = groups_get_group($currentgroup, false);
|
||||
$groupname = " ($group->name)";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue