Tweaks to the headers

This commit is contained in:
martin 2002-08-08 16:02:39 +00:00
parent 2b25f2a09b
commit 0087d8a6d7
2 changed files with 4 additions and 4 deletions

View File

@ -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", "");
}

View File

@ -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() ) {