Skip to content

Commit

Permalink
login form: MDL-20050 forgotton password should be a link, not a button.
Browse files Browse the repository at this point in the history
It is what uses expect these days. Credit to Olli as part of his GSOC project.
  • Loading branch information
tjhunt committed Aug 25, 2009
1 parent 2c5ec83 commit 274fe93
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions login/index_form.html
Expand Up @@ -38,6 +38,7 @@ <h2><?php print_string("returningtosite") ?></h2>
<input type="password" name="password" id="password" size="15" value="" />
<input type="submit" value="<?php print_string("login") ?>" />
<input type="hidden" name="testcookies" value="1" />
<div><a href="forgot_password.php"><?php print_string("forgotten") ?></a></div>
</div>
<div class="clearer"><!-- --></div>
</div>
Expand All @@ -59,18 +60,6 @@ <h2><?php print_string("returningtosite") ?></h2>
</form>
</div>
<?php } ?>

<div class="subcontent forgotsub">
<div class="desc">
<?php print_string("forgotten") ?>
</div>
<form action="forgot_password.php" method="post" id="changepassword">
<div class="forgotform">
<input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
<input type="submit" value="<?php print_string("passwordrecovery") ?>" />
</div>
</form>
</div>
</div>
<?php if ($show_instructions) { ?>
<div class="signuppanel">
Expand Down

0 comments on commit 274fe93

Please sign in to comment.