]> git.mjollnir.org Git - moodle.git/commitdiff
Removed focussing altogether MDL-6750
authormoodler <moodler>
Tue, 3 Oct 2006 07:31:49 +0000 (07:31 +0000)
committermoodler <moodler>
Tue, 3 Oct 2006 07:31:49 +0000 (07:31 +0000)
login/change_password.php

index 845783ce780d5cafd0511db6b8e5fe4474eac803..49bc2df074a85e8f32998cd8c97adb2504341f44 100644 (file)
         $frm->username = $USER->username;
     }
 
-    if (!empty($frm->username)) {
-        $focus = 'form.password';
-    } else {
-        $focus = 'form.username';
-    }
-
     $strchangepassword = get_string('changepassword');
 
     $fullname = fullname($USER, true);
     }
     $navstr .= "<a href=\"$CFG->wwwroot/user/index.php?id=$course->id\">".get_string('participants')."</a> -> <a href=\"$CFG->wwwroot/user/view.php?id=$USER->id&amp;course=$course->id\">$fullname</a> -> $strchangepassword";
 
-    print_header($strchangepassword, $strchangepassword, $navstr, $focus);
+    print_header($strchangepassword, $strchangepassword, $navstr);
 
     print_simple_box_start('center');
     include('change_password_form.html');