PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.7.0.5
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.7.0.5
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
charitable / templates / shortcodes / reset-password.php

reset-password.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.7.0.5, at templates/shortcodes/reset-password.php

75 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template used to display the reset password form. Provided here
4 * primarily as a way to make it easier to override using theme templates.
5 *
6 * @author Rafe Colton
7 * @package Charitable/Templates/Account
8 * @since 1.4.0
9 * @version 1.6.29
10 */
11
12 // Exit if accessed directly.
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 $form = $view_args['form'];
18
19 ?>
20 <div class="charitable-reset-password-form">
21 <?php
22 /**
23 * Do something before rendering the password reset form.
24 *
25 * @param array $view_args All args passed to template.
26 */
27 do_action( 'charitable_reset_password_before', $view_args );
28
29 ?>
30 <form id="resetpassform" class="charitable-form" action="<?php echo site_url( 'wp-login.php?action=resetpass' ); ?>" method="post" autocomplete="off">
31 <?php
32 /**
33 * Do something before rendering the form fields.
34 *
35 * @since 1.4.0
36 *
37 * @param Charitable_Form $form The form object.
38 * @param array $view_args All args passed to template.
39 */
40 do_action( 'charitable_form_before_fields', $form, $view_args );
41
42 ?>
43 <div class="charitable-form-fields cf">
44 <input type="hidden" id="user_login" name="rp_login" value="<?php echo esc_attr( $view_args['login'] ); ?>" autocomplete="off" >
45 <input type="hidden" name="rp_key" value="<?php echo esc_attr( $view_args['key'] ); ?>" >
46 <?php $form->view()->render(); ?>
47 <p class="description"><?php echo wp_get_password_hint(); ?></p>
48 </div><!-- .charitable-form-fields -->
49 <?php
50 /**
51 * Do something after rendering the form fields.
52 *
53 * @since 1.4.0
54 *
55 * @param Charitable_Form $form The form object.
56 * @param array $view_args All args passed to template.
57 */
58 do_action( 'charitable_form_after_fields', $form, $view_args );
59
60 ?>
61 <div class="charitable-form-field charitable-submit-field resetpass-submit">
62 <input type="submit" name="submit" class="<?php echo esc_attr( charitable_get_button_class( 'lostpassword' ) ); ?>" id="resetpass-button" value="<?php _e( 'Reset Password', 'charitable' ); ?>">
63 </div>
64 </form><!-- #resetpassform -->
65 <?php
66 /**
67 * Do something before rendering the password reset form.
68 *
69 * @param array $view_args All args passed to template.
70 */
71 do_action( 'charitable_reset_password_after', $view_args );
72
73 ?>
74 </div>
75