PluginProbe ʕ •ᴥ•ʔ
Firebase Authentication / 1.3.5
Firebase Authentication v1.3.5
1.7.0 trunk 1.0.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.8 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9
firebase-authentication / admin / partials / account / login / register.php
firebase-authentication / admin / partials / account / login Last commit date
register.php 5 years ago verify-password.php 5 years ago
register.php
120 lines
1 <?php
2
3
4 function mo_firebase_auth_register_ui() {
5 update_option ( 'mo_firebase_authentication_new_registration', 'true' );
6 $current_user = wp_get_current_user();
7 ?>
8 <form name="f" method="post" action="">
9 <input type="hidden" name="option" value="mo_firebase_authentication_register_customer" />
10 <div class="mo_firebase_auth_card" style="width:100%">
11 <div class="mo_table_layout">
12 <p style="font-size: 18px">Register with miniOrange<small style="font-size: x-small;"> [OPTIONAL]</small></p>
13 <p style="font-size:14px;"><b>Why should I register? </b></p>
14 <div id="help_register_desc" style="background: aliceblue; padding: 10px 10px 10px 10px; border-radius: 10px;font-size: 10px;">
15 You should register so that in case you need help, we can help you with step by step instructions.
16 <b>You will also need a miniOrange account to upgrade to the premium version of the plugins.</b> We do not store any information except the email that you will use to register with us.
17 </div>
18 </p>
19 <table class="mo_settings_table">
20 <tr>
21 <td><b><font color="#FF0000">*</font>Email:</b></td>
22 <td><input class="mo_table_textbox" type="email" name="email"
23 required placeholder="person@example.com"
24 value="<?php echo get_option('mo_firebase_authentication_admin_email');?>" />
25 </td>
26 </tr>
27 <tr class="hidden">
28 <td><b><font color="#FF0000">*</font>Website/Company Name:</b></td>
29 <td><input class="" type="text" name="company"
30 required placeholder="Enter website or company name"
31 value="<?php echo $_SERVER['SERVER_NAME']; ?>"/></td>
32 </tr>
33 <tr class="hidden">
34 <td><b>&nbsp;&nbsp;First Name:</b></td>
35 <td><input class="" type="text" name="fname"
36 placeholder="Enter first name" value="<?php echo $current_user->user_firstname;?>" /></td>
37 </tr>
38 <tr class="hidden">
39 <td><b>&nbsp;&nbsp;Last Name:</b></td>
40 <td><input class="" type="text" name="lname"
41 placeholder="Enter last name" value="<?php echo $current_user->user_lastname;?>" /></td>
42 </tr>
43
44 <tr class="hidden">
45 <td><b>&nbsp;&nbsp;Phone number :</b></td>
46 <td><input class="" type="text" name="phone" pattern="[\+]?([0-9]{1,4})?\s?([0-9]{7,12})?" id="phone" title="Phone with country code eg. +1xxxxxxxxxx" placeholder="Phone with country code eg. +1xxxxxxxxxx" value="<?php echo get_option('mo_firebase_authentication_admin_phone');?>" />
47 This is an optional field. We will contact you only if you need support.</td>
48 </tr>
49 </tr>
50 <tr class="hidden">
51 <td></td>
52 <td>We will call only if you need support.</td>
53 </tr>
54 <tr>
55 <td><b><font color="#FF0000">*</font>Password:</b></td>
56 <td><input class="mo_table_textbox" required type="password"
57 name="password" placeholder="Choose your password (Min. length 8)" /></td>
58 </tr>
59 <tr>
60 <td><b><font color="#FF0000">*</font>Confirm Password:</b></td>
61 <td><input class="mo_table_textbox" required type="password"
62 name="confirmPassword" placeholder="Confirm your password" /></td>
63 </tr>
64 </table>
65 <div>
66 <br><input style="margin-left:20px;width:20%" type="submit" name="submit" value="Register" class="button button-primary button-large"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
67 <input style="width:30%" type="button" name="mo_firebase_authentication_goto_login" id="mo_firebase_authentication_goto_login" value="Already have an account?" class="button button-primary button-large"/>&nbsp;&nbsp;<br>
68 </div>
69 </div>
70 </div>
71 </form>
72 <form name="f1" method="post" action="" id="mo_firebase_authentication_goto_login_form">
73 <?php wp_nonce_field("mo_firebase_authentication_goto_login");?>
74 <input type="hidden" name="option" value="mo_firebase_authentication_goto_login"/>
75 </form>
76 <script>
77 jQuery("#phone").intlTelInput();
78 jQuery('#mo_firebase_authentication_goto_login').click(function () {
79 jQuery('#mo_firebase_authentication_goto_login_form').submit();
80 } );
81 </script>
82 <?php
83 }
84
85 function mo_firenase_auth_show_customer_info() {
86 ?>
87 <div class="mo_firebase_auth_card" style="width:100%">
88 <h6>Thank you for registering with miniOrange.</h6><br>
89
90 <table border="1"
91 style="background-color:#FFFFFF; border:1px solid #CCCCCC; border-collapse: collapse; padding:0px 0px 0px 10px; margin:2px; width:85%">
92 <tr>
93 <td style="width:45%; padding: 10px;">miniOrange Account Email</td>
94 <td style="width:55%; padding: 10px;"><?php echo get_option( 'mo_firebase_authentication_admin_email' ); ?></td>
95 </tr>
96 <tr>
97 <td style="width:45%; padding: 10px;">Customer ID</td>
98 <td style="width:55%; padding: 10px;"><?php echo get_option( 'mo_firebase_authentication_admin_customer_key' ) ?></td>
99 </tr>
100 </table>
101 <br /><br />
102
103 <table>
104 <tr>
105 <td>
106 <form name="f1" method="post" action="" id="mo_firebase_authentication_goto_login_form">
107 <input type="hidden" value="change_miniorange" name="option"/>
108 <input type="submit" value="Change Email Address" class="button button-primary button-large"/>
109 </form>
110 </td><td>
111 <!-- <a href="<?php //echo add_query_arg( array( 'tab' => 'licensing' ), htmlentities( $_SERVER['REQUEST_URI'] ) ); ?>"><input type="button" class="button button-primary button-large" value="Check Licensing Plans"/></a> -->
112 </td>
113 </tr>
114 </table>
115
116 <br />
117 </div>
118
119 <?php
120 }