PluginProbe
Property Hive / 2.2.3
Property Hive v2.2.3
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
propertyhive / templates / account / lost-password-form.php

lost-password-form.php in Property Hive 2.2.3, at templates/account/lost-password-form.php

48 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the lost password form allowing users to reset their password
4 *
5 * This template can be overridden by copying it to yourtheme/propertyhive/account/lost-password-form.php.
6 *
7 * @author PropertyHive
8 * @package PropertyHive/Templates
9 * @version 1.0.0
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
13
14 if ( !empty( get_option( 'propertyhive_applicant_reset_password_page_id', '' ) ) ) {
15 ?>
16
17 <form name="ph_lost_password_form" class="propertyhive-form lost-password-form" action="" method="post" style="display:none">
18
19 <p><?php echo esc_html(__( 'Lost your password? Please enter your email address and we\'ll send you a link to create a new password via email.', 'propertyhive' )); ?></p>
20
21 <div id="lostPasswordError" style="display:none;" class="alert alert-danger alert-box">
22 <?php echo esc_html(__( 'Email address not found. Please try again', 'propertyhive' )); ?>
23 </div>
24
25 <div id="lostPasswordSuccess" style="display:none;" class="alert alert-success">
26 <?php echo esc_html(__( 'Success. A link to reset your password has been emailed to you', 'propertyhive' )); ?>
27 </div>
28
29 <?php
30 do_action( 'propertyhive_lost_password_form_start' );
31
32 ph_form_field( 'email_address',
33 array(
34 'type' => 'email',
35 'label' => __( 'Email Address', 'propertyhive' ),
36 'required' => true
37 )
38 );
39
40 do_action( 'propertyhive_lost_password_form' );
41 ?>
42
43 <input type="submit" value="<?php echo esc_attr(__( 'Reset Password', 'propertyhive' )); ?>">
44
45 <?php do_action( 'propertyhive_lost_password_form_end' ); ?>
46
47 </form>
48 <?php } ?>