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.2 3.5.0 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0 3.8.1 3.8.2 3.8.3 3.9.0 3.9.1 3.9.10 3.9.2 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.8 3.9.9
tutor / views / pages / add_new_instructor.php
tutor / views / pages Last commit date
tools 4 years ago add_new_instructor.php 3 years ago addons.php 3 years ago announcements.php 4 years ago answer.php 4 years ago course-list.php 3 years ago enable_disable_addons.php 4 years ago get-pro.php 5 years ago instructors.php 4 years ago question_answer.php 4 years ago quiz_attempts.php 3 years ago students.php 4 years ago tools.php 4 years ago tutor-pro-addons.php 4 years ago uninstall.php 4 years ago view_attempt.php 3 years ago welcome.php 4 years ago withdraw_requests.php 3 years ago
add_new_instructor.php
147 lines
1
2 <div class="wrap">
3 <h1 class="wp-heading-inline"><?php esc_html_e( 'Add new instructor', 'tutor' ); ?></h1>
4 <hr class="wp-header-end">
5
6 <form action="" id="new-instructor-form" method="post">
7 <?php tutor_nonce_field(); ?>
8 <input type="hidden" name="action" value="add_new_instructor">
9
10
11 <div id="form-response"></div>
12 <?php
13 $validation_errors = apply_filters( 'tutor_instructor_register_validation_errors', array() );
14 if ( is_array( $validation_errors ) && count( $validation_errors ) ) :
15 ?>
16 <div class="tutor-alert tutor-warning tutor-mb-12">
17 <ul class="tutor-required-fields">
18 <?php foreach ( $validation_errors as $validation_error ) : ?>
19 <li>
20 <?php echo esc_html( $validation_error ); ?>
21 </li>
22 <?php endforeach; ?>
23 </ul>
24 </div>
25 <?php endif; ?>
26 <?php do_action( 'tutor_add_new_instructor_form_fields_before' ); ?>
27
28 <div class="tutor-option-field-row">
29 <div class="tutor-option-field-label">
30 <label for="">
31 <?php esc_html_e( 'First Name', 'tutor' ); ?>
32
33 <span class="tutor-required-fields">*</span>
34 </label>
35 </div>
36 <div class="tutor-option-field">
37 <input type="text" name="first_name" value="<?php echo esc_attr( tutor_utils()->input_old( 'first_name' ) ); ?>" placeholder="<?php esc_attr_e( 'First Name', 'tutor' ); ?>">
38 </div>
39 </div>
40
41
42 <div class="tutor-option-field-row">
43 <div class="tutor-option-field-label">
44 <label>
45 <?php esc_html_e( 'Last Name', 'tutor' ); ?>
46 <span class="tutor-required-fields">*</span>
47 </label>
48 </div>
49
50 <div class="tutor-option-field">
51 <input type="text" name="last_name" value="<?php echo esc_attr( tutor_utils()->input_old( 'last_name' ) ); ?>" placeholder="<?php esc_attr_e( 'Last Name', 'tutor' ); ?>">
52 </div>
53 </div>
54
55 <div class="tutor-option-field-row">
56 <div class="tutor-option-field-label">
57 <label>
58 <?php esc_html_e( 'User Name', 'tutor' ); ?>
59 <span class="tutor-required-fields">*</span>
60 </label>
61 </div>
62
63 <div class="tutor-option-field">
64 <input type="text" name="user_login" class="tutor_user_name" value="<?php echo esc_attr( tutor_utils()->input_old( 'user_login' ) ); ?>" placeholder="<?php esc_attr_e( 'User Name', 'tutor' ); ?>">
65 </div>
66 </div>
67
68 <div class="tutor-option-field-row">
69 <div class="tutor-option-field-label">
70 <label>
71 <?php esc_html_e( 'E-Mail', 'tutor' ); ?>
72 <span class="tutor-required-fields">*</span>
73 </label>
74 </div>
75
76 <div class="tutor-option-field">
77 <input type="text" name="email" value="<?php echo esc_attr( tutor_utils()->input_old( 'email' ) ); ?>" placeholder="<?php esc_attr_e( 'E-Mail', 'tutor' ); ?>">
78 </div>
79 </div>
80
81 <div class="tutor-option-field-row">
82 <div class="tutor-option-field-label">
83 <label>
84 <?php esc_html_e( 'Phone Number', 'tutor' ); ?>
85 <span class="tutor-required-fields">*</span>
86 </label>
87 </div>
88
89 <div class="tutor-option-field">
90 <input type="text" name="phone_number" value="<?php echo esc_attr( tutor_utils()->input_old( 'phone_number' ) ); ?>" placeholder="<?php esc_attr_e( 'Phone Number', 'tutor' ); ?>">
91 </div>
92 </div>
93
94 <div class="tutor-option-field-row">
95 <div class="tutor-option-field-label">
96 <label>
97 <?php esc_html_e( 'Password', 'tutor' ); ?>
98 <span class="tutor-required-fields">*</span>
99 </label>
100 </div>
101
102 <div class="tutor-option-field">
103 <input type="password" name="password" value="<?php echo esc_attr( tutor_utils()->input_old( 'password' ) ); ?>" placeholder="<?php esc_attr_e( 'Password', 'tutor' ); ?>">
104 </div>
105 </div>
106
107 <div class="tutor-option-field-row">
108 <div class="tutor-option-field-label">
109 <label>
110 <?php esc_html_e( 'Password confirmation', 'tutor' ); ?>
111 <span class="tutor-required-fields">*</span>
112 </label>
113 </div>
114
115 <div class="tutor-option-field">
116 <input type="password" name="password_confirmation" value="<?php echo esc_attr( tutor_utils()->input_old( 'password_confirmation' ) ); ?>" placeholder="<?php esc_attr_e( 'Password Confirmation', 'tutor' ); ?>">
117 </div>
118 </div>
119
120 <div class="tutor-option-field-row">
121 <div class="tutor-option-field-label">
122 <label>
123 <?php esc_html_e( 'Bio', 'tutor' ); ?>
124 </label>
125 </div>
126 <div class="tutor-option-field">
127 <textarea name="tutor_profile_bio"><?php esc_html_e( tutor_utils()->input_old( 'tutor_profile_bio' ) ); ?></textarea>
128 </div>
129 </div>
130
131 <?php do_action( 'tutor_add_new_instructor_form_fields_after' ); ?>
132
133 <div class="tutor-option-field-row">
134 <div class="tutor-option-field-label"></div>
135
136 <div class="tutor-option-field">
137 <div class="tutor-form-group tutor-reg-form-btn-wrap">
138 <button type="submit" name="tutor_register_instructor_btn" value="register" class="tutor-button tutor-button-primary">
139 <i class="tutor-icon-plus-square"></i>
140 <?php esc_html_e( 'Add new instructor', 'tutor' ); ?></button>
141 </div>
142 </div>
143 </div>
144
145 </form>
146 </div>
147