-
Notifications
You must be signed in to change notification settings - Fork 5
/
form-lostpassword.php
35 lines (31 loc) · 1.68 KB
/
form-lostpassword.php
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
<?php
/**
* The template for displaying the Theme my Login "Lost Password Form".
*
* @package StormBringer
* @since StormBringer 0.0.2
*/
?>
<?php //$template->the_action_template_message('lostpassword'); ?>
<?php stormbringer_thememylogin_errors($template->get_errors()); ?>
<?php //$thememylogin_options = stormbringer_thememylogin_options(); ?>
<form name="form-lostpassword" id="form-lostpassword<?php $template->the_instance(); ?>" action="<?php $template->the_action_url('lostpassword'); ?>" method="post" class="form-horizontal form-lostpassword">
<div class="form-group">
<label class="control-label" for="userlogin<?php $template->the_instance(); ?>"><?php _e('Username or email', 'stormbringer') ?></label>
<div class="form-input">
<input placeholder="<?php _e('Username or email', 'stormbringer') ?>" type="text" name="user_login" id="userlogin<?php $template->the_instance(); ?>" class="form-control" value="<?php $template->the_posted_value('user_login'); ?>"/>
</div>
</div>
<?php
do_action('lostpassword_form'); // WordPress hook
do_action_ref_array('tml_lostpassword_form', array(&$template)); // TML hook
?>
<div class="form-group">
<div class="form-actions">
<input class="btn btn-primary" type="submit" name="form-submit" id="form-submit<?php $template->the_instance(); ?>" value="<?php _e('Get a new password', 'stormbringer'); ?>"/>
<input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url('lostpassword'); ?>"/>
<input type="hidden" name="instance" value="<?php $template->the_instance(); ?>"/>
</div>
</div>
</form>
<?php //$template->the_action_links(array('lostpassword' => false)); ?>