PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
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 1.7.0.9 All 211 releases
charitable / templates / shortcodes / reset-password.php

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

76 lines 2.3 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 * @version 1.8.8.6
11 */
12
13 // Exit if accessed directly.
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit;
16 }
17
18 $charitable_form = $view_args['form'];
19
20 ?>
21 <div class="charitable-reset-password-form">
22 <?php
23 /**
24 * Do something before rendering the password reset form.
25 *
26 * @param array $view_args All args passed to template.
27 */
28 do_action( 'charitable_reset_password_before', $view_args );
29
30 ?>
31 <form id="resetpassform" class="charitable-form" action="<?php echo esc_url( site_url( 'wp-login.php?action=resetpass' ) ); ?>" method="post" autocomplete="off">
32 <?php
33 /**
34 * Do something before rendering the form fields.
35 *
36 * @since 1.4.0
37 *
38 * @param Charitable_Form $form The form object.
39 * @param array $view_args All args passed to template.
40 */
41 do_action( 'charitable_form_before_fields', $charitable_form, $view_args );
42
43 ?>
44 <div class="charitable-form-fields cf">
45 <input type="hidden" id="user_login" name="rp_login" value="<?php echo esc_attr( $view_args['login'] ); ?>" autocomplete="off" >
46 <input type="hidden" name="rp_key" value="<?php echo esc_attr( $view_args['key'] ); ?>" >
47 <?php $charitable_form->view()->render(); ?>
48 <p class="description"><?php echo wp_kses_post( wp_get_password_hint() ); ?></p>
49 </div><!-- .charitable-form-fields -->
50 <?php
51 /**
52 * Do something after rendering the form fields.
53 *
54 * @since 1.4.0
55 *
56 * @param Charitable_Form $form The form object.
57 * @param array $view_args All args passed to template.
58 */
59 do_action( 'charitable_form_after_fields', $charitable_form, $view_args );
60
61 ?>
62 <div class="charitable-form-field charitable-submit-field resetpass-submit">
63 <input type="submit" name="submit" class="<?php echo esc_attr( charitable_get_button_class( 'lostpassword' ) ); ?>" id="resetpass-button" value="<?php esc_attr_e( 'Reset Password', 'charitable' ); ?>">
64 </div>
65 </form><!-- #resetpassform -->
66 <?php
67 /**
68 * Do something before rendering the password reset form.
69 *
70 * @param array $view_args All args passed to template.
71 */
72 do_action( 'charitable_reset_password_after', $view_args );
73
74 ?>
75 </div>
76