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 / style-setting.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
style-setting.php
72 lines
1 <?php
2 defined('ABSPATH') || exit;
3
4 $styleArr = \WP_Social\App\Login_Settings::get_login_styles();
5
6 ?>
7
8 <div class="wslu-social-login-main-wrapper">
9 <?php
10 require_once(WSLU_LOGIN_PLUGIN . '/template/admin/tab-menu.php');
11
12 if($message_provider == 'show') { ?>
13 <div class="admin-page-framework-admin-notice-animation-container">
14 <div id="XS_Social_Login_Settings"
15 class="updated admin-page-framework-settings-notice-message admin-page-framework-settings-notice-container notice is-dismissible"
16 style="margin: 1em 0; visibility: visible; opacity: 1;">
17 <p><?php echo esc_html__('Styles data have been updated.', 'wp-social'); ?></p>
18 <button type="button" class="notice-dismiss"><span
19 class="screen-reader-text"><?php echo esc_html__('Dismiss this notice.', 'wp-social'); ?></span>
20 </button>
21 </div>
22 </div>
23 <?php } ?>
24
25 <form action="<?php echo esc_url(admin_url() . 'admin.php?page=wslu_global_setting&tab=wslu_style_setting'); ?>"
26 name="xs_style_submit_form" method="post" id="xs_style_form">
27 <div class="xs-social-block-wraper">
28 <div class="xs-global-section">
29
30 <div class="wslu-social-style-data">
31 <?php
32
33 /*
34 ------------------------------
35 login style card
36 ------------------------------
37 */
38 foreach($styleArr AS $key => $val) :
39
40 $arg = [
41 'saved_style' => isset($saved_style['login_button_style']) ? $saved_style['login_button_style'] : '',
42 'style' => $key,
43 'key' => 'social_login_' . $key,
44 'image' => $val['image'],
45 'title' => $val['title'],
46 'package' => ($val['unlocked'] === false) ? 'pro' : '',
47 'name' => 'xs_style[login_button_style]',
48 ];
49
50 \WP_Social\Helper\View_Helper::get_style_card($arg);
51
52 endforeach;
53 // end of login style card
54 ?>
55
56 </div>
57
58 <div class="wslu-right-content wslu-right-content--share">
59 <?php wp_nonce_field( 'style_setting_submit_form_nonce', 'nonce' ); ?>
60 <button type="submit"
61 name="style_setting_submit_form"
62 class="xs-btn btn-special small">
63 <?php echo esc_html__('Save Changes', 'wp-social'); ?>
64 </button>
65 </div>
66
67 </div>
68 </div>
69 <div class="xs-backdrop"></div>
70 </form>
71 </div>
72