mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
Tweaks to the headers
This commit is contained in:
parent
2b25f2a09b
commit
0087d8a6d7
@ -12,7 +12,7 @@
|
||||
}
|
||||
|
||||
if (! $course = get_record("course", "id", $course)) {
|
||||
error("User ID was incorrect");
|
||||
error("Course ID was incorrect");
|
||||
}
|
||||
|
||||
require_login($course->id);
|
||||
@ -150,13 +150,13 @@
|
||||
$participants = get_string("participants");
|
||||
|
||||
if ($course->category) {
|
||||
print_header($editmyprofile, $editmyprofile,
|
||||
print_header("$course->fullname: $editmyprofile", "$course->fullname: $editmyprofile",
|
||||
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>
|
||||
-> <A HREF=\"index.php?id=$course->id\">$participants</A>
|
||||
-> <A HREF=\"view.php?id=$user->id&course=$course->id\">$user->firstname $user->lastname</A>
|
||||
-> $editmyprofile", "");
|
||||
} else {
|
||||
print_header($editmyprofile, $editmyprofile,
|
||||
print_header("$course->fullname: $editmyprofile", "$course->fullname",
|
||||
"<A HREF=\"view.php?id=$user->id&course=$course->id\">$user->firstname $user->lastname</A>
|
||||
-> $editmyprofile", "");
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
"<A HREF=\"../course/view.php?id=$course->id\">$course->shortname</A> ->
|
||||
<A HREF=\"index.php?id=$course->id\">$participants</A> -> $fullname", "");
|
||||
} else {
|
||||
print_header("$personalprofile: $fullname", "$personalprofile: $fullname", "$fullname", "");
|
||||
print_header("$course->fullname: $personalprofile: $fullname", "$course->fullname", "$fullname", "");
|
||||
}
|
||||
|
||||
if ($course->category and ! isguest() ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user