| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* User Lost Password Form |
| 5 |
* |
| 6 |
* @package bbPress |
| 7 |
* @subpackage Theme |
| 8 |
*/ |
| 9 |
|
| 10 |
// Exit if accessed directly |
| 11 |
defined( 'ABSPATH' ) || exit; |
| 12 |
?> |
| 13 |
|
| 14 |
<form method="post" action="<?php bbp_wp_login_action( array( 'action' => 'lostpassword', 'context' => 'login_post' ) ); ?>" class="bbp-login-form"> |
| 15 |
<fieldset class="bbp-form"> |
| 16 |
<legend><?php esc_html_e( 'Lost Password', 'forumax' ); ?></legend> |
| 17 |
|
| 18 |
<div class="bbp-username"> |
| 19 |
<p> |
| 20 |
<label for="user_login" class="hide"><?php esc_html_e( 'Username or Email', 'forumax' ); ?>: </label> |
| 21 |
<input type="text" name="user_login" value="" size="20" id="user_login" maxlength="100" autocomplete="off" /> |
| 22 |
</p> |
| 23 |
</div> |
| 24 |
|
| 25 |
<?php do_action( 'login_form', 'resetpass' ); ?> |
| 26 |
|
| 27 |
<div class="bbp-submit-wrapper"> |
| 28 |
|
| 29 |
<button type="submit" name="user-submit" class="button submit user-submit fill-brand"> |
| 30 |
<?php esc_html_e( 'Reset My Password', 'forumax' ); ?> |
| 31 |
</button> |
| 32 |
|
| 33 |
<?php bbp_user_lost_pass_fields(); ?> |
| 34 |
|
| 35 |
</div> |
| 36 |
</fieldset> |
| 37 |
</form> |