mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Breadcrumbs: mod/forum changes
- Modified to use build_navigation() for breadcrumb generation. Author: Matt Clarkson <mattc@catalyst.net.nz>
This commit is contained in:
parent
ad7767be7a
commit
e3f58dfb4e
10 changed files with 107 additions and 132 deletions
|
@ -451,15 +451,11 @@
|
|||
|
||||
|
||||
/// Output the page
|
||||
|
||||
if ($course->id != SITEID) {
|
||||
print_header("$course->shortname: $strforums", $course->fullname,
|
||||
"<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> -> $strforums",
|
||||
$crumbs[] = array('name' => $strforums, 'link' => '', 'type' => 'activity');
|
||||
|
||||
print_header("$course->shortname: $strforums", $course->fullname,
|
||||
build_navigation($crumbs, $course),
|
||||
"", "", true, $searchform, navmenu($course));
|
||||
} else {
|
||||
print_header("$course->shortname: $strforums", $course->fullname, "$strforums",
|
||||
"", "", true, $searchform, navmenu($course));
|
||||
}
|
||||
|
||||
if (!isguest()) {
|
||||
print_box_start('subscription');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue