Skip to content

Commit

Permalink
Removed focus as too much trouble. MDL-6750
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Oct 3, 2006
1 parent ca72bce commit 2c669a7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions login/change_password.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@
$frm->username = $USER->username;
}

if (!empty($frm->username)) {
$focus = 'form.password';
} else {
$focus = 'form.username';
}

$strchangepassword = get_string('changepassword');

$fullname = fullname($USER, true);
Expand All @@ -120,7 +114,7 @@
}
$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');
Expand Down

0 comments on commit 2c669a7

Please sign in to comment.