mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -18,7 +18,7 @@
|
|||
}
|
||||
|
||||
require_course_login($course);
|
||||
$currentgroup = get_current_group($course->id);
|
||||
$currentgroup = get_and_set_current_group($course, groupmode($course));
|
||||
$coursecontext = get_context_instance(CONTEXT_COURSE, $course->id);
|
||||
|
||||
|
||||
|
@ -451,10 +451,10 @@
|
|||
|
||||
|
||||
/// Output the page
|
||||
$crumbs[] = array('name' => $strforums, 'link' => '', 'type' => 'activity');
|
||||
$navlinks[] = array('name' => $strforums, 'link' => '', 'type' => 'activity');
|
||||
|
||||
print_header("$course->shortname: $strforums", $course->fullname,
|
||||
build_navigation($crumbs),
|
||||
build_navigation($navlinks),
|
||||
"", "", true, $searchform, navmenu($course));
|
||||
|
||||
if (!isguest()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue