page-lost_pass.php
1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/*
* Template Name: Lost Password
*/
?>
<?php get_header(); ?>
<div id="page-content">
<div id="login-wrap">
<div id="container">
<h2>Lost Password</h2>
<?php while ( have_posts() ) : the_post(); ?>
<article id="page-<?php the_ID(); ?>" class="meta-box hentry">
<div id="page-login" class="post-content page-login cf">
<div id="lostPassword">
<div id="message"></div>
<form id="lostPasswordForm" method="post">
<?php
// this prevent automated script for unwanted spam
if ( function_exists( 'wp_nonce_field' ) )
wp_nonce_field( 'rs_user_lost_password_action', 'rs_user_lost_password_nonce' );
?>
<p>
<label for="user_login"><?php _e('Username or E-mail:') ?> <br />
<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" />
</label>
</p>
<?php
/**
* Fires inside the lostpassword <form> tags, before the hidden fields.
*
* @since 2.1.0
*/
do_action( 'lostpassword_form' ); ?>
<p class="submit">
<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" style="width: 140px !important;" value="<?php esc_attr_e('Get New Password'); ?>" />
</p>
</form>
</div>
</div>
</article>
<?php endwhile; ?>
</div><!-- .main-column -->
</div>
</div>
<?php get_footer(); ?>