]> git.mjollnir.org Git - moodle.git/commitdiff
Tweaks to the headers
authormartin <martin>
Thu, 8 Aug 2002 16:02:39 +0000 (16:02 +0000)
committermartin <martin>
Thu, 8 Aug 2002 16:02:39 +0000 (16:02 +0000)
user/edit.php
user/view.php

index 53fdbb6321d24f2f4cf51aa9eb2397a53978100a..d3999fa6d12b8c47c3b878abdc48c48400f65d96 100644 (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);
     $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", "");
     }
index 2c4d02f1e3cdfcc730acbd60a1298e2cad392336..d891503e51366792a43830aa21d1f64d002057fd 100644 (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() ) {