Permalink
Browse files

Tweaks to the headers

  • Loading branch information...
1 parent 2b25f2a commit 0087d8a6d733846f17b5d01fb968e0c2fb25ee82 martin committed Aug 8, 2002
Showing with 4 additions and 4 deletions.
  1. +3 −3 user/edit.php
  2. +1 −1 user/view.php
View
@@ -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
@@ -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() ) {

0 comments on commit 0087d8a

Please sign in to comment.