From 0087d8a6d733846f17b5d01fb968e0c2fb25ee82 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 8 Aug 2002 16:02:39 +0000 Subject: [PATCH] Tweaks to the headers --- user/edit.php | 6 +++--- user/view.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/user/edit.php b/user/edit.php index 53fdbb6321..d3999fa6d1 100644 --- a/user/edit.php +++ b/user/edit.php @@ -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", "wwwroot/course/view.php?id=$course->id\">$course->shortname -> id\">$participants -> id&course=$course->id\">$user->firstname $user->lastname -> $editmyprofile", ""); } else { - print_header($editmyprofile, $editmyprofile, + print_header("$course->fullname: $editmyprofile", "$course->fullname", "id&course=$course->id\">$user->firstname $user->lastname -> $editmyprofile", ""); } diff --git a/user/view.php b/user/view.php index 2c4d02f1e3..d891503e51 100644 --- a/user/view.php +++ b/user/view.php @@ -34,7 +34,7 @@ "id\">$course->shortname -> id\">$participants -> $fullname", ""); } else { - print_header("$personalprofile: $fullname", "$personalprofile: $fullname", "$fullname", ""); + print_header("$course->fullname: $personalprofile: $fullname", "$course->fullname", "$fullname", ""); } if ($course->category and ! isguest() ) { -- 2.39.5