PluginProbe ʕ •ᴥ•ʔ
Wp Social Login and Register Social Counter / 2.2.4
Wp Social Login and Register Social Counter v2.2.4
trunk 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.10 1.3.11 1.3.2 1.3.3 1.3.4 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.4 1.4.5 1.4.6 1.4.8 1.4.9 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.8.0 1.8.1 1.8.2 1.8.3 1.8.5 1.8.6 1.9.0 2.0.0 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.8 2.2.9 3.0.0 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0
wp-social / template / admin / settings.php
wp-social / template / admin Last commit date
counter 3 years ago share 3 years ago global-setting.php 3 years ago providers-setting.php 3 years ago settings.php 3 years ago style-setting.php 3 years ago tab-menu.php 3 years ago
settings.php
75 lines
1 <?php
2 defined('ABSPATH') || exit;
3
4 $login_sync_saved_data = get_option('wp_social_login_sync');
5 $login_sync_saved_data_image_too = get_option('wp_social_login_sync_image_too');
6
7 ?>
8 <div class="wslu-social-login-main-wrapper">
9
10 <!-- Page Header start -->
11 <div class="wslu-main-header">
12 <h1>
13 <img src="<?php echo esc_url( WSLU_LOGIN_PLUGIN_URL . 'assets/images/icon-title.png' ); ?>" alt="">
14 <?php echo esc_html__('WP Syncing Setting', 'wp-social'); ?>
15 </h1>
16 <br>
17 </div> <!-- page header end -->
18
19 <?php
20 if ($message_global == 'show') { ?>
21 <div class="admin-page-framework-admin-notice-animation-container">
22 <div 0="XS_Social_Login_Settings" id="XS_Social_Login_Settings" class="updated admin-page-framework-settings-notice-message admin-page-framework-settings-notice-container notice is-dismissible" style="margin: 1em 0px; visibility: visible; opacity: 1;">
23 <p><?php echo esc_html__('Syncing setting data have been updated.', 'wp-social'); ?></p>
24 <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php echo esc_html__('Dismiss this notice.', 'wp-social'); ?></span></button>
25 </div>
26 </div>
27 <?php } ?>
28
29 <form action="<?php echo esc_url(admin_url() . 'admin.php?page=wslu_settings'); ?>" method="POST">
30 <!--
31 Syncing user info when login/register
32 -->
33 <div class="wslu-single-item">
34 <div class="wslu-left-label">
35 <label class="wslu-sec-title" for=""><?php echo esc_html__('Syncing user info when login/register', 'wp-social') ?></label>
36 </div>
37 <div class="wslu-right-content">
38 <input
39 type="checkbox"
40 id="wslu-sync-user-info"
41 class="social_switch_button"
42 name="sync"
43 value="yes"
44 <?php echo esc_attr(\WP_Social\Helper\Helper::is_true($login_sync_saved_data, 'yes', 'checked')) ?>
45 >
46 <label for="wslu-sync-user-info" onclick="xs_show_hide(1);" class="social_switch_button_label"></label>
47 </div>
48 </div>
49
50 <!--
51 Sync User profile image too
52 -->
53 <div class="wslu-single-item initial-hidden <?php echo esc_attr(\WP_Social\Helper\Helper::is_true($login_sync_saved_data, 'yes', 'active_tr')) ?>" id="xs_data_tr__1">
54 <div class="wslu-left-label">
55 <label class="wslu-sec-title" for=""><?php echo esc_html__('Sync user profile image too', 'wp-social') ?></label>
56 </div>
57 <div class="wslu-right-content">
58 <input
59 type="checkbox"
60 id="wslu-sync-user-profile-img"
61 class="social_switch_button"
62 name="sync_image"
63 value="yes"
64 <?php echo esc_attr(\WP_Social\Helper\Helper::is_true($login_sync_saved_data_image_too, 'yes', 'checked')) ?>
65 >
66 <label for="wslu-sync-user-profile-img" class="social_switch_button_label"></label>
67 </div>
68 </div>
69
70 <br><br>
71 <?php wp_nonce_field( 'sycn_setting_nonce', 'nonce' ); ?>
72 <button type="submit" name="sycn_setting" value="sycn_setting" class="xs-btn btn-special small"><?php echo esc_html__('Save Changes', 'wp-social') ?></button>
73 </form>
74 </div>
75