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.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 / templates / dashboard / instructor / registration.php
tutor / templates / dashboard / instructor Last commit date
apply_for_instructor.php 5 years ago logged-in.php 5 years ago registration.php 5 years ago
registration.php
122 lines
1 <?php
2 /**
3 * @package TutorLMS/Templates
4 * @version 1.4.3
5 */
6
7 ?>
8 <?php do_action('tutor_before_instructor_reg_form');?>
9
10 <form method="post" enctype="multipart/form-data">
11
12 <?php do_action('tutor_instructor_reg_form_start');?>
13
14 <?php wp_nonce_field( tutor()->nonce_action, tutor()->nonce ); ?>
15 <input type="hidden" value="tutor_register_instructor" name="tutor_action"/>
16
17 <?php
18 $errors = apply_filters('tutor_instructor_register_validation_errors', array());
19 if (is_array($errors) && count($errors)){
20 echo '<div class="tutor-alert-warning"><ul class="tutor-required-fields">';
21 foreach ($errors as $error_key => $error_value){
22 echo "<li>{$error_value}</li>";
23 }
24 echo '</ul></div>';
25 }
26 ?>
27
28 <div class="tutor-form-row">
29 <div class="tutor-form-col-6">
30 <div class="tutor-form-group">
31 <label>
32 <?php _e('First Name', 'tutor'); ?>
33 </label>
34
35 <input type="text" name="first_name" value="<?php echo tutor_utils()->input_old('first_name'); ?>" placeholder="<?php _e('First Name', 'tutor'); ?>">
36 </div>
37 </div>
38
39 <div class="tutor-form-col-6">
40 <div class="tutor-form-group">
41 <label>
42 <?php _e('Last Name', 'tutor'); ?>
43 </label>
44
45 <input type="text" name="last_name" value="<?php echo tutor_utils()->input_old('last_name'); ?>" placeholder="<?php _e('Last Name', 'tutor'); ?>">
46 </div>
47 </div>
48
49
50 </div>
51
52 <div class="tutor-form-row">
53
54 <div class="tutor-form-col-6">
55 <div class="tutor-form-group">
56 <label>
57 <?php _e('User Name', 'tutor'); ?>
58 </label>
59
60 <input type="text" name="user_login" class="tutor_user_name" value="<?php echo tutor_utils()->input_old('user_login'); ?>" placeholder="<?php _e('User Name', 'tutor'); ?>">
61 </div>
62 </div>
63
64 <div class="tutor-form-col-6">
65 <div class="tutor-form-group">
66 <label>
67 <?php _e('E-Mail', 'tutor'); ?>
68 </label>
69
70 <input type="text" name="email" value="<?php echo tutor_utils()->input_old('email'); ?>" placeholder="<?php _e('E-Mail', 'tutor'); ?>">
71 </div>
72 </div>
73
74 </div>
75
76 <div class="tutor-form-row">
77 <div class="tutor-form-col-6">
78 <div class="tutor-form-group">
79 <label>
80 <?php _e('Password', 'tutor'); ?>
81 </label>
82
83 <input type="password" name="password" value="<?php echo tutor_utils()->input_old('password'); ?>" placeholder="<?php _e('Password', 'tutor'); ?>">
84 </div>
85 </div>
86
87 <div class="tutor-form-col-6">
88 <div class="tutor-form-group">
89 <label>
90 <?php _e('Password confirmation', 'tutor'); ?>
91 </label>
92
93 <input type="password" name="password_confirmation" value="<?php echo tutor_utils()->input_old('password_confirmation'); ?>" placeholder="<?php _e('Password Confirmation', 'tutor'); ?>">
94 </div>
95 </div>
96 </div>
97
98 <div class="tutor-form-row">
99 <div class="tutor-form-col-12">
100 <div class="tutor-form-group">
101 <?php
102 //providing register_form hook
103 do_action('tutor_instructor_reg_form_middle');
104 do_action('register_form');
105 ?>
106 </div>
107 </div>
108 </div>
109
110 <?php do_action('tutor_instructor_reg_form_end');?>
111
112 <div class="tutor-form-row">
113 <div class="tutor-form-col-12">
114 <div class="tutor-form-group tutor-reg-form-btn-wrap">
115 <button type="submit" name="tutor_register_instructor_btn" value="register" class="tutor-button"><?php _e('Register as instructor', 'tutor'); ?></button>
116 </div>
117 </div>
118 </div>
119
120 </form>
121
122 <?php do_action('tutor_after_instructor_reg_form');?>