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 / login-form.php

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

53 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the login form allowing users access to their account
4 *
5 * This template can be overridden by copying it to yourtheme/propertyhive/account/login-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
15 <form name="ph_login_form" class="propertyhive-form login-form" action="" method="post">
16
17 <div id="loginError" style="display:none;" class="alert alert-danger alert-box">
18 <?php echo esc_html(__( 'Invalid details provided. Please try again', 'propertyhive' )); ?>
19 </div>
20
21 <?php
22 do_action( 'propertyhive_login_form_start' );
23
24 ph_form_field( 'email_address',
25 array(
26 'type' => 'email',
27 'label' => __( 'Email Address', 'propertyhive' ),
28 'required' => true
29 )
30 );
31
32 ph_form_field( 'password',
33 array(
34 'type' => 'password',
35 'label' => __( 'Password', 'propertyhive' ),
36 'required' => true
37 )
38 );
39
40 do_action( 'propertyhive_login_form' );
41 ?>
42
43 <input type="submit" value="<?php echo esc_attr(__( 'Login', 'propertyhive' )); ?>">
44
45 <?php if ( !empty( get_option( 'propertyhive_applicant_reset_password_page_id', '' ) ) ) { ?>
46 <div class="ph-forgot-password-link"><a href="" class="ph-forgot-password"><?php echo esc_html(__( 'Forgot your password?', 'propertyhive' )); ?></a></div>
47 <?php } ?>
48
49 <?php do_action( 'propertyhive_login_form_end' ); ?>
50
51 </form>
52
53 <?php ph_get_template( 'account/lost-password-form.php' ); ?>