PluginProbe ʕ •ᴥ•ʔ
Wp Social Login and Register Social Counter / 1.8.2
Wp Social Login and Register Social Counter v1.8.2
3.2.1 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 / counter / style-setting.php
wp-social / template / admin / counter Last commit date
_instagram__modal_content.php 4 years ago counter-setting.php 4 years ago providers-counter.php 4 years ago style-setting.php 4 years ago tab-menu.php 4 years ago
style-setting.php
126 lines
1 <?php
2 defined( 'ABSPATH') || exit;
3 ?>
4 <div class="wslu-social-login-main-wrapper">
5 <?php
6
7 require( __DIR__ . '/tab-menu.php');
8
9 /**
10 * todo - check this notice box too : WP1-217
11 * make a function and call it here
12 *
13 */
14 if($message_provider == 'show'){?>
15 <div class="admin-page-framework-admin-notice-animation-container">
16 <div id="XS_Social_Login_Settings"
17 class="updated admin-page-framework-settings-notice-message admin-page-framework-settings-notice-container notice is-dismissible"
18 style="margin: 1em 0; visibility: visible; opacity: 1;">
19 <p><?php echo esc_html__('Styles data have been updated.', 'wp-social');?></p>
20 <button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php echo esc_html__('Dismiss this notice.', 'wp-social');?></span></button>
21 </div>
22 </div>
23 <?php }?>
24
25
26 <form action="<?php echo esc_url(admin_url().'admin.php?page=wslu_counter_setting&tab=wslu_style_setting');?>" 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 <!--------------------------------
31 Social counter hover aniamtion
32 -------------------------------->
33 <?php if (isset($share_hover_effects)) : ?>
34 <div class="wslu-single-item">
35 <div class="wlsu-hover-effect">
36
37 <h2 class="wlsu-hover-effect__title">
38 <?php echo esc_html__('Select Hover Effects', 'wp-social'); ?>
39 </h2>
40 <div class="wlsu-hover-effect__content">
41 <?php foreach ($share_hover_effects as $key => $value) : ?>
42 <div class="wlsu-hover-effect__item">
43 <input
44 <?php echo (isset($value['exclude'])) ? 'data-exclude="' . esc_attr(json_encode($value['exclude'])) . '"' : '' ?>
45 type="radio"
46 class="wlsu-hover-effect-select"
47 name="xs_style[hover_effect]"
48 id="<?php echo esc_attr($key); ?>"
49 value="<?php echo esc_attr($key); ?>"
50 <?php echo ($selectedEffect == $key) ? 'checked' : ''; ?>/>
51
52 <label for="<?php echo esc_attr($key); ?>" >
53 <img src="<?php echo esc_url(WSLU_PRO_LOGIN_PLUGIN_URL . 'assets/images/counter-hover-preview/' . $key . '.png'); ?>"/>
54 <span> <?php echo esc_html($value['name']); ?> </span>
55 </label>
56 </div>
57
58 <?php endforeach; ?>
59 </div>
60
61 </div>
62
63 </div>
64 <?php endif; ?><!-- ./ End social share hover animation -->
65
66
67
68 <!--------------------------------
69 Social counter Styles
70 -------------------------------->
71 <h2 class="wlsu-hover-effect__title wlsu-style-data">
72 <?php echo esc_html__('Select Counter Style', 'wp-social'); ?>
73 </h2>
74 <div class="wslu-social-style-data">
75
76 <?php foreach($styleArr AS $styleKey => $styleValue): ?>
77
78 <div class="wslu-single-social-style-item <?php echo esc_attr( ( (!did_action('wslu_social_pro/plugin_loaded')) && ($styleValue['package'] == 'pro') ) ? 'wslu-style-pro': 'wslu-style-free' ); ?>">
79
80 <label for="_login_button_style__<?= $styleKey;?>" class="social_radio_button_label xs_label_wp_login">
81
82 <div class="wslu-style-img xs-login-<?= $styleKey;?> <?php echo (isset($return_data['login_button_style']) && $return_data['login_button_style'] == $styleKey ) ? 'style-active ' : '';?>">
83
84 <img src="<?php echo esc_url(WSLU_LOGIN_PLUGIN_URL.'assets/images/screenshort/counter/'.$styleValue['design'].'.png'); ?>" alt="<?= $styleValue['name']; ?>">
85
86 <?php if(!in_array('wp-social-pro/wp-social-pro.php', apply_filters('active_plugins', get_option('active_plugins')))) : ?>
87 <a href="https://wpmet.com/plugin/wp-social/pricing/" class="wslu-buy-now-btn"><?php esc_html_e('Buy Now', 'wp-social'); ?></a>
88 <?php endif; ?>
89 </div>
90
91 <input class="social_radio_button wslu-global-radio-input share-input-name"
92 type="radio"
93 id="_login_button_style__<?= $styleKey;?>"
94 name="xs_style[login_button_style]"
95 value="<?= $styleKey;?>"
96 <?php echo esc_attr( ( (!did_action('wslu_social_pro/plugin_loaded')) && ($styleValue['package'] == 'pro') ) ? 'disabled="disabled"': '' ); ?>
97
98 <?php echo ($selectedStyle == $styleKey) ? 'checked' : ''; ?> >
99
100 <?php
101 echo esc_html__($styleValue['name'], 'wp-social');
102 echo (!did_action('wslu_social_pro/plugin_loaded')) && ($styleValue['package'] == 'pro') ? '<span class="wslu-go-pro-text">(' . esc_html('Pro Only', 'elementskit') . ')</span>' : '';
103 ?>
104
105 </label>
106 </div>
107 <?php endforeach; ?>
108
109 </div>
110
111 <div class="wslu-social-style-hidden-inputs">
112 <label>
113 <input type="text" class="wslu-main-content-input" name="xs_style[login_button_style][style]" value="<?php echo (isset($return_data['login_button_style']['style']) ? $return_data['login_button_style']['style'] : ''); ?>">
114 <!-- ?php esc_html_e('Main Content', 'wp-social'); ?-->
115 </label>
116 </div>
117
118 <div class="wslu-right-content wslu-right-content--share">
119 <button type="submit" name="style_setting_submit_form" class="xs-btn btn-special small"><?php echo esc_html__('Save Changes', 'wp-social');?></button>
120 </div>
121
122 </div>
123 </div>
124 <div class="xs-backdrop"></div>
125 </form>
126 </div>