New user tabs from Shane and myself ... these bring together the
[moodle.git] / user / edit.php
index 4f6a6ff..f895f1c 100644 (file)
                      "<a href=\"$CFG->wwwroot/$CFG->admin/users.php\">$strusers</a> -> $straddnewuser", "");
     }
 
+
+/// Print tabs at top
+/// This same call is made in:
+///     /user/view.php
+///     /user/edit.php
+///     /course/user.php
+    $currenttab = 'editprofile';
+    include('tabs.php');
+
+    
+
     $teacher = strtolower($course->teacher);
     if (!isadmin()) {
         $teacheronly = "(".get_string("teacheronly", "", $teacher).")";
         $teacheronly = "";
     }
 
-    print_heading( get_string("userprofilefor", "", "$userfullname") );
-
     if (isset($USER->newadminuser)) {
         print_simple_box(get_string("configintroadmin", 'admin'), "center", "50%");
         echo "<br />";