PluginProbe ʕ •ᴥ•ʔ
Firebase Authentication / 1.4.8
Firebase Authentication v1.4.8
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-loginsettings.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-loginsettings.php
64 lines
1 <?php
2
3
4 class Mo_Firebase_Authentication_Admin_LoginSettings {
5
6 public static function mo_firebase_authentication_loginsettings() {
7 ?>
8 <div class="row">
9 <div class="col-md-12">
10 <div class="mo_firebase_auth_card" style="width:100%">
11 <div style="display: inline-block;"><h3 style="margin: 10px 0;">Sign in options </h3></div>&nbsp;<small style="color: #FF0000"><a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[ENTERPRISE]</a></small><br>
12 <strong style="font-weight: 600; vertical-align: top; ">Option 1: Place different social login buttons on WordPress default Login Form</strong>
13 <ol>
14 <p>1. Go to the Advanced Settings tab.<br>
15 2. Select <b>"Show Login button on WP login page"</b>.</p>
16 </ol>
17 <strong style="font-weight: 600; vertical-align: top; ">Option 2: Use a Shortcode for login</strong>
18 <ol>
19 <p>1. Place shortcode <b>[mo_firebase_auth_login]</b> in WordPress pages or posts where you want to give social login option to your users.<br>
20 2. Place shortcode <b>[mo_firebase_auth_display_login_form]</b> to add Firebase Login form on WordPress pages.<br>
21 3. Place shortcode <b>[mo_firebase_auth_display_registration_form]</b> to add Firebase Registration form on WordPress pages.</p>
22 </ol>
23 </div>
24 </div>
25 </div>
26
27 <div class="row">
28 <div class="col-md-12">
29 <div class="mo_firebase_auth_card" style="width:100%">
30 <div style="display: inline-block;"><h3 style="margin: 10px 0;">Advanced Sign in options</h3></div>&nbsp;<small style="color: #FF0000"><a href="admin.php?page=mo_firebase_authentication&tab=licensing_plans">[PREMIUM]</a></small><br>
31 <form name="f" method="post" action="">
32 <?php wp_nonce_field('mo_firebase_auth_sign_in_option_form','mo_firebase_auth_sign_in_option_field'); ?>
33 <input type="hidden" name="option" value="mo_firebase_authentication_sign_in_option" />
34 <div class="row">
35 <div class="col-md-6">
36 <p style="margin-bottom: 3px"><b>Custom redirect URL after login </b></p>
37 <p>(Keep blank in case you want users to redirect to page from where SSO originated)</p>
38 </div>
39 <div class="col-md-6">
40 <input name="custom_after_login_url" value="" pattern="https?://.+" title="Include https://" placeholder="https://" style="width:80%; font-size: 14px;" type="url" disabled="">
41 </div>
42 </div>
43 <div class="row">
44 <div class="col-md-6">
45 <p style="margin-bottom: 3px"><b>Custom redirect URL after logout </b></p>
46 </div>
47 <div class="col-md-6">
48 <input name="custom_after_logout_url" value="" pattern="https?://.+" title="Include https://" placeholder="https://" style="width:80%; font-size: 14px;" type="url" disabled="">
49 </div>
50 </div>
51 <br>
52 <div class="row">
53 <div class="col-md-12">
54 <input type="submit" style="text-align:center; font-size: 14px; font-weight: 400;" class="btn btn-primary" name="custom_login_settings" value=" Save Settings" id = "mo_firebase_auth_custom_login_url_save_settings_button" disabled><br>
55 </div>
56 </div>
57 <br>
58 </form>
59 </div>
60 </div>
61 </div>
62 <?php
63 }
64 }