PluginProbe ʕ •ᴥ•ʔ
Firebase Authentication / 1.3.6
Firebase Authentication v1.3.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-licensing_plans.php
firebase-authentication / admin / partials / config Last commit date
class-mo-firebase-authentication-advsettings.php 5 years ago class-mo-firebase-authentication-config.php 5 years ago class-mo-firebase-authentication-hooks.php 5 years ago class-mo-firebase-authentication-licensing_plans.php 5 years ago
class-mo-firebase-authentication-licensing_plans.php
93 lines
1 <?php
2
3 class Mo_Firebase_Authentication_Admin_Licensing_Plans {
4
5 public static function mo_firebase_authentication_licensing_plans(){
6 ?>
7 <!-- Important JSForms -->
8 <input type="hidden" value="<?php echo mo_firebase_authentication_is_customer_registered();?>" id="mo_customer_registered">
9 <form style="display:none;" id="loginform"
10 action="<?php echo get_option( 'host_name' ) . '/moas/login'; ?>"
11 target="_blank" method="post">
12 <input type="email" name="username" value="<?php echo get_option( 'mo_firebase_authentication_admin_email' ); ?>"/>
13 <input type="text" name="redirectUrl"
14 value="<?php echo get_option( 'host_name' ) . '/moas/initializepayment'; ?>"/>
15 <input type="text" name="requestOrigin" id="requestOrigin"/>
16 </form>
17 <form style="display:none;" id="viewlicensekeys"
18 action="<?php echo get_option( 'host_name' ) . '/moas/login'; ?>"
19 target="_blank" method="post">
20 <input type="email" name="username" value="<?php echo get_option( 'mo_firebase_authentication_admin_email' ); ?>"/>
21 <input type="text" name="redirectUrl"
22 value="<?php echo get_option( 'host_name' ) . '/moas/viewlicensekeys'; ?>"/>
23 </form>
24 <!-- End Important JSForms -->
25 <div class="row">
26 <div class="col-1 moct-align-center">
27 </div>
28 <div class="col-5 moct-align-center">
29 <div class="moc-licensing-plan card-body">
30 <div class="moc-licensing-plan-header">
31 <div class="moc-licensing-plan-name"><h2>Premium</h2></div>
32 </div><br>
33 <div class="moc-licensing-plan-price"><sup>$</sup>149<sup>*</sup></div>
34 <!-- <a class="btn btn-block btn-info text-uppercase moc-lp-buy-btn" href="mailto:info@xecurify.com" target="_blank">Contact Us</a> -->
35 <button class="btn btn-block btn-info text-uppercase moc-lp-buy-btn" onclick="upgradeform('wp_oauth_firebase_authentication_premium_plan')">Buy Now</button>
36 <br>
37 <div class="moc-licensing-plan-feature-list">
38 <ul>
39 <li>&#9989; Allow login with Firebase and WordPress</li>
40 <li>&#9989; Advanced Attribute mapping</li>
41 <li>&#9989; Auto register users in Firebase as well as WordPress</li>
42 <li>&#9989; Login & Registeration Form Integration (WooCommerce, BuddyPress)</li>
43 <li>&#9989; Custom redirect URL after Login and Logout</li>
44 </ul>
45 </div>
46 </div>
47 </div>
48 <div class="col-5 moct-align-center">
49 <div class="moc-licensing-plan card-body">
50 <div class="moc-licensing-plan-header">
51 <div class="moc-licensing-plan-name"><h2>Enterprise</h2></div>
52 </div><br>
53 <div class="moc-licensing-plan-price"><sup>$</sup>249<sup>*</sup></div>
54 <!-- <a class="btn btn-block btn-purple text-uppercase moc-lp-buy-btn" href="mailto:info@xecurify.com" target="_blank">Contact Us</a> -->
55 <button class="btn btn-block btn-purple text-uppercase moc-lp-buy-btn" onclick="upgradeform('wp_oauth_firebase_authentication_enterprise_plan')">Buy Now</button>
56 <br>
57 <div class="moc-licensing-plan-feature-list">
58 <ul>
59 <li>&#9989; Allow login with Firebase and WordPress</li>
60 <li>&#9989; Advanced Attribute mapping</li>
61 <li>&#9989; Auto register users in Firebase as well as WordPress</li>
62 <li>&#9989; Login & Registeration Form Integration (WooCommerce, BuddyPress)</li>
63 <li>&#9989; Custom redirect URL after Login and Logout</li>
64 <li>&#9989; Shortcode to add Firebase Login Form</li>
65 <li>&#9989; Firebase Authentication methods <br>Google, Facebook, Github, Twitter, Microsoft, Yahoo, Phone</li>
66 <li>&#9989; WP hooks to read Firebase token, login event and extend plugin functionality</li>
67 </ul>
68 </div>
69 </div>
70 </div>
71 </div>
72 <!-- End Licensing Table -->
73 <a id="mobacktoaccountsetup" style="display:none;" href="<?php echo add_query_arg( array( 'tab' => 'account' ), htmlentities( $_SERVER['REQUEST_URI'] ) ); ?>">Back</a>
74 <!-- JSForms Controllers -->
75 <script>
76 function upgradeform(planType) {
77 if(planType === "") {
78 location.href = "https://wordpress.org/plugins/firebase-authentication/";
79 return;
80 } else {
81 jQuery('#requestOrigin').val(planType);
82 if(jQuery('#mo_customer_registered').val()==1)
83 jQuery('#loginform').submit();
84 else{
85 location.href = jQuery('#mobacktoaccountsetup').attr('href');
86 }
87 }
88
89 }
90 </script>
91 <?php
92 }
93 }