Created
August 1, 2013 20:06
-
-
Save stompweb/6134755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<div class="wrapper"> | |
<div class="full"> | |
<?php hm_the_messages( 'lost-password' ) ?> | |
<?php if ($_GET["message"] == 'success') { ?> | |
<h1>Password Reset</h1> | |
<p>Please check your inbox for further details on how to reset your password.</p> | |
<?php | |
} elseif ($_GET["message"] == '303') { ?> | |
<h1>Password Reset</h1> | |
<p>You have been sent an email with your new randomly generated password.</p> | |
<?php } else { ?> | |
<h1>Reset your password</h1> | |
<p>Enter your registered email into the form to reset your password.</p> | |
<form method="post" action="<?php bloginfo('url') ?>/login/lost-password/submit/"> | |
<div class="email"> | |
<label for="user_email">E-Mail Address: </label> | |
<input type="email" name="user_email" value=""/> | |
</div> | |
<div class="login_fields"> | |
<input type="submit" name="forgot-password" value="Reset" class="button"/> | |
</div> | |
<?php do_action( 'hma_lost_password_form' ) ?> | |
</form> | |
<?php } ?> | |
</div> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment