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 / member_form.php

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

67 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Member page template
4 *
5 * @package Welcart
6 */
7
8 global $usces;
9 $usces_members = $this->get_member();
10
11 $html = '<div id="memberpages">
12
13 <div id="newmember">';
14
15 $html .= '<div class="header_explanation">';
16 $header = '<ul>
17 <li>' . esc_html__( 'All your personal information will be protected and handled with carefull attention.', 'usces' ) . '</li>
18 <li>' . esc_html__( 'Your information is entrusted to us for the purpose of providing information and respond to your requests, but to be used for any other purpose. More information, please visit our Privacy Notice.', 'usces' ) . '</li>
19 <li>' . esc_html__( 'The items marked with *, are mandatory. Please complete.', 'usces' ) . '</li>
20 <li>' . esc_html__( 'Please use Alphanumeric characters for numbers.', 'usces' ) . '</li>
21 </ul>';
22 $html .= apply_filters( 'usces_filter_newmember_page_header', $header );
23 $html .= '</div>';
24
25 $html .= '<div class="error_message">' . $this->error_message . '</div>
26 <form action="' . apply_filters( 'usces_filter_newmember_form_action', esc_url( USCES_MEMBER_URL ) ) . '" method="post" onKeyDown="if (event.keyCode == 13) {return false;}">
27 <table border="0" cellpadding="0" cellspacing="0" class="customer_form">';
28 $html .= '<tr>
29 <th scope="row"><em>' . esc_html__( '*', 'usces' ) . '</em>' . esc_html__( 'e-mail adress', 'usces' ) . '</th>
30 <td colspan="2"><input name="member[mailaddress1]" id="mailaddress1" type="text" value="' . esc_attr( $usces_members['mailaddress1'] ) . '" /></td>
31 </tr>
32 <tr>
33 <th scope="row"><em>' . esc_html__( '*', 'usces' ) . '</em>' . esc_html__( 'E-mail address (for verification)', 'usces' ) . '</th>
34 <td colspan="2"><input name="member[mailaddress2]" id="mailaddress2" type="text" value="' . esc_attr( $usces_members['mailaddress2'] ) . '" /></td>
35 </tr>
36 <tr>
37 <th scope="row"><em>' . esc_html__( '*', 'usces' ) . '</em>' . esc_html__( 'password', 'usces' ) . '</th>
38 <td colspan="2"><input class="hidden" value=" " /><input name="member[password1]" id="password1" type="password" value="' . esc_attr( $usces_members['password1'] ) . '" autocomplete="off" /></td>
39 </tr>
40 <tr>
41 <th scope="row"><em>' . esc_html__( '*', 'usces' ) . '</em>' . esc_html__( 'Password (confirm)', 'usces' ) . '</th>
42 <td colspan="2"><input name="member[password2]" id="password2" type="password" value="' . esc_attr( $usces_members['password2'] ) . '" /></td>
43 </tr>';
44 $html .= uesces_addressform( 'member', $usces_members );
45 $html .= '</table>';
46 $html .= usces_agree_member_field( 'return' );
47 $html .= '<div class="send">';
48 $newmemberbutton = '<input name="member_regmode" type="hidden" value="' . esc_attr( $member_regmode ) . '" />
49 <input name="regmember" type="submit" value="' . esc_html__( 'transmit a message', 'usces' ) . '" />';
50 $html .= apply_filters( 'usces_filter_newmember_button', $newmemberbutton );
51 $html .= '</div>';
52 $html = apply_filters( 'usces_filter_newmember_inform', $html );
53
54 $noncekey = $this->member_nonce_key( 'post_member' );
55 $html .= wp_nonce_field( $noncekey, 'wc_nonce', true, false );
56
57 $html .= '</form>';
58
59 $html .= '<div class="footer_explanation">';
60 $footer = '';
61 $html .= apply_filters( 'usces_filter_newmember_page_footer', $footer );
62 $html .= '</div>';
63
64 $html .= '</div>
65
66 </div>';
67