2017-08-07 16:30:12 +03:00
|
|
|
<div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo esc_attr( $form_id ); ?>">
|
2014-12-22 01:45:24 +02:00
|
|
|
|
|
|
|
|
<div class="um-form">
|
|
|
|
|
|
|
|
|
|
<form method="post" action="">
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
|
2017-07-26 14:57:52 +03:00
|
|
|
if ( ! isset( UM()->password()->reset_request ) ) {
|
2014-12-22 01:45:24 +02:00
|
|
|
|
2015-01-09 03:08:31 +02:00
|
|
|
do_action('um_reset_password_page_hidden_fields', $args );
|
|
|
|
|
|
|
|
|
|
do_action('um_reset_password_form', $args );
|
|
|
|
|
|
|
|
|
|
do_action("um_after_form_fields", $args);
|
2014-12-22 01:45:24 +02:00
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
echo '<div class="um-field-block">';
|
|
|
|
|
|
2017-07-26 14:57:52 +03:00
|
|
|
echo '<p>' . __('We have sent you a password reset link to your e-mail. Please check your inbox.', 'ultimate-member' ) . '</p>';
|
2014-12-22 01:45:24 +02:00
|
|
|
|
|
|
|
|
echo '</div>';
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|