PluginProbe
Welcart e-Commerce / 2.12.4
Welcart e-Commerce v2.12.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
usc-e-shop / templates / member / changepassword.php

changepassword.php in Welcart e-Commerce 2.12.4, at templates/member/changepassword.php

47 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 * Change password page template
4 *
5 * @package Welcart
6 */
7
8 $html = '<div id="memberpages">';
9
10 $html .= '<div class="header_explanation">';
11 $header = '';
12 $html .= apply_filters( 'usces_filter_changepass_page_header', $header );
13 $html .= '</div>';
14
15 if ( '' !== $this->error_message ) {
16 $html .= '<div class="error_message">' . $this->error_message . '</div>';
17 }
18 $html .= '<div class="loginbox">
19 <form name="loginform" id="loginform" action="' . esc_url( USCES_MEMBER_URL ) . '" method="post" onKeyDown="if (event.keyCode == 13) {return false;}">
20 <p>
21 <label>' . esc_html__( 'password', 'usces' ) . '<br />
22 <input type="password" name="loginpass1" id="loginpass1" class="loginpass" value="" size="20" autocomplete="off" /></label>
23 </p>
24 <p>
25 <label>' . esc_html__( 'Password (confirm)', 'usces' ) . '<br />
26 <input type="password" name="loginpass2" id="loginpass2" class="loginpass" value="" size="20" autocomplete="off" /></label>
27 </p>
28 <p class="submit">
29 <input type="submit" name="changepassword" id="member_login" value="' . esc_html__( 'Register', 'usces' ) . '" />
30 </p>';
31 $html = apply_filters( 'usces_filter_changepassword_inform', $html );
32
33 $noncekey = $this->member_nonce_key( 'post_member' );
34 $html .= wp_nonce_field( $noncekey, 'wc_nonce', true, false );
35 $html .= '</form>
36 </div>';
37
38 $html .= '<div class="footer_explanation">';
39 $footer = '';
40 $html .= apply_filters( 'usces_filter_changepass_page_footer', $footer );
41 $html .= '</div>';
42
43 $html .= '</div>
44 <script type="text/javascript">
45 try{document.getElementById(\'loginpass1\').focus();}catch(e){}
46 </script>';
47