PluginProbe ʕ •ᴥ•ʔ
Firebase Authentication / 1.5.6
Firebase Authentication v1.5.6
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 / config / class-mo-firebase-authentication-advsettings.php
firebase-authentication / admin / partials / config Last commit date
class-mo-firebase-authentication-advsettings.php 4 years ago class-mo-firebase-authentication-config.php 4 years ago class-mo-firebase-authentication-hooks.php 4 years ago class-mo-firebase-authentication-licensing_plans.php 4 years ago class-mo-firebase-authentication-loginsettings.php 4 years ago
class-mo-firebase-authentication-advsettings.php
116 lines
1 <?php
2
3
4 class Mo_Firebase_Authentication_Admin_AdvSettings {
5
6 public static function mo_firebase_authentication_advsettings() {
7 ?>
8 <div class="row">
9 <div class="col-md-12">
10 <div class="mo_firebase_auth_card" style="width:100%">
11 <form name="integration_form" id="mo_firebase_auth_integration" method="post">
12 <input type="hidden" name="option" value="mo_firebase_auth_integration">
13 <div style="display: inline-block;"><h3 style="margin: 10px 0;">Sync WordPress and Firebase users </h3></div>&nbsp;<small style="color: #FF0000"><a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[PREMIUM]</a></small><br>
14
15 <div style="display:inline-block; margin-top: 10px;"><label class="mo_firebase_auth_switch">
16 <input value="1" name="mo_enable_firebase_auto_register" type="checkbox" id="mo_enable_firebase_auto_register" disabled>
17 <span class="mo_firebase_auth_slider round"></span>
18 <input type="hidden" name="option" value="">
19 </label>
20 <strong style="font-weight: 600; vertical-align: top; ">Auto register users into Firebase</strong></div>
21 <br>
22 <p>Enabling this option will create a new user in the Firebase project with an email address and password when an end-user registers into the WordPress site via Woocommerce/BuddyPress registration form.</p>
23 </form>
24 </div>
25 </div>
26 </div>
27 <div class="row">
28 <div class="col-md-12">
29 <div class="mo_firebase_auth_card" style="width:100%">
30 <form name="integration_form" id="mo_firebase_auth_integration" method="post" style="margin-bottom: 10px;">
31
32 <input type="hidden" name="option" value="mo_firebase_auth_integration" style="margin-top: 0px; margin-bottom: 0px;">
33 <div style="display: inline-block;"><h3 style="margin: 15px 0;">Login & Registration Form Integration</h3></div>&nbsp;<small style="color: #FF0000"><a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[PREMIUM]</a></small>
34 <span style="float: right; font-size: 14px; margin-top: 10px;"><a href="https://plugins.miniorange.com/firebase-woocommerce-integration" target="_blank" rel="noopener" class="mo_firebase_setup_guide_style" style="text-decoration: none;"> Know more</a></span>
35 <table class="mo_settings_table" style="width: 95%;">
36 <tr><td>Select below if you want to allow users to login using firebase credentials with WooCommerce or BuddyPress.</td></tr>
37 <tr><td></td></tr><tr><td></td></tr>
38 <tr><td>
39 <input type="checkbox" name = "mo_firebase_auth_woocommerce_intigration" id = "mo_firebase_auth_woocommerce_intigration" value= "1" onclick="mo_firebase_auth_manageWCDiv();" disabled>
40 <img src="<?php echo dirname(plugin_dir_url( __FILE__ ));?>/../images/woocommerce-circle.png" width="50px">&nbsp;&nbsp;WooCommerce
41 </td></tr><tr><td>
42 <input type="checkbox" name = "mo_firebase_auth_buddypress_intigration"value="1" disabled>
43 <img src="<?php echo dirname(plugin_dir_url( __FILE__ ));?>/../images/buddypress.png" width="50px">&nbsp;&nbsp;BuddyPress
44 </td></tr>
45 </table>
46 <input type="submit" style="text-align:center; font-size: 14px; font-weight: 400; margin-top: 10px;" class="btn btn-primary" name="integration_settings" value=" Save Settings" id = "mo_auth_integration_save_settings_button" disabled><br>
47 </form>
48 </div>
49 </div>
50 </div>
51 <div class="row">
52 <div class="col-md-12">
53 <div class="mo_firebase_auth_card" style="width:100%">
54 <form name="integration_form" id="mo_firebase_auth_integration" method="post" style="margin-bottom: 10px;">
55
56 <input type="hidden" name="option" value="mo_firebase_auth_integration">
57 <div style="display: inline-block;"><h3 style="margin: 10px 0;">Firebase Authentication methods</h3></div>&nbsp;<small style="color: #FF0000"> <a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[ENTERPRISE]</a></small>
58 <span style="float: right; font-size: 14px; margin-top: 10px;"><a href="https://plugins.miniorange.com/firebase-social-login-integration-for-wordpress" target="_blank" rel="noopener" class="mo_firebase_setup_guide_style" style="text-decoration: none;"> Know more</a></span>
59 <table class="mo_settings_table"><tr><td>
60 <p>Select Firebase Social login methods to Login into your site. </p></td></tr>
61 <!-- <input type="radio" id="emailPassword" value="emailPassword" disabled>
62 <label for="male">Email and Password</label><br> -->
63 <tr><td>
64 <input type="checkbox" id="google" value="google" disabled>
65 <label for="female">Google</label><br></td></tr>
66 <tr><td>
67 <input type="checkbox" id="facebook" value="facebook" disabled>
68 <label for="other">Facebook</label><br>
69 </td></tr>
70 <tr><td>
71 <input type="checkbox" id="github" value="github" disabled>
72 <label for="other">GitHub</label><br>
73 </td></tr>
74 <tr><td><input type="checkbox" id="twitter" value="twitter" disabled>
75 <label for="other">Twitter</label><br>
76 </td></tr>
77 <tr><td>
78 <input type="checkbox" id="microsoft" value="microsoft" disabled>
79 <label for="other">Microsoft</label><br></td></tr>
80 <tr><td>
81 <input type="checkbox" id="yahoo" value="yahoo" disabled>
82 <label for="other">Yahoo</label><br>
83 </td></tr>
84 <tr><td>
85 <input type="checkbox" id="apple" value="apple" disabled>
86 <label for="other">Apple</label><br>
87 </td></tr>
88 <tr><td>&nbsp;</td></tr>
89 <tr><td>
90 <input type="checkbox" id="show_on_login_page" value="1" disabled>
91 <label for="other">Show Login button on WP login page</label><br>
92 </td></tr>
93 <tr><td>
94 <input type="checkbox" id="show_on_login_page" value="1" disabled>
95 <label for="other">Show Login button on WooCommerce My Account Page</label><br>
96 </td></tr>
97 </table>
98 <br>
99 <input type="submit" style="text-align:center; font-size: 14px; font-weight: 400;"class="btn btn-primary" name="authentication_settings" value=" Save Settings" id = "mo_auth_authentication_save_settings_button" disabled><br>
100 </form>
101 </div>
102 </div>
103 </div>
104 <div class="row">
105 <div class="col-md-12">
106 <div class="mo_firebase_auth_card" style="width:100%">
107 <div style="display: inline-block;"><h3 style="margin: 10px 0;">Phone Authentication method support</h3></div>&nbsp;<small style="color: #FF0000"> <a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[ENTERPRISE]</a></small>
108 <p>
109 Using the Firebase Phone authentication method, you can allow passwordless login into your site via One Time Passcodes(OTP) sent to the user's phone.
110 </p>
111 </div>
112 </div>
113 </div>
114 <?php
115 }
116 }