Version Description
- New Feature: Responsive icons in the plugin.
- Solved: Icons not rendering on woocomerce product page.
- Solved: Stop loading unused external library code for faster load.
- Solved: Updated feedback system to next version.
Download this release
Release Info
Developer | socialsharepro |
Plugin | Social Share Icons & Social Share Buttons |
Version | 3.1.8 |
Comparing to | |
See all releases |
Code changes from version 3.1.7 to 3.1.8
- analyst/templates/forms/deactivate.php +6 -7
- analyst/templates/forms/install.php +4 -5
- analyst/templates/optout.php +2 -2
- analyst/version.php +3 -3
- css/sfsi-admin-style.css +3436 -663
- css/sfsi-style.css +371 -39
- freemius/includes/class-freemius.php +0 -1
- images/icons_theme/flat/flat_instagram.png +0 -0
- images/responsive-icon/Follow.png +0 -0
- images/responsive-icon/Twitter.svg +3 -0
- images/responsive-icon/facebook.svg +3 -0
- js/custom-admin.js +2862 -2102
- js/index.php +1 -1
- libs/controllers/sfsi_buttons_controller.php +1166 -1038
- libs/controllers/sfsi_frontpopUp.php +1 -1
- libs/controllers/sfsi_iconsUpload_contoller.php +0 -2
- libs/controllers/sfsi_socialhelper.php +3 -4
- libs/controllers/sfsiocns_OnPosts.php +211 -31
- libs/sfsi_install_uninstall.php +19 -22
- libs/sfsi_plus_subscribe_widget.php +2 -2
- libs/sfsi_widget.php +2 -3
- readme.txt +12 -7
- ultimate_social_media_icons.php +821 -811
- views/sfsi_option_view1.php +520 -413
- views/sfsi_option_view3.php +184 -151
- views/sfsi_option_view4.php +1 -1
- views/sfsi_option_view8.php +699 -482
- views/sfsi_options_view.php +4 -2
- views/sfsi_pop_content.php +4 -2
analyst/templates/forms/deactivate.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
<span>
|
20 |
<input type="radio" name="deactivation-reason">
|
21 |
</span>
|
22 |
-
<span class="question">I couldn't understand how to make it work</span>
|
23 |
</label>
|
24 |
</li>
|
25 |
<li data-input-type="textarea" data-input-placeholder="What should have worked, but didn’t?">
|
@@ -27,7 +27,7 @@
|
|
27 |
<span>
|
28 |
<input type="radio" name="deactivation-reason">
|
29 |
</span>
|
30 |
-
<span class="question">The plugin didn't work as expected</span>
|
31 |
</label>
|
32 |
<div class="question-answer"></div>
|
33 |
</li>
|
@@ -36,7 +36,7 @@
|
|
36 |
<span>
|
37 |
<input type="radio" name="deactivation-reason">
|
38 |
</span>
|
39 |
-
<span class="question">I found a better plugin</span>
|
40 |
</label>
|
41 |
<div class="question-answer"></div>
|
42 |
</li>
|
@@ -45,7 +45,7 @@
|
|
45 |
<span>
|
46 |
<input type="radio" name="deactivation-reason">
|
47 |
</span>
|
48 |
-
<span class="question">It's a temporary deactivation</span>
|
49 |
</label>
|
50 |
<div class="question-answer"></div>
|
51 |
</li>
|
@@ -54,7 +54,7 @@
|
|
54 |
<span>
|
55 |
<input type="radio" name="deactivation-reason">
|
56 |
</span>
|
57 |
-
<span class="question">Other</span>
|
58 |
</label>
|
59 |
<div class="question-answer"></div>
|
60 |
</li>
|
@@ -118,11 +118,10 @@
|
|
118 |
|
119 |
var reason = root.find('.question-answer .reason-answer').val();
|
120 |
|
121 |
-
var question = root.find('.question').
|
122 |
|
123 |
var $errorBlock = $('#analyst-deactivation-error')
|
124 |
|
125 |
-
|
126 |
if (!question) {
|
127 |
return $errorBlock.show()
|
128 |
}
|
19 |
<span>
|
20 |
<input type="radio" name="deactivation-reason">
|
21 |
</span>
|
22 |
+
<span class="question" data-question="I couldn't understand how to make it work">I couldn't understand how to make it work</span>
|
23 |
</label>
|
24 |
</li>
|
25 |
<li data-input-type="textarea" data-input-placeholder="What should have worked, but didn’t?">
|
27 |
<span>
|
28 |
<input type="radio" name="deactivation-reason">
|
29 |
</span>
|
30 |
+
<span class="question" data-question="The plugin didn't work as expected">The plugin didn't work as expected</span>
|
31 |
</label>
|
32 |
<div class="question-answer"></div>
|
33 |
</li>
|
36 |
<span>
|
37 |
<input type="radio" name="deactivation-reason">
|
38 |
</span>
|
39 |
+
<span class="question" data-question="I found a better plugin">I found a better plugin</span>
|
40 |
</label>
|
41 |
<div class="question-answer"></div>
|
42 |
</li>
|
45 |
<span>
|
46 |
<input type="radio" name="deactivation-reason">
|
47 |
</span>
|
48 |
+
<span class="question" data-question="It's a temporary deactivation">It's a temporary deactivation</span>
|
49 |
</label>
|
50 |
<div class="question-answer"></div>
|
51 |
</li>
|
54 |
<span>
|
55 |
<input type="radio" name="deactivation-reason">
|
56 |
</span>
|
57 |
+
<span class="question" data-question="Other">Other</span>
|
58 |
</label>
|
59 |
<div class="question-answer"></div>
|
60 |
</li>
|
118 |
|
119 |
var reason = root.find('.question-answer .reason-answer').val();
|
120 |
|
121 |
+
var question = root.find('.question').attr('data-question').trim()
|
122 |
|
123 |
var $errorBlock = $('#analyst-deactivation-error')
|
124 |
|
|
|
125 |
if (!question) {
|
126 |
return $errorBlock.show()
|
127 |
}
|
analyst/templates/forms/install.php
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
</div>
|
28 |
<div class="analyst-install-footer analyst-modal-def-top-padding">
|
29 |
<span class="analyst-action-text" id="analyst-permissions-toggle">Learn more</span>
|
30 |
-
<span>Powered by <a href="https://sellcodes.com" target="_blank" class="analyst-link">Sellcodes.com</a></span>
|
31 |
<span class="analyst-action-text analyst-install-modal-close" id="analyst-install-skip">Skip</span>
|
32 |
</div>
|
33 |
<div id="analyst-install-error" class="analyst-modal-def-top-padding" style="display: none; text-align: center">
|
@@ -53,7 +53,7 @@
|
|
53 |
success: function (data) {
|
54 |
if (data && !data.success) {
|
55 |
//error
|
56 |
-
|
57 |
|
58 |
return
|
59 |
}
|
@@ -72,11 +72,10 @@
|
|
72 |
})
|
73 |
}
|
74 |
|
75 |
-
|
|
|
76 |
$('#analyst-install-modal').show()
|
77 |
}
|
78 |
-
|
79 |
-
|
80 |
$('.analyst-install-modal-close').click(function () {
|
81 |
$('#analyst-install-modal').hide()
|
82 |
})
|
27 |
</div>
|
28 |
<div class="analyst-install-footer analyst-modal-def-top-padding">
|
29 |
<span class="analyst-action-text" id="analyst-permissions-toggle">Learn more</span>
|
30 |
+
<span>Powered by <a href="https://sellcodes.com/blog/wordpress-feedback-system-for-plugin-creators/?utm_source=optin_screen" target="_blank" class="analyst-link">Sellcodes.com</a></span>
|
31 |
<span class="analyst-action-text analyst-install-modal-close" id="analyst-install-skip">Skip</span>
|
32 |
</div>
|
33 |
<div id="analyst-install-error" class="analyst-modal-def-top-padding" style="display: none; text-align: center">
|
53 |
success: function (data) {
|
54 |
if (data && !data.success) {
|
55 |
//error
|
56 |
+
$('#analyst-install-modal').hide()
|
57 |
|
58 |
return
|
59 |
}
|
72 |
})
|
73 |
}
|
74 |
|
75 |
+
var isInPluginsPage = window.location.pathname.match(/plugins.php/);
|
76 |
+
if ($('#analyst-install-modal').attr('analyst-plugin-id') && isInPluginsPage) {
|
77 |
$('#analyst-install-modal').show()
|
78 |
}
|
|
|
|
|
79 |
$('.analyst-install-modal-close').click(function () {
|
80 |
$('#analyst-install-modal').hide()
|
81 |
})
|
analyst/templates/optout.php
CHANGED
@@ -71,9 +71,9 @@
|
|
71 |
$(self).text('Opt out')
|
72 |
|
73 |
if (data && !data.success) {
|
74 |
-
|
75 |
|
76 |
-
|
77 |
}
|
78 |
|
79 |
$error.hide()
|
71 |
$(self).text('Opt out')
|
72 |
|
73 |
if (data && !data.success) {
|
74 |
+
$('#analyst-opt-out-modal').hide()
|
75 |
|
76 |
+
return
|
77 |
}
|
78 |
|
79 |
$error.hide()
|
analyst/version.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
return
|
4 |
// The sdk version
|
5 |
-
'sdk' => '1.3.
|
6 |
|
7 |
// Minimum supported WordPress version
|
8 |
'wp' => '4.7',
|
@@ -12,4 +12,4 @@ return [
|
|
12 |
|
13 |
// Path to current SDK$
|
14 |
'path' => __DIR__,
|
15 |
-
|
1 |
<?php
|
2 |
|
3 |
+
return array(
|
4 |
// The sdk version
|
5 |
+
'sdk' => '1.3.17',
|
6 |
|
7 |
// Minimum supported WordPress version
|
8 |
'wp' => '4.7',
|
12 |
|
13 |
// Path to current SDK$
|
14 |
'path' => __DIR__,
|
15 |
+
);
|
css/sfsi-admin-style.css
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
@charset "utf-8";
|
2 |
-
|
|
|
3 |
font-family: helveticabold;
|
4 |
src: url(fonts/helvetica_bold_0-webfont.eot);
|
5 |
src: url(fonts/helvetica_bold_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_bold_0-webfont.woff) format('woff'), url(fonts/helvetica_bold_0-webfont.ttf) format('truetype'), url(fonts/helvetica_bold_0-webfont.svg#helveticabold) format('svg');
|
6 |
font-weight: 400;
|
7 |
font-style: normal;
|
8 |
}
|
|
|
9 |
@font-face {
|
10 |
font-family: helveticaregular;
|
11 |
src: url(fonts/helvetica_0-webfont.eot);
|
@@ -13,22 +15,41 @@
|
|
13 |
font-weight: 400;
|
14 |
font-style: normal;
|
15 |
}
|
|
|
16 |
@font-face {
|
17 |
font-family: helveticaneue-light;
|
18 |
src: url(fonts/helveticaneue-light.eot);
|
19 |
src: url(fonts/helveticaneue-light.eot?#iefix) format('embedded-opentype'),
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
font-weight: 400;
|
24 |
font-style: normal;
|
25 |
}
|
|
|
26 |
body {
|
27 |
margin: 0;
|
28 |
padding: 0;
|
29 |
}
|
|
|
30 |
/*Tab 1*/
|
31 |
-
.tab1 ul.plus_icn_listing li .custom,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
background: url(../images/tab_1_icn_list.png) no-repeat;
|
33 |
float: left;
|
34 |
padding: 0 0 0 59px;
|
@@ -38,79 +59,98 @@ body {
|
|
38 |
font-family: helveticaregular;
|
39 |
font-size: 22px;
|
40 |
}
|
41 |
-
|
|
|
|
|
42 |
background-image: url('../images/icons_theme/default/default_wechat.png');
|
43 |
-webkit-background-size: contain;
|
44 |
-moz-background-size: contain;
|
45 |
-o-background-size: contain;
|
46 |
background-size: contain;
|
47 |
}
|
48 |
-
|
|
|
49 |
background-image: url('../images/icons_theme/default/default_wechat.png');
|
50 |
}
|
|
|
51 |
.tab1 ul.plus_icn_listing li .sfsicls_rs_s {
|
52 |
background-position: 0 0;
|
53 |
color: #f7941d;
|
54 |
}
|
|
|
55 |
.tab1 ul.plus_icn_listing li .sfsicls_email {
|
56 |
background-position: 0 -73px;
|
57 |
color: #d1c800;
|
58 |
}
|
|
|
59 |
.tab1 ul.plus_icn_listing li .sfsicls_facebook {
|
60 |
background-position: 0 -145px;
|
61 |
color: #004088;
|
62 |
}
|
|
|
63 |
.tab1 ul.plus_icn_listing li .sfsicls_twt {
|
64 |
background-position: 0 -221px;
|
65 |
color: #00abe3;
|
66 |
}
|
|
|
67 |
.tab1 ul.plus_icn_listing li .sfsicls_ggle_pls {
|
68 |
background-position: 0 -295px;
|
69 |
color: #444749;
|
70 |
}
|
|
|
71 |
.tab1 ul.plus_icn_listing li .sfsicls_share {
|
72 |
background-position: 0 -372px;
|
73 |
color: #ef4746;
|
74 |
}
|
|
|
75 |
.tab1 ul.plus_icn_listing li .sfsicls_utube {
|
76 |
background-position: 0 -448px;
|
77 |
color: #f07963;
|
78 |
}
|
|
|
79 |
.tab1 ul.plus_icn_listing li .sfsicls_linkdin {
|
80 |
background-position: 0 -548px;
|
81 |
color: #1e88c9;
|
82 |
}
|
|
|
83 |
.tab1 ul.plus_icn_listing li .sfsicls_pinterest {
|
84 |
background-position: 0 -623px;
|
85 |
color: #f15f5d;
|
86 |
}
|
|
|
87 |
.tab1 ul.plus_icn_listing li .sfsicls_instagram {
|
88 |
background-position: 0 -781px;
|
89 |
color: #369;
|
90 |
}
|
|
|
91 |
.tab1 ul.plus_icn_listing li .sfsicls_telegram {
|
92 |
background-position: 0 -1889px;
|
93 |
color: #369;
|
94 |
}
|
|
|
95 |
.tab1 ul.plus_icn_listing li .sfsicls_vk {
|
96 |
background-position: 0 -1968px;
|
97 |
color: #369;
|
98 |
}
|
|
|
99 |
.tab1 ul.plus_icn_listing li .sfsicls_ok {
|
100 |
background-position: 0 -1810px;
|
101 |
color: #369;
|
102 |
}
|
103 |
-
|
|
|
104 |
background-image: url('../images/icons_theme/default/default_wechat.png');
|
105 |
-webkit-background-size: contain;
|
106 |
-moz-background-size: contain;
|
107 |
-o-background-size: contain;
|
108 |
background-size: contain;
|
109 |
}
|
|
|
110 |
.tab1 ul.plus_icn_listing li .sfsicls_weibo {
|
111 |
background-position: 0 -2046px;
|
112 |
color: #369;
|
113 |
}
|
|
|
114 |
.tab1 ul.sfsi_premium_mobile_icon_listing li .sfsicls_ok {
|
115 |
background-position: 0 -1810px;
|
116 |
color: #369;
|
@@ -120,31 +160,56 @@ body {
|
|
120 |
background-position: 0 -939px;
|
121 |
color: #369;
|
122 |
}
|
|
|
123 |
.tab1 ul.plus_icn_listing li .custom {
|
124 |
background-position: 0 -702px;
|
125 |
color: #5a6570;
|
126 |
}
|
|
|
127 |
.tab1 ul.plus_icn_listing li .sfsiplus_right_info {
|
128 |
width: 70%;
|
129 |
float: right;
|
130 |
font-family: helveticaregular;
|
131 |
margin-right: 13px;
|
132 |
}
|
|
|
133 |
ul.plus_icn_listing li .sfsiplus_right_info a {
|
134 |
text-decoration: underline;
|
135 |
color: #a4a9ad;
|
136 |
font-size: 16px;
|
137 |
}
|
|
|
138 |
ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
139 |
text-decoration: underline;
|
140 |
color: #a4a9ad;
|
141 |
font-size: 20px;
|
142 |
}
|
|
|
143 |
.tab1 .tab_2_sav {
|
144 |
padding-top: 30px;
|
145 |
}
|
|
|
146 |
/*Tab 2*/
|
147 |
-
.tab2 .row h2.sfsicls_email,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
.tab2 .row h2.sfsicls_fbmessenger,
|
149 |
.tab2 .row h2.sfsicls_mix,
|
150 |
.tab2 .row h2.sfsicls_ok,
|
@@ -152,8 +217,7 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
|
152 |
.tab2 .row h2.sfsicls_vk,
|
153 |
.tab2 .row h2.sfsicls_weibo,
|
154 |
.tab2 .row h2.sfsicls_wechat,
|
155 |
-
.tab2 .row h2.sfsicls_xing
|
156 |
-
{
|
157 |
background: url(../images/tab_1_icn_list.png) no-repeat;
|
158 |
padding: 10px 0 0 70px;
|
159 |
margin: 15px 0 7px 21px;
|
@@ -161,71 +225,187 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
|
161 |
line-height: 51px;
|
162 |
font-family: helveticaregular;
|
163 |
font-size: 22px;
|
164 |
-
|
165 |
-
}
|
166 |
-
|
167 |
-
.tab2 .row h2.
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
.tab2 .row h2.
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
.tab2 .row h2.
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
.tab2 .row h2.
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
.tab2 .row h2.
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
.tab2 .row h2.
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
margin: 0 0 0px 94px;
|
198 |
-
}
|
|
|
199 |
/*replace*/
|
200 |
|
201 |
-
.tab2 .radio_section.fb_url.cus_link.instagram_space
|
202 |
float: left;
|
203 |
margin: 0 !important;
|
204 |
width: 100%;
|
205 |
}
|
|
|
206 |
.tab2 .radio_section.fb_url.cus_link.instagram_space ul li {
|
207 |
float: left;
|
208 |
margin: 10px 0 20px;
|
209 |
width: 100%;
|
210 |
}
|
|
|
211 |
.tab2 .sfsi_plus_pageurl_type {
|
212 |
display: inline-block;
|
213 |
float: none !important;
|
214 |
vertical-align: middle;
|
215 |
width: 100%;
|
216 |
}
|
|
|
217 |
.tab2 .sfsi_plus_pageurl_type .radio {
|
218 |
display: inline-block;
|
219 |
float: none !important;
|
220 |
vertical-align: middle;
|
221 |
}
|
222 |
-
|
|
|
223 |
float: none !important;
|
224 |
width: auto !important;
|
225 |
}
|
226 |
-
|
227 |
-
|
|
|
228 |
}
|
|
|
229 |
.tab2 .sfsi_plus_whatsapp_share_page_container label {
|
230 |
float: left !important;
|
231 |
font-family: "helveticaneue-light";
|
@@ -233,6 +413,7 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
|
233 |
margin: 6px 0 0 19px !important;
|
234 |
width: 100% !important;
|
235 |
}
|
|
|
236 |
.tab2 .sfsi_plus_email_icons_content {
|
237 |
display: inline-block;
|
238 |
float: none;
|
@@ -240,10 +421,12 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
|
240 |
vertical-align: top;
|
241 |
width: 85%;
|
242 |
}
|
|
|
243 |
.tab2 .sfsi_plus_email_icons_content textarea.add_txt {
|
244 |
margin: 0 !important;
|
245 |
}
|
246 |
-
|
|
|
247 |
width: 100%;
|
248 |
}
|
249 |
|
@@ -254,6 +437,7 @@ ul.tab_2_email_sec .sf_arow {
|
|
254 |
background: url(../images/sf_arow_icn.png) no-repeat;
|
255 |
margin: 0 0px 0 6px;
|
256 |
}
|
|
|
257 |
ul.tab_2_email_sec .email_icn {
|
258 |
background: url(../images/tab_1_icn_list.png) 0 -71px no-repeat;
|
259 |
width: 60px;
|
@@ -261,6 +445,7 @@ ul.tab_2_email_sec .email_icn {
|
|
261 |
float: left;
|
262 |
margin: 0 0 0 5px;
|
263 |
}
|
|
|
264 |
ul.tab_2_email_sec .subscribe_icn {
|
265 |
background: url(../images/tab_1_icn_list.png) 0 -860px no-repeat;
|
266 |
width: 60px;
|
@@ -268,945 +453,1477 @@ ul.tab_2_email_sec .subscribe_icn {
|
|
268 |
float: left;
|
269 |
margin: 0 0 0 5px;
|
270 |
}
|
|
|
271 |
ul.tab_2_email_sec li .radio {
|
272 |
float: left;
|
273 |
margin: 8px 0 0;
|
274 |
}
|
|
|
275 |
.row ul.tab_2_email_sec li label {
|
276 |
margin: 13px 0 0 7px;
|
277 |
font-size: 16px;
|
278 |
float: left;
|
279 |
-
|
280 |
}
|
281 |
-
|
282 |
-
{
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
}
|
|
|
288 |
.tab2 .sfsi_plus_whatsapp_number_container {
|
289 |
display: inline-block;
|
290 |
vertical-align: middle;
|
291 |
width: auto;
|
292 |
}
|
|
|
293 |
.tab2 .sfsi_plus_whatsapp_number_container label {
|
294 |
font-family: "helveticaneue-light";
|
295 |
font-size: 16px !important;
|
296 |
margin: 0 0 0 20px !important;
|
297 |
width: 100% !important;
|
298 |
-
|
299 |
}
|
300 |
-
|
301 |
-
{
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
}
|
306 |
-
|
307 |
-
|
308 |
-
|
|
|
|
|
309 |
}
|
310 |
-
|
311 |
-
{
|
312 |
-
|
313 |
}
|
314 |
-
|
315 |
-
{
|
316 |
-
|
317 |
}
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
|
|
322 |
}
|
323 |
-
|
324 |
-
{
|
325 |
-
|
326 |
}
|
327 |
-
|
328 |
-
{
|
329 |
-
|
330 |
-
|
331 |
}
|
|
|
332 |
.tab2 ul.sfsi_plus_email_functions_container li .sfsi_plus_field {
|
333 |
width: 100%;
|
334 |
float: left;
|
335 |
margin: 10px 10px 10px 50px;
|
336 |
}
|
337 |
-
|
338 |
-
|
|
|
339 |
width: 110px;
|
340 |
float: none;
|
341 |
-
|
342 |
-
|
343 |
}
|
344 |
-
|
345 |
-
{
|
346 |
width: 380px;
|
347 |
padding: 10px;
|
348 |
}
|
|
|
349 |
/*Tab 3*/
|
350 |
-
.sfsiplus_icns_tab_3 .sfsiplus_row_10_1,
|
351 |
-
.sfsiplus_icns_tab_3 .
|
352 |
-
.sfsiplus_icns_tab_3 .
|
353 |
-
.sfsiplus_icns_tab_3 .
|
354 |
-
.sfsiplus_icns_tab_3 .
|
355 |
-
.sfsiplus_icns_tab_3 .
|
356 |
-
.sfsiplus_icns_tab_3 .
|
357 |
-
|
358 |
-
.sfsiplus_icns_tab_3 .
|
359 |
-
.sfsiplus_icns_tab_3 .
|
360 |
-
.sfsiplus_icns_tab_3 .
|
361 |
-
.sfsiplus_icns_tab_3 .
|
362 |
-
|
363 |
-
.sfsiplus_icns_tab_3 .
|
364 |
-
.sfsiplus_icns_tab_3 .
|
365 |
-
.sfsiplus_icns_tab_3 .
|
366 |
-
.sfsiplus_icns_tab_3 .
|
367 |
-
|
368 |
-
.sfsiplus_icns_tab_3 .
|
369 |
-
.sfsiplus_icns_tab_3 .
|
370 |
-
.sfsiplus_icns_tab_3 .
|
371 |
-
.sfsiplus_icns_tab_3 .
|
372 |
-
|
373 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
background: url(../images/tab_3_icns.png) no-repeat;
|
375 |
width: 53px;
|
376 |
height: 52px;
|
377 |
float: left;
|
378 |
margin: 0 4px 0 0;
|
379 |
}
|
|
|
380 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_1 {
|
381 |
background-position: -1px 0;
|
382 |
}
|
|
|
383 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_2 {
|
384 |
background-position: -60px 0;
|
385 |
}
|
|
|
386 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_3 {
|
387 |
background-position: -118px 0;
|
388 |
}
|
|
|
389 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_4 {
|
390 |
background-position: -176px 0;
|
391 |
}
|
|
|
392 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_5 {
|
393 |
background-position: -235px 0;
|
394 |
}
|
|
|
395 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_6 {
|
396 |
background-position: -293px 0;
|
397 |
}
|
|
|
398 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_7 {
|
399 |
background-position: -350px 0;
|
400 |
}
|
|
|
401 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_8 {
|
402 |
background-position: -409px 0;
|
403 |
}
|
|
|
404 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_9 {
|
405 |
background-position: -467px 0;
|
406 |
}
|
|
|
407 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_10 {
|
408 |
background-position: -526px 0;
|
409 |
}
|
|
|
410 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_11 {
|
411 |
background-position: -711px 0;
|
412 |
}
|
|
|
413 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_22 {
|
414 |
background-position: -773px 0;
|
415 |
}
|
|
|
416 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_23 {
|
417 |
background-position: -838px 0;
|
418 |
}
|
|
|
419 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_24 {
|
420 |
background-position: -909px 0;
|
421 |
}
|
|
|
422 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_25 {
|
423 |
background-position: -977px 0;
|
424 |
}
|
|
|
425 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_26 {
|
426 |
background-position: -1045px 0;
|
427 |
}
|
|
|
428 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_1 {
|
429 |
background-position: 0 -74px;
|
430 |
}
|
|
|
431 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_2 {
|
432 |
background-position: -60px -74px;
|
433 |
}
|
|
|
434 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_3 {
|
435 |
background-position: -118px -74px;
|
436 |
}
|
|
|
437 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_4 {
|
438 |
background-position: -176px -74px;
|
439 |
}
|
|
|
440 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_5 {
|
441 |
background-position: -235px -74px;
|
442 |
}
|
|
|
443 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_6 {
|
444 |
background-position: -293px -74px;
|
445 |
}
|
|
|
446 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_7 {
|
447 |
background-position: -350px -74px;
|
448 |
}
|
|
|
449 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_8 {
|
450 |
background-position: -409px -74px;
|
451 |
}
|
|
|
452 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_9 {
|
453 |
background-position: -467px -74px;
|
454 |
}
|
|
|
455 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_10 {
|
456 |
background-position: -526px -74px;
|
457 |
}
|
|
|
458 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_11 {
|
459 |
background-position: -711px -74px;
|
460 |
}
|
|
|
461 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_22 {
|
462 |
background-position: -773px -74px;
|
463 |
}
|
|
|
464 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_23 {
|
465 |
background-position: -838px -74px;
|
466 |
}
|
|
|
467 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_24 {
|
468 |
background-position: -909px -74px;
|
469 |
}
|
|
|
470 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_25 {
|
471 |
background-position: -977px -74px;
|
472 |
}
|
|
|
473 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_26 {
|
474 |
background-position: -1045px 0;
|
475 |
}
|
|
|
476 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_1 {
|
477 |
background-position: 0 -146px;
|
478 |
}
|
|
|
479 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_2 {
|
480 |
background-position: -60px -146px;
|
481 |
}
|
|
|
482 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_3 {
|
483 |
background-position: -118px -146px;
|
484 |
}
|
|
|
485 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_4 {
|
486 |
background-position: -176px -146px;
|
487 |
}
|
|
|
488 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_5 {
|
489 |
background-position: -235px -146px;
|
490 |
}
|
|
|
491 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_6 {
|
492 |
background-position: -293px -146px;
|
493 |
}
|
|
|
494 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_7 {
|
495 |
background-position: -350px -146px;
|
496 |
}
|
|
|
497 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_8 {
|
498 |
background-position: -409px -146px;
|
499 |
}
|
|
|
500 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_9 {
|
501 |
background-position: -467px -146px;
|
502 |
}
|
|
|
503 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_10 {
|
504 |
background-position: -526px -146px;
|
505 |
}
|
|
|
506 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_11 {
|
507 |
background-position: -711px -147px;
|
508 |
}
|
|
|
509 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_22 {
|
510 |
background-position: -773px -147px;
|
511 |
}
|
|
|
512 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_23 {
|
513 |
background-position: -838px -147px;
|
514 |
}
|
|
|
515 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_24 {
|
516 |
background-position: -909px -147px;
|
517 |
}
|
|
|
518 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_25 {
|
519 |
background-position: -977px -147px;
|
520 |
}
|
|
|
521 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_26 {
|
522 |
background-position: -1045px 0;
|
523 |
}
|
|
|
524 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_1 {
|
525 |
background-position: 0 -222px;
|
526 |
}
|
|
|
527 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_2 {
|
528 |
background-position: -60px -222px;
|
529 |
}
|
|
|
530 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_3 {
|
531 |
background-position: -118px -222px;
|
532 |
}
|
|
|
533 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_4 {
|
534 |
background-position: -176px -222px;
|
535 |
}
|
|
|
536 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_5 {
|
537 |
background-position: -235px -222px;
|
538 |
}
|
|
|
539 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_6 {
|
540 |
background-position: -293px -222px;
|
541 |
}
|
|
|
542 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_7 {
|
543 |
background-position: -350px -222px;
|
544 |
}
|
|
|
545 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_8 {
|
546 |
background-position: -409px -222px;
|
547 |
}
|
|
|
548 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_9 {
|
549 |
background-position: -467px -222px;
|
550 |
}
|
|
|
551 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_10 {
|
552 |
background-position: -526px -222px;
|
553 |
}
|
|
|
554 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_11 {
|
555 |
background-position: -711px -222px;
|
556 |
}
|
|
|
557 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_22 {
|
558 |
background-position: -773px -222px;
|
559 |
}
|
|
|
560 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_23 {
|
561 |
background-position: -838px -222px;
|
562 |
}
|
|
|
563 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_24 {
|
564 |
background-position: -909px -222px;
|
565 |
}
|
|
|
566 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_25 {
|
567 |
background-position: -977px -222px;
|
568 |
}
|
|
|
569 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_26 {
|
570 |
background-position: -1045px 0;
|
571 |
}
|
|
|
572 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_1 {
|
573 |
background-position: 0 -296px;
|
574 |
}
|
|
|
575 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_2 {
|
576 |
background-position: -60px -296px;
|
577 |
}
|
|
|
578 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_3 {
|
579 |
background-position: -118px -296px;
|
580 |
}
|
|
|
581 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_4 {
|
582 |
background-position: -176px -296px;
|
583 |
}
|
|
|
584 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_5 {
|
585 |
background-position: -235px -296px;
|
586 |
}
|
|
|
587 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_6 {
|
588 |
background-position: -293px -296px;
|
589 |
}
|
|
|
590 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_7 {
|
591 |
background-position: -350px -296px;
|
592 |
}
|
|
|
593 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_8 {
|
594 |
background-position: -409px -296px;
|
595 |
}
|
|
|
596 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_9 {
|
597 |
background-position: -467px -296px;
|
598 |
}
|
|
|
599 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_10 {
|
600 |
background-position: -526px -296px;
|
601 |
}
|
|
|
602 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_11 {
|
603 |
background-position: -711px -296px;
|
604 |
}
|
|
|
605 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_22 {
|
606 |
background-position: -773px -296px;
|
607 |
}
|
|
|
608 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_23 {
|
609 |
background-position: -838px -296px;
|
610 |
}
|
|
|
611 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_24 {
|
612 |
background-position: -909px -296px;
|
613 |
}
|
|
|
614 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_25 {
|
615 |
background-position: -977px -296px;
|
616 |
}
|
|
|
617 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_26 {
|
618 |
background-position: -1045px 0;
|
619 |
}
|
|
|
620 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_1 {
|
621 |
background-position: 0 -370px;
|
622 |
}
|
|
|
623 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_2 {
|
624 |
background-position: -60px -370px;
|
625 |
}
|
|
|
626 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_3 {
|
627 |
background-position: -118px -370px;
|
628 |
}
|
|
|
629 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_4 {
|
630 |
background-position: -176px -370px;
|
631 |
}
|
|
|
632 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_5 {
|
633 |
background-position: -235px -370px;
|
634 |
}
|
|
|
635 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_6 {
|
636 |
background-position: -293px -370px;
|
637 |
}
|
|
|
638 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_7 {
|
639 |
background-position: -350px -370px;
|
640 |
}
|
|
|
641 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_8 {
|
642 |
background-position: -409px -370px;
|
643 |
}
|
|
|
644 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_9 {
|
645 |
background-position: -468px -370px;
|
646 |
}
|
|
|
647 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_10 {
|
648 |
background-position: -526px -370px;
|
649 |
}
|
|
|
650 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_11 {
|
651 |
background-position: -711px -370px;
|
652 |
}
|
|
|
653 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_22 {
|
654 |
background-position: -773px -370px;
|
655 |
}
|
|
|
656 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_23 {
|
657 |
background-position: -838px -370px;
|
658 |
}
|
|
|
659 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_24 {
|
660 |
background-position: -909px -370px;
|
661 |
}
|
|
|
662 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_25 {
|
663 |
background-position: -977px -370px;
|
664 |
}
|
|
|
665 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_26 {
|
666 |
background-position: -1045px 0;
|
667 |
}
|
|
|
668 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_1 {
|
669 |
background-position: 0 -444px;
|
670 |
}
|
|
|
671 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_2 {
|
672 |
background-position: -60px -444px;
|
673 |
}
|
|
|
674 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_3 {
|
675 |
background-position: -118px -444px;
|
676 |
}
|
|
|
677 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_4 {
|
678 |
background-position: -176px -444px;
|
679 |
}
|
|
|
680 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_5 {
|
681 |
background-position: -235px -444px;
|
682 |
}
|
|
|
683 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_6 {
|
684 |
background-position: -293px -444px;
|
685 |
}
|
|
|
686 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_7 {
|
687 |
background-position: -350px -444px;
|
688 |
}
|
|
|
689 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_8 {
|
690 |
background-position: -409px -444px;
|
691 |
}
|
|
|
692 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_9 {
|
693 |
background-position: -466px -444px;
|
694 |
}
|
|
|
695 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_10 {
|
696 |
background-position: -526px -444px;
|
697 |
}
|
|
|
698 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_11 {
|
699 |
background-position: -711px -444px;
|
700 |
}
|
|
|
701 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_22 {
|
702 |
background-position: -773px -444px;
|
703 |
}
|
|
|
704 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_23 {
|
705 |
background-position: -838px -444px;
|
706 |
}
|
|
|
707 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_24 {
|
708 |
background-position: -909px -444px;
|
709 |
}
|
|
|
710 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_25 {
|
711 |
background-position: -977px -444px;
|
712 |
}
|
|
|
713 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_26 {
|
714 |
background-position: -1045px 0;
|
715 |
}
|
|
|
716 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_1 {
|
717 |
background-position: 0 -518px;
|
718 |
}
|
|
|
719 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_2 {
|
720 |
background-position: -60px -518px;
|
721 |
}
|
|
|
722 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_3 {
|
723 |
background-position: -118px -518px;
|
724 |
}
|
|
|
725 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_4 {
|
726 |
background-position: -176px -518px;
|
727 |
}
|
|
|
728 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_5 {
|
729 |
background-position: -235px -518px;
|
730 |
}
|
|
|
731 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_6 {
|
732 |
background-position: -293px -518px;
|
733 |
}
|
|
|
734 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_7 {
|
735 |
background-position: -350px -518px;
|
736 |
}
|
|
|
737 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_8 {
|
738 |
background-position: -409px -518px;
|
739 |
}
|
|
|
740 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_9 {
|
741 |
background-position: -467px -518px;
|
742 |
}
|
|
|
743 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_10 {
|
744 |
background-position: -526px -518px;
|
745 |
}
|
|
|
746 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_11 {
|
747 |
background-position: -711px -518px;
|
748 |
}
|
|
|
749 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_22 {
|
750 |
background-position: -773px -518px;
|
751 |
}
|
|
|
752 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_23 {
|
753 |
background-position: -838px -518px;
|
754 |
}
|
|
|
755 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_24 {
|
756 |
background-position: -909px -518px;
|
757 |
}
|
|
|
758 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_25 {
|
759 |
background-position: -977px -518px;
|
760 |
}
|
|
|
761 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_26 {
|
762 |
background-position: -1045px 0;
|
763 |
}
|
|
|
764 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_1 {
|
765 |
background-position: 0 -592px;
|
766 |
}
|
|
|
767 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_2 {
|
768 |
background-position: -60px -592px;
|
769 |
}
|
|
|
770 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_3 {
|
771 |
background-position: -118px -592px;
|
772 |
}
|
|
|
773 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_4 {
|
774 |
background-position: -176px -592px;
|
775 |
}
|
|
|
776 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_5 {
|
777 |
background-position: -235px -592px;
|
778 |
}
|
|
|
779 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_6 {
|
780 |
background-position: -293px -592px;
|
781 |
}
|
|
|
782 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_7 {
|
783 |
background-position: -350px -592px;
|
784 |
}
|
|
|
785 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_8 {
|
786 |
background-position: -409px -592px;
|
787 |
}
|
|
|
788 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_9 {
|
789 |
background-position: -467px -592px;
|
790 |
}
|
|
|
791 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_10 {
|
792 |
background-position: -526px -592px;
|
793 |
}
|
|
|
794 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_11 {
|
795 |
background-position: -711px -592px;
|
796 |
}
|
|
|
797 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_22 {
|
798 |
background-position: -773px -592px;
|
799 |
}
|
|
|
800 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_23 {
|
801 |
background-position: -838px -592px;
|
802 |
}
|
|
|
803 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_24 {
|
804 |
background-position: -909px -592px;
|
805 |
}
|
|
|
806 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_25 {
|
807 |
background-position: -977px -592px;
|
808 |
}
|
|
|
809 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_26 {
|
810 |
background-position: -1045px 0;
|
811 |
}
|
|
|
812 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_1 {
|
813 |
background-position: 0 -666px;
|
814 |
}
|
|
|
815 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_2 {
|
816 |
background-position: -60px -666px;
|
817 |
}
|
|
|
818 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_3 {
|
819 |
background-position: -118px -666px;
|
820 |
}
|
|
|
821 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_4 {
|
822 |
background-position: -176px -666px;
|
823 |
}
|
|
|
824 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_5 {
|
825 |
background-position: -235px -666px;
|
826 |
}
|
|
|
827 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_6 {
|
828 |
background-position: -293px -666px;
|
829 |
}
|
|
|
830 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_7 {
|
831 |
background-position: -350px -666px;
|
832 |
}
|
|
|
833 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_8 {
|
834 |
background-position: -409px -666px;
|
835 |
}
|
|
|
836 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_9 {
|
837 |
background-position: -467px -666px;
|
838 |
}
|
|
|
839 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_10 {
|
840 |
background-position: -526px -666px;
|
841 |
}
|
|
|
842 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_11 {
|
843 |
background-position: -711px -666px;
|
844 |
}
|
|
|
845 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_22 {
|
846 |
background-position: -773px -666px;
|
847 |
}
|
|
|
848 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_23 {
|
849 |
background-position: -838px -666px;
|
850 |
}
|
|
|
851 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_24 {
|
852 |
background-position: -909px -666px;
|
853 |
}
|
|
|
854 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_25 {
|
855 |
background-position: -977px -666px;
|
856 |
}
|
|
|
857 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_26 {
|
858 |
background-position: -1045px 0;
|
859 |
}
|
|
|
860 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_1 {
|
861 |
background-position: 0 -740px;
|
862 |
}
|
|
|
863 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_2 {
|
864 |
background-position: -60px -740px;
|
865 |
}
|
|
|
866 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_3 {
|
867 |
background-position: -118px -740px;
|
868 |
}
|
|
|
869 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_4 {
|
870 |
background-position: -176px -740px;
|
871 |
}
|
|
|
872 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_5 {
|
873 |
background-position: -235px -740px;
|
874 |
}
|
|
|
875 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_6 {
|
876 |
background-position: -293px -740px;
|
877 |
}
|
|
|
878 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_7 {
|
879 |
background-position: -350px -740px;
|
880 |
}
|
|
|
881 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_8 {
|
882 |
background-position: -409px -740px;
|
883 |
}
|
|
|
884 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_9 {
|
885 |
background-position: -467px -740px;
|
886 |
}
|
|
|
887 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_10 {
|
888 |
background-position: -526px -740px;
|
889 |
}
|
|
|
890 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_11 {
|
891 |
background-position: -711px -740px;
|
892 |
}
|
|
|
893 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_22 {
|
894 |
background-position: -773px -740px;
|
895 |
}
|
|
|
896 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_23 {
|
897 |
background-position: -838px -740px;
|
898 |
}
|
|
|
899 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_24 {
|
900 |
background-position: -909px -740px;
|
901 |
}
|
|
|
902 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_25 {
|
903 |
background-position: -977px -740px;
|
904 |
}
|
|
|
905 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_26 {
|
906 |
background-position: -1045px 0;
|
907 |
}
|
|
|
908 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_1 {
|
909 |
background-position: 0 -814px;
|
910 |
}
|
|
|
911 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_2 {
|
912 |
background-position: -60px -814px;
|
913 |
}
|
|
|
914 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_3 {
|
915 |
background-position: -118px -814px;
|
916 |
}
|
|
|
917 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_4 {
|
918 |
background-position: -176px -814px;
|
919 |
}
|
|
|
920 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_5 {
|
921 |
background-position: -235px -814px;
|
922 |
}
|
|
|
923 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_6 {
|
924 |
background-position: -293px -814px;
|
925 |
}
|
|
|
926 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_7 {
|
927 |
background-position: -350px -814px;
|
928 |
}
|
|
|
929 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_8 {
|
930 |
background-position: -409px -814px;
|
931 |
}
|
|
|
932 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_9 {
|
933 |
background-position: -467px -814px;
|
934 |
}
|
|
|
935 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_10 {
|
936 |
background-position: -526px -814px;
|
937 |
}
|
|
|
938 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_11 {
|
939 |
background-position: -711px -814px;
|
940 |
}
|
|
|
941 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_22 {
|
942 |
background-position: -773px -814px;
|
943 |
}
|
|
|
944 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_23 {
|
945 |
background-position: -838px -814px;
|
946 |
}
|
|
|
947 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_24 {
|
948 |
background-position: -909px -814px;
|
949 |
}
|
|
|
950 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_25 {
|
951 |
background-position: -977px -814px;
|
952 |
}
|
|
|
953 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_26 {
|
954 |
background-position: -1045px 0;
|
955 |
}
|
|
|
956 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_1 {
|
957 |
background-position: 0 -888px;
|
958 |
}
|
|
|
959 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_2 {
|
960 |
background-position: -60px -888px;
|
961 |
}
|
|
|
962 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_3 {
|
963 |
background-position: -118px -888px;
|
964 |
}
|
|
|
965 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_4 {
|
966 |
background-position: -176px -888px;
|
967 |
}
|
|
|
968 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_5 {
|
969 |
background-position: -235px -888px;
|
970 |
}
|
|
|
971 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_6 {
|
972 |
background-position: -293px -888px;
|
973 |
}
|
|
|
974 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_7 {
|
975 |
background-position: -350px -888px;
|
976 |
}
|
|
|
977 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_8 {
|
978 |
background-position: -409px -888px;
|
979 |
}
|
|
|
980 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_9 {
|
981 |
background-position: -467px -888px;
|
982 |
}
|
|
|
983 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_10 {
|
984 |
background-position: -526px -888px;
|
985 |
}
|
|
|
986 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_11 {
|
987 |
background-position: -711px -888px;
|
988 |
}
|
|
|
989 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_22 {
|
990 |
background-position: -773px -888px;
|
991 |
}
|
|
|
992 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_23 {
|
993 |
background-position: -838px -888px;
|
994 |
}
|
|
|
995 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_24 {
|
996 |
background-position: -909px -888px;
|
997 |
}
|
|
|
998 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_25 {
|
999 |
background-position: -977px -888px;
|
1000 |
}
|
|
|
1001 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_26 {
|
1002 |
background-position: -1045px 0;
|
1003 |
}
|
|
|
1004 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_1 {
|
1005 |
background-position: 0 -962px;
|
1006 |
}
|
|
|
1007 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_2 {
|
1008 |
background-position: -60px -962px;
|
1009 |
}
|
|
|
1010 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_3 {
|
1011 |
background-position: -118px -962px;
|
1012 |
}
|
|
|
1013 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_4 {
|
1014 |
background-position: -176px -962px;
|
1015 |
}
|
|
|
1016 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_5 {
|
1017 |
background-position: -235px -962px;
|
1018 |
}
|
|
|
1019 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_6 {
|
1020 |
background-position: -293px -962px;
|
1021 |
}
|
|
|
1022 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_7 {
|
1023 |
background-position: -350px -962px;
|
1024 |
}
|
|
|
1025 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_8 {
|
1026 |
background-position: -409px -962px;
|
1027 |
}
|
|
|
1028 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_9 {
|
1029 |
background-position: -467px -962px;
|
1030 |
}
|
|
|
1031 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_10 {
|
1032 |
background-position: -526px -962px;
|
1033 |
}
|
|
|
1034 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_11 {
|
1035 |
background-position: -711px -962px;
|
1036 |
}
|
|
|
1037 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_22 {
|
1038 |
background-position: -773px -962px;
|
1039 |
}
|
|
|
1040 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_23 {
|
1041 |
background-position: -838px -962px;
|
1042 |
}
|
|
|
1043 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_24 {
|
1044 |
background-position: -909px -962px;
|
1045 |
}
|
|
|
1046 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_25 {
|
1047 |
background-position: -977px -962px;
|
1048 |
}
|
|
|
1049 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_26 {
|
1050 |
background-position: -1045px 0;
|
1051 |
}
|
|
|
1052 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_1 {
|
1053 |
background-position: 0 -1036px;
|
1054 |
}
|
|
|
1055 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_2 {
|
1056 |
background-position: -60px -1036px;
|
1057 |
}
|
|
|
1058 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_3 {
|
1059 |
background-position: -118px -1036px;
|
1060 |
}
|
|
|
1061 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_4 {
|
1062 |
background-position: -176px -1036px;
|
1063 |
}
|
|
|
1064 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_5 {
|
1065 |
background-position: -235px -1036px;
|
1066 |
}
|
|
|
1067 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_6 {
|
1068 |
background-position: -293px -1036px;
|
1069 |
}
|
|
|
1070 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_7 {
|
1071 |
background-position: -350px -1036px;
|
1072 |
}
|
|
|
1073 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_8 {
|
1074 |
background-position: -409px -1036px;
|
1075 |
}
|
|
|
1076 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_9 {
|
1077 |
background-position: -467px -1036px;
|
1078 |
}
|
|
|
1079 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_10 {
|
1080 |
background-position: -526px -1036px;
|
1081 |
}
|
|
|
1082 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_11 {
|
1083 |
background-position: -711px -1036px;
|
1084 |
}
|
|
|
1085 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_22 {
|
1086 |
background-position: -773px -1036px;
|
1087 |
}
|
|
|
1088 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_23 {
|
1089 |
background-position: -838px -1036px;
|
1090 |
}
|
|
|
1091 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_24 {
|
1092 |
background-position: -909px -1036px;
|
1093 |
}
|
|
|
1094 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25 {
|
1095 |
background-position: -977px -1036px;
|
1096 |
}
|
|
|
1097 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_26 {
|
1098 |
background-position: -1045px 0;
|
1099 |
}
|
|
|
1100 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_1 {
|
1101 |
background-position: 0 -1109px;
|
1102 |
}
|
|
|
1103 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_2 {
|
1104 |
background-position: -60px -1109px;
|
1105 |
}
|
|
|
1106 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_3 {
|
1107 |
background-position: -118px -1109px;
|
1108 |
}
|
|
|
1109 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_4 {
|
1110 |
background-position: -176px -1109px;
|
1111 |
}
|
|
|
1112 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_5 {
|
1113 |
background-position: -235px -1109px;
|
1114 |
}
|
|
|
1115 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_6 {
|
1116 |
background-position: -293px -1109px;
|
1117 |
}
|
|
|
1118 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_7 {
|
1119 |
background-position: -350px -1109px;
|
1120 |
}
|
|
|
1121 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_8 {
|
1122 |
background-position: -409px -1109px;
|
1123 |
}
|
|
|
1124 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_9 {
|
1125 |
background-position: -467px -1109px;
|
1126 |
}
|
|
|
1127 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_10 {
|
1128 |
background-position: -526px -1109px;
|
1129 |
}
|
|
|
1130 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_11 {
|
1131 |
background-position: -711px -1109px;
|
1132 |
}
|
|
|
1133 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_22 {
|
1134 |
background-position: -773px -1109px;
|
1135 |
}
|
|
|
1136 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_23 {
|
1137 |
background-position: -838px -1109px;
|
1138 |
}
|
|
|
1139 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_24 {
|
1140 |
background-position: -909px -1109px;
|
1141 |
}
|
|
|
1142 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25 {
|
1143 |
background-position: -977px -1109px;
|
1144 |
}
|
|
|
1145 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_26 {
|
1146 |
background-position: -1045px 0;
|
1147 |
}
|
|
|
1148 |
/*Admin menu*/
|
1149 |
ul#adminmenu li.toplevel_page_sfsi-plus-options div.wp-menu-image {
|
1150 |
display: none;
|
1151 |
}
|
|
|
1152 |
#adminmenu li.toplevel_page_sfsi-plus-options a.toplevel_page_sfsi-plus-options {
|
1153 |
padding: 0 0 0 38px;
|
1154 |
font-family: helveticabold;
|
1155 |
}
|
|
|
1156 |
ul#adminmenu li.toplevel_page_sfsi-plus-options a.toplevel_page_sfsi-plus-options {
|
1157 |
color: #e12522;
|
1158 |
-
|
1159 |
background: url(images/left_log_icn.png) 6px 15px no-repeat #000;
|
1160 |
-
|
1161 |
-
|
1162 |
}
|
|
|
1163 |
ul#adminmenu li.toplevel_page_sfsi-plus-options a.toplevel_page_sfsi-plus-options:hover {
|
1164 |
background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
|
1165 |
-
|
1166 |
}
|
1167 |
-
|
|
|
|
|
1168 |
background: url(images/left_log_icn.png) 6px 15px no-repeat #000000;
|
1169 |
/*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
|
1170 |
-
|
1171 |
}
|
1172 |
-
|
|
|
|
|
1173 |
background: url(images/left_log_icn.png) 6px 15px no-repeat #000000 !important;
|
1174 |
/*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
|
1175 |
color: #e12522 !important;
|
1176 |
}
|
|
|
1177 |
/*tab 9 css*/
|
1178 |
-
.tab9 .sfsi_plus_tab8_container
|
1179 |
-
|
1180 |
-
|
1181 |
}
|
|
|
1182 |
.tab9 .sfsi_plus_tab8_subcontainer {
|
1183 |
float: left;
|
1184 |
padding: 20px 0;
|
1185 |
width: 100%;
|
1186 |
}
|
|
|
1187 |
.tab9 h3.sfsi_plus_section_title {
|
1188 |
font-weight: bold;
|
1189 |
}
|
|
|
1190 |
.tab9 .like_pop_box {
|
1191 |
width: 100%;
|
1192 |
margin: 35px auto auto;
|
1193 |
position: relative;
|
1194 |
text-align: center;
|
1195 |
}
|
|
|
1196 |
.tab9 .like_pop_box h2 {
|
1197 |
font-family: helveticabold;
|
1198 |
text-align: center;
|
1199 |
color: #414951;
|
1200 |
font-size: 26px;
|
1201 |
}
|
|
|
1202 |
.tab9 .sfsi_plus_subscribe_Popinner {
|
1203 |
display: inline-block;
|
1204 |
padding: 18px 20px;
|
1205 |
-webkit-box-shadow: 0 0 5px #ccc;
|
1206 |
border: 1px solid #ededed;
|
1207 |
background: #FFF;
|
1208 |
-
|
1209 |
}
|
|
|
1210 |
.tab9 .sfsi_plus_subscribe_Popinner .form-overlay {
|
1211 |
height: 100%;
|
1212 |
left: 0;
|
@@ -1214,9 +1931,11 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1214 |
top: 0;
|
1215 |
width: 100%;
|
1216 |
}
|
|
|
1217 |
.tab9 .like_pop_box .sfsi_plus_subscribe_Popinner {
|
1218 |
-
|
1219 |
}
|
|
|
1220 |
.tab9 .like_pop_box .sfsi_plus_subscribe_Popinner h5 {
|
1221 |
margin: 0 0 10px;
|
1222 |
padding: 0;
|
@@ -1224,6 +1943,7 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1224 |
font-size: 22px;
|
1225 |
text-align: center;
|
1226 |
}
|
|
|
1227 |
.tab9 .sfsi_plus_subscribe_Popinner h5 {
|
1228 |
margin: 0 0 10px;
|
1229 |
padding: 0;
|
@@ -1231,50 +1951,59 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1231 |
font-size: 18px;
|
1232 |
text-align: center;
|
1233 |
}
|
|
|
1234 |
.tab9 .sfsi_plus_subscription_form_field {
|
1235 |
float: left;
|
1236 |
margin: 5px 0;
|
1237 |
width: 100%;
|
1238 |
}
|
|
|
1239 |
.tab9 .sfsi_plus_subscription_form_field input {
|
1240 |
padding: 10px 0px;
|
1241 |
text-align: center;
|
1242 |
width: 100%;
|
1243 |
}
|
|
|
1244 |
.tab9 .sfsi_plus_tab8_subcontainer label.sfsi_plus_label_text {
|
1245 |
float: left;
|
1246 |
margin: 10px 0;
|
1247 |
width: 100%;
|
1248 |
}
|
|
|
1249 |
.tab9 ul.sfsi_plus_form_info {
|
1250 |
list-style: none !important;
|
1251 |
margin-left: 32px;
|
1252 |
}
|
|
|
1253 |
.tab9 ul.sfsi_plus_form_info li {
|
1254 |
margin: 3px 0;
|
1255 |
}
|
|
|
1256 |
.tab9 .sfsi_plus_subscription_html {
|
1257 |
background-color: #e5e5e5;
|
1258 |
float: left;
|
1259 |
margin: 12px 0 0 30px;
|
1260 |
width: 90%;
|
1261 |
}
|
1262 |
-
|
1263 |
-
{
|
1264 |
-
|
1265 |
}
|
|
|
1266 |
.tab9 .sfsi_plus_tab8_subcontainer h5.sfsi_plus_section_subtitle {
|
1267 |
float: left;
|
1268 |
font-size: 18px;
|
1269 |
margin: 5px 0;
|
1270 |
width: 100%;
|
1271 |
}
|
|
|
1272 |
.tab9 .sfsi_plus_left_container {
|
1273 |
margin-top: 30px;
|
1274 |
text-align: center;
|
1275 |
width: 24%;
|
1276 |
-
|
1277 |
}
|
|
|
1278 |
.tab9 .sfsi_plus_right_container {
|
1279 |
display: inline-block;
|
1280 |
margin-top: 30px;
|
@@ -1282,21 +2011,25 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1282 |
vertical-align: top;
|
1283 |
width: 72%;
|
1284 |
}
|
|
|
1285 |
.tab9 .row_tab {
|
1286 |
display: inline-block;
|
1287 |
margin-bottom: 30px;
|
1288 |
width: 100%;
|
1289 |
}
|
|
|
1290 |
.tab9 .row_tab label {
|
1291 |
color: #5a6570;
|
1292 |
font-size: 16px;
|
1293 |
}
|
1294 |
-
|
|
|
1295 |
display: inline-block;
|
1296 |
vertical-align: middle;
|
1297 |
width: auto;
|
1298 |
-
|
1299 |
}
|
|
|
1300 |
.tab9 .color_box {
|
1301 |
width: 40px;
|
1302 |
height: 34px;
|
@@ -1306,12 +2039,14 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1306 |
position: relative;
|
1307 |
margin-left: 13px;
|
1308 |
}
|
|
|
1309 |
.tab9 .color_box1 {
|
1310 |
width: 100%;
|
1311 |
height: 34px;
|
1312 |
background: #5a6570;
|
1313 |
box-shadow: 1px -2px 15px -2px #d3d3d3 inset;
|
1314 |
}
|
|
|
1315 |
.tab9 .corner {
|
1316 |
width: 10px;
|
1317 |
height: 10px;
|
@@ -1320,81 +2055,96 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1320 |
right: 0;
|
1321 |
bottom: 0;
|
1322 |
}
|
|
|
1323 |
.tab9 .sfsi_plus_right_container label {
|
1324 |
color: #5a6570;
|
1325 |
font-size: 18px;
|
1326 |
}
|
|
|
1327 |
.tab9 label.sfsi_plus_heding {
|
1328 |
display: inline-block;
|
1329 |
font-weight: bold;
|
1330 |
padding-top: 10px;
|
1331 |
width: 303px;
|
1332 |
}
|
|
|
1333 |
.tab9 .border_shadow {
|
1334 |
display: inline-block;
|
1335 |
vertical-align: top;
|
1336 |
}
|
|
|
1337 |
.tab9 .border_shadow li {
|
1338 |
display: inline-block;
|
1339 |
vertical-align: top;
|
1340 |
-
|
1341 |
}
|
|
|
1342 |
.tab9 .border_shadow li span {
|
1343 |
vertical-align: middle;
|
1344 |
}
|
1345 |
-
|
1346 |
-
|
|
|
1347 |
}
|
|
|
1348 |
.tab9 .sfsi_plus_field .rec-inp {
|
1349 |
background: #e5e5e5 none repeat scroll 0 0;
|
1350 |
height: 44px;
|
1351 |
text-align: center;
|
1352 |
width: 54px;
|
1353 |
}
|
|
|
1354 |
.tab9 .pix {
|
1355 |
color: #5a6570;
|
1356 |
font-size: 18px;
|
1357 |
padding-left: 10px;
|
1358 |
-
|
1359 |
}
|
|
|
1360 |
.tab9 .sfsi_plus_heding.autowidth {
|
1361 |
-
|
1362 |
-
|
1363 |
}
|
|
|
1364 |
.tab9 .sfsi_plus_heding.fixwidth {
|
1365 |
-
|
1366 |
}
|
|
|
1367 |
.tab9 .small {
|
1368 |
background-color: #e5e5e5;
|
1369 |
height: 44px;
|
1370 |
-
|
1371 |
}
|
|
|
1372 |
.tab9 .small.new-inp {
|
1373 |
background-color: #e5e5e5;
|
1374 |
height: 44px;
|
1375 |
-
|
1376 |
}
|
|
|
1377 |
.tab9 .small.color-code {
|
1378 |
width: 138px !important;
|
1379 |
}
|
|
|
1380 |
.tab9 .select-same {
|
1381 |
border: 1px solid #d6d6d6;
|
1382 |
height: 47px !important;
|
1383 |
width: 171px;
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
}
|
|
|
1391 |
.tab9 .sfsi_plus_same_width {
|
1392 |
display: inline-block;
|
1393 |
width: 100px !important;
|
1394 |
}
|
1395 |
|
1396 |
-
.disabled_checkbox .sfsiplus_right_info .sfsiplus_toglepstpgspn{
|
1397 |
-
color:rgba(0,0,0
|
1398 |
}
|
1399 |
|
1400 |
.sfsi_plus_subscription_html xmp {
|
@@ -1403,18 +2153,21 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1403 |
white-space: pre-line;
|
1404 |
word-wrap: break-word;
|
1405 |
}
|
|
|
1406 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li {
|
1407 |
float: left;
|
1408 |
width: 300px !important;
|
1409 |
-
|
1410 |
-
|
1411 |
}
|
|
|
1412 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec label {
|
1413 |
font-size: 17px;
|
1414 |
padding-right: 20px;
|
1415 |
width: 65px !important;
|
1416 |
-
|
1417 |
}
|
|
|
1418 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li input {
|
1419 |
background-color: #dedede;
|
1420 |
border: medium none;
|
@@ -1422,498 +2175,2133 @@ ul#adminmenu li.toplevel_page_sfsi-plus-options a.current, ul#adminmenu li.tople
|
|
1422 |
padding: 14px 8px;
|
1423 |
width: 80px;
|
1424 |
}
|
|
|
1425 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li ins {
|
1426 |
font-size: 17px;
|
1427 |
font-weight: 400;
|
1428 |
margin-left: 15px;
|
1429 |
text-decoration: none;
|
1430 |
}
|
|
|
1431 |
@media (max-width:1160px) {
|
1432 |
-
.sfsi_plus_subscription_html xmp {
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
}
|
1438 |
}
|
|
|
1439 |
@media (max-width:1350px) {
|
1440 |
-
.tab9 .sfsi_plus_left_container {
|
1441 |
-
|
1442 |
-
}
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
margin-left: 19px !important;
|
1456 |
-
margin-top: 10px !important;
|
1457 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1458 |
}
|
|
|
1459 |
/*poonam Style*/
|
1460 |
.feedClaiming-overlay h1 {
|
1461 |
font-size: 22px !important;
|
1462 |
font-weight: bolder !important;
|
1463 |
margin-top: 7px !important;
|
1464 |
}
|
|
|
1465 |
.feedClaiming-overlay input[type="email"] {
|
1466 |
font-size: 16px;
|
1467 |
margin: 26px 0 0;
|
1468 |
padding: 10px 0;
|
1469 |
text-align: center;
|
1470 |
width: 100%;
|
1471 |
-
|
1472 |
-
|
1473 |
}
|
|
|
1474 |
.feedClaiming-overlay input[type="email"]::-webkit-input-placeholder {
|
1475 |
-
|
1476 |
}
|
1477 |
-
|
1478 |
-
|
|
|
|
|
1479 |
}
|
1480 |
-
|
1481 |
-
|
|
|
|
|
1482 |
}
|
|
|
1483 |
.feedClaiming-overlay input[type="email"]:-ms-input-placeholder {
|
1484 |
-
|
1485 |
}
|
|
|
1486 |
.feedClaiming-overlay .save_button {
|
1487 |
padding: 0 !important;
|
1488 |
width: 100%;
|
1489 |
}
|
1490 |
-
|
|
|
1491 |
border-radius: 4px;
|
1492 |
font-size: 18px;
|
1493 |
font-weight: bolder;
|
1494 |
}
|
|
|
1495 |
.feedClaiming-overlay .sfsicloseBtn {
|
1496 |
right: 8px !important;
|
1497 |
top: 8px !important;
|
1498 |
}
|
1499 |
-
.feedClaiming-overlay p {text-align:center !important; font-size: 12px !important;line-height: 23px !important;padding: 18px 0 0 !important; color:#bebebe !important; }
|
1500 |
-
.feedClaiming-overlay p a {display: inline-block;font-size: 12px;margin: 0;padding: 0;width: auto; color:#274da3 !important; }
|
1501 |
-
.feedClaiming-overlay .pop_up_box{padding: 25px 30px !important; width: 435px !important; min-height: 220px;}
|
1502 |
-
.follows-btn{float:left;width:25%;}
|
1503 |
-
.preview-btn{float:left;width:10%;}
|
1504 |
-
.social-img-link{float:left;width:15%;}
|
1505 |
-
.social-img-link img{vertical-align:middle;}
|
1506 |
-
.language-field{float:left;width:24%;}
|
1507 |
-
.language-field select{width:100%;}
|
1508 |
-
.icons_size{clear:both;}
|
1509 |
-
.plus_custom-img img, .sfsiplus_custom_section img, .sfsiplus_custom_iconOrder img, .plus_sfsi_sample_icons img{width: 51px;}
|
1510 |
-
.cstomskins_upload span.sfsi_plus-bgimage{background-size: 51px 51px !important;}
|
1511 |
-
|
1512 |
-
/* poonam */
|
1513 |
-
.sfsi_plus_premium_brdr_box{box-sizing: border-box;}
|
1514 |
-
.sf_si_plus_our_prmium_plugin-add, .sfsi_plus_prem_icons_added, .sfsi_plus_new_prmium_follw{background:#f3faf6;border:1px solid #12a252;padding: 25px 38px 35px 40px;clear: both;}
|
1515 |
-
.banner_custom_icon{margin-left:94px !important;float: left;}
|
1516 |
-
.banner_custom_icon p a {font-family: helveticabold !important}
|
1517 |
-
.sf_si_plus_our_prmium_plugin-add{padding: 25px 38px 45px 44px;}
|
1518 |
-
.sf_si_plus_default_design ul{padding:0;margin:0;}
|
1519 |
-
.sf_si_plus_default_design ul li{list-style:none;font-size:20px;color:#1a1d20;clear:both;}
|
1520 |
-
.sf_si_plus_default_design ul li b{font-weight: bold;}
|
1521 |
-
.sf_si_plus_default_design ul li img{vertical-align: middle;}
|
1522 |
-
.sf_si_plus_default_design ul li h4{color:#1a1d20 !important;font-size:20px !important;font-weight:bold;padding-bottom:21px !important;}
|
1523 |
-
.sf_si_plus_default_design ul li h4 span{font-weight:normal;}
|
1524 |
-
.sf_si_plus_default_design ul li b span{font-weight:normal !important;}
|
1525 |
-
.sf_si_plus_default_design ul li{margin:0 !important;}
|
1526 |
-
.sf_si_plus_default_design ul li h4.sfsi_plus_second_themedTitle{padding-bottom:16px !important;}
|
1527 |
-
.sfsi_plus_row_table{clear:both;}
|
1528 |
-
.sfsi_plus_first_icon_field, .sfsi_plus_second_icon_img{display:table-cell;vertical-align:middle;padding: 5px 0;}
|
1529 |
-
.sfsi_plus_first_icon_field{width:125px;}
|
1530 |
-
.sfsi_plus_first_icon_field h2{font-size:18px !important;color:#1a1d20 !important;margin:0 !important; font-weight: bold !important;}
|
1531 |
-
.sfsi_plus_first_icon_field p{color:#1a1d20 !important;font-size:12px !important;margin:0 !important;padding:0 !important; line-height: 18px !important;}
|
1532 |
-
.sfsi_plus_cool_font_weight h2{font-weight:normal !important;}
|
1533 |
-
.sf_si_plus_prmium_head span{font-weight:normal;}
|
1534 |
-
.sf_si_plus_prmium_head h2{font-size:26px;color:#000;font-weight:bold !important;padding-bottom:13px !important; margin-top: 0;}
|
1535 |
-
.sf_si_plus_our_prmium_plugin-add .sf_si_plus_prmium_head h2{padding-bottom:23px !important;}
|
1536 |
-
.sfsi_plus_premium_row{clear:both;}
|
1537 |
-
.sfsi_plus_prem_cmn_rowlisting{width:225px;float:left;margin-top: 10px;margin-bottom:1px;}
|
1538 |
-
.sfsi_plus_prem_cmn_rowlisting span{color: #1a1d20;font-size:20px;display:table-cell;vertical-align: middle;padding-right:10px;}
|
1539 |
-
.sfsi_mainContainer .sfsi_plus_prem_cmn_rowlisting img{width:52px;height:52px; vertical-align: middle;}
|
1540 |
-
.sfsi_plus_need_another_tell_us, .sfsi_plus_need_another_one_link{clear:both;}
|
1541 |
-
.sfsi_plus_need_another_one_link p{color: #c1c3c5;font-size: 18.9px !important;}
|
1542 |
-
.sfsi_plus_need_another_one_link p a{color:#12a252 !important; text-decoration: none;}
|
1543 |
-
.sfsi_plus_need_another_one_link{padding:23px 0 20px 5px; }
|
1544 |
-
.sf_si_plus_all_features_premium a, .sfsi_plus_need_another_tell_us a{color:#12a252 !important;font-size:18.9px;font-weight:bold;border-bottom: 1px solid #12a252;text-decoration: none;}
|
1545 |
-
.sfsi_plus_need_another_tell_us a{margin-left:5px;padding-top: 25px;}
|
1546 |
-
.sfsi_plus_new_prmium_follw {margin-top:20px; display: inline-block;padding:15px 75px 20px 24px;float: left;}
|
1547 |
-
.sfsi_plus_new_prmium_follw p{margin: 0 !important;}
|
1548 |
-
.sfsi_plus_new_prmium_follw p{color: #1a1d20 !important;font-size: 20px !important;font-family: helveticaregular !important;}
|
1549 |
-
.sfsi_plus_new_prmium_follw p a{color:#12a252 !important;border-bottom: 1px solid #12a252; text-decoration: none;}
|
1550 |
-
.sfsi_plus_new_prmium_follw p b{font-weight:bold;color:#1a1d20 !important;}
|
1551 |
-
p.sfsi_plus_prem_plu_desc a, p.sfsi_plus_prem_plu_desc_define a{text-decoration: none!important; color: #00a0d2 !important;}
|
1552 |
-
p.sfsi_plus_prem_plu_desc{ font-size:18px !important; }
|
1553 |
-
p.sfsi_plus_prem_plu_desc_define{ font-size:18px !important; border-left: 0px solid transparent !important;}
|
1554 |
-
.sfsi_plus_icons_prem_disc{ float:left; padding-top:20px; }
|
1555 |
-
.sfsi_plus_prem_show{padding-top:140px !important;}
|
1556 |
-
.sfsi_plus_first_icon_more h2{font-size:18px !important;color:#1a1d20 !important;margin:0 !important;padding-top:17px !important;padding-bottom:22px !important;}
|
1557 |
-
.sfsi_plus_fbpaget{float:left !important;padding: 4px 0 0 0px !important;width:100% !important;}
|
1558 |
-
.sfsi_plus_fbpaget .sfsi_plus_facebook_count{width: 100% !important;padding: 4px 0 0 0px !important;}
|
1559 |
-
.sfsi_plus_facebook_pagedeasc{ font-size: 14px!important; padding: 15px 0 0 60px ; width: 42%;float: right;line-height: 22px;color: #080808; }
|
1560 |
-
p.sfsi_plus_instagram_shared_premium,p.sfsi_plus_shared_premium {color: #1a1d20 !important;font-family: helveticaregular !important;padding-top:0 !important;}
|
1561 |
-
p.sfsi_plus_shared_premium a ,p.sfsi_plus_instagram_shared_premium a{text-decoration: none; color: #00a0d2 !important;}
|
1562 |
-
p.sfsi_plus_shared_premium b,p.sfsi_plus_instagram_shared_premium b{font-weight:bold;}
|
1563 |
-
p.sfsi_plus_instagram_shared_premium{float: right;width: 41%;line-height: 20px;color: #1f1d1d;font-size: 13px;}
|
1564 |
-
.sfsi_plus_fb_popup_contain{width:50%;display:inline-block;}
|
1565 |
-
.sfsi_plus_icons_align_other{width:auto; font-size: 15px !important;}
|
1566 |
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
.sfsi_plus_new_notification_body{width: 100%;background-color:#fff;display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: justify;-webkit-justify-content: space-between;-ms-flex-pack: justify;justify-content: space-between;}
|
1574 |
-
.sfsi_plus_new_notification_image{margin:0 20px 0px 20px;width: 100%;text-align: center;overflow: hidden;}
|
1575 |
-
.sfsi_plus_new_notification_image img{ width:auto;}
|
1576 |
-
.sfsi_plus_new_notification_learnmore{float:right;}
|
1577 |
-
.sfsi_plus_new_notification_learnmore {background-color: #00c853; display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;width: 150px; margin-bottom: -4px;margin-right: -4px; position: relative;color: #fff;padding: 70px 10px;}
|
1578 |
-
.sfsi_plus_new_notification_body_link a{display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;color: #fff;}
|
1579 |
-
/*Tab 4*/
|
1580 |
-
.tab4 .sfsi_plus_tokenGenerateButton { margin: 25px 0; }
|
1581 |
-
.tab4 .sfsi_plus_tokenGenerateButton p { display: inline-block; margin-bottom: 11px; vertical-align: middle;width: 100%; }
|
1582 |
-
.tab4 .sfsi_plus_tokenGenerateButton a { background-color: #12a252; color: #fff; padding: 10px 20px; text-decoration: none; }
|
1583 |
-
.tab4 .sfsi_plus_instagramInstruction { float: left; margin-bottom: 12px; width: 450px;}
|
1584 |
-
.tab4 .sfsi_plus_instagramInstruction ul { padding-left: 14px !important; }
|
1585 |
-
.tab4 .sfsi_plus_instagramInstruction ul li { font-size: 13px !important; line-height: 20px !important; list-style: outside none bullets !important;margin-top: 5px !important;padding: 0 !important;}
|
1586 |
-
.tab4 .sfsi_instagram_follower{width: 50%;float: left;}
|
1587 |
-
|
1588 |
-
/* tab2 emailsection */
|
1589 |
-
.sfsi_plus_service_row{margin-right: -15px;margin-left: -15px;}
|
1590 |
-
.sfsi_plus_service_column{float: left;margin-bottom: 40px;margin-top: 15px;padding-left: 30px;width: 47%;}
|
1591 |
-
.sfsi_plus_service_column ul{margin-left: 11% !important;}
|
1592 |
-
.sfsi_plus_service_column ul li{padding-bottom:10px;font-size:16px;line-height: 25px; }
|
1593 |
-
.sfsi_plus_service_column ul li span{color:#12a252;}
|
1594 |
-
.sfsi_plus_service_column ul li::before {content: url(../images/tick-icon.png); position: relative; top: 0px; right: 10px; text-indent: -22px; float: left; }
|
1595 |
-
.sfsi_plus_inputbtn{clear: both;display: block;}
|
1596 |
-
.sfsi_plus_inputbtn input{width: 100%; padding: 15px 0px; text-align: center; margin-bottom: 10px; }
|
1597 |
-
.sfsi_plus_email_services_text{clear: both;}
|
1598 |
-
.sfsi_plus_email_services_paragraph{ width: 600px; float: left; margin-top: 10px; margin-bottom:40px;}
|
1599 |
-
.sfsi_plus_more_services_link a{ background-color: #12a252;color: #fff !important; padding:20px 0px;text-decoration: none;text-align: center;font-size: 20px;display: block;clear: both; font-weight: bold;}
|
1600 |
-
.sfsi_plus_subscribe_popbox_link a{color: #00a0d2 !important;}
|
1601 |
-
.sfsi_plus_email_services_paragraph ul{margin-left: 11% !important;}
|
1602 |
-
.sfsi_plus_email_services_paragraph ul li{padding-bottom:10px;font-size:16px; }
|
1603 |
-
.sfsi_plus_email_services_paragraph ul li span{color:#12a252;}
|
1604 |
-
.sfsi_plus_email_services_paragraph ul li::before {content: url(../images/tick-icon.png); position: relative; top: 5px; right: 10px; text-indent: -22px; float: left; }
|
1605 |
-
.sfsi_plus_email_last_paragraph {width: 60%; text-align: center !important; margin: 20px auto ! important; font-size: 16px !important; color: #a4a9ad !important; padding-top: 0px!important; }
|
1606 |
-
.sfsi_plus_email_last_paragraph a{color:#12a252 !important;font-family: 'helveticaneue-light' !important;}
|
1607 |
-
.pop_up_box.sfsi_pop_up.sfsi_pop_box{padding: 25px 30px 0 !important;}
|
1608 |
-
#adminmenu #toplevel_page_sfsi-plus-options ul .wp-first-item{
|
1609 |
-
display: none;
|
1610 |
}
|
1611 |
-
ul#adminmenu li.toplevel_page_sfsi-plus-options ul.wp-submenu a.current, ul#adminmenu li.toplevel_page_sfsi-plus-options ul.wp-submenu a.current:hover{
|
1612 |
-
background: none !important;
|
1613 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1614 |
}
|
1615 |
-
/*new banner styles*/
|
1616 |
-
.sfsi_plus_new_notification_cat{width: 100%;min-height: 300px; max-width: 700px;}
|
1617 |
-
.sfsi_plus_new_notification_cat {background-color: #fff; margin: 30px auto;width: 100%;}
|
1618 |
-
.sfsi_plus_new_notification_header_cat {background-color: #e8faef;padding: 21px 0 21px 0;text-align: center;}
|
1619 |
-
.sfsi_plus_new_notification_header_cat h1 {margin: 0;color: #000000;font-size: 24px;margin: 0 auto !important;font-family: Arial, Helvetica, sans-serif;font-weight: bold !important;}
|
1620 |
-
.sfsi_plus_new_notification_header_cat h3{margin-top: 10px !important;font-size: 16px;color: #000000;}
|
1621 |
-
.sfsi_plus_new_notification_header_cat h3 a{text-decoration: none;color: #38B54A;}
|
1622 |
-
.sfsi_plus_new_notification_header_cat h1 a {margin: 0;color: #00c853;font-size: 18px;margin: 0 auto;font-family: Arial, Helvetica, sans-serif;text-decoration: none;}
|
1623 |
-
.sfsi_plus_new_notification_cross_cat {float: right;font-size: 18px;font-weight: 700;line-height: 1;color: #000000;font-family: Arial, Helvetica, sans-serif;margin-right: 15px;cursor: pointer;margin-top: -50px;}
|
1624 |
-
.sfsi_plus_new_notification_body_link_cat a {display: block;text-decoration: none;text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;color: #fff;}
|
1625 |
-
.sfsi_plus_new_notification_body_cat {width: 100%;background-color: #fff; }
|
1626 |
-
.sfsi_plus_new_notification_image_cat { width: 100%;text-align: center; overflow: hidden;}
|
1627 |
-
.sfsi_plus_new_notification_image_cat img {width: auto; border: 0;vertical-align: middle;}
|
1628 |
-
.sfsiplus_bottom_text{ background: #38B54A;text-align: center;padding: 15px 0px;font-size: 18px;font-weight: bold;color: #fff;}
|
1629 |
-
.sfsi_plus_new_notification_image_cat p{color: #000000;padding: 10px;font-size: 16px;}
|
1630 |
-
.sfsi_plus_new_notification_body_link_cat .sfsi_plus_tailored_icons_img{display: block;text-decoration: none; text-align: center;font-size: 20px;font-family: Arial, Helvetica, sans-serif;color: #fff;margin: 28px 0px;}
|
1631 |
-
|
1632 |
-
/**curl error box*/
|
1633 |
-
.sfsiplus_curlerror{margin: 0px 0px 10px 94px;background: rgba(244, 67, 54, 0.08);padding: 20px; line-height: 20px;}
|
1634 |
-
.sfsi_plus_versionNotification .sfsiplus_curlerror{background:rgba(244, 67, 54, 0.08);padding: 20px; line-height: 20px; margin: 0px 0px 10px 0px;}
|
1635 |
-
.sfsi_plus_curlerror_cross{float: right;text-decoration: underline;margin-top: 10px;}
|
1636 |
-
.sfsiplus_curlerrortab4 a{color: #0073aa !important;}
|
1637 |
-
.sfsiplus_curlerror a{color: #0073aa !important;}
|
1638 |
-
|
1639 |
-
.social_data_post_types{float: left;width: 100%;margin-top: 10px;}
|
1640 |
-
.social_data_post_types .checkbox{ float: left;margin-top: 5px; margin-right: 5px;}
|
1641 |
-
.social_data_post_types ul{ float: left; margin-top: 5px;}
|
1642 |
-
.social_data_post_types li {float: left; min-width: 90px;}
|
1643 |
-
.social_data_post_types .radio_section.tb_4_ck{ float: left; margin-right: 5px; }
|
1644 |
-
.social_data_post_types .radio_section.tb_4_ck .cstmdsplsub{font-size: 16px;}
|
1645 |
-
.social_data_post_types ul {float: left;width:84%;}
|
1646 |
-
.social_data_post_types .radio_section.tb_4_ck input.styled { margin-top:20px; }
|
1647 |
-
ul.sfsi_show_hide_section {float: right;width: 14%;}
|
1648 |
-
|
1649 |
-
.sfsi_social_sharing{margin-bottom: 15px;float: left;width: 51%;}
|
1650 |
-
.socialPostTypesUl span {pointer-events: none}
|
1651 |
-
.sfsiplus_pinterest_section .sfsi_plus_new_prmium_follw a{ font-weight: bold; }
|
1652 |
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
.support-container p{font-family: helveticaregular !important;}
|
1658 |
-
.support-container{ padding: 7px 4px;}
|
1659 |
-
.have-questions{text-align: center;font-size: 20px;}
|
1660 |
-
.have-questions img{width: 45px;display: inline-block;}
|
1661 |
-
.have-questions .have-quest{display: inline-block;font-size: 20px;font-weight: 700;margin: 0;vertical-align: top;margin-top: 13px;}
|
1662 |
-
.have-questions .ask-question{margin-bottom: 3px !important;margin-top: 2px !important;}
|
1663 |
-
.support-forum-green-bg{ margin-top: 5px;margin-left: 20px;background: #26B654;width: 145px;border-radius: 5px;padding: 10px 16px 8px 15px;}
|
1664 |
-
.support-forum-green-bg img{display: inline-block;padding-right: 5px;vertical-align: top;margin-top: 3px;}
|
1665 |
-
.support-forum-green-div p.support-forum{display: inline-block;color: #fff;font-weight: 700;margin: 0 !important;}
|
1666 |
-
.support-forum-green-div a{text-decoration: none !important;}
|
1667 |
-
.respond-text p{margin: 10px 0 0 0px !important}
|
1668 |
-
.respond-text {margin-left: 20px;float: left;margin-bottom: 8px;}
|
1669 |
-
#accordion, #accordion1 {float: left;clear: both;width: 100%;}
|
1670 |
-
|
1671 |
-
@media (min-width: 1631px) and (max-width: 1631px){
|
1672 |
-
.premiumComponent{width: 52% !important;}
|
1673 |
-
.premiumButtonsContainer{width: 44% !important;}
|
1674 |
-
.premiumButtonsContainer .premiumSection2{width: 41% !important;}
|
1675 |
-
.premiumButtonsContainer .premiumSection3{width: 41% !important;}
|
1676 |
}
|
1677 |
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
|
|
1681 |
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
.sfsi_plus_askforhelp span{ float: left;margin-left: 6px;margin-top: 8px;}
|
1687 |
-
.askhelpInview2 { bottom: 25px; }
|
1688 |
-
.askhelpInview3 { bottom: 51px; }
|
1689 |
-
.askhelpInview7 { bottom: 50px; }
|
1690 |
-
|
1691 |
-
.ulSuppressErrors {margin-top: 20px !important;}
|
1692 |
-
.ulSuppressErrors li {float: left;}
|
1693 |
-
div#sfsi_plus_addThis_removal_notice {padding: 10px;margin-left: 0px; position: relative;}
|
1694 |
-
div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
1695 |
-
|
1696 |
-
|
1697 |
-
.clear{clear: both;}
|
1698 |
-
.show{display: block;}
|
1699 |
-
.hide{display: none;}
|
1700 |
-
|
1701 |
-
.zeropadding{padding:0px !important;}
|
1702 |
-
.zerotoppadding{padding-top:0px !important;}
|
1703 |
-
.zerobottompadding{padding-bottom:0px !important;}
|
1704 |
-
.zerotopmargin{margin-top:0px !important;}
|
1705 |
-
|
1706 |
-
.rowpadding10{padding: 10px 0 !important; }
|
1707 |
-
.rowmarginleft15 {margin-left: 15px !important;}
|
1708 |
-
.rowmarginleft25 {margin-left: 25px !important;}
|
1709 |
-
.rowmarginleft45 {margin-left: 45px !important;}
|
1710 |
-
.bottommargin20 {margin-bottom: 20px !important;}
|
1711 |
-
.bottommargin30 {margin-bottom: 30px !important;}
|
1712 |
-
.bottommargin40 {margin-bottom: 40px !important;}
|
1713 |
-
.inactiveSection{opacity: 0.2;pointer-events: none;}
|
1714 |
|
1715 |
-
|
1716 |
-
.tab3 .sub_row{
|
1717 |
float: left;
|
1718 |
-
|
1719 |
-
width: 80%;
|
1720 |
}
|
1721 |
-
|
|
|
|
|
|
|
|
|
|
|
1722 |
float: left;
|
1723 |
-
|
1724 |
-
line-height: 36px;
|
1725 |
-
font-size: 18px;
|
1726 |
}
|
1727 |
-
|
1728 |
-
|
1729 |
width: 100%;
|
1730 |
-
margin-left: 45px;
|
1731 |
}
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
}
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
|
|
1741 |
}
|
1742 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1743 |
float: left;
|
1744 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1745 |
clear: both;
|
1746 |
}
|
1747 |
-
.tab3 #animationSection label {font-family: 'helveticaneue-light';}
|
1748 |
|
1749 |
-
.
|
1750 |
-
|
1751 |
-
padding: 0px 11px;
|
1752 |
-
margin-top: 4px;
|
1753 |
-
font-size: 15px;
|
1754 |
-
border-radius: 5px;
|
1755 |
}
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
font-size: 16px;
|
1760 |
}
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
|
|
|
|
|
|
1764 |
}
|
1765 |
-
|
1766 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1767 |
clear: both;
|
1768 |
-
line-height: 20px;
|
1769 |
}
|
1770 |
-
|
1771 |
-
|
|
|
|
|
|
|
|
|
1772 |
}
|
1773 |
-
|
1774 |
-
|
1775 |
-
width:
|
1776 |
-
height: 40px;
|
1777 |
}
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
font-
|
1784 |
-
text-decoration: underline;
|
1785 |
}
|
1786 |
-
|
1787 |
-
.
|
1788 |
-
|
|
|
|
|
|
|
|
|
1789 |
}
|
1790 |
|
|
|
|
|
|
|
1791 |
|
1792 |
-
|
1793 |
-
|
1794 |
}
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1798 |
}
|
1799 |
-
|
|
|
|
|
1800 |
float: left;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1801 |
color: #12a252 !important;
|
1802 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1803 |
margin-left: 5px;
|
1804 |
-
|
1805 |
}
|
1806 |
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
margin-left: 25px;
|
1813 |
-
margin-bottom: 0px;
|
1814 |
-
clear: both;
|
1815 |
-
}
|
1816 |
-
.tab3 .sub_row .effectName{
|
1817 |
-
width: 100%;
|
1818 |
-
margin-bottom: 25px
|
1819 |
-
}
|
1820 |
-
.rowmarginleft45{
|
1821 |
-
margin-left: 0px !important;
|
1822 |
-
}
|
1823 |
-
.bottommargin40{
|
1824 |
-
margin-bottom:0px !important;
|
1825 |
-
}
|
1826 |
}
|
1827 |
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1840 |
}
|
1841 |
-
|
1842 |
-
|
|
|
1843 |
}
|
1844 |
-
.bottommargin40{
|
1845 |
-
margin-bottom:0px !important;
|
1846 |
-
}
|
1847 |
-
}
|
1848 |
|
1849 |
-
|
|
|
|
|
1850 |
|
1851 |
-
|
|
|
|
|
1852 |
|
1853 |
-
|
1854 |
-
|
1855 |
-
width:40%;
|
1856 |
}
|
1857 |
-
.tab3 .sub_row label{
|
1858 |
-
width: 75%;
|
1859 |
-
}
|
1860 |
-
}
|
1861 |
|
1862 |
-
|
1863 |
-
|
1864 |
-
width: 100%;
|
1865 |
}
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
}
|
1870 |
-
.tab3 .sub_row .effectName{
|
1871 |
-
width: 50%;
|
1872 |
}
|
1873 |
-
.tab3 .sub_row label{
|
1874 |
-
width: 77%;
|
1875 |
-
}
|
1876 |
-
}
|
1877 |
|
1878 |
-
|
|
|
|
|
1879 |
|
1880 |
-
.col-lg-
|
1881 |
-
|
1882 |
-
|
1883 |
-
padding-right: 15px;
|
1884 |
-
padding-left: 15px;
|
1885 |
}
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
border-top-right-radius:30px;
|
1898 |
-
padding:10px;
|
1899 |
border: 3px solid #ddd;
|
1900 |
border-bottom: 0;
|
1901 |
}
|
1902 |
-
|
1903 |
-
|
1904 |
-
font-
|
1905 |
-
|
|
|
1906 |
}
|
1907 |
-
|
1908 |
-
|
1909 |
-
font-
|
1910 |
-
|
|
|
1911 |
}
|
1912 |
-
|
|
|
1913 |
/*width:100%;*/
|
1914 |
-
padding:0 15px;
|
1915 |
|
1916 |
}
|
|
|
1917 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link {
|
1918 |
float: left;
|
1919 |
width: 50%;
|
@@ -1921,12 +4309,15 @@ div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
|
1921 |
background: #eee;
|
1922 |
border-bottom: 5px solid #24497B;
|
1923 |
}
|
|
|
1924 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link:first-child {
|
1925 |
-
border-top-left-radius:8px;
|
1926 |
}
|
|
|
1927 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link:last-child {
|
1928 |
-
border-top-right-radius:8px;
|
1929 |
}
|
|
|
1930 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link p {
|
1931 |
background: #eee;
|
1932 |
padding: 5px 0;
|
@@ -1934,74 +4325,91 @@ div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
|
1934 |
border-top-left-radius: 10px;
|
1935 |
border-top-right-radius: 10px;
|
1936 |
font-size: 25px;
|
1937 |
-
cursor:pointer;
|
1938 |
-
line-height:1;
|
1939 |
}
|
|
|
1940 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link p span {
|
1941 |
font-size: 15px;
|
1942 |
}
|
|
|
1943 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link.active p {
|
1944 |
background: #24497B;
|
1945 |
color: #fff;
|
1946 |
}
|
|
|
1947 |
#sfsi_plus_jivo_offline_chat .tabs {
|
1948 |
/*background: #dbeef4;*/
|
1949 |
background: #ddd;
|
1950 |
margin: -6px 15px 0 15px;
|
1951 |
-
min-height:250px;
|
1952 |
}
|
|
|
1953 |
#sfsi_plus_jivo_offline_chat #sfsi_technical {
|
1954 |
-
padding:50px;
|
1955 |
}
|
1956 |
-
|
1957 |
-
|
|
|
1958 |
}
|
|
|
1959 |
#sfsi_plus_jivo_offline_chat .tabs .support-forum-green-div a {
|
1960 |
-
padding:20px 26px 18px 25px;
|
1961 |
-
width:245px;
|
1962 |
-
margin:0;
|
1963 |
}
|
|
|
1964 |
#sfsi_plus_jivo_offline_chat .tabs .support-forum-green-div a img {
|
1965 |
-
margin-top:11px;
|
1966 |
}
|
|
|
1967 |
#sfsi_plus_jivo_offline_chat .tabs #sfsi_technical p {
|
1968 |
-
font-size:20px;
|
1969 |
-
padding-top:5px;
|
1970 |
-
margin:0;
|
1971 |
}
|
1972 |
-
|
1973 |
-
|
|
|
1974 |
}
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
|
|
1980 |
}
|
1981 |
-
|
1982 |
-
|
|
|
1983 |
}
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
|
|
1987 |
font-weight: 900;
|
1988 |
-
padding-bottom:5px;
|
1989 |
}
|
1990 |
|
1991 |
-
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales input
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
|
|
1995 |
box-shadow: 0 0 5px 0 #888;
|
1996 |
}
|
1997 |
-
|
1998 |
-
|
|
|
1999 |
}
|
2000 |
-
|
2001 |
-
|
|
|
2002 |
resize: none;
|
2003 |
}
|
2004 |
-
|
|
|
|
|
2005 |
border: 0;
|
2006 |
background: #079345;
|
2007 |
color: #fff;
|
@@ -2009,147 +4417,215 @@ div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
|
2009 |
width: 100%;
|
2010 |
font-size: 16px;
|
2011 |
border-radius: 4px;
|
2012 |
-
cursor:pointer;
|
2013 |
box-shadow: none;
|
2014 |
}
|
2015 |
-
|
2016 |
-
|
|
|
2017 |
}
|
2018 |
-
|
2019 |
-
|
|
|
2020 |
}
|
2021 |
-
|
2022 |
-
|
2023 |
-
font-
|
|
|
2024 |
}
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
|
|
2029 |
}
|
|
|
2030 |
#sfsi_plus_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
|
2031 |
-
font-size: 13px!important;
|
2032 |
font-weight: 900;
|
2033 |
float: right;
|
2034 |
text-align: right;
|
2035 |
-
margin-top: -40px!important;
|
2036 |
}
|
2037 |
-
|
|
|
2038 |
background-image: url('images/select-arrow.png');
|
2039 |
-
width:15px;
|
2040 |
-
height:9px;
|
2041 |
-
display:inline-block;
|
2042 |
-webkit-transform: rotate(90deg);
|
2043 |
-moz-transform: rotate(90deg);
|
2044 |
-ms-transform: rotate(90deg);
|
2045 |
-o-transform: rotate(90deg);
|
2046 |
transform: rotate(90deg);
|
2047 |
}
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
|
|
2051 |
}
|
2052 |
}
|
2053 |
|
2054 |
/* MZ CSS */
|
2055 |
|
2056 |
-
.sfsiLabel{
|
2057 |
float: left;
|
2058 |
-
margin-top: -29px;
|
2059 |
margin-left: 37px;
|
2060 |
color: #5a6570;
|
2061 |
text-align: left;
|
2062 |
font-family: 'helveticaneue-light';
|
2063 |
font-size: 17px;
|
2064 |
line-height: 26px;
|
2065 |
-
min-width: 200px;
|
2066 |
}
|
2067 |
-
|
|
|
2068 |
float: left;
|
2069 |
-
margin-top: 32px;
|
2070 |
margin-left: 100px;
|
2071 |
color: #5a6570;
|
2072 |
text-align: left;
|
2073 |
font-family: 'helveticaneue-light';
|
2074 |
font-size: 17px;
|
2075 |
line-height: 26px;
|
2076 |
-
min-width: 200px;
|
2077 |
}
|
2078 |
-
|
|
|
2079 |
margin-left: 89px;
|
2080 |
-
margin-bottom: 32px;
|
2081 |
float: left;
|
2082 |
-
margin-top: -13px;
|
2083 |
-
|
2084 |
color: #5a6570;
|
2085 |
text-align: left;
|
2086 |
font-family: 'helveticaneue-light';
|
2087 |
font-size: 17px;
|
2088 |
line-height: 26px;
|
2089 |
-
min-width: 200px;
|
2090 |
-
}
|
2091 |
-
|
2092 |
-
|
2093 |
-
|
2094 |
-
|
2095 |
-
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
background
|
2100 |
-
}
|
2101 |
-
|
2102 |
-
|
2103 |
-
background: url('../images/icons_theme/
|
2104 |
-
|
2105 |
-
|
2106 |
-
|
2107 |
-
|
2108 |
-
|
2109 |
-
background
|
2110 |
-
}
|
2111 |
-
|
2112 |
-
|
2113 |
-
background: url('../images/icons_theme/
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
background
|
2120 |
-
}
|
2121 |
-
|
2122 |
-
|
2123 |
-
background: url('../images/icons_theme/
|
2124 |
-
|
2125 |
-
|
2126 |
-
|
2127 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2128 |
font-family: inherit !important;
|
2129 |
border: 0 !important;
|
2130 |
font-weight: normal !important;
|
2131 |
}
|
2132 |
|
2133 |
-
.sfisi_plus_font_bold{
|
2134 |
-
|
|
|
|
|
|
|
|
|
2135 |
}
|
2136 |
-
|
2137 |
-
|
|
|
2138 |
}
|
2139 |
-
|
2140 |
-
|
|
|
|
|
|
|
|
|
|
|
2141 |
}
|
2142 |
-
|
2143 |
-
|
2144 |
-
}
|
2145 |
-
.pop-up{
|
2146 |
font-weight: bold;
|
2147 |
}
|
2148 |
|
2149 |
.sfsi_plus_quickpay-overlay a {
|
2150 |
-
display: inline!important;
|
2151 |
-
font-size: inherit!important;
|
2152 |
-
text-decoration: underline!important;
|
2153 |
font-weight: 900;
|
2154 |
color: #666;
|
2155 |
}
|
@@ -2159,7 +4635,7 @@ div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
|
2159 |
display: inline-block;
|
2160 |
}
|
2161 |
|
2162 |
-
.sfsi_plus_col_6
|
2163 |
padding: 18px 30px !important;
|
2164 |
margin: 20px 0 0 0;
|
2165 |
border: 1px solid #999;
|
@@ -2167,6 +4643,303 @@ div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
|
2167 |
float: none;
|
2168 |
}
|
2169 |
|
2170 |
-
.sfsi_plus_col_6
|
2171 |
-
background-image: radial-gradient(circle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2172 |
}
|
1 |
@charset "utf-8";
|
2 |
+
|
3 |
+
@font-face {
|
4 |
font-family: helveticabold;
|
5 |
src: url(fonts/helvetica_bold_0-webfont.eot);
|
6 |
src: url(fonts/helvetica_bold_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_bold_0-webfont.woff) format('woff'), url(fonts/helvetica_bold_0-webfont.ttf) format('truetype'), url(fonts/helvetica_bold_0-webfont.svg#helveticabold) format('svg');
|
7 |
font-weight: 400;
|
8 |
font-style: normal;
|
9 |
}
|
10 |
+
|
11 |
@font-face {
|
12 |
font-family: helveticaregular;
|
13 |
src: url(fonts/helvetica_0-webfont.eot);
|
15 |
font-weight: 400;
|
16 |
font-style: normal;
|
17 |
}
|
18 |
+
|
19 |
@font-face {
|
20 |
font-family: helveticaneue-light;
|
21 |
src: url(fonts/helveticaneue-light.eot);
|
22 |
src: url(fonts/helveticaneue-light.eot?#iefix) format('embedded-opentype'),
|
23 |
+
url(fonts/helveticaneue-light.woff) format('woff'),
|
24 |
+
url(fonts/helveticaneue-light.ttf) format('truetype'),
|
25 |
+
url(fonts/helveticaneue-light.svg#helveticaneue-light) format('svg');
|
26 |
font-weight: 400;
|
27 |
font-style: normal;
|
28 |
}
|
29 |
+
|
30 |
body {
|
31 |
margin: 0;
|
32 |
padding: 0;
|
33 |
}
|
34 |
+
|
35 |
/*Tab 1*/
|
36 |
+
.tab1 ul.plus_icn_listing li .custom,
|
37 |
+
.tab1 ul.plus_icn_listing li .sfsicls_email,
|
38 |
+
.tab1 ul.plus_icn_listing li .sfsicls_facebook,
|
39 |
+
.tab1 ul.plus_icn_listing li .sfsicls_ggle_pls,
|
40 |
+
.tab1 ul.plus_icn_listing li .sfsicls_instagram,
|
41 |
+
.tab1 ul.plus_icn_listing li .sfsicls_telegram,
|
42 |
+
.tab1 ul.plus_icn_listing li .sfsicls_ok,
|
43 |
+
.tab1 ul.plus_icn_listing li .sfsicls_vk,
|
44 |
+
.tab1 ul.plus_icn_listing li .sfsicls_weibo,
|
45 |
+
.tab1 ul.plus_icn_listing li .sfsicls_houzz,
|
46 |
+
.tab1 ul.plus_icn_listing li .sfsicls_linkdin,
|
47 |
+
.tab1 ul.plus_icn_listing li .sfsicls_pinterest,
|
48 |
+
.tab1 ul.plus_icn_listing li .sfsicls_rs_s,
|
49 |
+
.tab1 ul.plus_icn_listing li .sfsicls_share,
|
50 |
+
.tab1 ul.plus_icn_listing li .sfsicls_twt,
|
51 |
+
.tab1 ul.plus_icn_listing li .sfsicls_utube,
|
52 |
+
.tab1 ul.plus_icn_listing li .sfsicls_wechat {
|
53 |
background: url(../images/tab_1_icn_list.png) no-repeat;
|
54 |
float: left;
|
55 |
padding: 0 0 0 59px;
|
59 |
font-family: helveticaregular;
|
60 |
font-size: 22px;
|
61 |
}
|
62 |
+
|
63 |
+
.tab1 ul.plus_icn_listing li .sfsicls_wechat,
|
64 |
+
.tab1 ul.sfsi_plus_mobile_icon_listing li .sfsicls_wechat {
|
65 |
background-image: url('../images/icons_theme/default/default_wechat.png');
|
66 |
-webkit-background-size: contain;
|
67 |
-moz-background-size: contain;
|
68 |
-o-background-size: contain;
|
69 |
background-size: contain;
|
70 |
}
|
71 |
+
|
72 |
+
.tab2 .row h2.sfsicls_wechat {
|
73 |
background-image: url('../images/icons_theme/default/default_wechat.png');
|
74 |
}
|
75 |
+
|
76 |
.tab1 ul.plus_icn_listing li .sfsicls_rs_s {
|
77 |
background-position: 0 0;
|
78 |
color: #f7941d;
|
79 |
}
|
80 |
+
|
81 |
.tab1 ul.plus_icn_listing li .sfsicls_email {
|
82 |
background-position: 0 -73px;
|
83 |
color: #d1c800;
|
84 |
}
|
85 |
+
|
86 |
.tab1 ul.plus_icn_listing li .sfsicls_facebook {
|
87 |
background-position: 0 -145px;
|
88 |
color: #004088;
|
89 |
}
|
90 |
+
|
91 |
.tab1 ul.plus_icn_listing li .sfsicls_twt {
|
92 |
background-position: 0 -221px;
|
93 |
color: #00abe3;
|
94 |
}
|
95 |
+
|
96 |
.tab1 ul.plus_icn_listing li .sfsicls_ggle_pls {
|
97 |
background-position: 0 -295px;
|
98 |
color: #444749;
|
99 |
}
|
100 |
+
|
101 |
.tab1 ul.plus_icn_listing li .sfsicls_share {
|
102 |
background-position: 0 -372px;
|
103 |
color: #ef4746;
|
104 |
}
|
105 |
+
|
106 |
.tab1 ul.plus_icn_listing li .sfsicls_utube {
|
107 |
background-position: 0 -448px;
|
108 |
color: #f07963;
|
109 |
}
|
110 |
+
|
111 |
.tab1 ul.plus_icn_listing li .sfsicls_linkdin {
|
112 |
background-position: 0 -548px;
|
113 |
color: #1e88c9;
|
114 |
}
|
115 |
+
|
116 |
.tab1 ul.plus_icn_listing li .sfsicls_pinterest {
|
117 |
background-position: 0 -623px;
|
118 |
color: #f15f5d;
|
119 |
}
|
120 |
+
|
121 |
.tab1 ul.plus_icn_listing li .sfsicls_instagram {
|
122 |
background-position: 0 -781px;
|
123 |
color: #369;
|
124 |
}
|
125 |
+
|
126 |
.tab1 ul.plus_icn_listing li .sfsicls_telegram {
|
127 |
background-position: 0 -1889px;
|
128 |
color: #369;
|
129 |
}
|
130 |
+
|
131 |
.tab1 ul.plus_icn_listing li .sfsicls_vk {
|
132 |
background-position: 0 -1968px;
|
133 |
color: #369;
|
134 |
}
|
135 |
+
|
136 |
.tab1 ul.plus_icn_listing li .sfsicls_ok {
|
137 |
background-position: 0 -1810px;
|
138 |
color: #369;
|
139 |
}
|
140 |
+
|
141 |
+
.sfsicls_wechat {
|
142 |
background-image: url('../images/icons_theme/default/default_wechat.png');
|
143 |
-webkit-background-size: contain;
|
144 |
-moz-background-size: contain;
|
145 |
-o-background-size: contain;
|
146 |
background-size: contain;
|
147 |
}
|
148 |
+
|
149 |
.tab1 ul.plus_icn_listing li .sfsicls_weibo {
|
150 |
background-position: 0 -2046px;
|
151 |
color: #369;
|
152 |
}
|
153 |
+
|
154 |
.tab1 ul.sfsi_premium_mobile_icon_listing li .sfsicls_ok {
|
155 |
background-position: 0 -1810px;
|
156 |
color: #369;
|
160 |
background-position: 0 -939px;
|
161 |
color: #369;
|
162 |
}
|
163 |
+
|
164 |
.tab1 ul.plus_icn_listing li .custom {
|
165 |
background-position: 0 -702px;
|
166 |
color: #5a6570;
|
167 |
}
|
168 |
+
|
169 |
.tab1 ul.plus_icn_listing li .sfsiplus_right_info {
|
170 |
width: 70%;
|
171 |
float: right;
|
172 |
font-family: helveticaregular;
|
173 |
margin-right: 13px;
|
174 |
}
|
175 |
+
|
176 |
ul.plus_icn_listing li .sfsiplus_right_info a {
|
177 |
text-decoration: underline;
|
178 |
color: #a4a9ad;
|
179 |
font-size: 16px;
|
180 |
}
|
181 |
+
|
182 |
ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
183 |
text-decoration: underline;
|
184 |
color: #a4a9ad;
|
185 |
font-size: 20px;
|
186 |
}
|
187 |
+
|
188 |
.tab1 .tab_2_sav {
|
189 |
padding-top: 30px;
|
190 |
}
|
191 |
+
|
192 |
/*Tab 2*/
|
193 |
+
.tab2 .row h2.sfsicls_email,
|
194 |
+
.tab2 .row h2.sfsicls_facebook,
|
195 |
+
.tab2 .row h2.sfsicls_ggle_pls,
|
196 |
+
.tab2 .row h2.sfsicls_instagram,
|
197 |
+
.tab2 .row h2.sfsicls_houzz,
|
198 |
+
.tab2 .row h2.sfsicls_linkdin,
|
199 |
+
.tab2 .row h2.sfsicls_pinterest,
|
200 |
+
.tab2 .row h2.sfsicls_rs_s,
|
201 |
+
.tab2 .row h2.sfsicls_share,
|
202 |
+
.tab2 .row h2.sfsicls_twt,
|
203 |
+
.tab2 .row h2.sfsicls_utube,
|
204 |
+
.tab2 .row h2.sfsicls_snapchat,
|
205 |
+
.tab2 .row h2.sfsicls_whatsapp,
|
206 |
+
.tab2 .row h2.sfsicls_skype,
|
207 |
+
.tab2 .row h2.sfsicls_vimeo,
|
208 |
+
.tab2 .row h2.sfsicls_soundcloud,
|
209 |
+
.tab2 .row h2.sfsicls_yummly,
|
210 |
+
.tab2 .row h2.sfsicls_flickr,
|
211 |
+
.tab2 .row h2.sfsicls_reddit,
|
212 |
+
.tab2 .row h2.sfsicls_tumblr,
|
213 |
.tab2 .row h2.sfsicls_fbmessenger,
|
214 |
.tab2 .row h2.sfsicls_mix,
|
215 |
.tab2 .row h2.sfsicls_ok,
|
217 |
.tab2 .row h2.sfsicls_vk,
|
218 |
.tab2 .row h2.sfsicls_weibo,
|
219 |
.tab2 .row h2.sfsicls_wechat,
|
220 |
+
.tab2 .row h2.sfsicls_xing {
|
|
|
221 |
background: url(../images/tab_1_icn_list.png) no-repeat;
|
222 |
padding: 10px 0 0 70px;
|
223 |
margin: 15px 0 7px 21px;
|
225 |
line-height: 51px;
|
226 |
font-family: helveticaregular;
|
227 |
font-size: 22px;
|
228 |
+
|
229 |
+
}
|
230 |
+
|
231 |
+
.tab2 .row h2.sfsicls_rs_s {
|
232 |
+
background-position: 0 0;
|
233 |
+
color: #f7941d;
|
234 |
+
}
|
235 |
+
|
236 |
+
.tab2 .row h2.sfsicls_email {
|
237 |
+
background-position: 0 -71px;
|
238 |
+
color: #d1c800;
|
239 |
+
}
|
240 |
+
|
241 |
+
.tab2 .row h2.sfsicls_facebook {
|
242 |
+
background-position: 0 -145px;
|
243 |
+
color: #004088;
|
244 |
+
}
|
245 |
+
|
246 |
+
.tab2 .row h2.sfsicls_twt {
|
247 |
+
background-position: 0 -221px;
|
248 |
+
color: #00abe3;
|
249 |
+
}
|
250 |
+
|
251 |
+
.tab2 .row h2.sfsicls_ggle_pls {
|
252 |
+
background-position: 0 -295px;
|
253 |
+
color: #444749;
|
254 |
+
}
|
255 |
+
|
256 |
+
.tab2 .row h2.sfsicls_share {
|
257 |
+
background-position: 0 -372px;
|
258 |
+
color: #ef4746;
|
259 |
+
}
|
260 |
+
|
261 |
+
.tab2 .row h2.sfsicls_utube {
|
262 |
+
background-position: 0 -448px;
|
263 |
+
color: #f07963;
|
264 |
+
}
|
265 |
+
|
266 |
+
.tab2 .row h2.sfsicls_linkdin {
|
267 |
+
background-position: 0 -548px;
|
268 |
+
color: #1e88c9;
|
269 |
+
}
|
270 |
+
|
271 |
+
.tab2 .row h2.sfsicls_pinterest {
|
272 |
+
background-position: 0 -623px;
|
273 |
+
color: #f15f5d;
|
274 |
+
}
|
275 |
+
|
276 |
+
.tab2 .row h2.sfsicls_instagram {
|
277 |
+
background-position: 0 -781px;
|
278 |
+
color: #369;
|
279 |
+
}
|
280 |
+
|
281 |
+
.tab2 .row h2.sfsicls_houzz {
|
282 |
+
background-position: 0 -939px;
|
283 |
+
color: #7BC043;
|
284 |
+
}
|
285 |
+
|
286 |
+
.tab2 .row h2.sfsicls_snapchat {
|
287 |
+
background-position: 0 -1019px;
|
288 |
+
color: #369;
|
289 |
+
}
|
290 |
+
|
291 |
+
.tab2 .row h2.sfsicls_whatsapp {
|
292 |
+
background-position: 0 -1099px;
|
293 |
+
color: #369;
|
294 |
+
}
|
295 |
+
|
296 |
+
.tab2 .row h2.sfsicls_skype {
|
297 |
+
background-position: 0 -1179px;
|
298 |
+
color: #369;
|
299 |
+
}
|
300 |
+
|
301 |
+
.tab2 .row h2.sfsicls_vimeo {
|
302 |
+
background-position: 0 -1257px;
|
303 |
+
color: #369;
|
304 |
+
}
|
305 |
+
|
306 |
+
.tab2 .row h2.sfsicls_soundcloud {
|
307 |
+
background-position: 0 -1336px;
|
308 |
+
color: #369;
|
309 |
+
}
|
310 |
+
|
311 |
+
.tab2 .row h2.sfsicls_yummly {
|
312 |
+
background-position: 0 -1415px;
|
313 |
+
color: #369;
|
314 |
+
}
|
315 |
+
|
316 |
+
.tab2 .row h2.sfsicls_flickr {
|
317 |
+
background-position: 0 -1494px;
|
318 |
+
color: #369;
|
319 |
+
}
|
320 |
+
|
321 |
+
.tab2 .row h2.sfsicls_reddit {
|
322 |
+
background-position: 0 -1573px;
|
323 |
+
color: #369;
|
324 |
+
}
|
325 |
+
|
326 |
+
.tab2 .row h2.sfsicls_tumblr {
|
327 |
+
background-position: 0 -1653px;
|
328 |
+
color: #369;
|
329 |
+
}
|
330 |
+
|
331 |
+
.tab2 .row h2.sfsicls_fbmessenger {
|
332 |
+
background-position: 0 -2206px;
|
333 |
+
}
|
334 |
+
|
335 |
+
.tab2 .row h2.sfsicls_mix {
|
336 |
+
background-position: 0 -1732px;
|
337 |
+
}
|
338 |
+
|
339 |
+
.tab2 .row h2.sfsicls_ok {
|
340 |
+
background-position: 0 -1810px;
|
341 |
+
;
|
342 |
+
color: #DC752B;
|
343 |
+
}
|
344 |
+
|
345 |
+
.tab2 .row h2.sfsicls_telegram {
|
346 |
+
background-position: 0 -1889px;
|
347 |
+
color: #2E91BC;
|
348 |
+
}
|
349 |
+
|
350 |
+
.tab2 .row h2.sfsicls_vk {
|
351 |
+
background-position: 0 -1968px;
|
352 |
+
color: #4E77A2;
|
353 |
+
}
|
354 |
+
|
355 |
+
.tab2 .row h2.sfsicls_wechat {
|
356 |
+
background-position: 0 -2126px;
|
357 |
+
color: #56AD33;
|
358 |
+
}
|
359 |
+
|
360 |
+
.tab2 .row h2.sfsicls_weibo {
|
361 |
+
background-position: 0 -2046px;
|
362 |
+
color: #B93524;
|
363 |
+
}
|
364 |
+
|
365 |
+
.tab2 .row h2.sfsicls_xing {
|
366 |
+
background-position: 0 -2127px;
|
367 |
+
}
|
368 |
+
|
369 |
+
.tab2 .inr_cont {
|
370 |
margin: 0 0 0px 94px;
|
371 |
+
}
|
372 |
+
|
373 |
/*replace*/
|
374 |
|
375 |
+
.tab2 .radio_section.fb_url.cus_link.instagram_space>ul {
|
376 |
float: left;
|
377 |
margin: 0 !important;
|
378 |
width: 100%;
|
379 |
}
|
380 |
+
|
381 |
.tab2 .radio_section.fb_url.cus_link.instagram_space ul li {
|
382 |
float: left;
|
383 |
margin: 10px 0 20px;
|
384 |
width: 100%;
|
385 |
}
|
386 |
+
|
387 |
.tab2 .sfsi_plus_pageurl_type {
|
388 |
display: inline-block;
|
389 |
float: none !important;
|
390 |
vertical-align: middle;
|
391 |
width: 100%;
|
392 |
}
|
393 |
+
|
394 |
.tab2 .sfsi_plus_pageurl_type .radio {
|
395 |
display: inline-block;
|
396 |
float: none !important;
|
397 |
vertical-align: middle;
|
398 |
}
|
399 |
+
|
400 |
+
.tab2 .sfsi_plus_pageurl_type>label {
|
401 |
float: none !important;
|
402 |
width: auto !important;
|
403 |
}
|
404 |
+
|
405 |
+
.tab2 .sfsi_plus_whatsapp_share_page_container {
|
406 |
+
margin-left: 170px;
|
407 |
}
|
408 |
+
|
409 |
.tab2 .sfsi_plus_whatsapp_share_page_container label {
|
410 |
float: left !important;
|
411 |
font-family: "helveticaneue-light";
|
413 |
margin: 6px 0 0 19px !important;
|
414 |
width: 100% !important;
|
415 |
}
|
416 |
+
|
417 |
.tab2 .sfsi_plus_email_icons_content {
|
418 |
display: inline-block;
|
419 |
float: none;
|
421 |
vertical-align: top;
|
422 |
width: 85%;
|
423 |
}
|
424 |
+
|
425 |
.tab2 .sfsi_plus_email_icons_content textarea.add_txt {
|
426 |
margin: 0 !important;
|
427 |
}
|
428 |
+
|
429 |
+
.tab2 .sfsi_plus_email_icons_content p {
|
430 |
width: 100%;
|
431 |
}
|
432 |
|
437 |
background: url(../images/sf_arow_icn.png) no-repeat;
|
438 |
margin: 0 0px 0 6px;
|
439 |
}
|
440 |
+
|
441 |
ul.tab_2_email_sec .email_icn {
|
442 |
background: url(../images/tab_1_icn_list.png) 0 -71px no-repeat;
|
443 |
width: 60px;
|
445 |
float: left;
|
446 |
margin: 0 0 0 5px;
|
447 |
}
|
448 |
+
|
449 |
ul.tab_2_email_sec .subscribe_icn {
|
450 |
background: url(../images/tab_1_icn_list.png) 0 -860px no-repeat;
|
451 |
width: 60px;
|
453 |
float: left;
|
454 |
margin: 0 0 0 5px;
|
455 |
}
|
456 |
+
|
457 |
ul.tab_2_email_sec li .radio {
|
458 |
float: left;
|
459 |
margin: 8px 0 0;
|
460 |
}
|
461 |
+
|
462 |
.row ul.tab_2_email_sec li label {
|
463 |
margin: 13px 0 0 7px;
|
464 |
font-size: 16px;
|
465 |
float: left;
|
466 |
+
width: 160px;
|
467 |
}
|
468 |
+
|
469 |
+
.row ul.tab_2_email_sec li label span {
|
470 |
+
font-size: 15px;
|
471 |
+
color: #808080;
|
472 |
+
width: 100%;
|
473 |
+
float: left;
|
474 |
}
|
475 |
+
|
476 |
.tab2 .sfsi_plus_whatsapp_number_container {
|
477 |
display: inline-block;
|
478 |
vertical-align: middle;
|
479 |
width: auto;
|
480 |
}
|
481 |
+
|
482 |
.tab2 .sfsi_plus_whatsapp_number_container label {
|
483 |
font-family: "helveticaneue-light";
|
484 |
font-size: 16px !important;
|
485 |
margin: 0 0 0 20px !important;
|
486 |
width: 100% !important;
|
487 |
+
float: left !important;
|
488 |
}
|
489 |
+
|
490 |
+
.tab2 .radio_section.fb_url.twt_fld_2 p {
|
491 |
+
width: 60%;
|
492 |
+
float: left;
|
493 |
+
margin-left: 237px;
|
494 |
}
|
495 |
+
|
496 |
+
.tab2 ul.sfsi_plus_email_functions_container,
|
497 |
+
.tab2 ul.sfsi_plus_email_functions_container li {
|
498 |
+
width: 100%;
|
499 |
+
float: left;
|
500 |
}
|
501 |
+
|
502 |
+
.tab2 ul.sfsi_plus_email_functions_container {
|
503 |
+
margin: 12px 0 18px 0;
|
504 |
}
|
505 |
+
|
506 |
+
.tab2 ul.sfsi_plus_email_functions_container li {
|
507 |
+
margin-bottom: 10px;
|
508 |
}
|
509 |
+
|
510 |
+
.tab2 ul.sfsi_plus_email_functions_container li .sfsiplusicnsdvwrp,
|
511 |
+
.tab2 ul.sfsi_plus_email_functions_container li p {
|
512 |
+
width: auto;
|
513 |
+
float: left;
|
514 |
}
|
515 |
+
|
516 |
+
.tab2 ul.sfsi_plus_email_functions_container li .sfsiplusicnsdvwrp {
|
517 |
+
margin-right: 10px;
|
518 |
}
|
519 |
+
|
520 |
+
.tab2 ul.sfsi_plus_email_functions_container li p {
|
521 |
+
width: 90% !important;
|
522 |
+
padding-top: 5px !important;
|
523 |
}
|
524 |
+
|
525 |
.tab2 ul.sfsi_plus_email_functions_container li .sfsi_plus_field {
|
526 |
width: 100%;
|
527 |
float: left;
|
528 |
margin: 10px 10px 10px 50px;
|
529 |
}
|
530 |
+
|
531 |
+
.tab2 ul.sfsi_plus_email_functions_container li .sfsi_plus_field label,
|
532 |
+
.tab2 ul.sfsi_plus_email_functions_container li .sfsi_plus_field input {
|
533 |
width: 110px;
|
534 |
float: none;
|
535 |
+
display: inline-block;
|
536 |
+
vertical-align: middle;
|
537 |
}
|
538 |
+
|
539 |
+
.tab2 ul.sfsi_plus_email_functions_container li .sfsi_plus_field input {
|
540 |
width: 380px;
|
541 |
padding: 10px;
|
542 |
}
|
543 |
+
|
544 |
/*Tab 3*/
|
545 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_1,
|
546 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_10,
|
547 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_11,
|
548 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_2,
|
549 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_3,
|
550 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_4,
|
551 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_5,
|
552 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_6,
|
553 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_7,
|
554 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_8,
|
555 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_9,
|
556 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_1,
|
557 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_10,
|
558 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_11,
|
559 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_2,
|
560 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_3,
|
561 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_4,
|
562 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_5,
|
563 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_6,
|
564 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_7,
|
565 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_8,
|
566 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_9,
|
567 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_1,
|
568 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_10,
|
569 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_11,
|
570 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_2,
|
571 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_3,
|
572 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_4,
|
573 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_5,
|
574 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_6,
|
575 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_7,
|
576 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_8,
|
577 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_9,
|
578 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_1,
|
579 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_10,
|
580 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_11,
|
581 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_2,
|
582 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_3,
|
583 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_4,
|
584 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_5,
|
585 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_6,
|
586 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_7,
|
587 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_8,
|
588 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_9,
|
589 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_1,
|
590 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_10,
|
591 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_11,
|
592 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_2,
|
593 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_3,
|
594 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_4,
|
595 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_5,
|
596 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_6,
|
597 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_7,
|
598 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_8,
|
599 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_9,
|
600 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_1,
|
601 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_10,
|
602 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_11,
|
603 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_2,
|
604 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_3,
|
605 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_4,
|
606 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_5,
|
607 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_6,
|
608 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_7,
|
609 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_8,
|
610 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_9,
|
611 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_1,
|
612 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_10,
|
613 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_11,
|
614 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_2,
|
615 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_3,
|
616 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_4,
|
617 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_5,
|
618 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_6,
|
619 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_7,
|
620 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_8,
|
621 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_9,
|
622 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_1,
|
623 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_10,
|
624 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_11,
|
625 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_22,
|
626 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_2,
|
627 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_3,
|
628 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_4,
|
629 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_5,
|
630 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_6,
|
631 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_7,
|
632 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_8,
|
633 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_9,
|
634 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_1,
|
635 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_10,
|
636 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_11,
|
637 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_22,
|
638 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_2,
|
639 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_3,
|
640 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_4,
|
641 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_5,
|
642 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_6,
|
643 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_7,
|
644 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_8,
|
645 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_9,
|
646 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_1,
|
647 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_10,
|
648 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_11,
|
649 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_22,
|
650 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_2,
|
651 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_3,
|
652 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_4,
|
653 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_5,
|
654 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_6,
|
655 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_7,
|
656 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_8,
|
657 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_9,
|
658 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_1,
|
659 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_10,
|
660 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_11,
|
661 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_22,
|
662 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_2,
|
663 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_3,
|
664 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_4,
|
665 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_5,
|
666 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_6,
|
667 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_7,
|
668 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_8,
|
669 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_9,
|
670 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_1,
|
671 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_10,
|
672 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_11,
|
673 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_22,
|
674 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_2,
|
675 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_3,
|
676 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_4,
|
677 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_5,
|
678 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_6,
|
679 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_7,
|
680 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_8,
|
681 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_9,
|
682 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_1,
|
683 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_10,
|
684 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_11,
|
685 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_22,
|
686 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_2,
|
687 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_3,
|
688 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_4,
|
689 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_5,
|
690 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_6,
|
691 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_7,
|
692 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_8,
|
693 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_9,
|
694 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_1,
|
695 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_10,
|
696 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_11,
|
697 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_2,
|
698 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_3,
|
699 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_4,
|
700 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_5,
|
701 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_6,
|
702 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_7,
|
703 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_8,
|
704 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_9,
|
705 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_1,
|
706 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_10,
|
707 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_11,
|
708 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_2,
|
709 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_3,
|
710 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_4,
|
711 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_5,
|
712 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_6,
|
713 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_7,
|
714 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_8,
|
715 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_9,
|
716 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_1,
|
717 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_10,
|
718 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_11,
|
719 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_2,
|
720 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_3,
|
721 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_4,
|
722 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_5,
|
723 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_6,
|
724 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_7,
|
725 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_8,
|
726 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_9,
|
727 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_1,
|
728 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_2,
|
729 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_3,
|
730 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_4,
|
731 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_5,
|
732 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_6,
|
733 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_7,
|
734 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_8,
|
735 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_9,
|
736 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_10,
|
737 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_11,
|
738 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_22,
|
739 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_22,
|
740 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_22,
|
741 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_22,
|
742 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_22,
|
743 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_22,
|
744 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_22,
|
745 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_22,
|
746 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_22,
|
747 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_22,
|
748 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_22,
|
749 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_23,
|
750 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_24,
|
751 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_25,
|
752 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_23,
|
753 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_23,
|
754 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_23,
|
755 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_23,
|
756 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_23,
|
757 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_23,
|
758 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_23,
|
759 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_23,
|
760 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_23,
|
761 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_23,
|
762 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_23,
|
763 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_23,
|
764 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_23,
|
765 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_23,
|
766 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_23,
|
767 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_23,
|
768 |
+
|
769 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_24,
|
770 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_24,
|
771 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_24,
|
772 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_24,
|
773 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_24,
|
774 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_24,
|
775 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_24,
|
776 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_24,
|
777 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_24,
|
778 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_24,
|
779 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_24,
|
780 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_24,
|
781 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_24,
|
782 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_24,
|
783 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_24,
|
784 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_24,
|
785 |
+
|
786 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_25,
|
787 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_25,
|
788 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_25,
|
789 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_25,
|
790 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_25,
|
791 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_25,
|
792 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_25,
|
793 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_25,
|
794 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_25,
|
795 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_25,
|
796 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_25,
|
797 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_25,
|
798 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_25,
|
799 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_25,
|
800 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25,
|
801 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25,
|
802 |
+
|
803 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_1_26,
|
804 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_2_26,
|
805 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_3_26,
|
806 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_4_26,
|
807 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_5_26,
|
808 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_6_26,
|
809 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_7_26,
|
810 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_8_26,
|
811 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_9_26,
|
812 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_10_26,
|
813 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_11_26,
|
814 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_12_26,
|
815 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_13_26,
|
816 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_14_26,
|
817 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_15_26,
|
818 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_16_26,
|
819 |
+
.sfsiplus_icns_tab_3 .sfsiplus_row_17_26 {
|
820 |
background: url(../images/tab_3_icns.png) no-repeat;
|
821 |
width: 53px;
|
822 |
height: 52px;
|
823 |
float: left;
|
824 |
margin: 0 4px 0 0;
|
825 |
}
|
826 |
+
|
827 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_1 {
|
828 |
background-position: -1px 0;
|
829 |
}
|
830 |
+
|
831 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_2 {
|
832 |
background-position: -60px 0;
|
833 |
}
|
834 |
+
|
835 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_3 {
|
836 |
background-position: -118px 0;
|
837 |
}
|
838 |
+
|
839 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_4 {
|
840 |
background-position: -176px 0;
|
841 |
}
|
842 |
+
|
843 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_5 {
|
844 |
background-position: -235px 0;
|
845 |
}
|
846 |
+
|
847 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_6 {
|
848 |
background-position: -293px 0;
|
849 |
}
|
850 |
+
|
851 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_7 {
|
852 |
background-position: -350px 0;
|
853 |
}
|
854 |
+
|
855 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_8 {
|
856 |
background-position: -409px 0;
|
857 |
}
|
858 |
+
|
859 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_9 {
|
860 |
background-position: -467px 0;
|
861 |
}
|
862 |
+
|
863 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_10 {
|
864 |
background-position: -526px 0;
|
865 |
}
|
866 |
+
|
867 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_11 {
|
868 |
background-position: -711px 0;
|
869 |
}
|
870 |
+
|
871 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_22 {
|
872 |
background-position: -773px 0;
|
873 |
}
|
874 |
+
|
875 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_23 {
|
876 |
background-position: -838px 0;
|
877 |
}
|
878 |
+
|
879 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_24 {
|
880 |
background-position: -909px 0;
|
881 |
}
|
882 |
+
|
883 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_25 {
|
884 |
background-position: -977px 0;
|
885 |
}
|
886 |
+
|
887 |
.sfsiplus_icns_tab_3 .sfsiplus_row_1_26 {
|
888 |
background-position: -1045px 0;
|
889 |
}
|
890 |
+
|
891 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_1 {
|
892 |
background-position: 0 -74px;
|
893 |
}
|
894 |
+
|
895 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_2 {
|
896 |
background-position: -60px -74px;
|
897 |
}
|
898 |
+
|
899 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_3 {
|
900 |
background-position: -118px -74px;
|
901 |
}
|
902 |
+
|
903 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_4 {
|
904 |
background-position: -176px -74px;
|
905 |
}
|
906 |
+
|
907 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_5 {
|
908 |
background-position: -235px -74px;
|
909 |
}
|
910 |
+
|
911 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_6 {
|
912 |
background-position: -293px -74px;
|
913 |
}
|
914 |
+
|
915 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_7 {
|
916 |
background-position: -350px -74px;
|
917 |
}
|
918 |
+
|
919 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_8 {
|
920 |
background-position: -409px -74px;
|
921 |
}
|
922 |
+
|
923 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_9 {
|
924 |
background-position: -467px -74px;
|
925 |
}
|
926 |
+
|
927 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_10 {
|
928 |
background-position: -526px -74px;
|
929 |
}
|
930 |
+
|
931 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_11 {
|
932 |
background-position: -711px -74px;
|
933 |
}
|
934 |
+
|
935 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_22 {
|
936 |
background-position: -773px -74px;
|
937 |
}
|
938 |
+
|
939 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_23 {
|
940 |
background-position: -838px -74px;
|
941 |
}
|
942 |
+
|
943 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_24 {
|
944 |
background-position: -909px -74px;
|
945 |
}
|
946 |
+
|
947 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_25 {
|
948 |
background-position: -977px -74px;
|
949 |
}
|
950 |
+
|
951 |
.sfsiplus_icns_tab_3 .sfsiplus_row_2_26 {
|
952 |
background-position: -1045px 0;
|
953 |
}
|
954 |
+
|
955 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_1 {
|
956 |
background-position: 0 -146px;
|
957 |
}
|
958 |
+
|
959 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_2 {
|
960 |
background-position: -60px -146px;
|
961 |
}
|
962 |
+
|
963 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_3 {
|
964 |
background-position: -118px -146px;
|
965 |
}
|
966 |
+
|
967 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_4 {
|
968 |
background-position: -176px -146px;
|
969 |
}
|
970 |
+
|
971 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_5 {
|
972 |
background-position: -235px -146px;
|
973 |
}
|
974 |
+
|
975 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_6 {
|
976 |
background-position: -293px -146px;
|
977 |
}
|
978 |
+
|
979 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_7 {
|
980 |
background-position: -350px -146px;
|
981 |
}
|
982 |
+
|
983 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_8 {
|
984 |
background-position: -409px -146px;
|
985 |
}
|
986 |
+
|
987 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_9 {
|
988 |
background-position: -467px -146px;
|
989 |
}
|
990 |
+
|
991 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_10 {
|
992 |
background-position: -526px -146px;
|
993 |
}
|
994 |
+
|
995 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_11 {
|
996 |
background-position: -711px -147px;
|
997 |
}
|
998 |
+
|
999 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_22 {
|
1000 |
background-position: -773px -147px;
|
1001 |
}
|
1002 |
+
|
1003 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_23 {
|
1004 |
background-position: -838px -147px;
|
1005 |
}
|
1006 |
+
|
1007 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_24 {
|
1008 |
background-position: -909px -147px;
|
1009 |
}
|
1010 |
+
|
1011 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_25 {
|
1012 |
background-position: -977px -147px;
|
1013 |
}
|
1014 |
+
|
1015 |
.sfsiplus_icns_tab_3 .sfsiplus_row_3_26 {
|
1016 |
background-position: -1045px 0;
|
1017 |
}
|
1018 |
+
|
1019 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_1 {
|
1020 |
background-position: 0 -222px;
|
1021 |
}
|
1022 |
+
|
1023 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_2 {
|
1024 |
background-position: -60px -222px;
|
1025 |
}
|
1026 |
+
|
1027 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_3 {
|
1028 |
background-position: -118px -222px;
|
1029 |
}
|
1030 |
+
|
1031 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_4 {
|
1032 |
background-position: -176px -222px;
|
1033 |
}
|
1034 |
+
|
1035 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_5 {
|
1036 |
background-position: -235px -222px;
|
1037 |
}
|
1038 |
+
|
1039 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_6 {
|
1040 |
background-position: -293px -222px;
|
1041 |
}
|
1042 |
+
|
1043 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_7 {
|
1044 |
background-position: -350px -222px;
|
1045 |
}
|
1046 |
+
|
1047 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_8 {
|
1048 |
background-position: -409px -222px;
|
1049 |
}
|
1050 |
+
|
1051 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_9 {
|
1052 |
background-position: -467px -222px;
|
1053 |
}
|
1054 |
+
|
1055 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_10 {
|
1056 |
background-position: -526px -222px;
|
1057 |
}
|
1058 |
+
|
1059 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_11 {
|
1060 |
background-position: -711px -222px;
|
1061 |
}
|
1062 |
+
|
1063 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_22 {
|
1064 |
background-position: -773px -222px;
|
1065 |
}
|
1066 |
+
|
1067 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_23 {
|
1068 |
background-position: -838px -222px;
|
1069 |
}
|
1070 |
+
|
1071 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_24 {
|
1072 |
background-position: -909px -222px;
|
1073 |
}
|
1074 |
+
|
1075 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_25 {
|
1076 |
background-position: -977px -222px;
|
1077 |
}
|
1078 |
+
|
1079 |
.sfsiplus_icns_tab_3 .sfsiplus_row_4_26 {
|
1080 |
background-position: -1045px 0;
|
1081 |
}
|
1082 |
+
|
1083 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_1 {
|
1084 |
background-position: 0 -296px;
|
1085 |
}
|
1086 |
+
|
1087 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_2 {
|
1088 |
background-position: -60px -296px;
|
1089 |
}
|
1090 |
+
|
1091 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_3 {
|
1092 |
background-position: -118px -296px;
|
1093 |
}
|
1094 |
+
|
1095 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_4 {
|
1096 |
background-position: -176px -296px;
|
1097 |
}
|
1098 |
+
|
1099 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_5 {
|
1100 |
background-position: -235px -296px;
|
1101 |
}
|
1102 |
+
|
1103 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_6 {
|
1104 |
background-position: -293px -296px;
|
1105 |
}
|
1106 |
+
|
1107 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_7 {
|
1108 |
background-position: -350px -296px;
|
1109 |
}
|
1110 |
+
|
1111 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_8 {
|
1112 |
background-position: -409px -296px;
|
1113 |
}
|
1114 |
+
|
1115 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_9 {
|
1116 |
background-position: -467px -296px;
|
1117 |
}
|
1118 |
+
|
1119 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_10 {
|
1120 |
background-position: -526px -296px;
|
1121 |
}
|
1122 |
+
|
1123 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_11 {
|
1124 |
background-position: -711px -296px;
|
1125 |
}
|
1126 |
+
|
1127 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_22 {
|
1128 |
background-position: -773px -296px;
|
1129 |
}
|
1130 |
+
|
1131 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_23 {
|
1132 |
background-position: -838px -296px;
|
1133 |
}
|
1134 |
+
|
1135 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_24 {
|
1136 |
background-position: -909px -296px;
|
1137 |
}
|
1138 |
+
|
1139 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_25 {
|
1140 |
background-position: -977px -296px;
|
1141 |
}
|
1142 |
+
|
1143 |
.sfsiplus_icns_tab_3 .sfsiplus_row_5_26 {
|
1144 |
background-position: -1045px 0;
|
1145 |
}
|
1146 |
+
|
1147 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_1 {
|
1148 |
background-position: 0 -370px;
|
1149 |
}
|
1150 |
+
|
1151 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_2 {
|
1152 |
background-position: -60px -370px;
|
1153 |
}
|
1154 |
+
|
1155 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_3 {
|
1156 |
background-position: -118px -370px;
|
1157 |
}
|
1158 |
+
|
1159 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_4 {
|
1160 |
background-position: -176px -370px;
|
1161 |
}
|
1162 |
+
|
1163 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_5 {
|
1164 |
background-position: -235px -370px;
|
1165 |
}
|
1166 |
+
|
1167 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_6 {
|
1168 |
background-position: -293px -370px;
|
1169 |
}
|
1170 |
+
|
1171 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_7 {
|
1172 |
background-position: -350px -370px;
|
1173 |
}
|
1174 |
+
|
1175 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_8 {
|
1176 |
background-position: -409px -370px;
|
1177 |
}
|
1178 |
+
|
1179 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_9 {
|
1180 |
background-position: -468px -370px;
|
1181 |
}
|
1182 |
+
|
1183 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_10 {
|
1184 |
background-position: -526px -370px;
|
1185 |
}
|
1186 |
+
|
1187 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_11 {
|
1188 |
background-position: -711px -370px;
|
1189 |
}
|
1190 |
+
|
1191 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_22 {
|
1192 |
background-position: -773px -370px;
|
1193 |
}
|
1194 |
+
|
1195 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_23 {
|
1196 |
background-position: -838px -370px;
|
1197 |
}
|
1198 |
+
|
1199 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_24 {
|
1200 |
background-position: -909px -370px;
|
1201 |
}
|
1202 |
+
|
1203 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_25 {
|
1204 |
background-position: -977px -370px;
|
1205 |
}
|
1206 |
+
|
1207 |
.sfsiplus_icns_tab_3 .sfsiplus_row_6_26 {
|
1208 |
background-position: -1045px 0;
|
1209 |
}
|
1210 |
+
|
1211 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_1 {
|
1212 |
background-position: 0 -444px;
|
1213 |
}
|
1214 |
+
|
1215 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_2 {
|
1216 |
background-position: -60px -444px;
|
1217 |
}
|
1218 |
+
|
1219 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_3 {
|
1220 |
background-position: -118px -444px;
|
1221 |
}
|
1222 |
+
|
1223 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_4 {
|
1224 |
background-position: -176px -444px;
|
1225 |
}
|
1226 |
+
|
1227 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_5 {
|
1228 |
background-position: -235px -444px;
|
1229 |
}
|
1230 |
+
|
1231 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_6 {
|
1232 |
background-position: -293px -444px;
|
1233 |
}
|
1234 |
+
|
1235 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_7 {
|
1236 |
background-position: -350px -444px;
|
1237 |
}
|
1238 |
+
|
1239 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_8 {
|
1240 |
background-position: -409px -444px;
|
1241 |
}
|
1242 |
+
|
1243 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_9 {
|
1244 |
background-position: -466px -444px;
|
1245 |
}
|
1246 |
+
|
1247 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_10 {
|
1248 |
background-position: -526px -444px;
|
1249 |
}
|
1250 |
+
|
1251 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_11 {
|
1252 |
background-position: -711px -444px;
|
1253 |
}
|
1254 |
+
|
1255 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_22 {
|
1256 |
background-position: -773px -444px;
|
1257 |
}
|
1258 |
+
|
1259 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_23 {
|
1260 |
background-position: -838px -444px;
|
1261 |
}
|
1262 |
+
|
1263 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_24 {
|
1264 |
background-position: -909px -444px;
|
1265 |
}
|
1266 |
+
|
1267 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_25 {
|
1268 |
background-position: -977px -444px;
|
1269 |
}
|
1270 |
+
|
1271 |
.sfsiplus_icns_tab_3 .sfsiplus_row_7_26 {
|
1272 |
background-position: -1045px 0;
|
1273 |
}
|
1274 |
+
|
1275 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_1 {
|
1276 |
background-position: 0 -518px;
|
1277 |
}
|
1278 |
+
|
1279 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_2 {
|
1280 |
background-position: -60px -518px;
|
1281 |
}
|
1282 |
+
|
1283 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_3 {
|
1284 |
background-position: -118px -518px;
|
1285 |
}
|
1286 |
+
|
1287 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_4 {
|
1288 |
background-position: -176px -518px;
|
1289 |
}
|
1290 |
+
|
1291 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_5 {
|
1292 |
background-position: -235px -518px;
|
1293 |
}
|
1294 |
+
|
1295 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_6 {
|
1296 |
background-position: -293px -518px;
|
1297 |
}
|
1298 |
+
|
1299 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_7 {
|
1300 |
background-position: -350px -518px;
|
1301 |
}
|
1302 |
+
|
1303 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_8 {
|
1304 |
background-position: -409px -518px;
|
1305 |
}
|
1306 |
+
|
1307 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_9 {
|
1308 |
background-position: -467px -518px;
|
1309 |
}
|
1310 |
+
|
1311 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_10 {
|
1312 |
background-position: -526px -518px;
|
1313 |
}
|
1314 |
+
|
1315 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_11 {
|
1316 |
background-position: -711px -518px;
|
1317 |
}
|
1318 |
+
|
1319 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_22 {
|
1320 |
background-position: -773px -518px;
|
1321 |
}
|
1322 |
+
|
1323 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_23 {
|
1324 |
background-position: -838px -518px;
|
1325 |
}
|
1326 |
+
|
1327 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_24 {
|
1328 |
background-position: -909px -518px;
|
1329 |
}
|
1330 |
+
|
1331 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_25 {
|
1332 |
background-position: -977px -518px;
|
1333 |
}
|
1334 |
+
|
1335 |
.sfsiplus_icns_tab_3 .sfsiplus_row_8_26 {
|
1336 |
background-position: -1045px 0;
|
1337 |
}
|
1338 |
+
|
1339 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_1 {
|
1340 |
background-position: 0 -592px;
|
1341 |
}
|
1342 |
+
|
1343 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_2 {
|
1344 |
background-position: -60px -592px;
|
1345 |
}
|
1346 |
+
|
1347 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_3 {
|
1348 |
background-position: -118px -592px;
|
1349 |
}
|
1350 |
+
|
1351 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_4 {
|
1352 |
background-position: -176px -592px;
|
1353 |
}
|
1354 |
+
|
1355 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_5 {
|
1356 |
background-position: -235px -592px;
|
1357 |
}
|
1358 |
+
|
1359 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_6 {
|
1360 |
background-position: -293px -592px;
|
1361 |
}
|
1362 |
+
|
1363 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_7 {
|
1364 |
background-position: -350px -592px;
|
1365 |
}
|
1366 |
+
|
1367 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_8 {
|
1368 |
background-position: -409px -592px;
|
1369 |
}
|
1370 |
+
|
1371 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_9 {
|
1372 |
background-position: -467px -592px;
|
1373 |
}
|
1374 |
+
|
1375 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_10 {
|
1376 |
background-position: -526px -592px;
|
1377 |
}
|
1378 |
+
|
1379 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_11 {
|
1380 |
background-position: -711px -592px;
|
1381 |
}
|
1382 |
+
|
1383 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_22 {
|
1384 |
background-position: -773px -592px;
|
1385 |
}
|
1386 |
+
|
1387 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_23 {
|
1388 |
background-position: -838px -592px;
|
1389 |
}
|
1390 |
+
|
1391 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_24 {
|
1392 |
background-position: -909px -592px;
|
1393 |
}
|
1394 |
+
|
1395 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_25 {
|
1396 |
background-position: -977px -592px;
|
1397 |
}
|
1398 |
+
|
1399 |
.sfsiplus_icns_tab_3 .sfsiplus_row_9_26 {
|
1400 |
background-position: -1045px 0;
|
1401 |
}
|
1402 |
+
|
1403 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_1 {
|
1404 |
background-position: 0 -666px;
|
1405 |
}
|
1406 |
+
|
1407 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_2 {
|
1408 |
background-position: -60px -666px;
|
1409 |
}
|
1410 |
+
|
1411 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_3 {
|
1412 |
background-position: -118px -666px;
|
1413 |
}
|
1414 |
+
|
1415 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_4 {
|
1416 |
background-position: -176px -666px;
|
1417 |
}
|
1418 |
+
|
1419 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_5 {
|
1420 |
background-position: -235px -666px;
|
1421 |
}
|
1422 |
+
|
1423 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_6 {
|
1424 |
background-position: -293px -666px;
|
1425 |
}
|
1426 |
+
|
1427 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_7 {
|
1428 |
background-position: -350px -666px;
|
1429 |
}
|
1430 |
+
|
1431 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_8 {
|
1432 |
background-position: -409px -666px;
|
1433 |
}
|
1434 |
+
|
1435 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_9 {
|
1436 |
background-position: -467px -666px;
|
1437 |
}
|
1438 |
+
|
1439 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_10 {
|
1440 |
background-position: -526px -666px;
|
1441 |
}
|
1442 |
+
|
1443 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_11 {
|
1444 |
background-position: -711px -666px;
|
1445 |
}
|
1446 |
+
|
1447 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_22 {
|
1448 |
background-position: -773px -666px;
|
1449 |
}
|
1450 |
+
|
1451 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_23 {
|
1452 |
background-position: -838px -666px;
|
1453 |
}
|
1454 |
+
|
1455 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_24 {
|
1456 |
background-position: -909px -666px;
|
1457 |
}
|
1458 |
+
|
1459 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_25 {
|
1460 |
background-position: -977px -666px;
|
1461 |
}
|
1462 |
+
|
1463 |
.sfsiplus_icns_tab_3 .sfsiplus_row_10_26 {
|
1464 |
background-position: -1045px 0;
|
1465 |
}
|
1466 |
+
|
1467 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_1 {
|
1468 |
background-position: 0 -740px;
|
1469 |
}
|
1470 |
+
|
1471 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_2 {
|
1472 |
background-position: -60px -740px;
|
1473 |
}
|
1474 |
+
|
1475 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_3 {
|
1476 |
background-position: -118px -740px;
|
1477 |
}
|
1478 |
+
|
1479 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_4 {
|
1480 |
background-position: -176px -740px;
|
1481 |
}
|
1482 |
+
|
1483 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_5 {
|
1484 |
background-position: -235px -740px;
|
1485 |
}
|
1486 |
+
|
1487 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_6 {
|
1488 |
background-position: -293px -740px;
|
1489 |
}
|
1490 |
+
|
1491 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_7 {
|
1492 |
background-position: -350px -740px;
|
1493 |
}
|
1494 |
+
|
1495 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_8 {
|
1496 |
background-position: -409px -740px;
|
1497 |
}
|
1498 |
+
|
1499 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_9 {
|
1500 |
background-position: -467px -740px;
|
1501 |
}
|
1502 |
+
|
1503 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_10 {
|
1504 |
background-position: -526px -740px;
|
1505 |
}
|
1506 |
+
|
1507 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_11 {
|
1508 |
background-position: -711px -740px;
|
1509 |
}
|
1510 |
+
|
1511 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_22 {
|
1512 |
background-position: -773px -740px;
|
1513 |
}
|
1514 |
+
|
1515 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_23 {
|
1516 |
background-position: -838px -740px;
|
1517 |
}
|
1518 |
+
|
1519 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_24 {
|
1520 |
background-position: -909px -740px;
|
1521 |
}
|
1522 |
+
|
1523 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_25 {
|
1524 |
background-position: -977px -740px;
|
1525 |
}
|
1526 |
+
|
1527 |
.sfsiplus_icns_tab_3 .sfsiplus_row_11_26 {
|
1528 |
background-position: -1045px 0;
|
1529 |
}
|
1530 |
+
|
1531 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_1 {
|
1532 |
background-position: 0 -814px;
|
1533 |
}
|
1534 |
+
|
1535 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_2 {
|
1536 |
background-position: -60px -814px;
|
1537 |
}
|
1538 |
+
|
1539 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_3 {
|
1540 |
background-position: -118px -814px;
|
1541 |
}
|
1542 |
+
|
1543 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_4 {
|
1544 |
background-position: -176px -814px;
|
1545 |
}
|
1546 |
+
|
1547 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_5 {
|
1548 |
background-position: -235px -814px;
|
1549 |
}
|
1550 |
+
|
1551 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_6 {
|
1552 |
background-position: -293px -814px;
|
1553 |
}
|
1554 |
+
|
1555 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_7 {
|
1556 |
background-position: -350px -814px;
|
1557 |
}
|
1558 |
+
|
1559 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_8 {
|
1560 |
background-position: -409px -814px;
|
1561 |
}
|
1562 |
+
|
1563 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_9 {
|
1564 |
background-position: -467px -814px;
|
1565 |
}
|
1566 |
+
|
1567 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_10 {
|
1568 |
background-position: -526px -814px;
|
1569 |
}
|
1570 |
+
|
1571 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_11 {
|
1572 |
background-position: -711px -814px;
|
1573 |
}
|
1574 |
+
|
1575 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_22 {
|
1576 |
background-position: -773px -814px;
|
1577 |
}
|
1578 |
+
|
1579 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_23 {
|
1580 |
background-position: -838px -814px;
|
1581 |
}
|
1582 |
+
|
1583 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_24 {
|
1584 |
background-position: -909px -814px;
|
1585 |
}
|
1586 |
+
|
1587 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_25 {
|
1588 |
background-position: -977px -814px;
|
1589 |
}
|
1590 |
+
|
1591 |
.sfsiplus_icns_tab_3 .sfsiplus_row_12_26 {
|
1592 |
background-position: -1045px 0;
|
1593 |
}
|
1594 |
+
|
1595 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_1 {
|
1596 |
background-position: 0 -888px;
|
1597 |
}
|
1598 |
+
|
1599 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_2 {
|
1600 |
background-position: -60px -888px;
|
1601 |
}
|
1602 |
+
|
1603 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_3 {
|
1604 |
background-position: -118px -888px;
|
1605 |
}
|
1606 |
+
|
1607 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_4 {
|
1608 |
background-position: -176px -888px;
|
1609 |
}
|
1610 |
+
|
1611 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_5 {
|
1612 |
background-position: -235px -888px;
|
1613 |
}
|
1614 |
+
|
1615 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_6 {
|
1616 |
background-position: -293px -888px;
|
1617 |
}
|
1618 |
+
|
1619 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_7 {
|
1620 |
background-position: -350px -888px;
|
1621 |
}
|
1622 |
+
|
1623 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_8 {
|
1624 |
background-position: -409px -888px;
|
1625 |
}
|
1626 |
+
|
1627 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_9 {
|
1628 |
background-position: -467px -888px;
|
1629 |
}
|
1630 |
+
|
1631 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_10 {
|
1632 |
background-position: -526px -888px;
|
1633 |
}
|
1634 |
+
|
1635 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_11 {
|
1636 |
background-position: -711px -888px;
|
1637 |
}
|
1638 |
+
|
1639 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_22 {
|
1640 |
background-position: -773px -888px;
|
1641 |
}
|
1642 |
+
|
1643 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_23 {
|
1644 |
background-position: -838px -888px;
|
1645 |
}
|
1646 |
+
|
1647 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_24 {
|
1648 |
background-position: -909px -888px;
|
1649 |
}
|
1650 |
+
|
1651 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_25 {
|
1652 |
background-position: -977px -888px;
|
1653 |
}
|
1654 |
+
|
1655 |
.sfsiplus_icns_tab_3 .sfsiplus_row_13_26 {
|
1656 |
background-position: -1045px 0;
|
1657 |
}
|
1658 |
+
|
1659 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_1 {
|
1660 |
background-position: 0 -962px;
|
1661 |
}
|
1662 |
+
|
1663 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_2 {
|
1664 |
background-position: -60px -962px;
|
1665 |
}
|
1666 |
+
|
1667 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_3 {
|
1668 |
background-position: -118px -962px;
|
1669 |
}
|
1670 |
+
|
1671 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_4 {
|
1672 |
background-position: -176px -962px;
|
1673 |
}
|
1674 |
+
|
1675 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_5 {
|
1676 |
background-position: -235px -962px;
|
1677 |
}
|
1678 |
+
|
1679 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_6 {
|
1680 |
background-position: -293px -962px;
|
1681 |
}
|
1682 |
+
|
1683 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_7 {
|
1684 |
background-position: -350px -962px;
|
1685 |
}
|
1686 |
+
|
1687 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_8 {
|
1688 |
background-position: -409px -962px;
|
1689 |
}
|
1690 |
+
|
1691 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_9 {
|
1692 |
background-position: -467px -962px;
|
1693 |
}
|
1694 |
+
|
1695 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_10 {
|
1696 |
background-position: -526px -962px;
|
1697 |
}
|
1698 |
+
|
1699 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_11 {
|
1700 |
background-position: -711px -962px;
|
1701 |
}
|
1702 |
+
|
1703 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_22 {
|
1704 |
background-position: -773px -962px;
|
1705 |
}
|
1706 |
+
|
1707 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_23 {
|
1708 |
background-position: -838px -962px;
|
1709 |
}
|
1710 |
+
|
1711 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_24 {
|
1712 |
background-position: -909px -962px;
|
1713 |
}
|
1714 |
+
|
1715 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_25 {
|
1716 |
background-position: -977px -962px;
|
1717 |
}
|
1718 |
+
|
1719 |
.sfsiplus_icns_tab_3 .sfsiplus_row_14_26 {
|
1720 |
background-position: -1045px 0;
|
1721 |
}
|
1722 |
+
|
1723 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_1 {
|
1724 |
background-position: 0 -1036px;
|
1725 |
}
|
1726 |
+
|
1727 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_2 {
|
1728 |
background-position: -60px -1036px;
|
1729 |
}
|
1730 |
+
|
1731 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_3 {
|
1732 |
background-position: -118px -1036px;
|
1733 |
}
|
1734 |
+
|
1735 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_4 {
|
1736 |
background-position: -176px -1036px;
|
1737 |
}
|
1738 |
+
|
1739 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_5 {
|
1740 |
background-position: -235px -1036px;
|
1741 |
}
|
1742 |
+
|
1743 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_6 {
|
1744 |
background-position: -293px -1036px;
|
1745 |
}
|
1746 |
+
|
1747 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_7 {
|
1748 |
background-position: -350px -1036px;
|
1749 |
}
|
1750 |
+
|
1751 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_8 {
|
1752 |
background-position: -409px -1036px;
|
1753 |
}
|
1754 |
+
|
1755 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_9 {
|
1756 |
background-position: -467px -1036px;
|
1757 |
}
|
1758 |
+
|
1759 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_10 {
|
1760 |
background-position: -526px -1036px;
|
1761 |
}
|
1762 |
+
|
1763 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_11 {
|
1764 |
background-position: -711px -1036px;
|
1765 |
}
|
1766 |
+
|
1767 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_22 {
|
1768 |
background-position: -773px -1036px;
|
1769 |
}
|
1770 |
+
|
1771 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_23 {
|
1772 |
background-position: -838px -1036px;
|
1773 |
}
|
1774 |
+
|
1775 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_24 {
|
1776 |
background-position: -909px -1036px;
|
1777 |
}
|
1778 |
+
|
1779 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_25 {
|
1780 |
background-position: -977px -1036px;
|
1781 |
}
|
1782 |
+
|
1783 |
.sfsiplus_icns_tab_3 .sfsiplus_row_15_26 {
|
1784 |
background-position: -1045px 0;
|
1785 |
}
|
1786 |
+
|
1787 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_1 {
|
1788 |
background-position: 0 -1109px;
|
1789 |
}
|
1790 |
+
|
1791 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_2 {
|
1792 |
background-position: -60px -1109px;
|
1793 |
}
|
1794 |
+
|
1795 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_3 {
|
1796 |
background-position: -118px -1109px;
|
1797 |
}
|
1798 |
+
|
1799 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_4 {
|
1800 |
background-position: -176px -1109px;
|
1801 |
}
|
1802 |
+
|
1803 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_5 {
|
1804 |
background-position: -235px -1109px;
|
1805 |
}
|
1806 |
+
|
1807 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_6 {
|
1808 |
background-position: -293px -1109px;
|
1809 |
}
|
1810 |
+
|
1811 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_7 {
|
1812 |
background-position: -350px -1109px;
|
1813 |
}
|
1814 |
+
|
1815 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_8 {
|
1816 |
background-position: -409px -1109px;
|
1817 |
}
|
1818 |
+
|
1819 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_9 {
|
1820 |
background-position: -467px -1109px;
|
1821 |
}
|
1822 |
+
|
1823 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_10 {
|
1824 |
background-position: -526px -1109px;
|
1825 |
}
|
1826 |
+
|
1827 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_11 {
|
1828 |
background-position: -711px -1109px;
|
1829 |
}
|
1830 |
+
|
1831 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_22 {
|
1832 |
background-position: -773px -1109px;
|
1833 |
}
|
1834 |
+
|
1835 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_23 {
|
1836 |
background-position: -838px -1109px;
|
1837 |
}
|
1838 |
+
|
1839 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_24 {
|
1840 |
background-position: -909px -1109px;
|
1841 |
}
|
1842 |
+
|
1843 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_25 {
|
1844 |
background-position: -977px -1109px;
|
1845 |
}
|
1846 |
+
|
1847 |
.sfsiplus_icns_tab_3 .sfsiplus_row_16_26 {
|
1848 |
background-position: -1045px 0;
|
1849 |
}
|
1850 |
+
|
1851 |
/*Admin menu*/
|
1852 |
ul#adminmenu li.toplevel_page_sfsi-plus-options div.wp-menu-image {
|
1853 |
display: none;
|
1854 |
}
|
1855 |
+
|
1856 |
#adminmenu li.toplevel_page_sfsi-plus-options a.toplevel_page_sfsi-plus-options {
|
1857 |
padding: 0 0 0 38px;
|
1858 |
font-family: helveticabold;
|
1859 |
}
|
1860 |
+
|
1861 |
ul#adminmenu li.toplevel_page_sfsi-plus-options a.toplevel_page_sfsi-plus-options {
|
1862 |
color: #e12522;
|
1863 |
+
transition: 0s;
|
1864 |
background: url(images/left_log_icn.png) 6px 15px no-repeat #000;
|
1865 |
+
background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
|
1866 |
+
color: #fafafa;
|
1867 |
}
|
1868 |
+
|
1869 |
ul#adminmenu li.toplevel_page_sfsi-plus-options a.toplevel_page_sfsi-plus-options:hover {
|
1870 |
background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
|
1871 |
+
color: #fafafa;
|
1872 |
}
|
1873 |
+
|
1874 |
+
ul#adminmenu li.toplevel_page_sfsi-plus-options a.wp-has-current-submenu,
|
1875 |
+
ul#adminmenu li.toplevel_page_sfsi-plus-options a.wp-has-current-submenu:hover {
|
1876 |
background: url(images/left_log_icn.png) 6px 15px no-repeat #000000;
|
1877 |
/*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
|
1878 |
+
color: #e12522;
|
1879 |
}
|
1880 |
+
|
1881 |
+
ul#adminmenu li.toplevel_page_sfsi-plus-options a.current,
|
1882 |
+
ul#adminmenu li.toplevel_page_sfsi-plus-options a.current:hover {
|
1883 |
background: url(images/left_log_icn.png) 6px 15px no-repeat #000000 !important;
|
1884 |
/*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
|
1885 |
color: #e12522 !important;
|
1886 |
}
|
1887 |
+
|
1888 |
/*tab 9 css*/
|
1889 |
+
.tab9 .sfsi_plus_tab8_container {
|
1890 |
+
width: 100%;
|
1891 |
+
float: left;
|
1892 |
}
|
1893 |
+
|
1894 |
.tab9 .sfsi_plus_tab8_subcontainer {
|
1895 |
float: left;
|
1896 |
padding: 20px 0;
|
1897 |
width: 100%;
|
1898 |
}
|
1899 |
+
|
1900 |
.tab9 h3.sfsi_plus_section_title {
|
1901 |
font-weight: bold;
|
1902 |
}
|
1903 |
+
|
1904 |
.tab9 .like_pop_box {
|
1905 |
width: 100%;
|
1906 |
margin: 35px auto auto;
|
1907 |
position: relative;
|
1908 |
text-align: center;
|
1909 |
}
|
1910 |
+
|
1911 |
.tab9 .like_pop_box h2 {
|
1912 |
font-family: helveticabold;
|
1913 |
text-align: center;
|
1914 |
color: #414951;
|
1915 |
font-size: 26px;
|
1916 |
}
|
1917 |
+
|
1918 |
.tab9 .sfsi_plus_subscribe_Popinner {
|
1919 |
display: inline-block;
|
1920 |
padding: 18px 20px;
|
1921 |
-webkit-box-shadow: 0 0 5px #ccc;
|
1922 |
border: 1px solid #ededed;
|
1923 |
background: #FFF;
|
1924 |
+
position: relative;
|
1925 |
}
|
1926 |
+
|
1927 |
.tab9 .sfsi_plus_subscribe_Popinner .form-overlay {
|
1928 |
height: 100%;
|
1929 |
left: 0;
|
1931 |
top: 0;
|
1932 |
width: 100%;
|
1933 |
}
|
1934 |
+
|
1935 |
.tab9 .like_pop_box .sfsi_plus_subscribe_Popinner {
|
1936 |
+
box-shadow: 0 0 5px #ccc;
|
1937 |
}
|
1938 |
+
|
1939 |
.tab9 .like_pop_box .sfsi_plus_subscribe_Popinner h5 {
|
1940 |
margin: 0 0 10px;
|
1941 |
padding: 0;
|
1943 |
font-size: 22px;
|
1944 |
text-align: center;
|
1945 |
}
|
1946 |
+
|
1947 |
.tab9 .sfsi_plus_subscribe_Popinner h5 {
|
1948 |
margin: 0 0 10px;
|
1949 |
padding: 0;
|
1951 |
font-size: 18px;
|
1952 |
text-align: center;
|
1953 |
}
|
1954 |
+
|
1955 |
.tab9 .sfsi_plus_subscription_form_field {
|
1956 |
float: left;
|
1957 |
margin: 5px 0;
|
1958 |
width: 100%;
|
1959 |
}
|
1960 |
+
|
1961 |
.tab9 .sfsi_plus_subscription_form_field input {
|
1962 |
padding: 10px 0px;
|
1963 |
text-align: center;
|
1964 |
width: 100%;
|
1965 |
}
|
1966 |
+
|
1967 |
.tab9 .sfsi_plus_tab8_subcontainer label.sfsi_plus_label_text {
|
1968 |
float: left;
|
1969 |
margin: 10px 0;
|
1970 |
width: 100%;
|
1971 |
}
|
1972 |
+
|
1973 |
.tab9 ul.sfsi_plus_form_info {
|
1974 |
list-style: none !important;
|
1975 |
margin-left: 32px;
|
1976 |
}
|
1977 |
+
|
1978 |
.tab9 ul.sfsi_plus_form_info li {
|
1979 |
margin: 3px 0;
|
1980 |
}
|
1981 |
+
|
1982 |
.tab9 .sfsi_plus_subscription_html {
|
1983 |
background-color: #e5e5e5;
|
1984 |
float: left;
|
1985 |
margin: 12px 0 0 30px;
|
1986 |
width: 90%;
|
1987 |
}
|
1988 |
+
|
1989 |
+
.tab9 .sfsi_plus_seprater {
|
1990 |
+
border-bottom: 1px solid #ccc;
|
1991 |
}
|
1992 |
+
|
1993 |
.tab9 .sfsi_plus_tab8_subcontainer h5.sfsi_plus_section_subtitle {
|
1994 |
float: left;
|
1995 |
font-size: 18px;
|
1996 |
margin: 5px 0;
|
1997 |
width: 100%;
|
1998 |
}
|
1999 |
+
|
2000 |
.tab9 .sfsi_plus_left_container {
|
2001 |
margin-top: 30px;
|
2002 |
text-align: center;
|
2003 |
width: 24%;
|
2004 |
+
display: inline-block;
|
2005 |
}
|
2006 |
+
|
2007 |
.tab9 .sfsi_plus_right_container {
|
2008 |
display: inline-block;
|
2009 |
margin-top: 30px;
|
2011 |
vertical-align: top;
|
2012 |
width: 72%;
|
2013 |
}
|
2014 |
+
|
2015 |
.tab9 .row_tab {
|
2016 |
display: inline-block;
|
2017 |
margin-bottom: 30px;
|
2018 |
width: 100%;
|
2019 |
}
|
2020 |
+
|
2021 |
.tab9 .row_tab label {
|
2022 |
color: #5a6570;
|
2023 |
font-size: 16px;
|
2024 |
}
|
2025 |
+
|
2026 |
+
.tab9 .row_tab div.sfsi_plus_field {
|
2027 |
display: inline-block;
|
2028 |
vertical-align: middle;
|
2029 |
width: auto;
|
2030 |
+
margin-right: 25px;
|
2031 |
}
|
2032 |
+
|
2033 |
.tab9 .color_box {
|
2034 |
width: 40px;
|
2035 |
height: 34px;
|
2039 |
position: relative;
|
2040 |
margin-left: 13px;
|
2041 |
}
|
2042 |
+
|
2043 |
.tab9 .color_box1 {
|
2044 |
width: 100%;
|
2045 |
height: 34px;
|
2046 |
background: #5a6570;
|
2047 |
box-shadow: 1px -2px 15px -2px #d3d3d3 inset;
|
2048 |
}
|
2049 |
+
|
2050 |
.tab9 .corner {
|
2051 |
width: 10px;
|
2052 |
height: 10px;
|
2055 |
right: 0;
|
2056 |
bottom: 0;
|
2057 |
}
|
2058 |
+
|
2059 |
.tab9 .sfsi_plus_right_container label {
|
2060 |
color: #5a6570;
|
2061 |
font-size: 18px;
|
2062 |
}
|
2063 |
+
|
2064 |
.tab9 label.sfsi_plus_heding {
|
2065 |
display: inline-block;
|
2066 |
font-weight: bold;
|
2067 |
padding-top: 10px;
|
2068 |
width: 303px;
|
2069 |
}
|
2070 |
+
|
2071 |
.tab9 .border_shadow {
|
2072 |
display: inline-block;
|
2073 |
vertical-align: top;
|
2074 |
}
|
2075 |
+
|
2076 |
.tab9 .border_shadow li {
|
2077 |
display: inline-block;
|
2078 |
vertical-align: top;
|
2079 |
+
padding-right: 20px;
|
2080 |
}
|
2081 |
+
|
2082 |
.tab9 .border_shadow li span {
|
2083 |
vertical-align: middle;
|
2084 |
}
|
2085 |
+
|
2086 |
+
.tab9 .border_shadow .radio {
|
2087 |
+
margin-right: 5px;
|
2088 |
}
|
2089 |
+
|
2090 |
.tab9 .sfsi_plus_field .rec-inp {
|
2091 |
background: #e5e5e5 none repeat scroll 0 0;
|
2092 |
height: 44px;
|
2093 |
text-align: center;
|
2094 |
width: 54px;
|
2095 |
}
|
2096 |
+
|
2097 |
.tab9 .pix {
|
2098 |
color: #5a6570;
|
2099 |
font-size: 18px;
|
2100 |
padding-left: 10px;
|
2101 |
+
vertical-align: middle;
|
2102 |
}
|
2103 |
+
|
2104 |
.tab9 .sfsi_plus_heding.autowidth {
|
2105 |
+
width: auto;
|
2106 |
+
margin-right: 15px;
|
2107 |
}
|
2108 |
+
|
2109 |
.tab9 .sfsi_plus_heding.fixwidth {
|
2110 |
+
width: 80px;
|
2111 |
}
|
2112 |
+
|
2113 |
.tab9 .small {
|
2114 |
background-color: #e5e5e5;
|
2115 |
height: 44px;
|
2116 |
+
width: 200px;
|
2117 |
}
|
2118 |
+
|
2119 |
.tab9 .small.new-inp {
|
2120 |
background-color: #e5e5e5;
|
2121 |
height: 44px;
|
2122 |
+
width: 277px;
|
2123 |
}
|
2124 |
+
|
2125 |
.tab9 .small.color-code {
|
2126 |
width: 138px !important;
|
2127 |
}
|
2128 |
+
|
2129 |
.tab9 .select-same {
|
2130 |
border: 1px solid #d6d6d6;
|
2131 |
height: 47px !important;
|
2132 |
width: 171px;
|
2133 |
+
appearance: none;
|
2134 |
+
-moz-appearance: none;
|
2135 |
+
-webkit-appearance: none;
|
2136 |
+
background-image: url(images/select-arrow.png);
|
2137 |
+
background-repeat: no-repeat;
|
2138 |
+
background-position: right 15px center;
|
2139 |
}
|
2140 |
+
|
2141 |
.tab9 .sfsi_plus_same_width {
|
2142 |
display: inline-block;
|
2143 |
width: 100px !important;
|
2144 |
}
|
2145 |
|
2146 |
+
.disabled_checkbox .sfsiplus_right_info .sfsiplus_toglepstpgspn {
|
2147 |
+
color: rgba(0, 0, 0, .3);
|
2148 |
}
|
2149 |
|
2150 |
.sfsi_plus_subscription_html xmp {
|
2153 |
white-space: pre-line;
|
2154 |
word-wrap: break-word;
|
2155 |
}
|
2156 |
+
|
2157 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li {
|
2158 |
float: left;
|
2159 |
width: 300px !important;
|
2160 |
+
max-width: 300px !important;
|
2161 |
+
min-width: 300px !important;
|
2162 |
}
|
2163 |
+
|
2164 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec label {
|
2165 |
font-size: 17px;
|
2166 |
padding-right: 20px;
|
2167 |
width: 65px !important;
|
2168 |
+
display: inline-block;
|
2169 |
}
|
2170 |
+
|
2171 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li input {
|
2172 |
background-color: #dedede;
|
2173 |
border: medium none;
|
2175 |
padding: 14px 8px;
|
2176 |
width: 80px;
|
2177 |
}
|
2178 |
+
|
2179 |
.sfsiplus_right_info ul.sfsi_plus_floaticon_margin_sec li ins {
|
2180 |
font-size: 17px;
|
2181 |
font-weight: 400;
|
2182 |
margin-left: 15px;
|
2183 |
text-decoration: none;
|
2184 |
}
|
2185 |
+
|
2186 |
@media (max-width:1160px) {
|
2187 |
+
.sfsi_plus_subscription_html xmp {
|
2188 |
+
display: block;
|
2189 |
+
padding: 0 10px;
|
2190 |
+
white-space: pre-line;
|
2191 |
+
word-wrap: break-word;
|
2192 |
+
}
|
2193 |
}
|
2194 |
+
|
2195 |
@media (max-width:1350px) {
|
2196 |
+
.tab9 .sfsi_plus_left_container {
|
2197 |
+
width: 100% !important;
|
2198 |
+
}
|
2199 |
+
|
2200 |
+
.tab9 .sfsi_plus_right_container {
|
2201 |
+
width: 100%;
|
2202 |
+
}
|
2203 |
+
|
2204 |
+
.tab9 .border_shadow {
|
2205 |
+
margin-top: 10px;
|
2206 |
+
}
|
2207 |
+
|
2208 |
+
.tab9 .row_tab div.sfsi_plus_field {
|
2209 |
+
margin-bottom: 10px;
|
2210 |
+
}
|
|
|
|
|
2211 |
}
|
2212 |
+
|
2213 |
+
@media (max-width:770px) {
|
2214 |
+
#sfsi_plus_form_heading_fontstyle {
|
2215 |
+
margin-left: 19px !important;
|
2216 |
+
margin-top: 10px !important;
|
2217 |
+
}
|
2218 |
}
|
2219 |
+
|
2220 |
/*poonam Style*/
|
2221 |
.feedClaiming-overlay h1 {
|
2222 |
font-size: 22px !important;
|
2223 |
font-weight: bolder !important;
|
2224 |
margin-top: 7px !important;
|
2225 |
}
|
2226 |
+
|
2227 |
.feedClaiming-overlay input[type="email"] {
|
2228 |
font-size: 16px;
|
2229 |
margin: 26px 0 0;
|
2230 |
padding: 10px 0;
|
2231 |
text-align: center;
|
2232 |
width: 100%;
|
2233 |
+
color: #bebebe !important;
|
2234 |
+
box-shadow: none;
|
2235 |
}
|
2236 |
+
|
2237 |
.feedClaiming-overlay input[type="email"]::-webkit-input-placeholder {
|
2238 |
+
color: #bebebe !important;
|
2239 |
}
|
2240 |
+
|
2241 |
+
.feedClaiming-overlay input[type="email"]:-moz-placeholder {
|
2242 |
+
/* Firefox 18- */
|
2243 |
+
color: #bebebe !important;
|
2244 |
}
|
2245 |
+
|
2246 |
+
.feedClaiming-overlay input[type="email"]::-moz-placeholder {
|
2247 |
+
/* Firefox 19+ */
|
2248 |
+
color: #bebebe !important;
|
2249 |
}
|
2250 |
+
|
2251 |
.feedClaiming-overlay input[type="email"]:-ms-input-placeholder {
|
2252 |
+
color: #bebebe !important;
|
2253 |
}
|
2254 |
+
|
2255 |
.feedClaiming-overlay .save_button {
|
2256 |
padding: 0 !important;
|
2257 |
width: 100%;
|
2258 |
}
|
2259 |
+
|
2260 |
+
.feedClaiming-overlay .save_button a#getMeFullAccess {
|
2261 |
border-radius: 4px;
|
2262 |
font-size: 18px;
|
2263 |
font-weight: bolder;
|
2264 |
}
|
2265 |
+
|
2266 |
.feedClaiming-overlay .sfsicloseBtn {
|
2267 |
right: 8px !important;
|
2268 |
top: 8px !important;
|
2269 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2270 |
|
2271 |
+
.feedClaiming-overlay p {
|
2272 |
+
text-align: center !important;
|
2273 |
+
font-size: 12px !important;
|
2274 |
+
line-height: 23px !important;
|
2275 |
+
padding: 18px 0 0 !important;
|
2276 |
+
color: #bebebe !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2277 |
}
|
|
|
|
|
2278 |
|
2279 |
+
.feedClaiming-overlay p a {
|
2280 |
+
display: inline-block;
|
2281 |
+
font-size: 12px;
|
2282 |
+
margin: 0;
|
2283 |
+
padding: 0;
|
2284 |
+
width: auto;
|
2285 |
+
color: #274da3 !important;
|
2286 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2287 |
|
2288 |
+
.feedClaiming-overlay .pop_up_box {
|
2289 |
+
padding: 25px 30px !important;
|
2290 |
+
width: 435px !important;
|
2291 |
+
min-height: 220px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2292 |
}
|
2293 |
|
2294 |
+
.follows-btn {
|
2295 |
+
float: left;
|
2296 |
+
width: 25%;
|
2297 |
+
}
|
2298 |
|
2299 |
+
.preview-btn {
|
2300 |
+
float: left;
|
2301 |
+
width: 10%;
|
2302 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2303 |
|
2304 |
+
.social-img-link {
|
|
|
2305 |
float: left;
|
2306 |
+
width: 15%;
|
|
|
2307 |
}
|
2308 |
+
|
2309 |
+
.social-img-link img {
|
2310 |
+
vertical-align: middle;
|
2311 |
+
}
|
2312 |
+
|
2313 |
+
.language-field {
|
2314 |
float: left;
|
2315 |
+
width: 24%;
|
|
|
|
|
2316 |
}
|
2317 |
+
|
2318 |
+
.language-field select {
|
2319 |
width: 100%;
|
|
|
2320 |
}
|
2321 |
+
|
2322 |
+
.icons_size {
|
2323 |
+
clear: both;
|
2324 |
}
|
2325 |
+
|
2326 |
+
.plus_custom-img img,
|
2327 |
+
.sfsiplus_custom_section img,
|
2328 |
+
.sfsiplus_custom_iconOrder img,
|
2329 |
+
.plus_sfsi_sample_icons img {
|
2330 |
+
width: 51px;
|
2331 |
}
|
2332 |
+
|
2333 |
+
.cstomskins_upload span.sfsi_plus-bgimage {
|
2334 |
+
background-size: 51px 51px !important;
|
2335 |
+
}
|
2336 |
+
|
2337 |
+
/* poonam */
|
2338 |
+
.sfsi_plus_premium_brdr_box {
|
2339 |
+
box-sizing: border-box;
|
2340 |
+
}
|
2341 |
+
|
2342 |
+
.sf_si_plus_our_prmium_plugin-add,
|
2343 |
+
.sfsi_plus_prem_icons_added,
|
2344 |
+
.sfsi_plus_new_prmium_follw {
|
2345 |
+
background: #f3faf6;
|
2346 |
+
border: 1px solid #12a252;
|
2347 |
+
padding: 25px 38px 35px 40px;
|
2348 |
+
clear: both;
|
2349 |
+
}
|
2350 |
+
|
2351 |
+
.banner_custom_icon {
|
2352 |
+
margin-left: 94px !important;
|
2353 |
float: left;
|
2354 |
+
}
|
2355 |
+
|
2356 |
+
.banner_custom_icon p a {
|
2357 |
+
font-family: helveticabold !important
|
2358 |
+
}
|
2359 |
+
|
2360 |
+
.sf_si_plus_our_prmium_plugin-add {
|
2361 |
+
padding: 25px 38px 45px 44px;
|
2362 |
+
}
|
2363 |
+
|
2364 |
+
.sf_si_plus_default_design ul {
|
2365 |
+
padding: 0;
|
2366 |
+
margin: 0;
|
2367 |
+
}
|
2368 |
+
|
2369 |
+
.sf_si_plus_default_design ul li {
|
2370 |
+
list-style: none;
|
2371 |
+
font-size: 20px;
|
2372 |
+
color: #1a1d20;
|
2373 |
clear: both;
|
2374 |
}
|
|
|
2375 |
|
2376 |
+
.sf_si_plus_default_design ul li b {
|
2377 |
+
font-weight: bold;
|
|
|
|
|
|
|
|
|
2378 |
}
|
2379 |
+
|
2380 |
+
.sf_si_plus_default_design ul li img {
|
2381 |
+
vertical-align: middle;
|
|
|
2382 |
}
|
2383 |
+
|
2384 |
+
.sf_si_plus_default_design ul li h4 {
|
2385 |
+
color: #1a1d20 !important;
|
2386 |
+
font-size: 20px !important;
|
2387 |
+
font-weight: bold;
|
2388 |
+
padding-bottom: 21px !important;
|
2389 |
}
|
2390 |
+
|
2391 |
+
.sf_si_plus_default_design ul li h4 span {
|
2392 |
+
font-weight: normal;
|
2393 |
+
}
|
2394 |
+
|
2395 |
+
.sf_si_plus_default_design ul li b span {
|
2396 |
+
font-weight: normal !important;
|
2397 |
+
}
|
2398 |
+
|
2399 |
+
.sf_si_plus_default_design ul li {
|
2400 |
+
margin: 0 !important;
|
2401 |
+
}
|
2402 |
+
|
2403 |
+
.sf_si_plus_default_design ul li h4.sfsi_plus_second_themedTitle {
|
2404 |
+
padding-bottom: 16px !important;
|
2405 |
+
}
|
2406 |
+
|
2407 |
+
.sfsi_plus_row_table {
|
2408 |
clear: both;
|
|
|
2409 |
}
|
2410 |
+
|
2411 |
+
.sfsi_plus_first_icon_field,
|
2412 |
+
.sfsi_plus_second_icon_img {
|
2413 |
+
display: table-cell;
|
2414 |
+
vertical-align: middle;
|
2415 |
+
padding: 5px 0;
|
2416 |
}
|
2417 |
+
|
2418 |
+
.sfsi_plus_first_icon_field {
|
2419 |
+
width: 125px;
|
|
|
2420 |
}
|
2421 |
+
|
2422 |
+
.sfsi_plus_first_icon_field h2 {
|
2423 |
+
font-size: 18px !important;
|
2424 |
+
color: #1a1d20 !important;
|
2425 |
+
margin: 0 !important;
|
2426 |
+
font-weight: bold !important;
|
|
|
2427 |
}
|
2428 |
+
|
2429 |
+
.sfsi_plus_first_icon_field p {
|
2430 |
+
color: #1a1d20 !important;
|
2431 |
+
font-size: 12px !important;
|
2432 |
+
margin: 0 !important;
|
2433 |
+
padding: 0 !important;
|
2434 |
+
line-height: 18px !important;
|
2435 |
}
|
2436 |
|
2437 |
+
.sfsi_plus_cool_font_weight h2 {
|
2438 |
+
font-weight: normal !important;
|
2439 |
+
}
|
2440 |
|
2441 |
+
.sf_si_plus_prmium_head span {
|
2442 |
+
font-weight: normal;
|
2443 |
}
|
2444 |
+
|
2445 |
+
.sf_si_plus_prmium_head h2 {
|
2446 |
+
font-size: 26px;
|
2447 |
+
color: #000;
|
2448 |
+
font-weight: bold !important;
|
2449 |
+
padding-bottom: 13px !important;
|
2450 |
+
margin-top: 0;
|
2451 |
+
}
|
2452 |
+
|
2453 |
+
.sf_si_plus_our_prmium_plugin-add .sf_si_plus_prmium_head h2 {
|
2454 |
+
padding-bottom: 23px !important;
|
2455 |
+
}
|
2456 |
+
|
2457 |
+
.sfsi_plus_premium_row {
|
2458 |
+
clear: both;
|
2459 |
}
|
2460 |
+
|
2461 |
+
.sfsi_plus_prem_cmn_rowlisting {
|
2462 |
+
width: 225px;
|
2463 |
float: left;
|
2464 |
+
margin-top: 10px;
|
2465 |
+
margin-bottom: 1px;
|
2466 |
+
}
|
2467 |
+
|
2468 |
+
.sfsi_plus_prem_cmn_rowlisting span {
|
2469 |
+
color: #1a1d20;
|
2470 |
+
font-size: 20px;
|
2471 |
+
display: table-cell;
|
2472 |
+
vertical-align: middle;
|
2473 |
+
padding-right: 10px;
|
2474 |
+
}
|
2475 |
+
|
2476 |
+
.sfsi_mainContainer .sfsi_plus_prem_cmn_rowlisting img {
|
2477 |
+
width: 52px;
|
2478 |
+
height: 52px;
|
2479 |
+
vertical-align: middle;
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
.sfsi_plus_need_another_tell_us,
|
2483 |
+
.sfsi_plus_need_another_one_link {
|
2484 |
+
clear: both;
|
2485 |
+
}
|
2486 |
+
|
2487 |
+
.sfsi_plus_need_another_one_link p {
|
2488 |
+
color: #c1c3c5;
|
2489 |
+
font-size: 18.9px !important;
|
2490 |
+
}
|
2491 |
+
|
2492 |
+
.sfsi_plus_need_another_one_link p a {
|
2493 |
color: #12a252 !important;
|
2494 |
+
text-decoration: none;
|
2495 |
+
}
|
2496 |
+
|
2497 |
+
.sfsi_plus_need_another_one_link {
|
2498 |
+
padding: 23px 0 20px 5px;
|
2499 |
+
}
|
2500 |
+
|
2501 |
+
.sf_si_plus_all_features_premium a,
|
2502 |
+
.sfsi_plus_need_another_tell_us a {
|
2503 |
+
color: #12a252 !important;
|
2504 |
+
font-size: 18.9px;
|
2505 |
+
font-weight: bold;
|
2506 |
+
border-bottom: 1px solid #12a252;
|
2507 |
+
text-decoration: none;
|
2508 |
+
}
|
2509 |
+
|
2510 |
+
.sfsi_plus_need_another_tell_us a {
|
2511 |
margin-left: 5px;
|
2512 |
+
padding-top: 25px;
|
2513 |
}
|
2514 |
|
2515 |
+
.sfsi_plus_new_prmium_follw {
|
2516 |
+
margin-top: 20px;
|
2517 |
+
display: inline-block;
|
2518 |
+
padding: 15px 75px 20px 24px;
|
2519 |
+
float: left;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2520 |
}
|
2521 |
|
2522 |
+
.sfsi_plus_new_prmium_follw p {
|
2523 |
+
margin: 0 !important;
|
2524 |
+
}
|
2525 |
+
|
2526 |
+
.sfsi_plus_new_prmium_follw p {
|
2527 |
+
color: #1a1d20 !important;
|
2528 |
+
font-size: 20px !important;
|
2529 |
+
font-family: helveticaregular !important;
|
2530 |
+
}
|
2531 |
+
|
2532 |
+
.sfsi_plus_new_prmium_follw p a {
|
2533 |
+
color: #12a252 !important;
|
2534 |
+
border-bottom: 1px solid #12a252;
|
2535 |
+
text-decoration: none;
|
2536 |
+
}
|
2537 |
+
|
2538 |
+
.sfsi_plus_new_prmium_follw p b {
|
2539 |
+
font-weight: bold;
|
2540 |
+
color: #1a1d20 !important;
|
2541 |
+
}
|
2542 |
+
|
2543 |
+
p.sfsi_plus_prem_plu_desc a,
|
2544 |
+
p.sfsi_plus_prem_plu_desc_define a {
|
2545 |
+
text-decoration: none !important;
|
2546 |
+
color: #00a0d2 !important;
|
2547 |
+
}
|
2548 |
+
|
2549 |
+
p.sfsi_plus_prem_plu_desc {
|
2550 |
+
font-size: 18px !important;
|
2551 |
+
}
|
2552 |
+
|
2553 |
+
p.sfsi_plus_prem_plu_desc_define {
|
2554 |
+
font-size: 18px !important;
|
2555 |
+
border-left: 0px solid transparent !important;
|
2556 |
+
}
|
2557 |
+
|
2558 |
+
.sfsi_plus_icons_prem_disc {
|
2559 |
+
float: left;
|
2560 |
+
padding-top: 20px;
|
2561 |
+
}
|
2562 |
+
|
2563 |
+
.sfsi_plus_prem_show {
|
2564 |
+
padding-top: 140px !important;
|
2565 |
+
}
|
2566 |
+
|
2567 |
+
.sfsi_plus_first_icon_more h2 {
|
2568 |
+
font-size: 18px !important;
|
2569 |
+
color: #1a1d20 !important;
|
2570 |
+
margin: 0 !important;
|
2571 |
+
padding-top: 17px !important;
|
2572 |
+
padding-bottom: 22px !important;
|
2573 |
+
}
|
2574 |
+
|
2575 |
+
.sfsi_plus_fbpaget {
|
2576 |
+
float: left !important;
|
2577 |
+
padding: 4px 0 0 0px !important;
|
2578 |
+
width: 100% !important;
|
2579 |
+
}
|
2580 |
+
|
2581 |
+
.sfsi_plus_fbpaget .sfsi_plus_facebook_count {
|
2582 |
+
width: 100% !important;
|
2583 |
+
padding: 4px 0 0 0px !important;
|
2584 |
+
}
|
2585 |
+
|
2586 |
+
.sfsi_plus_facebook_pagedeasc {
|
2587 |
+
font-size: 14px !important;
|
2588 |
+
padding: 15px 0 0 60px;
|
2589 |
+
width: 42%;
|
2590 |
+
float: right;
|
2591 |
+
line-height: 22px;
|
2592 |
+
color: #080808;
|
2593 |
+
}
|
2594 |
+
|
2595 |
+
p.sfsi_plus_instagram_shared_premium,
|
2596 |
+
p.sfsi_plus_shared_premium {
|
2597 |
+
color: #1a1d20 !important;
|
2598 |
+
font-family: helveticaregular !important;
|
2599 |
+
padding-top: 0 !important;
|
2600 |
+
}
|
2601 |
+
|
2602 |
+
p.sfsi_plus_shared_premium a,
|
2603 |
+
p.sfsi_plus_instagram_shared_premium a {
|
2604 |
+
text-decoration: none;
|
2605 |
+
color: #00a0d2 !important;
|
2606 |
+
}
|
2607 |
+
|
2608 |
+
p.sfsi_plus_shared_premium b,
|
2609 |
+
p.sfsi_plus_instagram_shared_premium b {
|
2610 |
+
font-weight: bold;
|
2611 |
+
}
|
2612 |
+
|
2613 |
+
p.sfsi_plus_instagram_shared_premium {
|
2614 |
+
float: right;
|
2615 |
+
width: 41%;
|
2616 |
+
line-height: 20px;
|
2617 |
+
color: #1f1d1d;
|
2618 |
+
font-size: 13px;
|
2619 |
+
}
|
2620 |
+
|
2621 |
+
.sfsi_plus_fb_popup_contain {
|
2622 |
+
width: 50%;
|
2623 |
+
display: inline-block;
|
2624 |
+
}
|
2625 |
+
|
2626 |
+
.sfsi_plus_icons_align_other {
|
2627 |
+
width: auto;
|
2628 |
+
font-size: 15px !important;
|
2629 |
+
}
|
2630 |
+
|
2631 |
+
/* notification css*/
|
2632 |
+
.sfsi_plus_new_notification {
|
2633 |
+
background-color: #fff;
|
2634 |
+
border: 4px dashed #00c853;
|
2635 |
+
margin-bottom: 30px;
|
2636 |
+
width: 100%;
|
2637 |
+
}
|
2638 |
+
|
2639 |
+
.sfsi_plus_new_notification_header {
|
2640 |
+
background-color: #e8faef;
|
2641 |
+
display: -webkit-box;
|
2642 |
+
display: -webkit-flex;
|
2643 |
+
display: -ms-flexbox;
|
2644 |
+
display: flex;
|
2645 |
+
-webkit-box-align: center;
|
2646 |
+
-webkit-align-items: center;
|
2647 |
+
-ms-flex-align: center;
|
2648 |
+
align-items: center;
|
2649 |
+
-webkit-box-pack: justify;
|
2650 |
+
-webkit-justify-content: space-between;
|
2651 |
+
-ms-flex-pack: justify;
|
2652 |
+
justify-content: space-between;
|
2653 |
+
padding: 10px 0 12px 0;
|
2654 |
+
}
|
2655 |
+
|
2656 |
+
.sfsi_plus_new_notification_header h1 {
|
2657 |
+
margin: 0 !important;
|
2658 |
+
color: #00c853;
|
2659 |
+
font-size: 18px;
|
2660 |
+
margin: 0 auto !important;
|
2661 |
+
font-family: Arial, Helvetica, sans-serif;
|
2662 |
+
}
|
2663 |
+
|
2664 |
+
.sfsi_plus_new_notification_header h1 a {
|
2665 |
+
margin: 0 !important;
|
2666 |
+
color: #00c853;
|
2667 |
+
font-size: 18px;
|
2668 |
+
margin: 0 auto !important;
|
2669 |
+
font-family: Arial, Helvetica, sans-serif;
|
2670 |
+
text-decoration: none;
|
2671 |
+
}
|
2672 |
+
|
2673 |
+
.sfsi_plus_new_notification_cross {
|
2674 |
+
float: right;
|
2675 |
+
font-size: 18px;
|
2676 |
+
font-weight: 700;
|
2677 |
+
line-height: 1;
|
2678 |
+
color: #00c853;
|
2679 |
+
font-family: Arial, Helvetica, sans-serif;
|
2680 |
+
margin-right: 15px;
|
2681 |
+
cursor: pointer;
|
2682 |
+
}
|
2683 |
+
|
2684 |
+
.sfsi_plus_new_notification_body {
|
2685 |
+
width: 100%;
|
2686 |
+
background-color: #fff;
|
2687 |
+
display: -webkit-box;
|
2688 |
+
display: -webkit-flex;
|
2689 |
+
display: -ms-flexbox;
|
2690 |
+
display: flex;
|
2691 |
+
-webkit-box-align: center;
|
2692 |
+
-webkit-align-items: center;
|
2693 |
+
-ms-flex-align: center;
|
2694 |
+
align-items: center;
|
2695 |
+
-webkit-box-pack: justify;
|
2696 |
+
-webkit-justify-content: space-between;
|
2697 |
+
-ms-flex-pack: justify;
|
2698 |
+
justify-content: space-between;
|
2699 |
+
}
|
2700 |
+
|
2701 |
+
.sfsi_plus_new_notification_image {
|
2702 |
+
margin: 0 20px 0px 20px;
|
2703 |
+
width: 100%;
|
2704 |
+
text-align: center;
|
2705 |
+
overflow: hidden;
|
2706 |
+
}
|
2707 |
+
|
2708 |
+
.sfsi_plus_new_notification_image img {
|
2709 |
+
width: auto;
|
2710 |
+
}
|
2711 |
+
|
2712 |
+
.sfsi_plus_new_notification_learnmore {
|
2713 |
+
float: right;
|
2714 |
+
}
|
2715 |
+
|
2716 |
+
.sfsi_plus_new_notification_learnmore {
|
2717 |
+
background-color: #00c853;
|
2718 |
+
display: block;
|
2719 |
+
text-decoration: none;
|
2720 |
+
text-align: center;
|
2721 |
+
font-size: 20px;
|
2722 |
+
font-family: Arial, Helvetica, sans-serif;
|
2723 |
+
width: 150px;
|
2724 |
+
margin-bottom: -4px;
|
2725 |
+
margin-right: -4px;
|
2726 |
+
position: relative;
|
2727 |
+
color: #fff;
|
2728 |
+
padding: 70px 10px;
|
2729 |
+
}
|
2730 |
+
|
2731 |
+
.sfsi_plus_new_notification_body_link a {
|
2732 |
+
display: block;
|
2733 |
+
text-decoration: none;
|
2734 |
+
text-align: center;
|
2735 |
+
font-size: 20px;
|
2736 |
+
font-family: Arial, Helvetica, sans-serif;
|
2737 |
+
color: #fff;
|
2738 |
+
}
|
2739 |
+
|
2740 |
+
/*Tab 4*/
|
2741 |
+
.tab4 .sfsi_plus_tokenGenerateButton {
|
2742 |
+
margin: 25px 0;
|
2743 |
+
}
|
2744 |
+
|
2745 |
+
.tab4 .sfsi_plus_tokenGenerateButton p {
|
2746 |
+
display: inline-block;
|
2747 |
+
margin-bottom: 11px;
|
2748 |
+
vertical-align: middle;
|
2749 |
+
width: 100%;
|
2750 |
+
}
|
2751 |
+
|
2752 |
+
.tab4 .sfsi_plus_tokenGenerateButton a {
|
2753 |
+
background-color: #12a252;
|
2754 |
+
color: #fff;
|
2755 |
+
padding: 10px 20px;
|
2756 |
+
text-decoration: none;
|
2757 |
+
}
|
2758 |
+
|
2759 |
+
.tab4 .sfsi_plus_instagramInstruction {
|
2760 |
+
float: left;
|
2761 |
+
margin-bottom: 12px;
|
2762 |
+
width: 450px;
|
2763 |
+
}
|
2764 |
+
|
2765 |
+
.tab4 .sfsi_plus_instagramInstruction ul {
|
2766 |
+
padding-left: 14px !important;
|
2767 |
+
}
|
2768 |
+
|
2769 |
+
.tab4 .sfsi_plus_instagramInstruction ul li {
|
2770 |
+
font-size: 13px !important;
|
2771 |
+
line-height: 20px !important;
|
2772 |
+
list-style: outside none bullets !important;
|
2773 |
+
margin-top: 5px !important;
|
2774 |
+
padding: 0 !important;
|
2775 |
+
}
|
2776 |
+
|
2777 |
+
.tab4 .sfsi_instagram_follower {
|
2778 |
+
width: 50%;
|
2779 |
+
float: left;
|
2780 |
+
}
|
2781 |
+
|
2782 |
+
/* tab2 emailsection */
|
2783 |
+
.sfsi_plus_service_row {
|
2784 |
+
margin-right: -15px;
|
2785 |
+
margin-left: -15px;
|
2786 |
+
}
|
2787 |
+
|
2788 |
+
.sfsi_plus_service_column {
|
2789 |
+
float: left;
|
2790 |
+
margin-bottom: 40px;
|
2791 |
+
margin-top: 15px;
|
2792 |
+
padding-left: 30px;
|
2793 |
+
width: 47%;
|
2794 |
+
}
|
2795 |
+
|
2796 |
+
.sfsi_plus_service_column ul {
|
2797 |
+
margin-left: 11% !important;
|
2798 |
+
}
|
2799 |
+
|
2800 |
+
.sfsi_plus_service_column ul li {
|
2801 |
+
padding-bottom: 10px;
|
2802 |
+
font-size: 16px;
|
2803 |
+
line-height: 25px;
|
2804 |
+
}
|
2805 |
+
|
2806 |
+
.sfsi_plus_service_column ul li span {
|
2807 |
+
color: #12a252;
|
2808 |
+
}
|
2809 |
+
|
2810 |
+
.sfsi_plus_service_column ul li::before {
|
2811 |
+
content: url(../images/tick-icon.png);
|
2812 |
+
position: relative;
|
2813 |
+
top: 0px;
|
2814 |
+
right: 10px;
|
2815 |
+
text-indent: -22px;
|
2816 |
+
float: left;
|
2817 |
+
}
|
2818 |
+
|
2819 |
+
.sfsi_plus_inputbtn {
|
2820 |
+
clear: both;
|
2821 |
+
display: block;
|
2822 |
+
}
|
2823 |
+
|
2824 |
+
.sfsi_plus_inputbtn input {
|
2825 |
+
width: 100%;
|
2826 |
+
padding: 15px 0px;
|
2827 |
+
text-align: center;
|
2828 |
+
margin-bottom: 10px;
|
2829 |
+
}
|
2830 |
+
|
2831 |
+
.sfsi_plus_email_services_text {
|
2832 |
+
clear: both;
|
2833 |
+
}
|
2834 |
+
|
2835 |
+
.sfsi_plus_email_services_paragraph {
|
2836 |
+
width: 600px;
|
2837 |
+
float: left;
|
2838 |
+
margin-top: 10px;
|
2839 |
+
margin-bottom: 40px;
|
2840 |
+
}
|
2841 |
+
|
2842 |
+
.sfsi_plus_more_services_link a {
|
2843 |
+
background-color: #12a252;
|
2844 |
+
color: #fff !important;
|
2845 |
+
padding: 20px 0px;
|
2846 |
+
text-decoration: none;
|
2847 |
+
text-align: center;
|
2848 |
+
font-size: 20px;
|
2849 |
+
display: block;
|
2850 |
+
clear: both;
|
2851 |
+
font-weight: bold;
|
2852 |
+
}
|
2853 |
+
|
2854 |
+
.sfsi_plus_subscribe_popbox_link a {
|
2855 |
+
color: #00a0d2 !important;
|
2856 |
+
}
|
2857 |
+
|
2858 |
+
.sfsi_plus_email_services_paragraph ul {
|
2859 |
+
margin-left: 11% !important;
|
2860 |
+
}
|
2861 |
+
|
2862 |
+
.sfsi_plus_email_services_paragraph ul li {
|
2863 |
+
padding-bottom: 10px;
|
2864 |
+
font-size: 16px;
|
2865 |
+
}
|
2866 |
+
|
2867 |
+
.sfsi_plus_email_services_paragraph ul li span {
|
2868 |
+
color: #12a252;
|
2869 |
+
}
|
2870 |
+
|
2871 |
+
.sfsi_plus_email_services_paragraph ul li::before {
|
2872 |
+
content: url(../images/tick-icon.png);
|
2873 |
+
position: relative;
|
2874 |
+
top: 5px;
|
2875 |
+
right: 10px;
|
2876 |
+
text-indent: -22px;
|
2877 |
+
float: left;
|
2878 |
+
}
|
2879 |
+
|
2880 |
+
.sfsi_plus_email_last_paragraph {
|
2881 |
+
width: 60%;
|
2882 |
+
text-align: center !important;
|
2883 |
+
margin: 20px auto ! important;
|
2884 |
+
font-size: 16px !important;
|
2885 |
+
color: #a4a9ad !important;
|
2886 |
+
padding-top: 0px !important;
|
2887 |
+
}
|
2888 |
+
|
2889 |
+
.sfsi_plus_email_last_paragraph a {
|
2890 |
+
color: #12a252 !important;
|
2891 |
+
font-family: 'helveticaneue-light' !important;
|
2892 |
+
}
|
2893 |
+
|
2894 |
+
.pop_up_box.sfsi_pop_up.sfsi_pop_box {
|
2895 |
+
padding: 25px 30px 0 !important;
|
2896 |
+
}
|
2897 |
+
|
2898 |
+
#adminmenu #toplevel_page_sfsi-plus-options ul .wp-first-item {
|
2899 |
+
display: none;
|
2900 |
+
}
|
2901 |
+
|
2902 |
+
ul#adminmenu li.toplevel_page_sfsi-plus-options ul.wp-submenu a.current,
|
2903 |
+
ul#adminmenu li.toplevel_page_sfsi-plus-options ul.wp-submenu a.current:hover {
|
2904 |
+
background: none !important;
|
2905 |
+
|
2906 |
+
}
|
2907 |
+
|
2908 |
+
/*new banner styles*/
|
2909 |
+
.sfsi_plus_new_notification_cat {
|
2910 |
+
width: 100%;
|
2911 |
+
min-height: 300px;
|
2912 |
+
max-width: 700px;
|
2913 |
+
}
|
2914 |
+
|
2915 |
+
.sfsi_plus_new_notification_cat {
|
2916 |
+
background-color: #fff;
|
2917 |
+
margin: 30px auto;
|
2918 |
+
width: 100%;
|
2919 |
+
}
|
2920 |
+
|
2921 |
+
.sfsi_plus_new_notification_header_cat {
|
2922 |
+
background-color: #e8faef;
|
2923 |
+
padding: 21px 0 21px 0;
|
2924 |
+
text-align: center;
|
2925 |
+
}
|
2926 |
+
|
2927 |
+
.sfsi_plus_new_notification_header_cat h1 {
|
2928 |
+
margin: 0;
|
2929 |
+
color: #000000;
|
2930 |
+
font-size: 24px;
|
2931 |
+
margin: 0 auto !important;
|
2932 |
+
font-family: Arial, Helvetica, sans-serif;
|
2933 |
+
font-weight: bold !important;
|
2934 |
+
}
|
2935 |
+
|
2936 |
+
.sfsi_plus_new_notification_header_cat h3 {
|
2937 |
+
margin-top: 10px !important;
|
2938 |
+
font-size: 16px;
|
2939 |
+
color: #000000;
|
2940 |
+
}
|
2941 |
+
|
2942 |
+
.sfsi_plus_new_notification_header_cat h3 a {
|
2943 |
+
text-decoration: none;
|
2944 |
+
color: #38B54A;
|
2945 |
+
}
|
2946 |
+
|
2947 |
+
.sfsi_plus_new_notification_header_cat h1 a {
|
2948 |
+
margin: 0;
|
2949 |
+
color: #00c853;
|
2950 |
+
font-size: 18px;
|
2951 |
+
margin: 0 auto;
|
2952 |
+
font-family: Arial, Helvetica, sans-serif;
|
2953 |
+
text-decoration: none;
|
2954 |
+
}
|
2955 |
+
|
2956 |
+
.sfsi_plus_new_notification_cross_cat {
|
2957 |
+
float: right;
|
2958 |
+
font-size: 18px;
|
2959 |
+
font-weight: 700;
|
2960 |
+
line-height: 1;
|
2961 |
+
color: #000000;
|
2962 |
+
font-family: Arial, Helvetica, sans-serif;
|
2963 |
+
margin-right: 15px;
|
2964 |
+
cursor: pointer;
|
2965 |
+
margin-top: -50px;
|
2966 |
+
}
|
2967 |
+
|
2968 |
+
.sfsi_plus_new_notification_body_link_cat a {
|
2969 |
+
display: block;
|
2970 |
+
text-decoration: none;
|
2971 |
+
text-align: center;
|
2972 |
+
font-size: 20px;
|
2973 |
+
font-family: Arial, Helvetica, sans-serif;
|
2974 |
+
color: #fff;
|
2975 |
+
}
|
2976 |
+
|
2977 |
+
.sfsi_plus_new_notification_body_cat {
|
2978 |
+
width: 100%;
|
2979 |
+
background-color: #fff;
|
2980 |
+
}
|
2981 |
+
|
2982 |
+
.sfsi_plus_new_notification_image_cat {
|
2983 |
+
width: 100%;
|
2984 |
+
text-align: center;
|
2985 |
+
overflow: hidden;
|
2986 |
+
}
|
2987 |
+
|
2988 |
+
.sfsi_plus_new_notification_image_cat img {
|
2989 |
+
width: auto;
|
2990 |
+
border: 0;
|
2991 |
+
vertical-align: middle;
|
2992 |
+
}
|
2993 |
+
|
2994 |
+
.sfsiplus_bottom_text {
|
2995 |
+
background: #38B54A;
|
2996 |
+
text-align: center;
|
2997 |
+
padding: 15px 0px;
|
2998 |
+
font-size: 18px;
|
2999 |
+
font-weight: bold;
|
3000 |
+
color: #fff;
|
3001 |
+
}
|
3002 |
+
|
3003 |
+
.sfsi_plus_new_notification_image_cat p {
|
3004 |
+
color: #000000;
|
3005 |
+
padding: 10px;
|
3006 |
+
font-size: 16px;
|
3007 |
+
}
|
3008 |
+
|
3009 |
+
.sfsi_plus_new_notification_body_link_cat .sfsi_plus_tailored_icons_img {
|
3010 |
+
display: block;
|
3011 |
+
text-decoration: none;
|
3012 |
+
text-align: center;
|
3013 |
+
font-size: 20px;
|
3014 |
+
font-family: Arial, Helvetica, sans-serif;
|
3015 |
+
color: #fff;
|
3016 |
+
margin: 28px 0px;
|
3017 |
+
}
|
3018 |
+
|
3019 |
+
/**curl error box*/
|
3020 |
+
.sfsiplus_curlerror {
|
3021 |
+
margin: 0px 0px 10px 94px;
|
3022 |
+
background: rgba(244, 67, 54, 0.08);
|
3023 |
+
padding: 20px;
|
3024 |
+
line-height: 20px;
|
3025 |
+
}
|
3026 |
+
|
3027 |
+
.sfsi_plus_versionNotification .sfsiplus_curlerror {
|
3028 |
+
background: rgba(244, 67, 54, 0.08);
|
3029 |
+
padding: 20px;
|
3030 |
+
line-height: 20px;
|
3031 |
+
margin: 0px 0px 10px 0px;
|
3032 |
+
}
|
3033 |
+
|
3034 |
+
.sfsi_plus_curlerror_cross {
|
3035 |
+
float: right;
|
3036 |
+
text-decoration: underline;
|
3037 |
+
margin-top: 10px;
|
3038 |
+
}
|
3039 |
+
|
3040 |
+
.sfsiplus_curlerrortab4 a {
|
3041 |
+
color: #0073aa !important;
|
3042 |
+
}
|
3043 |
+
|
3044 |
+
.sfsiplus_curlerror a {
|
3045 |
+
color: #0073aa !important;
|
3046 |
+
}
|
3047 |
+
|
3048 |
+
.social_data_post_types {
|
3049 |
+
float: left;
|
3050 |
+
width: 100%;
|
3051 |
+
margin-top: 10px;
|
3052 |
+
}
|
3053 |
+
|
3054 |
+
.social_data_post_types .checkbox {
|
3055 |
+
float: left;
|
3056 |
+
margin-top: 5px;
|
3057 |
+
margin-right: 5px;
|
3058 |
+
}
|
3059 |
+
|
3060 |
+
.social_data_post_types ul {
|
3061 |
+
float: left;
|
3062 |
+
margin-top: 5px;
|
3063 |
+
}
|
3064 |
+
|
3065 |
+
.social_data_post_types li {
|
3066 |
+
float: left;
|
3067 |
+
min-width: 90px;
|
3068 |
+
}
|
3069 |
+
|
3070 |
+
.social_data_post_types .radio_section.tb_4_ck {
|
3071 |
+
float: left;
|
3072 |
+
margin-right: 5px;
|
3073 |
+
}
|
3074 |
+
|
3075 |
+
.social_data_post_types .radio_section.tb_4_ck .cstmdsplsub {
|
3076 |
+
font-size: 16px;
|
3077 |
+
}
|
3078 |
+
|
3079 |
+
.social_data_post_types ul {
|
3080 |
+
float: left;
|
3081 |
+
width: 84%;
|
3082 |
+
}
|
3083 |
+
|
3084 |
+
.social_data_post_types .radio_section.tb_4_ck input.styled {
|
3085 |
+
margin-top: 20px;
|
3086 |
+
}
|
3087 |
+
|
3088 |
+
ul.sfsi_show_hide_section {
|
3089 |
+
float: right;
|
3090 |
+
width: 14%;
|
3091 |
+
}
|
3092 |
+
|
3093 |
+
.sfsi_social_sharing {
|
3094 |
+
margin-bottom: 15px;
|
3095 |
+
float: left;
|
3096 |
+
width: 51%;
|
3097 |
+
}
|
3098 |
+
|
3099 |
+
.socialPostTypesUl span {
|
3100 |
+
pointer-events: none
|
3101 |
+
}
|
3102 |
+
|
3103 |
+
.sfsiplus_pinterest_section .sfsi_plus_new_prmium_follw a {
|
3104 |
+
font-weight: bold;
|
3105 |
+
}
|
3106 |
+
|
3107 |
+
/*support forum*/
|
3108 |
+
.welcometext {
|
3109 |
+
float: left;
|
3110 |
+
width: 78%;
|
3111 |
+
}
|
3112 |
+
|
3113 |
+
.welcometext p {
|
3114 |
+
margin-bottom: 8px !important;
|
3115 |
+
margin-top: 15px !important;
|
3116 |
+
}
|
3117 |
+
|
3118 |
+
.supportforum {
|
3119 |
+
float: right;
|
3120 |
+
width: auto;
|
3121 |
+
background: #fff;
|
3122 |
+
text-align: center;
|
3123 |
+
padding: 0 20px 3px 7px;
|
3124 |
+
}
|
3125 |
+
|
3126 |
+
.support-container p {
|
3127 |
+
font-family: helveticaregular !important;
|
3128 |
+
}
|
3129 |
+
|
3130 |
+
.support-container {
|
3131 |
+
padding: 7px 4px;
|
3132 |
+
}
|
3133 |
+
|
3134 |
+
.have-questions {
|
3135 |
+
text-align: center;
|
3136 |
+
font-size: 20px;
|
3137 |
+
}
|
3138 |
+
|
3139 |
+
.have-questions img {
|
3140 |
+
width: 45px;
|
3141 |
+
display: inline-block;
|
3142 |
+
}
|
3143 |
+
|
3144 |
+
.have-questions .have-quest {
|
3145 |
+
display: inline-block;
|
3146 |
+
font-size: 20px;
|
3147 |
+
font-weight: 700;
|
3148 |
+
margin: 0;
|
3149 |
+
vertical-align: top;
|
3150 |
+
margin-top: 13px;
|
3151 |
+
}
|
3152 |
+
|
3153 |
+
.have-questions .ask-question {
|
3154 |
+
margin-bottom: 3px !important;
|
3155 |
+
margin-top: 2px !important;
|
3156 |
+
}
|
3157 |
+
|
3158 |
+
.support-forum-green-bg {
|
3159 |
+
margin-top: 5px;
|
3160 |
+
margin-left: 20px;
|
3161 |
+
background: #26B654;
|
3162 |
+
width: 145px;
|
3163 |
+
border-radius: 5px;
|
3164 |
+
padding: 10px 16px 8px 15px;
|
3165 |
+
}
|
3166 |
+
|
3167 |
+
.support-forum-green-bg img {
|
3168 |
+
display: inline-block;
|
3169 |
+
padding-right: 5px;
|
3170 |
+
vertical-align: top;
|
3171 |
+
margin-top: 3px;
|
3172 |
+
}
|
3173 |
+
|
3174 |
+
.support-forum-green-div p.support-forum {
|
3175 |
+
display: inline-block;
|
3176 |
+
color: #fff;
|
3177 |
+
font-weight: 700;
|
3178 |
+
margin: 0 !important;
|
3179 |
+
}
|
3180 |
+
|
3181 |
+
.support-forum-green-div a {
|
3182 |
+
text-decoration: none !important;
|
3183 |
+
}
|
3184 |
+
|
3185 |
+
.respond-text p {
|
3186 |
+
margin: 10px 0 0 0px !important
|
3187 |
+
}
|
3188 |
+
|
3189 |
+
.respond-text {
|
3190 |
+
margin-left: 20px;
|
3191 |
+
float: left;
|
3192 |
+
margin-bottom: 8px;
|
3193 |
+
}
|
3194 |
+
|
3195 |
+
#accordion,
|
3196 |
+
#accordion1 {
|
3197 |
+
float: left;
|
3198 |
+
clear: both;
|
3199 |
+
width: 100%;
|
3200 |
+
}
|
3201 |
+
|
3202 |
+
@media (min-width: 1631px) and (max-width: 1631px) {
|
3203 |
+
.premiumComponent {
|
3204 |
+
width: 52% !important;
|
3205 |
+
}
|
3206 |
+
|
3207 |
+
.premiumButtonsContainer {
|
3208 |
+
width: 44% !important;
|
3209 |
+
}
|
3210 |
+
|
3211 |
+
.premiumButtonsContainer .premiumSection2 {
|
3212 |
+
width: 41% !important;
|
3213 |
+
}
|
3214 |
+
|
3215 |
+
.premiumButtonsContainer .premiumSection3 {
|
3216 |
+
width: 41% !important;
|
3217 |
+
}
|
3218 |
+
}
|
3219 |
+
|
3220 |
+
/* Link to support forum for different languages */
|
3221 |
+
#sfsi_plus_langnotice {
|
3222 |
+
position: relative;
|
3223 |
+
padding: 15px 10px;
|
3224 |
+
margin: 0px 15px 35px 0px;
|
3225 |
+
}
|
3226 |
+
|
3227 |
+
#sfsi_plus_langnotice .sfsi-notice-dismiss {
|
3228 |
+
position: absolute;
|
3229 |
+
right: 1px;
|
3230 |
+
border: none;
|
3231 |
+
margin: 0;
|
3232 |
+
padding: 9px;
|
3233 |
+
background: none;
|
3234 |
+
color: #72777c;
|
3235 |
+
cursor: pointer;
|
3236 |
+
top: 5px;
|
3237 |
+
}
|
3238 |
+
|
3239 |
+
/* Link to support forum left of every Save button */
|
3240 |
+
.ui-accordion .ui-accordion-content {
|
3241 |
+
position: relative;
|
3242 |
+
}
|
3243 |
+
|
3244 |
+
.sfsi_plus_askforhelp {
|
3245 |
+
float: left;
|
3246 |
+
width: auto;
|
3247 |
+
position: absolute;
|
3248 |
+
bottom: 30px;
|
3249 |
+
}
|
3250 |
+
|
3251 |
+
.sfsi_plus_askforhelp img {
|
3252 |
+
float: left;
|
3253 |
+
width: 35px;
|
3254 |
+
height: 35px;
|
3255 |
+
vertical-align: middle;
|
3256 |
+
}
|
3257 |
+
|
3258 |
+
.sfsi_plus_askforhelp span {
|
3259 |
+
float: left;
|
3260 |
+
margin-left: 6px;
|
3261 |
+
margin-top: 8px;
|
3262 |
+
}
|
3263 |
+
|
3264 |
+
.askhelpInview2 {
|
3265 |
+
bottom: 25px;
|
3266 |
+
}
|
3267 |
+
|
3268 |
+
.askhelpInview3 {
|
3269 |
+
bottom: 51px;
|
3270 |
+
}
|
3271 |
+
|
3272 |
+
.askhelpInview7 {
|
3273 |
+
bottom: 50px;
|
3274 |
+
}
|
3275 |
+
|
3276 |
+
.ulSuppressErrors {
|
3277 |
+
margin-top: 20px !important;
|
3278 |
+
}
|
3279 |
+
|
3280 |
+
.ulSuppressErrors li {
|
3281 |
+
float: left;
|
3282 |
+
}
|
3283 |
+
|
3284 |
+
div#sfsi_plus_addThis_removal_notice {
|
3285 |
+
padding: 10px;
|
3286 |
+
margin-left: 0px;
|
3287 |
+
position: relative;
|
3288 |
+
}
|
3289 |
+
|
3290 |
+
div#sfsi_plus_langnotice {
|
3291 |
+
padding: 10px;
|
3292 |
+
margin-left: 0px;
|
3293 |
+
position: relative;
|
3294 |
+
}
|
3295 |
+
|
3296 |
+
|
3297 |
+
.clear {
|
3298 |
+
clear: both;
|
3299 |
+
}
|
3300 |
+
|
3301 |
+
.show {
|
3302 |
+
display: block;
|
3303 |
+
}
|
3304 |
+
|
3305 |
+
.hide {
|
3306 |
+
display: none;
|
3307 |
+
}
|
3308 |
+
|
3309 |
+
.zeropadding {
|
3310 |
+
padding: 0px !important;
|
3311 |
+
}
|
3312 |
+
|
3313 |
+
.zerotoppadding {
|
3314 |
+
padding-top: 0px !important;
|
3315 |
+
}
|
3316 |
+
|
3317 |
+
.zerobottompadding {
|
3318 |
+
padding-bottom: 0px !important;
|
3319 |
+
}
|
3320 |
+
|
3321 |
+
.zerotopmargin {
|
3322 |
+
margin-top: 0px !important;
|
3323 |
+
}
|
3324 |
+
|
3325 |
+
.rowpadding10 {
|
3326 |
+
padding: 10px 0 !important;
|
3327 |
+
}
|
3328 |
+
|
3329 |
+
.rowmarginleft15 {
|
3330 |
+
margin-left: 15px !important;
|
3331 |
+
}
|
3332 |
+
|
3333 |
+
.rowmarginleft25 {
|
3334 |
+
margin-left: 25px !important;
|
3335 |
+
}
|
3336 |
+
|
3337 |
+
.rowmarginleft45 {
|
3338 |
+
margin-left: 45px !important;
|
3339 |
+
}
|
3340 |
+
|
3341 |
+
.bottommargin20 {
|
3342 |
+
margin-bottom: 20px !important;
|
3343 |
+
}
|
3344 |
+
|
3345 |
+
.bottommargin30 {
|
3346 |
+
margin-bottom: 30px !important;
|
3347 |
+
}
|
3348 |
+
|
3349 |
+
.bottommargin40 {
|
3350 |
+
margin-bottom: 40px !important;
|
3351 |
+
}
|
3352 |
+
|
3353 |
+
.inactiveSection {
|
3354 |
+
opacity: 0.2;
|
3355 |
+
pointer-events: none;
|
3356 |
+
}
|
3357 |
+
|
3358 |
+
/* */
|
3359 |
+
.tab3 .sub_row {
|
3360 |
+
float: left;
|
3361 |
+
margin: 35px 0 0 4%;
|
3362 |
+
width: 80%;
|
3363 |
+
}
|
3364 |
+
|
3365 |
+
.tab3 .sub_row label {
|
3366 |
+
float: left;
|
3367 |
+
margin: 0 0px 0 10px;
|
3368 |
+
line-height: 36px;
|
3369 |
+
font-size: 18px;
|
3370 |
+
}
|
3371 |
+
|
3372 |
+
.tab3 .sub_row .effectContainer {
|
3373 |
+
float: left;
|
3374 |
+
width: 100%;
|
3375 |
+
margin-left: 45px;
|
3376 |
+
}
|
3377 |
+
|
3378 |
+
.tab3 .sub_row .effectName {
|
3379 |
+
float: left;
|
3380 |
+
width: 25%;
|
3381 |
+
}
|
3382 |
+
|
3383 |
+
.tab3 .tab_3_sav {
|
3384 |
+
padding-top: 0;
|
3385 |
+
margin: 0px auto 10px;
|
3386 |
+
position: relative;
|
3387 |
+
z-index: 9;
|
3388 |
+
}
|
3389 |
+
|
3390 |
+
.tab3 .Shuffle_auto {
|
3391 |
+
float: left;
|
3392 |
+
width: 80%;
|
3393 |
+
clear: both;
|
3394 |
+
}
|
3395 |
+
|
3396 |
+
.tab3 #animationSection label {
|
3397 |
+
font-family: 'helveticaneue-light';
|
3398 |
+
}
|
3399 |
+
|
3400 |
+
.tab3 select[name='mouseover_other_icons_transition_effect'] {
|
3401 |
+
margin-left: 10px;
|
3402 |
+
padding: 0px 11px;
|
3403 |
+
margin-top: 4px;
|
3404 |
+
font-size: 15px;
|
3405 |
+
border-radius: 5px;
|
3406 |
+
}
|
3407 |
+
|
3408 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_label {
|
3409 |
+
float: left;
|
3410 |
+
width: 30%;
|
3411 |
+
font-size: 16px;
|
3412 |
+
}
|
3413 |
+
|
3414 |
+
.tab3 .mouse-over-effects span.radio {
|
3415 |
+
float: left;
|
3416 |
+
display: inline-block;
|
3417 |
+
}
|
3418 |
+
|
3419 |
+
.tab3 .same_icons_effects label span {
|
3420 |
+
float: left;
|
3421 |
+
clear: both;
|
3422 |
+
line-height: 20px;
|
3423 |
+
}
|
3424 |
+
|
3425 |
+
.tab3 .same_icons_effects label span:nth-child(2) {
|
3426 |
+
font-size: 14px;
|
3427 |
+
}
|
3428 |
+
|
3429 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_img {
|
3430 |
+
float: left;
|
3431 |
+
width: 40px;
|
3432 |
+
height: 40px;
|
3433 |
+
}
|
3434 |
+
|
3435 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_change_link,
|
3436 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_revert_link {
|
3437 |
+
float: left;
|
3438 |
+
color: #337ab7;
|
3439 |
+
margin-left: 15px;
|
3440 |
+
padding: 5px 0px;
|
3441 |
+
font-size: 15px;
|
3442 |
+
text-decoration: underline;
|
3443 |
+
}
|
3444 |
+
|
3445 |
+
/* MZ CSS */
|
3446 |
+
.notopborder {
|
3447 |
+
border-top: none !important;
|
3448 |
+
}
|
3449 |
+
|
3450 |
+
|
3451 |
+
/* MZ CSS END */
|
3452 |
+
.mouseover-premium-notice {}
|
3453 |
+
|
3454 |
+
.mouseover-premium-notice label {
|
3455 |
+
width: auto !important;
|
3456 |
+
margin: 0 !important;
|
3457 |
+
}
|
3458 |
+
|
3459 |
+
.mouseover-premium-notice a {
|
3460 |
+
float: left;
|
3461 |
+
color: #12a252 !important;
|
3462 |
+
padding-top: 5px;
|
3463 |
+
margin-left: 5px;
|
3464 |
+
font-size: 18px;
|
3465 |
+
}
|
3466 |
+
|
3467 |
+
@media (min-width:414px) and (max-width: 736px) and (orientation:portrait) {
|
3468 |
+
.tab3 .sub_row {
|
3469 |
+
width: 100%;
|
3470 |
+
}
|
3471 |
+
|
3472 |
+
.tab3 .sub_row .effectContainer {
|
3473 |
+
margin-left: 25px;
|
3474 |
+
margin-bottom: 0px;
|
3475 |
+
clear: both;
|
3476 |
+
}
|
3477 |
+
|
3478 |
+
.tab3 .sub_row .effectName {
|
3479 |
+
width: 100%;
|
3480 |
+
margin-bottom: 25px
|
3481 |
+
}
|
3482 |
+
|
3483 |
+
.rowmarginleft45 {
|
3484 |
+
margin-left: 0px !important;
|
3485 |
+
}
|
3486 |
+
|
3487 |
+
.bottommargin40 {
|
3488 |
+
margin-bottom: 0px !important;
|
3489 |
+
}
|
3490 |
+
}
|
3491 |
+
|
3492 |
+
@media (min-width:414px) and (max-width: 736px) and (orientation:landscape) {
|
3493 |
+
.tab3 .sub_row {
|
3494 |
+
width: 100%;
|
3495 |
+
}
|
3496 |
+
|
3497 |
+
.tab3 .sub_row .effectContainer {
|
3498 |
+
margin-left: 25px;
|
3499 |
+
margin-bottom: 0px;
|
3500 |
+
clear: both;
|
3501 |
+
}
|
3502 |
+
|
3503 |
+
.tab3 .sub_row .effectName {
|
3504 |
+
width: 50%;
|
3505 |
+
margin-bottom: 25px
|
3506 |
+
}
|
3507 |
+
|
3508 |
+
.rowmarginleft45 {
|
3509 |
+
margin-left: 25px !important;
|
3510 |
+
}
|
3511 |
+
|
3512 |
+
.bottommargin40 {
|
3513 |
+
margin-bottom: 0px !important;
|
3514 |
+
}
|
3515 |
+
}
|
3516 |
+
|
3517 |
+
@media (min-width:1024px) and (max-width: 1366px) and (orientation:portrait) {}
|
3518 |
+
|
3519 |
+
@media (min-width:1024px) and (max-width: 1366px) and (orientation:landscape) {
|
3520 |
+
.tab3 .sub_row .effectName {
|
3521 |
+
width: 40%;
|
3522 |
+
}
|
3523 |
+
|
3524 |
+
.tab3 .sub_row label {
|
3525 |
+
width: 75%;
|
3526 |
+
}
|
3527 |
+
}
|
3528 |
+
|
3529 |
+
@media (min-width:768px) and (max-width: 1024px) and (orientation:portrait) {
|
3530 |
+
.tab3 .sub_row {
|
3531 |
+
width: 100%;
|
3532 |
+
}
|
3533 |
+
|
3534 |
+
.tab3 .sub_row .effectContainer {
|
3535 |
+
margin-bottom: 25px;
|
3536 |
+
clear: both;
|
3537 |
+
}
|
3538 |
+
|
3539 |
+
.tab3 .sub_row .effectName {
|
3540 |
+
width: 50%;
|
3541 |
+
}
|
3542 |
+
|
3543 |
+
.tab3 .sub_row label {
|
3544 |
+
width: 77%;
|
3545 |
+
}
|
3546 |
+
}
|
3547 |
+
|
3548 |
+
/* */
|
3549 |
+
|
3550 |
+
.col-lg-1,
|
3551 |
+
.col-lg-10,
|
3552 |
+
.col-lg-11,
|
3553 |
+
.col-lg-12,
|
3554 |
+
.col-lg-2,
|
3555 |
+
.col-lg-3,
|
3556 |
+
.col-lg-4,
|
3557 |
+
.col-lg-5,
|
3558 |
+
.col-lg-6,
|
3559 |
+
.col-lg-7,
|
3560 |
+
.col-lg-8,
|
3561 |
+
.col-lg-9,
|
3562 |
+
.col-md-1,
|
3563 |
+
.col-md-10,
|
3564 |
+
.col-md-11,
|
3565 |
+
.col-md-12,
|
3566 |
+
.col-md-2,
|
3567 |
+
.col-md-3,
|
3568 |
+
.col-md-4,
|
3569 |
+
.col-md-5,
|
3570 |
+
.col-md-6,
|
3571 |
+
.col-md-7,
|
3572 |
+
.col-md-8,
|
3573 |
+
.col-md-9,
|
3574 |
+
.col-sm-1,
|
3575 |
+
.col-sm-10,
|
3576 |
+
.col-sm-11,
|
3577 |
+
.col-sm-12,
|
3578 |
+
.col-sm-2,
|
3579 |
+
.col-sm-3,
|
3580 |
+
.col-sm-4,
|
3581 |
+
.col-sm-5,
|
3582 |
+
.col-sm-6,
|
3583 |
+
.col-sm-7,
|
3584 |
+
.col-sm-8,
|
3585 |
+
.col-sm-9,
|
3586 |
+
.col-xs-1,
|
3587 |
+
.col-xs-10,
|
3588 |
+
.col-xs-11,
|
3589 |
+
.col-xs-12,
|
3590 |
+
.col-xs-2,
|
3591 |
+
.col-xs-3,
|
3592 |
+
.col-xs-4,
|
3593 |
+
.col-xs-5,
|
3594 |
+
.col-xs-6,
|
3595 |
+
.col-xs-7,
|
3596 |
+
.col-xs-8,
|
3597 |
+
.col-xs-9 {
|
3598 |
+
position: relative;
|
3599 |
+
min-height: 1px;
|
3600 |
+
padding-right: 15px;
|
3601 |
+
padding-left: 15px;
|
3602 |
+
}
|
3603 |
+
|
3604 |
+
@media (min-width: 992px) {
|
3605 |
+
.col-md-3 {
|
3606 |
+
width: 25%;
|
3607 |
+
}
|
3608 |
+
|
3609 |
+
.col-md-1,
|
3610 |
+
.col-md-10,
|
3611 |
+
.col-md-11,
|
3612 |
+
.col-md-12,
|
3613 |
+
.col-md-2,
|
3614 |
+
.col-md-3,
|
3615 |
+
.col-md-4,
|
3616 |
+
.col-md-5,
|
3617 |
+
.col-md-6,
|
3618 |
+
.col-md-7,
|
3619 |
+
.col-md-8,
|
3620 |
+
.col-md-9 {
|
3621 |
+
float: left;
|
3622 |
+
}
|
3623 |
+
|
3624 |
+
.col-md-12 {
|
3625 |
+
width: 100%
|
3626 |
+
}
|
3627 |
+
|
3628 |
+
.col-md-11 {
|
3629 |
+
width: 91.66666667%
|
3630 |
+
}
|
3631 |
+
|
3632 |
+
.col-md-10 {
|
3633 |
+
width: 83.33333333%
|
3634 |
+
}
|
3635 |
+
|
3636 |
+
.col-md-9 {
|
3637 |
+
width: 75%
|
3638 |
+
}
|
3639 |
+
|
3640 |
+
.col-md-8 {
|
3641 |
+
width: 66.66666667%
|
3642 |
+
}
|
3643 |
+
|
3644 |
+
.col-md-7 {
|
3645 |
+
width: 58.33333333%
|
3646 |
+
}
|
3647 |
+
|
3648 |
+
.col-md-6 {
|
3649 |
+
width: 50%
|
3650 |
+
}
|
3651 |
+
|
3652 |
+
.col-md-5 {
|
3653 |
+
width: 41.66666667%
|
3654 |
+
}
|
3655 |
+
|
3656 |
+
.col-md-4 {
|
3657 |
+
width: 33.33333333%
|
3658 |
+
}
|
3659 |
+
|
3660 |
+
.col-md-3 {
|
3661 |
+
width: 25%
|
3662 |
+
}
|
3663 |
+
|
3664 |
+
.col-md-2 {
|
3665 |
+
width: 16.66666667%
|
3666 |
+
}
|
3667 |
+
|
3668 |
+
.col-md-1 {
|
3669 |
+
width: 8.33333333%
|
3670 |
+
}
|
3671 |
+
|
3672 |
+
.col-md-pull-12 {
|
3673 |
+
right: 100%
|
3674 |
+
}
|
3675 |
+
|
3676 |
+
.col-md-pull-11 {
|
3677 |
+
right: 91.66666667%
|
3678 |
+
}
|
3679 |
+
|
3680 |
+
.col-md-pull-10 {
|
3681 |
+
right: 83.33333333%
|
3682 |
+
}
|
3683 |
+
|
3684 |
+
.col-md-pull-9 {
|
3685 |
+
right: 75%
|
3686 |
+
}
|
3687 |
+
|
3688 |
+
.col-md-pull-8 {
|
3689 |
+
right: 66.66666667%
|
3690 |
+
}
|
3691 |
+
|
3692 |
+
.col-md-pull-7 {
|
3693 |
+
right: 58.33333333%
|
3694 |
+
}
|
3695 |
+
|
3696 |
+
.col-md-pull-6 {
|
3697 |
+
right: 50%
|
3698 |
+
}
|
3699 |
+
|
3700 |
+
.col-md-pull-5 {
|
3701 |
+
right: 41.66666667%
|
3702 |
+
}
|
3703 |
+
|
3704 |
+
.col-md-pull-4 {
|
3705 |
+
right: 33.33333333%
|
3706 |
+
}
|
3707 |
+
|
3708 |
+
.col-md-pull-3 {
|
3709 |
+
right: 25%
|
3710 |
+
}
|
3711 |
+
|
3712 |
+
.col-md-pull-2 {
|
3713 |
+
right: 16.66666667%
|
3714 |
+
}
|
3715 |
+
|
3716 |
+
.col-md-pull-1 {
|
3717 |
+
right: 8.33333333%
|
3718 |
+
}
|
3719 |
+
|
3720 |
+
.col-md-pull-0 {
|
3721 |
+
right: auto
|
3722 |
+
}
|
3723 |
+
|
3724 |
+
.col-md-push-12 {
|
3725 |
+
left: 100%
|
3726 |
+
}
|
3727 |
+
|
3728 |
+
.col-md-push-11 {
|
3729 |
+
left: 91.66666667%
|
3730 |
+
}
|
3731 |
+
|
3732 |
+
.col-md-push-10 {
|
3733 |
+
left: 83.33333333%
|
3734 |
+
}
|
3735 |
+
|
3736 |
+
.col-md-push-9 {
|
3737 |
+
left: 75%
|
3738 |
+
}
|
3739 |
+
|
3740 |
+
.col-md-push-8 {
|
3741 |
+
left: 66.66666667%
|
3742 |
+
}
|
3743 |
+
|
3744 |
+
.col-md-push-7 {
|
3745 |
+
left: 58.33333333%
|
3746 |
+
}
|
3747 |
+
|
3748 |
+
.col-md-push-6 {
|
3749 |
+
left: 50%
|
3750 |
+
}
|
3751 |
+
|
3752 |
+
.col-md-push-5 {
|
3753 |
+
left: 41.66666667%
|
3754 |
+
}
|
3755 |
+
|
3756 |
+
.col-md-push-4 {
|
3757 |
+
left: 33.33333333%
|
3758 |
+
}
|
3759 |
+
|
3760 |
+
.col-md-push-3 {
|
3761 |
+
left: 25%
|
3762 |
+
}
|
3763 |
+
|
3764 |
+
.col-md-push-2 {
|
3765 |
+
left: 16.66666667%
|
3766 |
+
}
|
3767 |
+
|
3768 |
+
.col-md-push-1 {
|
3769 |
+
left: 8.33333333%
|
3770 |
+
}
|
3771 |
+
|
3772 |
+
.col-md-push-0 {
|
3773 |
+
left: auto
|
3774 |
+
}
|
3775 |
+
|
3776 |
+
.col-md-offset-12 {
|
3777 |
+
margin-left: 100%
|
3778 |
+
}
|
3779 |
+
|
3780 |
+
.col-md-offset-11 {
|
3781 |
+
margin-left: 91.66666667%
|
3782 |
+
}
|
3783 |
+
|
3784 |
+
.col-md-offset-10 {
|
3785 |
+
margin-left: 83.33333333%
|
3786 |
+
}
|
3787 |
+
|
3788 |
+
.col-md-offset-9 {
|
3789 |
+
margin-left: 75%
|
3790 |
+
}
|
3791 |
+
|
3792 |
+
.col-md-offset-8 {
|
3793 |
+
margin-left: 66.66666667%
|
3794 |
+
}
|
3795 |
+
|
3796 |
+
.col-md-offset-7 {
|
3797 |
+
margin-left: 58.33333333%
|
3798 |
+
}
|
3799 |
+
|
3800 |
+
.col-md-offset-6 {
|
3801 |
+
margin-left: 50%
|
3802 |
+
}
|
3803 |
+
|
3804 |
+
.col-md-offset-5 {
|
3805 |
+
margin-left: 41.66666667%
|
3806 |
+
}
|
3807 |
+
|
3808 |
+
.col-md-offset-4 {
|
3809 |
+
margin-left: 33.33333333%
|
3810 |
+
}
|
3811 |
+
|
3812 |
+
.col-md-offset-3 {
|
3813 |
+
margin-left: 25%
|
3814 |
+
}
|
3815 |
+
|
3816 |
+
.col-md-offset-2 {
|
3817 |
+
margin-left: 16.66666667%
|
3818 |
+
}
|
3819 |
+
|
3820 |
+
.col-md-offset-1 {
|
3821 |
+
margin-left: 8.33333333%
|
3822 |
+
}
|
3823 |
+
|
3824 |
+
.col-md-offset-0 {
|
3825 |
+
margin-left: 0
|
3826 |
+
}
|
3827 |
+
}
|
3828 |
+
|
3829 |
+
@media (min-width:768px) {
|
3830 |
+
|
3831 |
+
.col-sm-1,
|
3832 |
+
.col-sm-10,
|
3833 |
+
.col-sm-11,
|
3834 |
+
.col-sm-12,
|
3835 |
+
.col-sm-2,
|
3836 |
+
.col-sm-3,
|
3837 |
+
.col-sm-4,
|
3838 |
+
.col-sm-5,
|
3839 |
+
.col-sm-6,
|
3840 |
+
.col-sm-7,
|
3841 |
+
.col-sm-8,
|
3842 |
+
.col-sm-9 {
|
3843 |
+
float: left
|
3844 |
+
}
|
3845 |
+
|
3846 |
+
.col-sm-12 {
|
3847 |
+
width: 100%
|
3848 |
+
}
|
3849 |
+
|
3850 |
+
.col-sm-11 {
|
3851 |
+
width: 91.66666667%
|
3852 |
+
}
|
3853 |
+
|
3854 |
+
.col-sm-10 {
|
3855 |
+
width: 83.33333333%
|
3856 |
+
}
|
3857 |
+
|
3858 |
+
.col-sm-9 {
|
3859 |
+
width: 75%
|
3860 |
+
}
|
3861 |
+
|
3862 |
+
.col-sm-8 {
|
3863 |
+
width: 66.66666667%
|
3864 |
+
}
|
3865 |
+
|
3866 |
+
.col-sm-7 {
|
3867 |
+
width: 58.33333333%
|
3868 |
+
}
|
3869 |
+
|
3870 |
+
.col-sm-6 {
|
3871 |
+
width: 50%
|
3872 |
+
}
|
3873 |
+
|
3874 |
+
.col-sm-5 {
|
3875 |
+
width: 41.66666667%
|
3876 |
+
}
|
3877 |
+
|
3878 |
+
.col-sm-4 {
|
3879 |
+
width: 33.33333333%
|
3880 |
+
}
|
3881 |
+
|
3882 |
+
.col-sm-3 {
|
3883 |
+
width: 25%
|
3884 |
+
}
|
3885 |
+
|
3886 |
+
.col-sm-2 {
|
3887 |
+
width: 16.66666667%
|
3888 |
+
}
|
3889 |
+
|
3890 |
+
.col-sm-1 {
|
3891 |
+
width: 8.33333333%
|
3892 |
+
}
|
3893 |
+
|
3894 |
+
.col-sm-pull-12 {
|
3895 |
+
right: 100%
|
3896 |
+
}
|
3897 |
+
|
3898 |
+
.col-sm-pull-11 {
|
3899 |
+
right: 91.66666667%
|
3900 |
+
}
|
3901 |
+
|
3902 |
+
.col-sm-pull-10 {
|
3903 |
+
right: 83.33333333%
|
3904 |
+
}
|
3905 |
+
|
3906 |
+
.col-sm-pull-9 {
|
3907 |
+
right: 75%
|
3908 |
+
}
|
3909 |
+
|
3910 |
+
.col-sm-pull-8 {
|
3911 |
+
right: 66.66666667%
|
3912 |
+
}
|
3913 |
+
|
3914 |
+
.col-sm-pull-7 {
|
3915 |
+
right: 58.33333333%
|
3916 |
+
}
|
3917 |
+
|
3918 |
+
.col-sm-pull-6 {
|
3919 |
+
right: 50%
|
3920 |
+
}
|
3921 |
+
|
3922 |
+
.col-sm-pull-5 {
|
3923 |
+
right: 41.66666667%
|
3924 |
+
}
|
3925 |
+
|
3926 |
+
.col-sm-pull-4 {
|
3927 |
+
right: 33.33333333%
|
3928 |
+
}
|
3929 |
+
|
3930 |
+
.col-sm-pull-3 {
|
3931 |
+
right: 25%
|
3932 |
+
}
|
3933 |
+
|
3934 |
+
.col-sm-pull-2 {
|
3935 |
+
right: 16.66666667%
|
3936 |
+
}
|
3937 |
+
|
3938 |
+
.col-sm-pull-1 {
|
3939 |
+
right: 8.33333333%
|
3940 |
+
}
|
3941 |
+
|
3942 |
+
.col-sm-pull-0 {
|
3943 |
+
right: auto
|
3944 |
+
}
|
3945 |
+
|
3946 |
+
.col-sm-push-12 {
|
3947 |
+
left: 100%
|
3948 |
+
}
|
3949 |
+
|
3950 |
+
.col-sm-push-11 {
|
3951 |
+
left: 91.66666667%
|
3952 |
+
}
|
3953 |
+
|
3954 |
+
.col-sm-push-10 {
|
3955 |
+
left: 83.33333333%
|
3956 |
+
}
|
3957 |
+
|
3958 |
+
.col-sm-push-9 {
|
3959 |
+
left: 75%
|
3960 |
+
}
|
3961 |
+
|
3962 |
+
.col-sm-push-8 {
|
3963 |
+
left: 66.66666667%
|
3964 |
+
}
|
3965 |
+
|
3966 |
+
.col-sm-push-7 {
|
3967 |
+
left: 58.33333333%
|
3968 |
+
}
|
3969 |
+
|
3970 |
+
.col-sm-push-6 {
|
3971 |
+
left: 50%
|
3972 |
+
}
|
3973 |
+
|
3974 |
+
.col-sm-push-5 {
|
3975 |
+
left: 41.66666667%
|
3976 |
+
}
|
3977 |
+
|
3978 |
+
.col-sm-push-4 {
|
3979 |
+
left: 33.33333333%
|
3980 |
+
}
|
3981 |
+
|
3982 |
+
.col-sm-push-3 {
|
3983 |
+
left: 25%
|
3984 |
+
}
|
3985 |
+
|
3986 |
+
.col-sm-push-2 {
|
3987 |
+
left: 16.66666667%
|
3988 |
+
}
|
3989 |
+
|
3990 |
+
.col-sm-push-1 {
|
3991 |
+
left: 8.33333333%
|
3992 |
+
}
|
3993 |
+
|
3994 |
+
.col-sm-push-0 {
|
3995 |
+
left: auto
|
3996 |
+
}
|
3997 |
+
|
3998 |
+
.col-sm-offset-12 {
|
3999 |
+
margin-left: 100%
|
4000 |
+
}
|
4001 |
+
|
4002 |
+
.col-sm-offset-11 {
|
4003 |
+
margin-left: 91.66666667%
|
4004 |
+
}
|
4005 |
+
|
4006 |
+
.col-sm-offset-10 {
|
4007 |
+
margin-left: 83.33333333%
|
4008 |
+
}
|
4009 |
+
|
4010 |
+
.col-sm-offset-9 {
|
4011 |
+
margin-left: 75%
|
4012 |
+
}
|
4013 |
+
|
4014 |
+
.col-sm-offset-8 {
|
4015 |
+
margin-left: 66.66666667%
|
4016 |
+
}
|
4017 |
+
|
4018 |
+
.col-sm-offset-7 {
|
4019 |
+
margin-left: 58.33333333%
|
4020 |
+
}
|
4021 |
+
|
4022 |
+
.col-sm-offset-6 {
|
4023 |
+
margin-left: 50%
|
4024 |
+
}
|
4025 |
+
|
4026 |
+
.col-sm-offset-5 {
|
4027 |
+
margin-left: 41.66666667%
|
4028 |
+
}
|
4029 |
+
|
4030 |
+
.col-sm-offset-4 {
|
4031 |
+
margin-left: 33.33333333%
|
4032 |
+
}
|
4033 |
+
|
4034 |
+
.col-sm-offset-3 {
|
4035 |
+
margin-left: 25%
|
4036 |
+
}
|
4037 |
+
|
4038 |
+
.col-sm-offset-2 {
|
4039 |
+
margin-left: 16.66666667%
|
4040 |
+
}
|
4041 |
+
|
4042 |
+
.col-sm-offset-1 {
|
4043 |
+
margin-left: 8.33333333%
|
4044 |
+
}
|
4045 |
+
|
4046 |
+
.col-sm-offset-0 {
|
4047 |
+
margin-left: 0
|
4048 |
+
}
|
4049 |
+
}
|
4050 |
+
|
4051 |
+
@media (min-width:1200px) {
|
4052 |
+
|
4053 |
+
.col-lg-1,
|
4054 |
+
.col-lg-10,
|
4055 |
+
.col-lg-11,
|
4056 |
+
.col-lg-12,
|
4057 |
+
.col-lg-2,
|
4058 |
+
.col-lg-3,
|
4059 |
+
.col-lg-4,
|
4060 |
+
.col-lg-5,
|
4061 |
+
.col-lg-6,
|
4062 |
+
.col-lg-7,
|
4063 |
+
.col-lg-8,
|
4064 |
+
.col-lg-9 {
|
4065 |
+
float: left
|
4066 |
+
}
|
4067 |
+
|
4068 |
+
.col-lg-12 {
|
4069 |
+
width: 100%
|
4070 |
+
}
|
4071 |
+
|
4072 |
+
.col-lg-11 {
|
4073 |
+
width: 91.66666667%
|
4074 |
+
}
|
4075 |
+
|
4076 |
+
.col-lg-10 {
|
4077 |
+
width: 83.33333333%
|
4078 |
+
}
|
4079 |
+
|
4080 |
+
.col-lg-9 {
|
4081 |
+
width: 75%
|
4082 |
+
}
|
4083 |
+
|
4084 |
+
.col-lg-8 {
|
4085 |
+
width: 66.66666667%
|
4086 |
+
}
|
4087 |
+
|
4088 |
+
.col-lg-7 {
|
4089 |
+
width: 58.33333333%
|
4090 |
+
}
|
4091 |
+
|
4092 |
+
.col-lg-6 {
|
4093 |
+
width: 50%
|
4094 |
+
}
|
4095 |
+
|
4096 |
+
.col-lg-5 {
|
4097 |
+
width: 41.66666667%
|
4098 |
+
}
|
4099 |
+
|
4100 |
+
.col-lg-4 {
|
4101 |
+
width: 33.33333333%
|
4102 |
+
}
|
4103 |
+
|
4104 |
+
.col-lg-3 {
|
4105 |
+
width: 25%
|
4106 |
+
}
|
4107 |
+
|
4108 |
+
.col-lg-2 {
|
4109 |
+
width: 16.66666667%
|
4110 |
+
}
|
4111 |
+
|
4112 |
+
.col-lg-1 {
|
4113 |
+
width: 8.33333333%
|
4114 |
+
}
|
4115 |
+
|
4116 |
+
.col-lg-pull-12 {
|
4117 |
+
right: 100%
|
4118 |
+
}
|
4119 |
+
|
4120 |
+
.col-lg-pull-11 {
|
4121 |
+
right: 91.66666667%
|
4122 |
+
}
|
4123 |
+
|
4124 |
+
.col-lg-pull-10 {
|
4125 |
+
right: 83.33333333%
|
4126 |
+
}
|
4127 |
+
|
4128 |
+
.col-lg-pull-9 {
|
4129 |
+
right: 75%
|
4130 |
+
}
|
4131 |
+
|
4132 |
+
.col-lg-pull-8 {
|
4133 |
+
right: 66.66666667%
|
4134 |
+
}
|
4135 |
+
|
4136 |
+
.col-lg-pull-7 {
|
4137 |
+
right: 58.33333333%
|
4138 |
+
}
|
4139 |
+
|
4140 |
+
.col-lg-pull-6 {
|
4141 |
+
right: 50%
|
4142 |
+
}
|
4143 |
+
|
4144 |
+
.col-lg-pull-5 {
|
4145 |
+
right: 41.66666667%
|
4146 |
+
}
|
4147 |
+
|
4148 |
+
.col-lg-pull-4 {
|
4149 |
+
right: 33.33333333%
|
4150 |
+
}
|
4151 |
+
|
4152 |
+
.col-lg-pull-3 {
|
4153 |
+
right: 25%
|
4154 |
+
}
|
4155 |
+
|
4156 |
+
.col-lg-pull-2 {
|
4157 |
+
right: 16.66666667%
|
4158 |
+
}
|
4159 |
+
|
4160 |
+
.col-lg-pull-1 {
|
4161 |
+
right: 8.33333333%
|
4162 |
+
}
|
4163 |
+
|
4164 |
+
.col-lg-pull-0 {
|
4165 |
+
right: auto
|
4166 |
+
}
|
4167 |
+
|
4168 |
+
.col-lg-push-12 {
|
4169 |
+
left: 100%
|
4170 |
+
}
|
4171 |
+
|
4172 |
+
.col-lg-push-11 {
|
4173 |
+
left: 91.66666667%
|
4174 |
+
}
|
4175 |
+
|
4176 |
+
.col-lg-push-10 {
|
4177 |
+
left: 83.33333333%
|
4178 |
+
}
|
4179 |
+
|
4180 |
+
.col-lg-push-9 {
|
4181 |
+
left: 75%
|
4182 |
+
}
|
4183 |
+
|
4184 |
+
.col-lg-push-8 {
|
4185 |
+
left: 66.66666667%
|
4186 |
+
}
|
4187 |
+
|
4188 |
+
.col-lg-push-7 {
|
4189 |
+
left: 58.33333333%
|
4190 |
+
}
|
4191 |
+
|
4192 |
+
.col-lg-push-6 {
|
4193 |
+
left: 50%
|
4194 |
+
}
|
4195 |
+
|
4196 |
+
.col-lg-push-5 {
|
4197 |
+
left: 41.66666667%
|
4198 |
+
}
|
4199 |
+
|
4200 |
+
.col-lg-push-4 {
|
4201 |
+
left: 33.33333333%
|
4202 |
+
}
|
4203 |
+
|
4204 |
+
.col-lg-push-3 {
|
4205 |
+
left: 25%
|
4206 |
+
}
|
4207 |
+
|
4208 |
+
.col-lg-push-2 {
|
4209 |
+
left: 16.66666667%
|
4210 |
+
}
|
4211 |
+
|
4212 |
+
.col-lg-push-1 {
|
4213 |
+
left: 8.33333333%
|
4214 |
+
}
|
4215 |
+
|
4216 |
+
.col-lg-push-0 {
|
4217 |
+
left: auto
|
4218 |
+
}
|
4219 |
+
|
4220 |
+
.col-lg-offset-12 {
|
4221 |
+
margin-left: 100%
|
4222 |
+
}
|
4223 |
+
|
4224 |
+
.col-lg-offset-11 {
|
4225 |
+
margin-left: 91.66666667%
|
4226 |
+
}
|
4227 |
+
|
4228 |
+
.col-lg-offset-10 {
|
4229 |
+
margin-left: 83.33333333%
|
4230 |
+
}
|
4231 |
+
|
4232 |
+
.col-lg-offset-9 {
|
4233 |
+
margin-left: 75%
|
4234 |
+
}
|
4235 |
+
|
4236 |
+
.col-lg-offset-8 {
|
4237 |
+
margin-left: 66.66666667%
|
4238 |
}
|
4239 |
+
|
4240 |
+
.col-lg-offset-7 {
|
4241 |
+
margin-left: 58.33333333%
|
4242 |
}
|
|
|
|
|
|
|
|
|
4243 |
|
4244 |
+
.col-lg-offset-6 {
|
4245 |
+
margin-left: 50%
|
4246 |
+
}
|
4247 |
|
4248 |
+
.col-lg-offset-5 {
|
4249 |
+
margin-left: 41.66666667%
|
4250 |
+
}
|
4251 |
|
4252 |
+
.col-lg-offset-4 {
|
4253 |
+
margin-left: 33.33333333%
|
|
|
4254 |
}
|
|
|
|
|
|
|
|
|
4255 |
|
4256 |
+
.col-lg-offset-3 {
|
4257 |
+
margin-left: 25%
|
|
|
4258 |
}
|
4259 |
+
|
4260 |
+
.col-lg-offset-2 {
|
4261 |
+
margin-left: 16.66666667%
|
|
|
|
|
|
|
4262 |
}
|
|
|
|
|
|
|
|
|
4263 |
|
4264 |
+
.col-lg-offset-1 {
|
4265 |
+
margin-left: 8.33333333%
|
4266 |
+
}
|
4267 |
|
4268 |
+
.col-lg-offset-0 {
|
4269 |
+
margin-left: 0
|
4270 |
+
}
|
|
|
|
|
4271 |
}
|
4272 |
+
|
4273 |
+
#sfsi_plus_jivo_offline_chat {
|
4274 |
+
position: fixed;
|
4275 |
+
bottom: 0;
|
4276 |
+
right: 30px;
|
4277 |
+
height: 350px;
|
4278 |
+
min-width: 45%;
|
4279 |
+
background: #fff;
|
4280 |
+
border-top-left-radius: 30px;
|
4281 |
+
border-top-right-radius: 30px;
|
4282 |
+
padding: 10px;
|
|
|
|
|
4283 |
border: 3px solid #ddd;
|
4284 |
border-bottom: 0;
|
4285 |
}
|
4286 |
+
|
4287 |
+
#sfsi_plus_jivo_offline_chat .heading-text {
|
4288 |
+
font-size: 16px;
|
4289 |
+
font-weight: 500;
|
4290 |
+
color: #999;
|
4291 |
}
|
4292 |
+
|
4293 |
+
#sfsi_plus_jivo_offline_chat .heading-text a {
|
4294 |
+
font-size: 16px;
|
4295 |
+
font-weight: 900;
|
4296 |
+
color: #999;
|
4297 |
}
|
4298 |
+
|
4299 |
+
#sfsi_plus_jivo_offline_chat .tab-changer {
|
4300 |
/*width:100%;*/
|
4301 |
+
padding: 0 15px;
|
4302 |
|
4303 |
}
|
4304 |
+
|
4305 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link {
|
4306 |
float: left;
|
4307 |
width: 50%;
|
4309 |
background: #eee;
|
4310 |
border-bottom: 5px solid #24497B;
|
4311 |
}
|
4312 |
+
|
4313 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link:first-child {
|
4314 |
+
border-top-left-radius: 8px;
|
4315 |
}
|
4316 |
+
|
4317 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link:last-child {
|
4318 |
+
border-top-right-radius: 8px;
|
4319 |
}
|
4320 |
+
|
4321 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link p {
|
4322 |
background: #eee;
|
4323 |
padding: 5px 0;
|
4325 |
border-top-left-radius: 10px;
|
4326 |
border-top-right-radius: 10px;
|
4327 |
font-size: 25px;
|
4328 |
+
cursor: pointer;
|
4329 |
+
line-height: 1;
|
4330 |
}
|
4331 |
+
|
4332 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link p span {
|
4333 |
font-size: 15px;
|
4334 |
}
|
4335 |
+
|
4336 |
#sfsi_plus_jivo_offline_chat .tab-changer .tab-link.active p {
|
4337 |
background: #24497B;
|
4338 |
color: #fff;
|
4339 |
}
|
4340 |
+
|
4341 |
#sfsi_plus_jivo_offline_chat .tabs {
|
4342 |
/*background: #dbeef4;*/
|
4343 |
background: #ddd;
|
4344 |
margin: -6px 15px 0 15px;
|
4345 |
+
min-height: 250px;
|
4346 |
}
|
4347 |
+
|
4348 |
#sfsi_plus_jivo_offline_chat #sfsi_technical {
|
4349 |
+
padding: 50px;
|
4350 |
}
|
4351 |
+
|
4352 |
+
#sfsi_plus_jivo_offline_chat .tabs .support-forum-green-div {
|
4353 |
+
margin: 10px 0;
|
4354 |
}
|
4355 |
+
|
4356 |
#sfsi_plus_jivo_offline_chat .tabs .support-forum-green-div a {
|
4357 |
+
padding: 20px 26px 18px 25px;
|
4358 |
+
width: 245px;
|
4359 |
+
margin: 0;
|
4360 |
}
|
4361 |
+
|
4362 |
#sfsi_plus_jivo_offline_chat .tabs .support-forum-green-div a img {
|
4363 |
+
margin-top: 11px;
|
4364 |
}
|
4365 |
+
|
4366 |
#sfsi_plus_jivo_offline_chat .tabs #sfsi_technical p {
|
4367 |
+
font-size: 20px;
|
4368 |
+
padding-top: 5px;
|
4369 |
+
margin: 0;
|
4370 |
}
|
4371 |
+
|
4372 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales {
|
4373 |
+
padding: 15px;
|
4374 |
}
|
4375 |
+
|
4376 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales .right-message {
|
4377 |
+
width: 50%;
|
4378 |
+
float: right;
|
4379 |
+
text-align: right;
|
4380 |
+
margin: 0;
|
4381 |
}
|
4382 |
+
|
4383 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales form>div {
|
4384 |
+
margin-top: 5px;
|
4385 |
}
|
4386 |
+
|
4387 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales label {
|
4388 |
+
font-size: 20px;
|
4389 |
+
color: #000;
|
4390 |
font-weight: 900;
|
4391 |
+
padding-bottom: 5px;
|
4392 |
}
|
4393 |
|
4394 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales input,
|
4395 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales textarea {
|
4396 |
+
margin-top: 5px;
|
4397 |
+
width: 100%;
|
4398 |
+
border: 0;
|
4399 |
box-shadow: 0 0 5px 0 #888;
|
4400 |
}
|
4401 |
+
|
4402 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales input {
|
4403 |
+
height: 40px;
|
4404 |
}
|
4405 |
+
|
4406 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales textarea {
|
4407 |
+
height: 80px;
|
4408 |
resize: none;
|
4409 |
}
|
4410 |
+
|
4411 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales input[type="submit"],
|
4412 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
|
4413 |
border: 0;
|
4414 |
background: #079345;
|
4415 |
color: #fff;
|
4417 |
width: 100%;
|
4418 |
font-size: 16px;
|
4419 |
border-radius: 4px;
|
4420 |
+
cursor: pointer;
|
4421 |
box-shadow: none;
|
4422 |
}
|
4423 |
+
|
4424 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales .after_message_sent {
|
4425 |
+
text-align: center;
|
4426 |
}
|
4427 |
+
|
4428 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2 {
|
4429 |
+
font-size: 35px;
|
4430 |
}
|
4431 |
+
|
4432 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3 {
|
4433 |
+
font-size: 25px;
|
4434 |
+
font-weight: 300;
|
4435 |
}
|
4436 |
+
|
4437 |
+
#sfsi_plus_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
|
4438 |
+
width: auto;
|
4439 |
+
margin-top: 0;
|
4440 |
+
padding: 10px;
|
4441 |
}
|
4442 |
+
|
4443 |
#sfsi_plus_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
|
4444 |
+
font-size: 13px !important;
|
4445 |
font-weight: 900;
|
4446 |
float: right;
|
4447 |
text-align: right;
|
4448 |
+
margin-top: -40px !important;
|
4449 |
}
|
4450 |
+
|
4451 |
+
#sfsi_plus_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon {
|
4452 |
background-image: url('images/select-arrow.png');
|
4453 |
+
width: 15px;
|
4454 |
+
height: 9px;
|
4455 |
+
display: inline-block;
|
4456 |
-webkit-transform: rotate(90deg);
|
4457 |
-moz-transform: rotate(90deg);
|
4458 |
-ms-transform: rotate(90deg);
|
4459 |
-o-transform: rotate(90deg);
|
4460 |
transform: rotate(90deg);
|
4461 |
}
|
4462 |
+
|
4463 |
+
@media (max-width: 543px) {
|
4464 |
+
#sfsi_plus_jivo_offline_chat {
|
4465 |
+
width: 400px;
|
4466 |
}
|
4467 |
}
|
4468 |
|
4469 |
/* MZ CSS */
|
4470 |
|
4471 |
+
.sfsiLabel {
|
4472 |
float: left;
|
4473 |
+
margin-top: -29px;
|
4474 |
margin-left: 37px;
|
4475 |
color: #5a6570;
|
4476 |
text-align: left;
|
4477 |
font-family: 'helveticaneue-light';
|
4478 |
font-size: 17px;
|
4479 |
line-height: 26px;
|
4480 |
+
min-width: 200px;
|
4481 |
}
|
4482 |
+
|
4483 |
+
.sfsiLabel1 {
|
4484 |
float: left;
|
4485 |
+
margin-top: 32px;
|
4486 |
margin-left: 100px;
|
4487 |
color: #5a6570;
|
4488 |
text-align: left;
|
4489 |
font-family: 'helveticaneue-light';
|
4490 |
font-size: 17px;
|
4491 |
line-height: 26px;
|
4492 |
+
min-width: 200px;
|
4493 |
}
|
4494 |
+
|
4495 |
+
.infoLabel {
|
4496 |
margin-left: 89px;
|
4497 |
+
margin-bottom: 32px;
|
4498 |
float: left;
|
4499 |
+
margin-top: -13px;
|
4500 |
+
|
4501 |
color: #5a6570;
|
4502 |
text-align: left;
|
4503 |
font-family: 'helveticaneue-light';
|
4504 |
font-size: 17px;
|
4505 |
line-height: 26px;
|
4506 |
+
min-width: 200px;
|
4507 |
+
}
|
4508 |
+
|
4509 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_1_26 {
|
4510 |
+
background: url('../images/icons_theme/default/default_wechat.png');
|
4511 |
+
background-size: contain;
|
4512 |
+
}
|
4513 |
+
|
4514 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_2_26 {
|
4515 |
+
background: url('../images/icons_theme/flat/flat_wechat.png');
|
4516 |
+
background-size: contain;
|
4517 |
+
}
|
4518 |
+
|
4519 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_3_26 {
|
4520 |
+
background: url('../images/icons_theme/thin/thin_wechat.png');
|
4521 |
+
background-size: contain;
|
4522 |
+
}
|
4523 |
+
|
4524 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_4_26 {
|
4525 |
+
background: url('../images/icons_theme/cute/cute_wechat.png');
|
4526 |
+
background-size: contain;
|
4527 |
+
}
|
4528 |
+
|
4529 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_5_26 {
|
4530 |
+
background: url('../images/icons_theme/cubes/cubes_wechat.png');
|
4531 |
+
background-size: contain;
|
4532 |
+
}
|
4533 |
+
|
4534 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_6_26 {
|
4535 |
+
background: url('../images/icons_theme/chrome_blue/chrome_blue_wechat.png');
|
4536 |
+
background-size: contain;
|
4537 |
+
}
|
4538 |
+
|
4539 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_7_26 {
|
4540 |
+
background: url('../images/icons_theme/chrome_grey/chrome_grey_wechat.png');
|
4541 |
+
background-size: contain;
|
4542 |
+
}
|
4543 |
+
|
4544 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_8_26 {
|
4545 |
+
background: url('../images/icons_theme/splash/splash_wechat.png');
|
4546 |
+
background-size: contain;
|
4547 |
+
}
|
4548 |
+
|
4549 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_9_26 {
|
4550 |
+
background: url('../images/icons_theme/orange/orange_wechat.png');
|
4551 |
+
background-size: contain;
|
4552 |
+
}
|
4553 |
+
|
4554 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_10_26 {
|
4555 |
+
background: url('../images/icons_theme/crystal/crystal_wechat.png');
|
4556 |
+
background-size: contain;
|
4557 |
+
}
|
4558 |
+
|
4559 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_11_26 {
|
4560 |
+
background: url('../images/icons_theme/glossy/glossy_wechat.png');
|
4561 |
+
background-size: contain;
|
4562 |
+
}
|
4563 |
+
|
4564 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_12_26 {
|
4565 |
+
background: url('../images/icons_theme/black/black_wechat.png');
|
4566 |
+
background-size: contain;
|
4567 |
+
}
|
4568 |
+
|
4569 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_13_26 {
|
4570 |
+
background: url('../images/icons_theme/silver/silver_wechat.png');
|
4571 |
+
background-size: contain;
|
4572 |
+
}
|
4573 |
+
|
4574 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_14_26 {
|
4575 |
+
background: url('../images/icons_theme/shaded_dark/shaded_dark_wechat.png');
|
4576 |
+
background-size: contain;
|
4577 |
+
}
|
4578 |
+
|
4579 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_15_26 {
|
4580 |
+
background: url('../images/icons_theme/shaded_light/shaded_light_wechat.png');
|
4581 |
+
background-size: contain;
|
4582 |
+
}
|
4583 |
+
|
4584 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_16_26 {
|
4585 |
+
background: url('../images/icons_theme/transparent/transparent_wechat.png');
|
4586 |
+
background-size: contain;
|
4587 |
+
}
|
4588 |
+
|
4589 |
+
.tab3 .sfsiplus_wechat_section.sfsiplus_row_17_26 {
|
4590 |
+
background: url('../images/icons_theme/default/default_wechat.png');
|
4591 |
+
background-size: contain;
|
4592 |
+
background-position: 0 0;
|
4593 |
+
}
|
4594 |
+
|
4595 |
+
.sfsi_plus_font_inherit {
|
4596 |
font-family: inherit !important;
|
4597 |
border: 0 !important;
|
4598 |
font-weight: normal !important;
|
4599 |
}
|
4600 |
|
4601 |
+
.sfisi_plus_font_bold {
|
4602 |
+
font-family: helveticabold !important;
|
4603 |
+
}
|
4604 |
+
|
4605 |
+
.sfsi_plus_instagramInstruction ul>li {
|
4606 |
+
list-style-type: decimal !important;
|
4607 |
}
|
4608 |
+
|
4609 |
+
.sfsi_plus_instagramInstruction>p {
|
4610 |
+
list-style-type: decimal !important;
|
4611 |
}
|
4612 |
+
|
4613 |
+
.sfsiplus_houzz_section .sfsiLabel,
|
4614 |
+
.sfsiplus_ok_section .sfsiLabel,
|
4615 |
+
.sfsiplus_vk_section .sfsiLabel,
|
4616 |
+
.sfsiplus_weibo_section .sfsiLabel,
|
4617 |
+
.sfsiplus_telegram_section .sfsiLabel1 {
|
4618 |
+
margin-left: 0 !important;
|
4619 |
}
|
4620 |
+
|
4621 |
+
.pop-up {
|
|
|
|
|
4622 |
font-weight: bold;
|
4623 |
}
|
4624 |
|
4625 |
.sfsi_plus_quickpay-overlay a {
|
4626 |
+
display: inline !important;
|
4627 |
+
font-size: inherit !important;
|
4628 |
+
text-decoration: underline !important;
|
4629 |
font-weight: 900;
|
4630 |
color: #666;
|
4631 |
}
|
4635 |
display: inline-block;
|
4636 |
}
|
4637 |
|
4638 |
+
.sfsi_plus_col_6>div {
|
4639 |
padding: 18px 30px !important;
|
4640 |
margin: 20px 0 0 0;
|
4641 |
border: 1px solid #999;
|
4643 |
float: none;
|
4644 |
}
|
4645 |
|
4646 |
+
.sfsi_plus_col_6>div:hover {
|
4647 |
+
background-image: radial-gradient(circle, #fff, #eee);
|
4648 |
+
}
|
4649 |
+
|
4650 |
+
.vertical-align {
|
4651 |
+
display: flex;
|
4652 |
+
align-items: center;
|
4653 |
+
justify-content: space-between;
|
4654 |
+
}
|
4655 |
+
|
4656 |
+
.sfsi_vertical_center {
|
4657 |
+
display: flex;
|
4658 |
+
align-items: center;
|
4659 |
+
}
|
4660 |
+
|
4661 |
+
.sfsi_plus_border_left_0 {
|
4662 |
+
border-left: 0 !important;
|
4663 |
+
}
|
4664 |
+
|
4665 |
+
.tab8 .sfsi_plus_inputSec input {
|
4666 |
+
width: 140px !important;
|
4667 |
+
padding: 13px;
|
4668 |
+
}
|
4669 |
+
|
4670 |
+
.tab8 .sfsi_plus_inputSec span {
|
4671 |
+
width: auto;
|
4672 |
+
}
|
4673 |
+
|
4674 |
+
.tab8 .sfsi_plus_inputSec span {
|
4675 |
+
display: inline-block;
|
4676 |
+
font-size: 18px;
|
4677 |
+
vertical-align: middle;
|
4678 |
+
width: 200px;
|
4679 |
+
color: #5A6570;
|
4680 |
+
}
|
4681 |
+
|
4682 |
+
.sfsi_plus_responsive_icon_item_container {
|
4683 |
+
height: 40px;
|
4684 |
+
vertical-align: middle;
|
4685 |
+
margin-top: auto;
|
4686 |
+
margin-bottom: auto;
|
4687 |
+
}
|
4688 |
+
|
4689 |
+
.sfsi_plus_responsive_icon_item_container img {
|
4690 |
+
padding: 7px;
|
4691 |
+
vertical-align: middle !important;
|
4692 |
+
box-shadow: unset !important;
|
4693 |
+
-webkit-box-shadow: unset !important;
|
4694 |
+
max-width: 40px !important;
|
4695 |
+
max-height: 40px;
|
4696 |
+
}
|
4697 |
+
|
4698 |
+
.sfsi_plus_responsive_icon_item_container span {
|
4699 |
+
padding: 7px;
|
4700 |
+
vertical-align: middle !important;
|
4701 |
+
box-shadow: unset !important;
|
4702 |
+
-webkit-box-shadow: unset !important;
|
4703 |
+
line-height: 40px
|
4704 |
+
}
|
4705 |
+
|
4706 |
+
|
4707 |
+
.sfsi_plus_responsive_icon_facebook_container {
|
4708 |
+
background-color: #336699;
|
4709 |
+
}
|
4710 |
+
|
4711 |
+
.sfsi_plus_responsive_icon_follow_container {
|
4712 |
+
background-color: #00B04E;
|
4713 |
+
}
|
4714 |
+
|
4715 |
+
.sfsi_plus_responsive_icon_twitter_container {
|
4716 |
+
background-color: #55ACEE;
|
4717 |
+
}
|
4718 |
+
|
4719 |
+
|
4720 |
+
.sfsi_plus_icons_container_box_fully_container {
|
4721 |
+
flex-wrap: wrap;
|
4722 |
+
}
|
4723 |
+
|
4724 |
+
.sfsi_plus_icons_container_box_fully_container a {
|
4725 |
+
flex-basis: auto !important;
|
4726 |
+
flex-grow: 1;
|
4727 |
+
flex-shrink: 1;
|
4728 |
+
}
|
4729 |
+
|
4730 |
+
.sfsi_plus_responsive_icons .sfsi_plus_icons_container span {
|
4731 |
+
font-family: sans-serif;
|
4732 |
+
font-size: 15px;
|
4733 |
+
}
|
4734 |
+
|
4735 |
+
.sfsi_plus_widget_title {
|
4736 |
+
font-weight: 700;
|
4737 |
+
line-height: 1.2;
|
4738 |
+
font-size: 27px;
|
4739 |
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
4740 |
+
|
4741 |
+
}
|
4742 |
+
|
4743 |
+
.sfsi_plus_responsive_default_icon_container .sfsi_plus_icon_container .sfsi_plus_responsive_icon_item_container,
|
4744 |
+
.sfsi_plus_responsive_custom_icon_container .sfsi_plus_icon_container .sfsi_plus_responsive_icon_item_container {
|
4745 |
+
padding: 0px 20px;
|
4746 |
+
width: 236px;
|
4747 |
+
text-align: center;
|
4748 |
+
margin-right: 8px;
|
4749 |
+
margin-top: -5px;
|
4750 |
+
}
|
4751 |
+
|
4752 |
+
.sfsi_plus_responsive_default_icon_container .sfsi_plus_icon_container .sfsi_plus_responsive_icon_item_container img,
|
4753 |
+
.sfsi_plus_responsive_custom_icon_container .sfsi_plus_icon_container .sfsi_plus_responsive_icon_item_container img {
|
4754 |
+
max-height: 25px !important;
|
4755 |
+
max-width: 40px !important;
|
4756 |
+
float: left;
|
4757 |
+
height: 25px;
|
4758 |
+
}
|
4759 |
+
|
4760 |
+
.sfsi_plus_responsive_default_icon_container .sfsi_plus_icon_container .sfsi_plus_responsive_icon_item_container span,
|
4761 |
+
.sfsi_plus_responsive_custom_icon_container .sfsi_plus_icon_container .sfsi_plus_responsive_icon_item_container span {
|
4762 |
+
color: #ffffff;
|
4763 |
+
font-size: 20px;
|
4764 |
+
padding: 0 10px;
|
4765 |
+
letter-spacing: 0.5px;
|
4766 |
+
font-weight: 500;
|
4767 |
+
}
|
4768 |
+
|
4769 |
+
.tab8 .sfsi_plus_responsive_default_icon_container,
|
4770 |
+
.tab8 .sfsi_plus_responsive_custom_icon_container {
|
4771 |
+
width: 100% !important;
|
4772 |
+
max-width: unset !important;
|
4773 |
+
/* padding-left: 60px!important; */
|
4774 |
+
}
|
4775 |
+
|
4776 |
+
.tab8 .sfsi_plus_responsive_default_icon_container input,
|
4777 |
+
.tab8 .sfsi_plus_responsive_custom_icon_container input {
|
4778 |
+
padding: 8px 11px;
|
4779 |
+
height: 39px;
|
4780 |
+
}
|
4781 |
+
|
4782 |
+
.tab8 .heading-label {
|
4783 |
+
font-size: 18px !important;
|
4784 |
+
font-weight: 400;
|
4785 |
+
}
|
4786 |
+
|
4787 |
+
.sfsi_plus_responsive_default_icon_container,
|
4788 |
+
.sfsi_plus_responsive_custom_icon_container {
|
4789 |
+
padding: 2px 0 !important;
|
4790 |
+
}
|
4791 |
+
|
4792 |
+
.sfsi_plus_responsive_default_icon_container .sfsi_plus_responsive_default_url_toggler,
|
4793 |
+
.sfsi_plus_responsive_custom_icon_container .sfsi_plus_responsive_default_url_toggler,
|
4794 |
+
.sfsi_plus_responsive_default_icon_container .sfsi_plus_responsive_default_url_hide {
|
4795 |
+
color: #337ab7 !important;
|
4796 |
+
font-size: 18px !important;
|
4797 |
+
letter-spacing: 1px;
|
4798 |
+
font-weight: 500;
|
4799 |
+
margin-left: 20px;
|
4800 |
+
text-decoration: none !important
|
4801 |
+
}
|
4802 |
+
|
4803 |
+
.sfsi_plus_responsive_fluid {
|
4804 |
+
text-decoration: none !important;
|
4805 |
+
}
|
4806 |
+
|
4807 |
+
.sfsi_plus_large_button_container {
|
4808 |
+
width: calc(100% - 81px) !important;
|
4809 |
+
}
|
4810 |
+
|
4811 |
+
.sfsi_plus_medium_button_container {
|
4812 |
+
width: calc(100% - 70px) !important;
|
4813 |
+
}
|
4814 |
+
|
4815 |
+
.sfsi_plus_small_button_container {
|
4816 |
+
width: calc(100% - 100px) !important;
|
4817 |
+
}
|
4818 |
+
|
4819 |
+
/* .sfsi_plus_responsive_custom_icon{line-height: 6px;} */
|
4820 |
+
/* .sfsi_plus_responsive_fixed_width .sfsi_plus_responsive_custom_icon{line-height: 6px;} */
|
4821 |
+
/*Override for front end - icon of right height*/
|
4822 |
+
/* .sfsi_plus_responsive_fluid .sfsi_plus_large_button{padding: 13px !important;} */
|
4823 |
+
/* .sfsi_plus_responsive_fluid .sfsi_plus_medium_button{padding: 10px !important;} */
|
4824 |
+
|
4825 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_fixed_count_container.sfsi_plus_large_button {
|
4826 |
+
padding: 12px 13px 9px 13px !important;
|
4827 |
+
}
|
4828 |
+
|
4829 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_fixed_count_container.sfsi_plus_large_button h3 {
|
4830 |
+
margin: 0px 0px 15px 0px !important;
|
4831 |
+
}
|
4832 |
+
|
4833 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_fixed_count_container.sfsi_plus_medium_button {
|
4834 |
+
padding: 9px 10px 7px 10px !important;
|
4835 |
+
}
|
4836 |
+
|
4837 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_responsive_count_container.sfsi_plus_large_button {
|
4838 |
+
padding: 12px 13px 9px 13px !important;
|
4839 |
+
}
|
4840 |
+
|
4841 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_responsive_count_container.sfsi_plus_large_button h3 {
|
4842 |
+
margin: 0px 0px 15px 0px !important;
|
4843 |
+
}
|
4844 |
+
|
4845 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_responsive_count_container.sfsi_plus_medium_button {
|
4846 |
+
padding: 9px 10px 7px 10px !important;
|
4847 |
+
}
|
4848 |
+
|
4849 |
+
.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a .sfsi_plus_responsive_icon_item_container {
|
4850 |
+
/* white-space: nowrap;
|
4851 |
+
overflow: hidden;
|
4852 |
+
text-overflow: ellipsis;*/
|
4853 |
+
display: inline-block;
|
4854 |
+
}
|
4855 |
+
|
4856 |
+
.sfsiplus_right_info ul .sfsi_plus_responsive_icon_option_li .options .field .sfsi_plus_responsive_icons_icon_width input,
|
4857 |
+
.sfsiplus_right_info ul .sfsi_plus_responsive_icon_option_li .options .field input {
|
4858 |
+
width: 75px !important;
|
4859 |
+
background: #ffffff;
|
4860 |
+
box-shadow: none;
|
4861 |
+
border: 1px solid rgb(221, 221, 221);
|
4862 |
+
border-radius: 0px;
|
4863 |
+
}
|
4864 |
+
|
4865 |
+
input[type="number"] {
|
4866 |
+
height: 45px !important;
|
4867 |
+
}
|
4868 |
+
.sfsi_plus_small_button {
|
4869 |
+
line-height: 0px;
|
4870 |
+
height: unset;
|
4871 |
+
padding: 6px !important;
|
4872 |
+
}
|
4873 |
+
.sfsi_plus_small_button span {
|
4874 |
+
margin-left: 10px;
|
4875 |
+
font-size: 16px;
|
4876 |
+
padding: 0px;
|
4877 |
+
line-height: 16px;
|
4878 |
+
vertical-align: -webkit-baseline-middle !important;
|
4879 |
+
margin-left: 10px;
|
4880 |
+
}
|
4881 |
+
.sfsi_plus_small_button img {
|
4882 |
+
max-height: 16px !important;
|
4883 |
+
padding: 0px;
|
4884 |
+
line-height: 0px;
|
4885 |
+
vertical-align: -webkit-baseline-middle !important;
|
4886 |
+
}
|
4887 |
+
.sfsi_plus_medium_button span {
|
4888 |
+
margin-left: 10px;
|
4889 |
+
font-size: 18px;
|
4890 |
+
padding: 0px;
|
4891 |
+
line-height: 16px;
|
4892 |
+
vertical-align: -webkit-baseline-middle !important;
|
4893 |
+
margin-left: 10px;
|
4894 |
+
}
|
4895 |
+
.sfsi_plus_medium_button img {
|
4896 |
+
max-height: 16px !important;
|
4897 |
+
padding: 0px;
|
4898 |
+
line-height: 0px;
|
4899 |
+
vertical-align: -webkit-baseline-middle !important;
|
4900 |
+
}
|
4901 |
+
.sfsi_plus_medium_button {
|
4902 |
+
line-height: 0px;
|
4903 |
+
height: unset;
|
4904 |
+
padding: 10px !important;
|
4905 |
+
}
|
4906 |
+
|
4907 |
+
.sfsi_plus_medium_button span {
|
4908 |
+
margin-left: 10px;
|
4909 |
+
font-size: 18px;
|
4910 |
+
padding: 0px;
|
4911 |
+
line-height: 16px;
|
4912 |
+
vertical-align: -webkit-baseline-middle !important;
|
4913 |
+
margin-left: 10px;
|
4914 |
+
}
|
4915 |
+
.sfsi_plus_medium_button img {
|
4916 |
+
max-height: 16px !important;
|
4917 |
+
padding: 0px;
|
4918 |
+
line-height: 0px;
|
4919 |
+
vertical-align: -webkit-baseline-middle !important;
|
4920 |
+
}
|
4921 |
+
.sfsi_plus_medium_button {
|
4922 |
+
line-height: 0px;
|
4923 |
+
height: unset;
|
4924 |
+
padding: 10px !important;
|
4925 |
+
}
|
4926 |
+
.sfsi_plus_large_button span {
|
4927 |
+
font-size: 20px;
|
4928 |
+
padding: 0px;
|
4929 |
+
line-height: 16px;
|
4930 |
+
vertical-align: -webkit-baseline-middle !important;
|
4931 |
+
display: inline;
|
4932 |
+
margin-left: 10px;
|
4933 |
+
}
|
4934 |
+
.sfsi_plus_large_button img {
|
4935 |
+
max-height: 16px !important;
|
4936 |
+
padding: 0px;
|
4937 |
+
line-height: 0px;
|
4938 |
+
vertical-align: -webkit-baseline-middle !important;
|
4939 |
+
display: inline;
|
4940 |
+
}
|
4941 |
+
.sfsi_plus_large_button {
|
4942 |
+
line-height: 0px;
|
4943 |
+
height: unset;
|
4944 |
+
padding: 13px !important;
|
4945 |
}
|
css/sfsi-style.css
CHANGED
@@ -1543,16 +1543,6 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
|
1543 |
margin: 0 0 12px;
|
1544 |
float: left;
|
1545 |
}
|
1546 |
-
.tab2 .google_in {
|
1547 |
-
margin: 0 0 8px 94px;
|
1548 |
-
float: left;
|
1549 |
-
}
|
1550 |
-
.tab2 .google_in p.radio_section {
|
1551 |
-
padding-top: 8px!important;
|
1552 |
-
}
|
1553 |
-
.tab2 .google_in .fb_url input.add {
|
1554 |
-
width: 417px!important;
|
1555 |
-
}
|
1556 |
.tab2 .utube_inn {
|
1557 |
padding-bottom: 2px;
|
1558 |
float: left;
|
@@ -2330,17 +2320,14 @@ h2.optional {
|
|
2330 |
}
|
2331 |
.sfsi_plus_Sicons .sf_subscrbe{ margin: 2px 3px 0 0; line-height: 0px;}
|
2332 |
.sfsi_plus_Sicons .sf_fb{ margin: 0 4px 0 5px; line-height: 0px;}
|
2333 |
-
.sfsi_plus_Sicons .sf_google{ margin: 0 5px 0 5px; line-height: 0px;}
|
2334 |
.sfsi_plus_Sicons .sf_twiter{ margin: 1px 7px 0 4px; line-height: 0px;}
|
2335 |
|
2336 |
.sfsi_plus_Sicons.left .sf_subscrbe{ margin: 2px 8px 0 0;}
|
2337 |
.sfsi_plus_Sicons.left .sf_fb{ margin: 0 8px 0 0;}
|
2338 |
-
.sfsi_plus_Sicons.left .sf_google{ margin: 0 8px 0 0;}
|
2339 |
.sfsi_plus_Sicons.left .sf_twiter{ margin: 1px 8px 0 0;}
|
2340 |
|
2341 |
.sfsi_plus_Sicons.right .sf_subscrbe{ margin: 2px 0 0; }
|
2342 |
.sfsi_plus_Sicons.right .sf_fb{ margin: 0 0 0 7px; }
|
2343 |
-
.sfsi_plus_Sicons.right .sf_google{ margin: 0 0 0 8px; }
|
2344 |
.sfsi_plus_Sicons.right .sf_twiter{ margin: 1px 0 0 8px; }
|
2345 |
|
2346 |
.sfsi_plus_Sicons .sf_subscrbe, .sfsi_plus_Sicons .sf_twiter
|
@@ -2391,19 +2378,7 @@ h2.optional {
|
|
2391 |
/*width: 450px!important;*/
|
2392 |
float: left;
|
2393 |
}
|
2394 |
-
|
2395 |
-
{
|
2396 |
-
width: 70px !important;
|
2397 |
-
}
|
2398 |
-
.sf_google iframe
|
2399 |
-
{
|
2400 |
-
width: 100% !important;
|
2401 |
-
}
|
2402 |
-
.sfsi_plus_Sicons .sf_google>div
|
2403 |
-
{
|
2404 |
-
float: left !important;
|
2405 |
-
margin-top: 1px !important;
|
2406 |
-
}
|
2407 |
.tab2 .utube_inn label {
|
2408 |
font-size: 18px;
|
2409 |
}
|
@@ -2669,6 +2644,8 @@ ul.cstmskin_iconlist {
|
|
2669 |
float: left;
|
2670 |
margin-top: 10px;
|
2671 |
width: 100%;
|
|
|
|
|
2672 |
}
|
2673 |
.cstmskin_iconlist > li {
|
2674 |
float: left;
|
@@ -2785,14 +2762,7 @@ ul.cstmskin_iconlist {
|
|
2785 |
margin:5px 5px 5px 5px;
|
2786 |
min-height: 20px;
|
2787 |
}
|
2788 |
-
|
2789 |
-
{
|
2790 |
-
float:left;
|
2791 |
-
margin:5px 5px 5px 5px;
|
2792 |
-
max-width:62px;
|
2793 |
-
min-width:35px;
|
2794 |
-
min-height: 20px;
|
2795 |
-
}
|
2796 |
.sfsipyplfrm
|
2797 |
{
|
2798 |
float: left;
|
@@ -2903,7 +2873,7 @@ ul.cstmskin_iconlist {
|
|
2903 |
float: left;
|
2904 |
padding: 11px 0 40px 8px;
|
2905 |
width: 100%;
|
2906 |
-
max-width: 1000px
|
2907 |
margin: 0
|
2908 |
}
|
2909 |
.sfsiplusplacethemanulywpr { max-width: 98% !important}
|
@@ -2941,7 +2911,8 @@ ul.plus_icn_listing li .sfsiplus_right_info label.sfsiplus_sub-subtitle a
|
|
2941 |
}
|
2942 |
|
2943 |
.tab8 ul.sfsiplus_icn_listing8 li .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr>li:nth-child(1),
|
2944 |
-
.tab8 ul.sfsiplus_icn_listing8 li .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr>li:nth-child(2)
|
|
|
2945 |
.space.disblfltonmbl p.list { width: 100%; margin-bottom: 28px}
|
2946 |
|
2947 |
|
@@ -3096,7 +3067,7 @@ ul.plus_icn_listing li .sfsiplus_right_info label.sfsiplus_sub-subtitle a
|
|
3096 |
.tab8 .options .field {
|
3097 |
float: left;
|
3098 |
position: relative;
|
3099 |
-
|
3100 |
}
|
3101 |
.tab8 .options .field .select {
|
3102 |
background: url(../images/select_bg1.jpg) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
@@ -3258,12 +3229,12 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
3258 |
width: 180px !important;
|
3259 |
}
|
3260 |
.sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr {
|
3261 |
-
overflow: visible;
|
3262 |
}
|
3263 |
/*.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1{margin: 2px 35px 2px !important;clear:both;}*/
|
3264 |
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a img{margin: 2px 12px 2px !important;clear:both;text-align:center;float:none;}
|
3265 |
.cstmicon1{text-align:center;}
|
3266 |
-
.sfsi_plus_Sicons img, .sfsiplusid_facebook img, .
|
3267 |
|
3268 |
.sfsi_plus_wicons a.sficn, .sfsi_plus_wicons .sfsi_plus_inside a, .sfsi_plus_Sicons div a
|
3269 |
{
|
@@ -3424,4 +3395,365 @@ label.sfsiplus_toglpstpgsbttl { float: left; margin-top: 5px !important}
|
|
3424 |
.sfsiplusid_twitter .icon2 iframe{
|
3425 |
width:62px!important;
|
3426 |
height:20px!important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3427 |
}
|
1543 |
margin: 0 0 12px;
|
1544 |
float: left;
|
1545 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1546 |
.tab2 .utube_inn {
|
1547 |
padding-bottom: 2px;
|
1548 |
float: left;
|
2320 |
}
|
2321 |
.sfsi_plus_Sicons .sf_subscrbe{ margin: 2px 3px 0 0; line-height: 0px;}
|
2322 |
.sfsi_plus_Sicons .sf_fb{ margin: 0 4px 0 5px; line-height: 0px;}
|
|
|
2323 |
.sfsi_plus_Sicons .sf_twiter{ margin: 1px 7px 0 4px; line-height: 0px;}
|
2324 |
|
2325 |
.sfsi_plus_Sicons.left .sf_subscrbe{ margin: 2px 8px 0 0;}
|
2326 |
.sfsi_plus_Sicons.left .sf_fb{ margin: 0 8px 0 0;}
|
|
|
2327 |
.sfsi_plus_Sicons.left .sf_twiter{ margin: 1px 8px 0 0;}
|
2328 |
|
2329 |
.sfsi_plus_Sicons.right .sf_subscrbe{ margin: 2px 0 0; }
|
2330 |
.sfsi_plus_Sicons.right .sf_fb{ margin: 0 0 0 7px; }
|
|
|
2331 |
.sfsi_plus_Sicons.right .sf_twiter{ margin: 1px 0 0 8px; }
|
2332 |
|
2333 |
.sfsi_plus_Sicons .sf_subscrbe, .sfsi_plus_Sicons .sf_twiter
|
2378 |
/*width: 450px!important;*/
|
2379 |
float: left;
|
2380 |
}
|
2381 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2382 |
.tab2 .utube_inn label {
|
2383 |
font-size: 18px;
|
2384 |
}
|
2644 |
float: left;
|
2645 |
margin-top: 10px;
|
2646 |
width: 100%;
|
2647 |
+
height: 53vh;
|
2648 |
+
overflow-y: scroll;
|
2649 |
}
|
2650 |
.cstmskin_iconlist > li {
|
2651 |
float: left;
|
2762 |
margin:5px 5px 5px 5px;
|
2763 |
min-height: 20px;
|
2764 |
}
|
2765 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2766 |
.sfsipyplfrm
|
2767 |
{
|
2768 |
float: left;
|
2873 |
float: left;
|
2874 |
padding: 11px 0 40px 8px;
|
2875 |
width: 100%;
|
2876 |
+
/*max-width: 1000px;*/
|
2877 |
margin: 0
|
2878 |
}
|
2879 |
.sfsiplusplacethemanulywpr { max-width: 98% !important}
|
2911 |
}
|
2912 |
|
2913 |
.tab8 ul.sfsiplus_icn_listing8 li .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr>li:nth-child(1),
|
2914 |
+
.tab8 ul.sfsiplus_icn_listing8 li .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr>li:nth-child(2),
|
2915 |
+
.tab8 ul.sfsiplus_icn_listing8 li .sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr>li:nth-child(3) { width: 33% !important}
|
2916 |
.space.disblfltonmbl p.list { width: 100%; margin-bottom: 28px}
|
2917 |
|
2918 |
|
3067 |
.tab8 .options .field {
|
3068 |
float: left;
|
3069 |
position: relative;
|
3070 |
+
|
3071 |
}
|
3072 |
.tab8 .options .field .select {
|
3073 |
background: url(../images/select_bg1.jpg) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
|
3229 |
width: 180px !important;
|
3230 |
}
|
3231 |
.sfsiplus_tab_3_icns.sfsiplus_shwthmbfraftr {
|
3232 |
+
overflow: visible;
|
3233 |
}
|
3234 |
/*.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .icon1{margin: 2px 35px 2px !important;clear:both;}*/
|
3235 |
.sfsi_plus_twt_tool_bdr .sfsi_plus_inside .cstmicon1 a img{margin: 2px 12px 2px !important;clear:both;text-align:center;float:none;}
|
3236 |
.cstmicon1{text-align:center;}
|
3237 |
+
.sfsi_plus_Sicons img, .sfsiplusid_facebook img, .sfsiplusid_twitter img { height: 20px;}
|
3238 |
|
3239 |
.sfsi_plus_wicons a.sficn, .sfsi_plus_wicons .sfsi_plus_inside a, .sfsi_plus_Sicons div a
|
3240 |
{
|
3395 |
.sfsiplusid_twitter .icon2 iframe{
|
3396 |
width:62px!important;
|
3397 |
height:20px!important;
|
3398 |
+
}
|
3399 |
+
a.pop-up .radio{
|
3400 |
+
opacity: 0.5;
|
3401 |
+
background-position: 0px 0px !important;
|
3402 |
+
}
|
3403 |
+
.tab8 .sfsi_plus_responsive_icon_option_li .options .first.first.first {
|
3404 |
+
width: 25%!important;
|
3405 |
+
}
|
3406 |
+
.sfsi_plus_responsive_icon_gradient{
|
3407 |
+
background-image: -webkit-linear-gradient(bottom,rgba(0, 0, 0, 0.17) 0%,rgba(255, 255, 255, 0.17) 100%);
|
3408 |
+
background-image: -moz-linear-gradient(bottom,rgba(0, 0, 0, 0.17) 0%,rgba(255, 255, 255, 0.17) 100%);
|
3409 |
+
background-image: linear-gradient(bottom,rgba(0,0,0,.17) 0%,rgba(255,255,255,.17) 100%);
|
3410 |
+
}
|
3411 |
+
.sfsi_plus_responsive_icons a{
|
3412 |
+
text-decoration: none!important;
|
3413 |
+
box-shadow: none!important;
|
3414 |
+
}
|
3415 |
+
.sfsi_plus_responsive_icons .sfsi_plus_responsive_icon_facebook_container{ background-color:#336699;}
|
3416 |
+
.sfsi_plus_responsive_icons .sfsi_plus_responsive_icon_follow_container{ background-color:#00B04E;}
|
3417 |
+
.sfsi_plus_responsive_icons .sfsi_plus_responsive_icon_twitter_container{ background-color:#55ACEE;}
|
3418 |
+
.sfsi_plus_small_button {
|
3419 |
+
line-height: 0px;
|
3420 |
+
height: unset;
|
3421 |
+
padding: 6px !important;
|
3422 |
+
}
|
3423 |
+
.sfsi_plus_small_button span {
|
3424 |
+
margin-left: 10px;
|
3425 |
+
font-size: 16px;
|
3426 |
+
padding: 0px;
|
3427 |
+
line-height: 16px;
|
3428 |
+
vertical-align: -webkit-baseline-middle !important;
|
3429 |
+
margin-left: 10px;
|
3430 |
+
}
|
3431 |
+
.sfsi_plus_small_button img {
|
3432 |
+
max-height: 16px !important;
|
3433 |
+
padding: 0px;
|
3434 |
+
line-height: 0px;
|
3435 |
+
vertical-align: -webkit-baseline-middle !important;
|
3436 |
+
}
|
3437 |
+
.sfsi_plus_medium_button span {
|
3438 |
+
margin-left: 10px;
|
3439 |
+
font-size: 18px;
|
3440 |
+
padding: 0px;
|
3441 |
+
line-height: 16px;
|
3442 |
+
vertical-align: -webkit-baseline-middle !important;
|
3443 |
+
margin-left: 10px;
|
3444 |
+
}
|
3445 |
+
.sfsi_plus_medium_button img {
|
3446 |
+
max-height: 16px !important;
|
3447 |
+
padding: 0px;
|
3448 |
+
line-height: 0px;
|
3449 |
+
vertical-align: -webkit-baseline-middle !important;
|
3450 |
+
}
|
3451 |
+
.sfsi_plus_medium_button {
|
3452 |
+
line-height: 0px;
|
3453 |
+
height: unset;
|
3454 |
+
padding: 10px !important;
|
3455 |
+
}
|
3456 |
+
|
3457 |
+
.sfsi_plus_medium_button span {
|
3458 |
+
margin-left: 10px;
|
3459 |
+
font-size: 18px;
|
3460 |
+
padding: 0px;
|
3461 |
+
line-height: 16px;
|
3462 |
+
vertical-align: -webkit-baseline-middle !important;
|
3463 |
+
margin-left: 10px;
|
3464 |
+
}
|
3465 |
+
.sfsi_plus_medium_button img {
|
3466 |
+
max-height: 16px !important;
|
3467 |
+
padding: 0px;
|
3468 |
+
line-height: 0px;
|
3469 |
+
vertical-align: -webkit-baseline-middle !important;
|
3470 |
+
}
|
3471 |
+
.sfsi_plus_medium_button {
|
3472 |
+
line-height: 0px;
|
3473 |
+
height: unset;
|
3474 |
+
padding: 10px !important;
|
3475 |
+
}
|
3476 |
+
.sfsi_plus_large_button span {
|
3477 |
+
font-size: 20px;
|
3478 |
+
padding: 0px;
|
3479 |
+
line-height: 16px;
|
3480 |
+
vertical-align: -webkit-baseline-middle !important;
|
3481 |
+
display: inline;
|
3482 |
+
margin-left: 10px;
|
3483 |
+
}
|
3484 |
+
.sfsi_plus_large_button img {
|
3485 |
+
max-height: 16px !important;
|
3486 |
+
padding: 0px;
|
3487 |
+
line-height: 0px;
|
3488 |
+
vertical-align: -webkit-baseline-middle !important;
|
3489 |
+
display: inline;
|
3490 |
+
}
|
3491 |
+
.sfsi_plus_large_button {
|
3492 |
+
line-height: 0px;
|
3493 |
+
height: unset;
|
3494 |
+
padding: 13px !important;
|
3495 |
+
}
|
3496 |
+
.sfsi_plus_responsive_icons .sfsi_plus_icons_container span {
|
3497 |
+
font-family: sans-serif;
|
3498 |
+
font-size: 15px;
|
3499 |
+
}
|
3500 |
+
.sfsi_plus_icons_container_box_fully_container {
|
3501 |
+
flex-wrap: wrap;
|
3502 |
+
}
|
3503 |
+
.sfsi_plus_icons_container_box_fully_container a {
|
3504 |
+
flex-basis: auto !important;
|
3505 |
+
flex-grow: 1;
|
3506 |
+
flex-shrink: 1;
|
3507 |
+
margin-bottom: 5px;
|
3508 |
+
}
|
3509 |
+
.sfsi_plus_icons_container>a {
|
3510 |
+
float: left!important;
|
3511 |
+
text-decoration: none!important;
|
3512 |
+
-webkit-box-shadow: unset!important;
|
3513 |
+
box-shadow: unset!important;
|
3514 |
+
-webkit-transition: unset!important;
|
3515 |
+
transition: unset!important;
|
3516 |
+
margin-bottom:5px!important;
|
3517 |
+
}
|
3518 |
+
.sfsi_plus_small_button {
|
3519 |
+
line-height: 0px;
|
3520 |
+
height: unset;
|
3521 |
+
padding: 6px !important;
|
3522 |
+
}
|
3523 |
+
.sfsi_plus_small_button span {
|
3524 |
+
margin-left: 10px;
|
3525 |
+
font-size: 16px;
|
3526 |
+
padding: 0px;
|
3527 |
+
line-height: 16px;
|
3528 |
+
vertical-align: -webkit-baseline-middle !important;
|
3529 |
+
margin-left: 10px;
|
3530 |
+
}
|
3531 |
+
.sfsi_plus_small_button img {
|
3532 |
+
max-height: 16px !important;
|
3533 |
+
padding: 0px;
|
3534 |
+
line-height: 0px;
|
3535 |
+
vertical-align: -webkit-baseline-middle !important;
|
3536 |
+
}
|
3537 |
+
.sfsi_plus_medium_button span {
|
3538 |
+
margin-left: 10px;
|
3539 |
+
font-size: 18px;
|
3540 |
+
padding: 0px;
|
3541 |
+
line-height: 16px;
|
3542 |
+
vertical-align: -webkit-baseline-middle !important;
|
3543 |
+
margin-left: 10px;
|
3544 |
+
}
|
3545 |
+
.sfsi_plus_medium_button img {
|
3546 |
+
max-height: 16px !important;
|
3547 |
+
padding: 0px;
|
3548 |
+
line-height: 0px;
|
3549 |
+
vertical-align: -webkit-baseline-middle !important;
|
3550 |
+
}
|
3551 |
+
.sfsi_plus_medium_button {
|
3552 |
+
line-height: 0px;
|
3553 |
+
height: unset;
|
3554 |
+
padding: 10px !important;
|
3555 |
+
}
|
3556 |
+
|
3557 |
+
.sfsi_plus_medium_button span {
|
3558 |
+
margin-left: 10px;
|
3559 |
+
font-size: 18px;
|
3560 |
+
padding: 0px;
|
3561 |
+
line-height: 16px;
|
3562 |
+
vertical-align: -webkit-baseline-middle !important;
|
3563 |
+
margin-left: 10px;
|
3564 |
+
}
|
3565 |
+
.sfsi_plus_medium_button img {
|
3566 |
+
max-height: 16px !important;
|
3567 |
+
padding: 0px;
|
3568 |
+
line-height: 0px;
|
3569 |
+
vertical-align: -webkit-baseline-middle !important;
|
3570 |
+
}
|
3571 |
+
.sfsi_plus_medium_button {
|
3572 |
+
line-height: 0px;
|
3573 |
+
height: unset;
|
3574 |
+
padding: 10px !important;
|
3575 |
+
}
|
3576 |
+
.sfsi_plus_large_button span {
|
3577 |
+
font-size: 20px;
|
3578 |
+
padding: 0px;
|
3579 |
+
line-height: 16px;
|
3580 |
+
vertical-align: -webkit-baseline-middle !important;
|
3581 |
+
display: inline;
|
3582 |
+
margin-left: 10px;
|
3583 |
+
}
|
3584 |
+
.sfsi_plus_large_button img {
|
3585 |
+
max-height: 16px !important;
|
3586 |
+
padding: 0px;
|
3587 |
+
line-height: 0px;
|
3588 |
+
vertical-align: -webkit-baseline-middle !important;
|
3589 |
+
display: inline;
|
3590 |
+
}
|
3591 |
+
.sfsi_plus_large_button {
|
3592 |
+
line-height: 0px;
|
3593 |
+
height: unset;
|
3594 |
+
padding: 13px !important;
|
3595 |
+
}
|
3596 |
+
.sfsi_plus_responsive_icons_count{
|
3597 |
+
padding: 5px 10px;
|
3598 |
+
float: left !important;
|
3599 |
+
display: inline-block;
|
3600 |
+
margin-right: 0px;
|
3601 |
+
margin-top: 2px;
|
3602 |
+
}
|
3603 |
+
|
3604 |
+
.sfsi_plus_responsive_icons_count h3{
|
3605 |
+
font-family: 'sans-serif' !important;
|
3606 |
+
font-weight: 900;
|
3607 |
+
font-size: 32px !important;
|
3608 |
+
line-height: 0px !important;
|
3609 |
+
padding: 0px;
|
3610 |
+
margin: 0px;
|
3611 |
+
}
|
3612 |
+
|
3613 |
+
.sfsi_plus_responsive_icons_count h6{
|
3614 |
+
font-family: 'sans-serif' !important;
|
3615 |
+
font-weight: 900;
|
3616 |
+
padding: 0px;
|
3617 |
+
margin: 0px;
|
3618 |
+
}
|
3619 |
+
.sfsi_plus_responsive_icons a, .sfsi_plus_responsive_icons h3, .sfsi_plus_responsive_icons h6 {
|
3620 |
+
text-decoration: none!important;
|
3621 |
+
border: 0!important;
|
3622 |
+
}
|
3623 |
+
.sfsi_plus_responsive_with_counter_icons{
|
3624 |
+
width: calc(100% - 100px)!important;
|
3625 |
+
}
|
3626 |
+
.sfsiresponsive_icon_preview {
|
3627 |
+
padding: 0px 0 20px 0;
|
3628 |
+
min-width: 100%;
|
3629 |
+
}
|
3630 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_fixed_count_container.sfsi_plus_large_button {
|
3631 |
+
padding: 12px 13px 9px 13px !important;
|
3632 |
+
}
|
3633 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_fixed_count_container.sfsi_plus_medium_button {
|
3634 |
+
padding: 9px 10px 7px 10px !important;
|
3635 |
+
}
|
3636 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button {
|
3637 |
+
padding: 7px 6px !important;
|
3638 |
+
}
|
3639 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button {
|
3640 |
+
padding: 7px 6px !important;
|
3641 |
+
margin-top: 2px;
|
3642 |
+
}
|
3643 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button h6 {
|
3644 |
+
display: inline-block;
|
3645 |
+
font-size: 12px !important;
|
3646 |
+
vertical-align: middle;
|
3647 |
+
}
|
3648 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_responsive_count_container.sfsi_plus_medium_button {
|
3649 |
+
padding: 9px 10px 7px 10px !important;
|
3650 |
+
}
|
3651 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_medium_button h3 {
|
3652 |
+
font-size: 21px !important;
|
3653 |
+
vertical-align: top;
|
3654 |
+
line-height: 8px !important;
|
3655 |
+
margin: 0px 0px 12px 0px !important;
|
3656 |
+
font-weight: 900;
|
3657 |
+
padding: 0px;
|
3658 |
+
}
|
3659 |
+
.sfsi_plus_esponsive_icons_count.sfsi_plus_responsive_count_container.sfsi_plus_large_button h3 {
|
3660 |
+
margin: 0px 0px 15px 0px !important;
|
3661 |
+
}
|
3662 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_large_button h3 {
|
3663 |
+
font-size: 26px !important;
|
3664 |
+
vertical-align: top;
|
3665 |
+
line-height: 6px !important;
|
3666 |
+
}
|
3667 |
+
|
3668 |
+
.sfsi_plus_responsive_icons_count h3 {
|
3669 |
+
font-family: 'sans-serif' !important;
|
3670 |
+
font-weight: 900;
|
3671 |
+
padding: 0px;
|
3672 |
+
}
|
3673 |
+
|
3674 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button h3 {
|
3675 |
+
font-size: 20px !important;
|
3676 |
+
display: inline-block;
|
3677 |
+
vertical-align: middle;
|
3678 |
+
}
|
3679 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button h3 {
|
3680 |
+
margin: 0px !important;
|
3681 |
+
}
|
3682 |
+
.sfsi_plus_responsive_icons_count h3 {
|
3683 |
+
font-family: 'sans-serif' !important;
|
3684 |
+
font-weight: 900;
|
3685 |
+
line-height: 0px !important;
|
3686 |
+
padding: 0px;
|
3687 |
+
margin: 0px;
|
3688 |
+
}
|
3689 |
+
.sfsi_plus_responsive_icons a, .sfsi_plus_responsive_icons h3, .sfsi_plus_responsive_icons h6 {
|
3690 |
+
text-decoration: none!important;
|
3691 |
+
border: 0!important;
|
3692 |
+
}
|
3693 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button {
|
3694 |
+
padding: 7px 6px !important;
|
3695 |
+
margin-top: 2px;
|
3696 |
+
}
|
3697 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_large_button h3 {
|
3698 |
+
margin-top:0!important;
|
3699 |
+
margin-bottom:8px!important;
|
3700 |
+
}
|
3701 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_large_button h6 {
|
3702 |
+
font-size:13px!important;
|
3703 |
+
}
|
3704 |
+
|
3705 |
+
.sfsi_plus_responsive_icons_count {
|
3706 |
+
vertical-align: top;
|
3707 |
+
}
|
3708 |
+
.sfsi_plus_responsive_icons_count {
|
3709 |
+
float: left;
|
3710 |
+
}
|
3711 |
+
.sfsi_plus_small_button {
|
3712 |
+
line-height: 0px;
|
3713 |
+
height: unset;
|
3714 |
+
}
|
3715 |
+
.sfsi_plus_responsive_icons a, .sfsi_plus_responsive_icons h3, .sfsi_plus_responsive_icons h6 {
|
3716 |
+
text-decoration: none!important;
|
3717 |
+
border: 0!important;
|
3718 |
+
}
|
3719 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button h3 {
|
3720 |
+
font-size: 20px !important;
|
3721 |
+
display: inline-block;
|
3722 |
+
vertical-align: middle;
|
3723 |
+
margin: 0px !important;
|
3724 |
+
}
|
3725 |
+
|
3726 |
+
.sfsi_plus_responsive_icons a, .sfsi_plus_responsive_icons h3, .sfsi_plus_responsive_icons h6 {
|
3727 |
+
text-decoration: none!important;
|
3728 |
+
font-family: helveticaregular!important;
|
3729 |
+
border: 0!important;
|
3730 |
+
}
|
3731 |
+
.sfsi_plus_responsive_icons_count h3 {
|
3732 |
+
line-height: 0px !important;
|
3733 |
+
padding: 0px;
|
3734 |
+
}
|
3735 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_small_button h6 {
|
3736 |
+
display: inline-block;
|
3737 |
+
font-size: 12px !important;
|
3738 |
+
/*vertical-align: middle;*/
|
3739 |
+
margin: 0px !important;
|
3740 |
+
line-height: initial !important;
|
3741 |
+
padding: 0;
|
3742 |
+
margin: 0;
|
3743 |
+
}
|
3744 |
+
.sfsi_plus_responsive_icons_count h6{
|
3745 |
+
margin:0!important;
|
3746 |
+
}
|
3747 |
+
.sfsi_plus_responsive_icons_count h6 {
|
3748 |
+
padding: 0px;
|
3749 |
+
}
|
3750 |
+
.sfsi_plus_responsive_icons a, .sfsi_plus_responsive_icons h3, .sfsi_plus_responsive_icons h6{
|
3751 |
+
text-decoration: none!important;
|
3752 |
+
font-family: helveticaregular!important;
|
3753 |
+
border: 0!important;
|
3754 |
+
}
|
3755 |
+
.sfsi_plus_responsive_icons_count.sfsi_plus_medium_button h6{
|
3756 |
+
font-size: 11px !important;
|
3757 |
+
line-height: 0px !important;
|
3758 |
+
margin: 0px 0px 0px 0px !important;
|
3759 |
}
|
freemius/includes/class-freemius.php
CHANGED
@@ -15594,7 +15594,6 @@
|
|
15594 |
if ( 0 < count( $this->_menu_items ) ) {
|
15595 |
if ( ! $this->_menu->is_top_level() ) {
|
15596 |
fs_enqueue_local_style( 'fs_common', '/admin/common.css' );
|
15597 |
-
|
15598 |
// Append submenu items right after the plugin's submenu item.
|
15599 |
$this->order_sub_submenu_items();
|
15600 |
} else {
|
15594 |
if ( 0 < count( $this->_menu_items ) ) {
|
15595 |
if ( ! $this->_menu->is_top_level() ) {
|
15596 |
fs_enqueue_local_style( 'fs_common', '/admin/common.css' );
|
|
|
15597 |
// Append submenu items right after the plugin's submenu item.
|
15598 |
$this->order_sub_submenu_items();
|
15599 |
} else {
|
images/icons_theme/flat/flat_instagram.png
CHANGED
Binary file
|
images/responsive-icon/Follow.png
ADDED
Binary file
|
images/responsive-icon/Twitter.svg
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<svg width="60" height="49" viewBox="0 0 60 49" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M58.292 1.08755C56.5487 2.20994 52.546 3.84093 50.572 3.84093V3.84428C48.318 1.47754 45.1447 0 41.6253 0C34.79 0 29.2473 5.57109 29.2473 12.4388C29.2473 13.393 29.3573 14.3237 29.5607 15.2163H29.5587C20.2867 14.9717 10.146 10.3006 4.04133 2.30576C0.288 8.83575 3.536 16.0981 7.79533 18.7443C6.33733 18.8549 3.65333 18.5754 2.39 17.3365C2.30533 21.6706 4.37867 27.4132 11.9387 29.4965C10.4827 30.2838 7.90533 30.058 6.78467 29.8905C7.178 33.5492 12.2753 38.3322 17.8493 38.3322C15.8627 40.642 8.388 44.8314 0 43.4986C5.69667 46.9824 12.336 49 19.3633 49C39.3333 49 54.842 32.7323 54.0073 12.6639C54.004 12.6418 54.004 12.6197 54.002 12.5956C54.004 12.544 54.0073 12.4924 54.0073 12.4388C54.0073 12.3765 54.002 12.3175 54 12.2572C55.818 11.0075 58.2573 8.79688 60 5.88737C58.9893 6.44689 55.9573 7.56728 53.136 7.84536C54.9467 6.86302 57.6293 3.64594 58.292 1.08755Z" fill="white"/>
|
3 |
+
</svg>
|
images/responsive-icon/facebook.svg
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<svg width="26" height="60" viewBox="0 0 26 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2 |
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.42204 60H16.2608V30.0147H24.3919L26 20.6453H16.2608V13.856C16.2608 11.6673 17.6659 9.36933 19.6741 9.36933H25.2092V0H18.4257V0.042C7.8117 0.43 5.63099 6.62133 5.44188 13.1247H5.42204V20.6453H0V30.0147H5.42204V60Z" fill="white"/>
|
3 |
+
</svg>
|
js/custom-admin.js
CHANGED
@@ -1,870 +1,989 @@
|
|
1 |
function sfsi_plus_update_index() {
|
2 |
var s = 1;
|
3 |
-
SFSI("ul.plus_icn_listing li.plus_custom").each(function() {
|
4 |
SFSI(this).children("span.sfsiplus_custom-txt").html("Custom " + s), s++;
|
5 |
-
}), cntt = 1, SFSI("div.cm_lnk").each(function() {
|
6 |
-
SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom " + cntt + ":"),
|
7 |
-
|
8 |
-
}), cntt = 1, SFSI("div.plus_custom_m").find("div.sfsiplus_custom_section").each(function() {
|
9 |
SFSI(this).find("label").html("Custom " + cntt + ":"), cntt++;
|
10 |
});
|
11 |
}
|
12 |
-
openWpMedia = function(btnUploadID,inputImageId,previewDivId,funcNameSuccessHandler){
|
13 |
|
14 |
-
var btnElem,inputImgElem,previewDivElem,iconName;
|
15 |
|
16 |
-
var clickHandler = function(event) {
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
text: 'Use this image'
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
// Get media attachment details from the frame state
|
31 |
-
var attachment = frame.state().get('selection').first().toJSON();
|
32 |
-
var url = attachment.url.split("/");
|
33 |
-
var fileName = url[url.length-1];
|
34 |
-
var fileArr = fileName.split(".");
|
35 |
-
var fileType = fileArr[fileArr.length-1];
|
36 |
-
|
37 |
-
if(fileType!=undefined && (fileType=='gif' || fileType=='jpeg' || fileType=='jpg' || fileType=='png')){
|
38 |
-
|
39 |
-
//inputImgElem.val(attachment.url);
|
40 |
-
//previewDivElem.attr('src',attachment.url);
|
41 |
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
-
|
45 |
|
46 |
-
|
|
|
47 |
|
48 |
-
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
56 |
}
|
57 |
-
}
|
|
|
|
|
|
|
|
|
58 |
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
};
|
63 |
|
64 |
-
if("object" === typeof btnUploadID && null !== btnUploadID){
|
65 |
|
66 |
-
btnElem
|
67 |
-
inputImgElem
|
68 |
previewDivElem = btnElem.parent().find('img');
|
69 |
-
iconName
|
70 |
clickHandler();
|
71 |
-
}
|
72 |
-
else{
|
73 |
|
74 |
-
btnElem
|
75 |
-
inputImgElem
|
76 |
-
previewDivElem = $('#'+previewDivId);
|
77 |
-
|
78 |
-
btnElem.on("click",clickHandler);
|
79 |
}
|
80 |
|
81 |
};
|
82 |
//MZ CODE END
|
83 |
-
function sfsipluscollapse(s)
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
e.
|
88 |
-
|
|
|
89 |
}
|
90 |
-
|
91 |
-
{
|
92 |
sfsiplus_beForeLoad();
|
93 |
var e = {
|
94 |
-
action:"plus_deleteIcons",
|
95 |
-
icon_name:i.attr("name"),
|
96 |
nonce: SFSI(i).parents('.plus_custom').find('input[name="nonce"]').val()
|
97 |
};
|
98 |
-
|
99 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
100 |
-
type:"post",
|
101 |
-
data:e,
|
102 |
-
dataType:"json",
|
103 |
-
success:function(e) {
|
104 |
-
|
105 |
sfsiplus_showErrorSuc("success", "Saved !", 1);
|
106 |
var t = e.last_index + 1;
|
107 |
-
var attr =
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
if(e.total_up==0){
|
115 |
SFSI(".banner_custom_icon").hide();
|
116 |
}
|
117 |
|
118 |
var n = e.total_up + 1;
|
119 |
-
4 == e.total_up && SFSI(".plus_icn_listing").append('<li id="plus_c' + t + '" class="plus_custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="plussfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="sfsiplus-cusotm-icon" isNew="yes" /></div> <span class="plus_custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="plus_CImg_' + t + '" /> </span> <span class="custom sfsiplus_custom-txt">Custom' + n + ' </span> <div class="sfsiplus_right_info"> <p><span>'+object_name1.It_depends+':</span> '+object_name1.Upload_a+'</p><div class="inputWrapper"></div></li>');
|
120 |
} else sfsiplus_showErrorSuc("error", "Unkown error , please try again", 1);
|
121 |
-
return sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step5(),
|
122 |
-
|
123 |
}
|
124 |
});
|
125 |
}
|
126 |
-
|
127 |
-
{
|
128 |
-
SFSI("ul.plus_share_icon_order").children("li").each(function() {
|
129 |
SFSI(this).attr("data-index", SFSI(this).index() + 1);
|
130 |
});
|
131 |
}
|
132 |
-
|
133 |
-
{
|
134 |
-
"hide" == i ? (SFSI("." + s + " :input").prop("disabled", !0), SFSI("." + s + " :button").prop("disabled", !0),
|
135 |
-
|
136 |
-
|
137 |
}
|
138 |
-
|
139 |
-
{
|
140 |
if ("sfsi" == SFSI("input[name='sfsi_plus_rss_icons']:checked").val()) {
|
141 |
for (i = 0; 16 > i; i++) {
|
142 |
-
var s = i + 1,
|
|
|
143 |
SFSI(".sfsiplus_row_" + s + "_2").css("background-position", "-588px -" + e + "px");
|
144 |
}
|
145 |
var t = SFSI(".icon_img").attr("src");
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
var t = SFSI(".icon_img").attr("src");
|
187 |
-
if (t) {
|
188 |
-
if (t.indexOf("email") !=-1)
|
189 |
-
{
|
190 |
-
var n = t.replace("email.png", "subscribe.png");
|
191 |
-
}
|
192 |
-
else
|
193 |
-
{
|
194 |
-
var n = t.replace("sf_arow_icn.png", "subscribe.png");
|
195 |
-
}
|
196 |
-
SFSI(".icon_img").attr("src", n);
|
197 |
-
}
|
198 |
-
}
|
199 |
}
|
200 |
-
SFSI("input[name='sfsi_plus_rss_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_rss_section", "show") :sfsi_plus_section_Display("sfsiplus_rss_section", "hide"),
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
}
|
216 |
-
|
217 |
-
{
|
218 |
sfsi_plus_section_Display("counter".ele, show);
|
219 |
}
|
220 |
// Upload Custom Skin {Monad}
|
221 |
-
function plus_sfsi_customskin_upload(s, ref,nonce)
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
231 |
-
type:"post",
|
232 |
-
data:e,
|
233 |
-
success:function(msg) {
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
}
|
242 |
}
|
243 |
});
|
244 |
}
|
245 |
// Delete Custom Skin {Monad}
|
246 |
-
function sfsiplus_deleteskin_icon(s)
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
258 |
-
type:"post",
|
259 |
-
data:e,
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
{
|
271 |
-
alert("Whoops! something went wrong.")
|
272 |
-
}
|
273 |
}
|
274 |
});
|
275 |
}
|
276 |
// Save Custom Skin {Monad}
|
277 |
-
function SFSI_plus_done(nonce)
|
278 |
-
{
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
|
|
|
|
291 |
});
|
292 |
}
|
293 |
// Upload Custom Icons {Monad}
|
294 |
-
function plus_sfsi_newcustomicon_upload(s,nonce,nonce2)
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
SFSI.ajax({
|
302 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
303 |
-
type:"post",
|
304 |
-
data:e,
|
305 |
-
dataType:"json",
|
306 |
-
async
|
307 |
-
success:function(s) {
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
SFSI(".uperror").html(s.res);
|
316 |
-
sfsiplus_showErrorSuc("Error", "Some Error Occured During Upload Custom Icon", 1)
|
317 |
-
}
|
318 |
}
|
319 |
});
|
320 |
}
|
321 |
-
|
322 |
-
{
|
323 |
-
|
324 |
global_error = 0, sfsiplus_beForeLoad(), sfsi_plus_depened_sections();
|
325 |
-
var s = !1,
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
SFSI.ajax({
|
350 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
351 |
-
type:"post",
|
352 |
-
data:I,
|
353 |
-
|
354 |
-
dataType:"json",
|
355 |
-
success:function(i) {
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
s = !1), sfsiplus_afterLoad();
|
367 |
-
}
|
368 |
-
}
|
369 |
});
|
370 |
}
|
371 |
-
|
372 |
-
{
|
373 |
-
|
374 |
var s = sfsi_plus_validationStep2();
|
375 |
if (!s) return global_error = 1, !1;
|
376 |
sfsiplus_beForeLoad();
|
377 |
-
var i = 1 == SFSI("input[name='sfsi_plus_rss_url']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_url']").val(),
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
483 |
};
|
484 |
SFSI.ajax({
|
485 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
486 |
-
type:"post",
|
487 |
-
data:M,
|
488 |
-
async
|
489 |
-
dataType:"json",
|
490 |
-
success:function(s) {
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
sfsi_plus_depened_sections()) :(global_error = 1, sfsiplus_showErrorSuc("error", "Unkown error , please try again", 2),
|
501 |
-
return_value = !1), sfsiplus_afterLoad();
|
502 |
-
}
|
503 |
}
|
504 |
});
|
505 |
}
|
506 |
-
|
507 |
-
{
|
508 |
-
|
509 |
-
var s
|
510 |
|
511 |
if (!s) return global_error = 1, !1;
|
512 |
sfsiplus_beForeLoad();
|
513 |
|
514 |
-
var i = SFSI("input[name='sfsi_plus_actvite_theme']:checked").val(),
|
515 |
-
|
516 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
517 |
|
518 |
var d = {
|
519 |
-
action:"plus_updateSrcn3",
|
520 |
-
sfsi_plus_actvite_theme:i,
|
521 |
-
sfsi_plus_mouseOver:e,
|
522 |
-
sfsi_plus_shuffle_icons:t,
|
523 |
-
sfsi_plus_shuffle_Firstload:n,
|
524 |
-
sfsi_plus_mouseOver_effect:o,
|
525 |
sfsi_plus_mouseover_effect_type: mouseover_effect_type,
|
526 |
-
sfsi_plus_shuffle_interval:a,
|
527 |
-
sfsi_plus_shuffle_intervalTime:r,
|
528 |
-
sfsi_plus_specialIcon_animation:c,
|
529 |
-
sfsi_plus_specialIcon_MouseOver:p,
|
530 |
-
sfsi_plus_specialIcon_Firstload:_,
|
531 |
-
sfsi_plus_specialIcon_Firstload_Icons:l,
|
532 |
-
sfsi_plus_specialIcon_interval:S,
|
533 |
-
sfsi_plus_specialIcon_intervalTime:u,
|
534 |
-
sfsi_plus_specialIcon_intervalIcons:f,
|
535 |
-
|
536 |
};
|
537 |
SFSI.ajax({
|
538 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
539 |
-
type:"post",
|
540 |
-
data:d,
|
541 |
-
async
|
542 |
-
dataType:"json",
|
543 |
-
success:function(s) {
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
return_value = !1), sfsiplus_afterLoad();
|
554 |
-
}
|
555 |
-
}
|
556 |
});
|
557 |
}
|
558 |
-
|
559 |
-
{
|
560 |
-
"yes" == SFSI("input[name='sfsi_plus_display_counts']:checked").val() ? (SFSI(".sfsiplus_count_sections").slideDown(),
|
561 |
-
|
562 |
}
|
563 |
-
|
564 |
-
{
|
565 |
var s = 0;
|
566 |
-
1 == SFSI("input[name='sfsi_plus_rss_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_rss_countsDisplay").css("opacity", 1),
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
}
|
577 |
-
|
578 |
-
{
|
579 |
-
|
580 |
}
|
581 |
-
|
582 |
-
{
|
583 |
-
|
584 |
-
var s = !1,
|
|
|
585 |
if (!i) return global_error = 1, !1;
|
586 |
sfsiplus_beForeLoad();
|
587 |
-
var e = SFSI("input[name='sfsi_plus_display_counts']:checked").val(),
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
return SFSI.ajax({
|
661 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
662 |
-
type:"post",
|
663 |
-
data
|
664 |
-
dataType:"json",
|
665 |
-
async
|
666 |
-
success:function(s) {
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
sfsi_plus_showPreviewCounts()) :(sfsiplus_showErrorSuc("error", "Unkown error , please try again", 4),
|
677 |
-
global_error = 1), sfsiplus_afterLoad();
|
678 |
-
}
|
679 |
}
|
680 |
}), s;
|
681 |
}
|
682 |
-
|
683 |
-
{
|
684 |
-
|
685 |
-
|
686 |
var s = sfsi_plus_validationStep5();
|
687 |
if (!s) return global_error = 1, !1;
|
688 |
sfsiplus_beForeLoad();
|
689 |
-
var i = SFSI("input[name='sfsi_plus_icons_size']").val(),
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
698 |
h.push({
|
699 |
-
order:SFSI(this).attr("data-index"),
|
700 |
-
ele:SFSI(this).attr("element-id")
|
701 |
});
|
702 |
});
|
703 |
-
var v = 1 == SFSI("input[name='sfsi_plus_rss_MouseOverText']").prop("disabled") ? "" :SFSI("input[name='sfsi_plus_rss_MouseOverText']").val(),
|
704 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
705 |
O[SFSI(this).attr("file-id")] = this.value;
|
706 |
});
|
707 |
|
708 |
var sfsi_plus_custom_social_hide = SFSI("input[name='sfsi_plus_custom_social_hide']").val();
|
709 |
-
var se = SFSI("input[name='sfsi_pplus_icons_suppress_errors']:checked").val();
|
710 |
|
711 |
var T = {
|
712 |
-
action:"plus_updateSrcn5",
|
713 |
-
sfsi_plus_icons_size:i,
|
714 |
-
sfsi_plus_icons_Alignment:n,
|
715 |
-
sfsi_plus_icons_perRow:e,
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
sfsi_plus_icons_spacing:t,
|
721 |
-
sfsi_plus_icons_ClickPageOpen:o,
|
722 |
-
sfsi_plus_icons_float:a,
|
723 |
-
|
724 |
-
|
725 |
-
sfsi_plus_icons_floatPosition:r,
|
726 |
-
sfsi_plus_icons_stick:c,
|
727 |
-
sfsi_plus_rss_MouseOverText:v,
|
728 |
-
sfsi_plus_email_MouseOverText:g,
|
729 |
-
sfsi_plus_twitter_MouseOverText:k,
|
730 |
-
sfsi_plus_facebook_MouseOverText:y,
|
731 |
-
sfsi_plus_youtube_MouseOverText:x,
|
732 |
-
sfsi_plus_linkedIn_MouseOverText:w,
|
733 |
-
sfsi_plus_pinterest_MouseOverText:C,
|
734 |
-
sfsi_plus_instagram_MouseOverText:insD,
|
735 |
-
sfsi_plus_telegram_MouseOverText:tl,
|
736 |
-
sfsi_plus_vk_MouseOverText:vki,
|
737 |
-
|
738 |
-
sfsi_plus_custom_MouseOverTexts:O,
|
739 |
-
sfsi_plus_rssIcon_order:p,
|
740 |
-
sfsi_plus_emailIcon_order:_,
|
741 |
-
sfsi_plus_facebookIcon_order:S,
|
742 |
-
sfsi_plus_twitterIcon_order:u,
|
743 |
-
sfsi_plus_youtubeIcon_order:f,
|
744 |
-
sfsi_plus_pinterestIcon_order:d,
|
745 |
-
sfsi_plus_instagramIcon_order:I,
|
746 |
-
sfsi_plus_telegramIcon_order:tl,
|
747 |
-
sfsi_plus_vkIcon_order:vki,
|
748 |
-
sfsi_plus_okIcon_order:ok,
|
749 |
-
sfsi_plus_weiboIcon_order:weibo,
|
750 |
-
sfsi_plus_wechatIcon_order:wechat,
|
751 |
-
|
752 |
-
sfsi_plus_linkedinIcon_order:F,
|
753 |
-
sfsi_plus_custom_orders:h,
|
754 |
-
sfsi_plus_custom_social_hide:sfsi_plus_custom_social_hide,
|
755 |
-
sfsi_pplus_icons_suppress_errors:se,
|
756 |
-
|
757 |
};
|
758 |
SFSI.ajax({
|
759 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
760 |
-
type:"post",
|
761 |
-
data:T,
|
762 |
-
dataType:"json",
|
763 |
-
async
|
764 |
-
success:function(s) {
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
sfsiplus_showErrorSuc("error", "Unkown error , please try again", 5)), sfsiplus_afterLoad();
|
775 |
-
}
|
776 |
-
}
|
777 |
});
|
778 |
}
|
779 |
-
|
780 |
-
{
|
781 |
-
|
782 |
sfsiplus_beForeLoad();
|
783 |
-
var s = SFSI("input[name='sfsi_plus_show_Onposts']:checked").val(),
|
784 |
-
|
785 |
-
|
786 |
-
sfsi_plus_icons_DisplayCounts
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
|
|
|
|
|
|
|
|
791 |
SFSI.ajax({
|
792 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
793 |
-
type:"post",
|
794 |
-
data:n,
|
795 |
-
dataType:"json",
|
796 |
-
async
|
797 |
-
success:function(s) {
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
sfsiplus_showErrorSuc("error", "Unkown error , please try again", 6)), sfsiplus_afterLoad();
|
808 |
-
}
|
809 |
-
}
|
810 |
});
|
811 |
}
|
812 |
-
|
813 |
-
{
|
814 |
-
|
815 |
var s = sfsi_plus_validationStep7();
|
816 |
if (!s) return global_error = 1, !1;
|
817 |
sfsiplus_beForeLoad();
|
818 |
-
var i = SFSI("input[name='sfsi_plus_popup_text']").val(),
|
819 |
-
|
820 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
821 |
_[s] = SFSI(i).val();
|
822 |
});
|
823 |
-
var l = SFSI("input[name='sfsi_plus_Shown_pop']:checked").val(),
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
|
|
|
|
|
|
840 |
SFSI.ajax({
|
841 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
842 |
-
type:"post",
|
843 |
-
data:f,
|
844 |
-
dataType:"json",
|
845 |
-
async
|
846 |
-
success:function(s) {
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
sfsiplus_afterLoad();
|
856 |
-
}
|
857 |
-
}
|
858 |
});
|
859 |
}
|
860 |
-
|
861 |
-
{
|
862 |
-
|
863 |
var s = sfsi_plus_validationStep7();
|
864 |
-
|
865 |
if (!s) return global_error = 1, !1;
|
866 |
sfsiplus_beForeLoad();
|
867 |
-
|
868 |
e = SFSI("input[name='sfsi_plus_float_on_page']:checked").val(),
|
869 |
t = SFSI("input[name='sfsi_plus_float_page_position']:checked").val(),
|
870 |
n = SFSI("input[name='sfsi_plus_place_item_manually']:checked").val(),
|
@@ -873,311 +992,363 @@ function sfsi_plus_update_step8()
|
|
873 |
r = SFSI("input[name='sfsi_plus_post_icons_size']").val(),
|
874 |
c = SFSI("input[name='sfsi_plus_post_icons_spacing']").val(),
|
875 |
p = SFSI("input[name='sfsi_plus_show_Onposts']:checked").val(),
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
_ = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
891 |
/*SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
892 |
_[s] = SFSI(i).val()
|
893 |
});*/
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
928 |
SFSI.ajax({
|
929 |
url: sfsi_plus_ajax_object.ajax_url,
|
930 |
type: "post",
|
931 |
data: f,
|
932 |
dataType: "json",
|
933 |
async: !0,
|
934 |
-
success: function(s) {
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 8), sfsipluscollapse("#sfsi_plus_save8")) : sfsiplus_showErrorSuc("error", "Unkown error , please try again", 8), sfsiplus_afterLoad()
|
943 |
-
}
|
944 |
-
}
|
945 |
})
|
946 |
}
|
947 |
-
|
948 |
-
{
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
action:"plus_updateSrcn9",
|
983 |
-
sfsi_plus_form_adjustment:ie,
|
984 |
-
|
985 |
-
|
986 |
-
sfsi_plus_form_border:le,
|
987 |
-
sfsi_plus_form_border_thickness:me,
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
sfsi_plus_form_heading_text:ae,
|
992 |
-
sfsi_plus_form_heading_font:be,
|
993 |
-
sfsi_plus_form_heading_fontstyle:ce,
|
994 |
-
sfsi_plus_form_heading_fontcolor:de,
|
995 |
-
sfsi_plus_form_heading_fontsize:ee,
|
996 |
-
sfsi_plus_form_heading_fontalign:fe,
|
997 |
-
|
998 |
-
|
999 |
-
sfsi_plus_form_field_font:ve,
|
1000 |
-
sfsi_plus_form_field_fontstyle:we,
|
1001 |
-
sfsi_plus_form_field_fontcolor:xe,
|
1002 |
-
sfsi_plus_form_field_fontsize:ye,
|
1003 |
-
sfsi_plus_form_field_fontalign:ze,
|
1004 |
-
|
1005 |
-
|
1006 |
-
sfsi_plus_form_button_font:j,
|
1007 |
-
sfsi_plus_form_button_fontstyle:k,
|
1008 |
-
sfsi_plus_form_button_fontcolor:l,
|
1009 |
-
sfsi_plus_form_button_fontsize:m,
|
1010 |
-
sfsi_plus_form_button_fontalign:n,
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
};
|
1015 |
-
|
1016 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
1017 |
-
type:"post",
|
1018 |
-
data:f,
|
1019 |
-
dataType:"json",
|
1020 |
-
async
|
1021 |
-
success:function(s) {
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
sfsiplus_afterLoad();
|
1031 |
-
}
|
1032 |
-
}
|
1033 |
});
|
1034 |
}
|
1035 |
-
|
1036 |
-
{
|
1037 |
-
|
1038 |
-
|
|
|
|
|
1039 |
SFSI("#plus_total_cusotm_icons").val(s.element);
|
1040 |
-
|
1041 |
SFSI(".uperror").html("");
|
1042 |
-
|
1043 |
d = new Date();
|
1044 |
-
|
1045 |
-
|
1046 |
-
SFSI("li.plus_custom:last-child").children("span.plus_custom-img").children("img").attr("src", s.img_path+ "?" + d.getTime());
|
1047 |
-
|
1048 |
SFSI("input[name=plussfsiICON_" + s.key + "]").removeAttr("isnew");
|
1049 |
-
|
1050 |
var n = icons_name.split("_");
|
1051 |
-
|
1052 |
-
|
1053 |
var o = SFSI("div.plus_custom_m").find("div.mouseover_field").length;
|
1054 |
-
SFSI("div.plus_custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' :'<div class="cHover " ><div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
SFSI("#plus_c"+s.key).append('<input type="hidden" name="nonce" value="'+nonce+'">');
|
1060 |
-
sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step2(),
|
1061 |
-
|
1062 |
-
|
1063 |
}
|
1064 |
}
|
1065 |
-
|
1066 |
-
{
|
1067 |
if (SFSI(".uperror").html("Uploading....."), window.File && window.FileReader && window.FileList && window.Blob) {
|
1068 |
SFSI(s).val() || SFSI(".uperror").html("File is empty");
|
1069 |
-
var i = s.files[0].size,
|
|
|
1070 |
switch (e) {
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
}
|
1080 |
-
return i > 1048576 ? (SFSI(".uperror").html("Image should be less than 1 MB"), !1)
|
1081 |
}
|
1082 |
return !0;
|
1083 |
}
|
1084 |
-
|
1085 |
-
{
|
1086 |
-
var i = [
|
1087 |
if (0 == s) return "0 Bytes";
|
1088 |
var e = parseInt(Math.floor(Math.log(s) / Math.log(1024)));
|
1089 |
return Math.round(s / Math.pow(1024, e), 2) + " " + i[e];
|
1090 |
}
|
1091 |
-
|
1092 |
-
{
|
1093 |
-
if ("error" == s) var t = "errorMsg";
|
1094 |
-
|
1095 |
-
SFSI(".tab" + e + ">." + t).
|
1096 |
-
SFSI("." + t).
|
1097 |
-
|
|
|
1098 |
}
|
1099 |
-
|
1100 |
-
{
|
1101 |
-
|
1102 |
}
|
1103 |
-
|
1104 |
-
{
|
1105 |
-
SFSI("input").removeClass("inputError"), SFSI(".save_button >a").html(object_name.Sa_ve),
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
}
|
1110 |
-
|
1111 |
-
{
|
1112 |
var s = 0;
|
1113 |
-
SFSI(".plus_sfsi_sample_icons >li").each(function() {
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
}
|
1126 |
-
|
1127 |
-
{
|
1128 |
-
0 == sfsiplus_initTop.length && (SFSI(".sfsi_plus_widget").each(function(s) {
|
1129 |
sfsiplus_initTop[s] = SFSI(this).position().top;
|
1130 |
}), console.log(sfsiplus_initTop));
|
1131 |
-
var i = SFSI(window).scrollTop(),
|
1132 |
-
|
|
|
|
|
1133 |
e[s] = SFSI(this).position().top, t[s] = SFSI(this);
|
1134 |
});
|
1135 |
var n = !1;
|
1136 |
for (var o in e) {
|
1137 |
var a = parseInt(o) + 1;
|
1138 |
e[o] < i && e[a] > i && a < e.length ? (SFSI(t[o]).css({
|
1139 |
-
position:"fixed",
|
1140 |
-
top:s
|
1141 |
}), SFSI(t[a]).css({
|
1142 |
-
position:"",
|
1143 |
-
top:sfsiplus_initTop[a]
|
1144 |
-
}), n = !0) :SFSI(t[o]).css({
|
1145 |
-
position:"",
|
1146 |
-
top:sfsiplus_initTop[o]
|
1147 |
});
|
1148 |
}
|
1149 |
if (!n) {
|
1150 |
-
var r = e.length - 1,
|
|
|
1151 |
e.length > 1 && (c = e.length - 2), sfsiplus_initTop[r] < i ? (SFSI(t[r]).css({
|
1152 |
-
position:"fixed",
|
1153 |
-
top:s
|
1154 |
}), c >= 0 && SFSI(t[c]).css({
|
1155 |
-
position:"",
|
1156 |
-
top:sfsiplus_initTop[c]
|
1157 |
-
})) :(SFSI(t[r]).css({
|
1158 |
-
position:"",
|
1159 |
-
top:sfsiplus_initTop[r]
|
1160 |
}), c >= 0 && e[c] < i);
|
1161 |
}
|
1162 |
}
|
1163 |
-
|
1164 |
-
{
|
1165 |
var t = new Date();
|
1166 |
t.setTime(t.getTime() + 1e3 * 60 * 60 * 24 * e);
|
1167 |
var n = "expires=" + t.toGMTString();
|
1168 |
document.cookie = s + "=" + i + "; " + n;
|
1169 |
}
|
1170 |
-
|
1171 |
-
{
|
1172 |
for (var i = s + "=", e = document.cookie.split(";"), t = 0; t < e.length; t++) {
|
1173 |
var n = e[t].trim();
|
1174 |
if (0 == n.indexOf(i)) return n.substring(i.length, n.length);
|
1175 |
}
|
1176 |
return "";
|
1177 |
}
|
|
|
1178 |
function sfsi_plus_hideFooter() {}
|
1179 |
|
1180 |
-
window.onerror = function() {}, SFSI = jQuery.noConflict(), SFSI(window).on('load',function() {
|
1181 |
SFSI("#sfpluspageLoad").fadeOut(2e3);
|
1182 |
});
|
1183 |
|
@@ -1194,236 +1365,271 @@ function sfsi_plus_selectText(containerid) {
|
|
1194 |
window.getSelection().addRange(range);
|
1195 |
}
|
1196 |
}
|
1197 |
-
function sfsi_plus_create_suscriber_form()
|
1198 |
-
{
|
1199 |
-
//Popbox customization
|
1200 |
-
"no" == SFSI('input[name="sfsi_plus_form_adjustment"]:checked').val() ? SFSI(".sfsi_plus_subscribe_Popinner").css({"width": parseInt(SFSI('input[name="sfsi_plus_form_width"]').val()),"height":parseInt(SFSI('input[name="sfsi_plus_form_height"]').val())}) : SFSI(".sfsi_plus_subscribe_Popinner").css({"width": '',"height": ''});
|
1201 |
-
|
1202 |
-
"yes" == SFSI('input[name="sfsi_plus_form_adjustment"]:checked').val() ? SFSI(".sfsi_plus_html > .sfsi_plus_subscribe_Popinner").css({"width": "100%"}): '';
|
1203 |
-
|
1204 |
-
"yes" == SFSI('input[name="sfsi_plus_form_border"]:checked').val() ? SFSI(".sfsi_plus_subscribe_Popinner").css({"border": SFSI('input[name="sfsi_plus_form_border_thickness"]').val()+"px solid "+SFSI('input[name="sfsi_plus_form_border_color"]').val()}) : SFSI(".sfsi_plus_subscribe_Popinner").css("border", "none");
|
1205 |
-
|
1206 |
-
SFSI('input[name="sfsi_plus_form_background"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").css("background-color", SFSI('input[name="sfsi_plus_form_background"]').val())) : '';
|
1207 |
-
|
1208 |
-
//Heading customization
|
1209 |
-
SFSI('input[name="sfsi_plus_form_heading_text"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").html(SFSI('input[name="sfsi_plus_form_heading_text"]').val())) : SFSI(".sfsi_plus_subscribe_Popinner > form > h5").html('');
|
1210 |
-
|
1211 |
-
SFSI('#sfsi_plus_form_heading_font').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-family", SFSI("#sfsi_plus_form_heading_font").val())) : '';
|
1212 |
-
|
1213 |
-
if(SFSI('#sfsi_plus_form_heading_fontstyle').val() != 'bold')
|
1214 |
-
{
|
1215 |
-
SFSI('#sfsi_plus_form_heading_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-style", SFSI("#sfsi_plus_form_heading_fontstyle").val())) : '';
|
1216 |
-
SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-weight", '');
|
1217 |
-
}
|
1218 |
-
else
|
1219 |
-
{
|
1220 |
-
SFSI('#sfsi_plus_form_heading_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-weight","bold")) : '';
|
1221 |
-
SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-style", '');
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
SFSI('input[name="sfsi_plus_form_heading_fontcolor"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("color", SFSI('input[name="sfsi_plus_form_heading_fontcolor"]').val())) : '';
|
1225 |
-
|
1226 |
-
SFSI('input[name="sfsi_plus_form_heading_fontsize"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css({"font-size": parseInt(SFSI('input[name="sfsi_plus_form_heading_fontsize"]').val())})) : '';
|
1227 |
-
|
1228 |
-
SFSI('#sfsi_plus_form_heading_fontalign').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("text-align", SFSI("#sfsi_plus_form_heading_fontalign").val())) : '';
|
1229 |
-
|
1230 |
-
//Field customization
|
1231 |
-
SFSI('input[name="sfsi_plus_form_field_text"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').attr("placeholder", SFSI('input[name="sfsi_plus_form_field_text"]').val())) : SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').attr("placeholder", '');
|
1232 |
-
|
1233 |
-
SFSI('input[name="sfsi_plus_form_field_text"]').val() != "" ? (SFSI(".sfsi_plus_left_container > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val(SFSI('input[name="sfsi_plus_form_field_text"]').val())) : SFSI(".sfsi_plus_left_container > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val('');
|
1234 |
-
|
1235 |
-
SFSI('input[name="sfsi_plus_form_field_text"]').val() != "" ? (SFSI(".like_pop_box > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val(SFSI('input[name="sfsi_plus_form_field_text"]').val())) : SFSI(".like_pop_box > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val('');
|
1236 |
-
|
1237 |
-
SFSI('#sfsi_plus_form_field_font').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-family", SFSI("#sfsi_plus_form_field_font").val())) : '';
|
1238 |
-
|
1239 |
-
if(SFSI('#sfsi_plus_form_field_fontstyle').val() != "bold")
|
1240 |
-
{
|
1241 |
-
SFSI('#sfsi_plus_form_field_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-style", SFSI("#sfsi_plus_form_field_fontstyle").val())) : '';
|
1242 |
-
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-weight", '');
|
1243 |
-
}
|
1244 |
-
else
|
1245 |
-
{
|
1246 |
-
SFSI('#sfsi_plus_form_field_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-weight", 'bold')) : '';
|
1247 |
-
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-style", '');
|
1248 |
-
}
|
1249 |
-
|
1250 |
-
SFSI('input[name="sfsi_plus_form_field_fontcolor"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("color", SFSI('input[name="sfsi_plus_form_field_fontcolor"]').val())) : '';
|
1251 |
-
|
1252 |
-
SFSI('input[name="sfsi_plus_form_field_fontsize"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css({"font-size": parseInt(SFSI('input[name="sfsi_plus_form_field_fontsize"]').val())})) : '';
|
1253 |
-
|
1254 |
-
SFSI('#sfsi_plus_form_field_fontalign').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("text-align", SFSI("#sfsi_plus_form_field_fontalign").val())) : '';
|
1255 |
-
|
1256 |
-
//Button customization
|
1257 |
-
SFSI('input[name="sfsi_plus_form_button_text"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').attr("value", SFSI('input[name="sfsi_plus_form_button_text"]').val())) : '';
|
1258 |
-
|
1259 |
-
SFSI('#sfsi_plus_form_button_font').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-family", SFSI("#sfsi_plus_form_button_font").val())) : '';
|
1260 |
-
|
1261 |
-
if(SFSI('#sfsi_plus_form_button_fontstyle').val() != "bold")
|
1262 |
-
{
|
1263 |
-
SFSI('#sfsi_plus_form_button_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-style", SFSI("#sfsi_plus_form_button_fontstyle").val())) : '';
|
1264 |
-
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-weight", '');
|
1265 |
-
}
|
1266 |
-
else
|
1267 |
-
{
|
1268 |
-
SFSI('#sfsi_plus_form_button_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-weight", 'bold')) : '';
|
1269 |
-
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-style", '');
|
1270 |
-
}
|
1271 |
-
|
1272 |
-
SFSI('input[name="sfsi_plus_form_button_fontcolor"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("color", SFSI('input[name="sfsi_plus_form_button_fontcolor"]').val())) : '';
|
1273 |
-
|
1274 |
-
SFSI('input[name="sfsi_plus_form_button_fontsize"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css({"font-size": parseInt(SFSI('input[name="sfsi_plus_form_button_fontsize"]').val())})) : '';
|
1275 |
-
|
1276 |
-
SFSI('#sfsi_plus_form_button_fontalign').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("text-align", SFSI("#sfsi_plus_form_button_fontalign").val())) : '';
|
1277 |
-
|
1278 |
-
SFSI('input[name="sfsi_plus_form_button_background"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("background-color", SFSI('input[name="sfsi_plus_form_button_background"]').val())) : '';
|
1279 |
-
|
1280 |
-
var innerHTML = SFSI(".sfsi_plus_html > .sfsi_plus_subscribe_Popinner").html();
|
1281 |
-
var styleCss = SFSI(".sfsi_plus_html > .sfsi_plus_subscribe_Popinner").attr("style");
|
1282 |
-
innerHTML = '<div style="'+styleCss+'">'+innerHTML+'</div>';
|
1283 |
-
SFSI(".sfsi_plus_subscription_html > xmp").html(innerHTML);
|
1284 |
-
|
1285 |
-
/*var data = {
|
1286 |
-
action:"getForm",
|
1287 |
-
heading: SFSI('input[name="sfsi_plus_form_heading_text"]').val(),
|
1288 |
-
placeholder:SFSI('input[name="sfsi_plus_form_field_text"]').val(),
|
1289 |
-
button:SFSI('input[name="sfsi_plus_form_button_text"]').val()
|
1290 |
-
};
|
1291 |
-
SFSI.ajax({
|
1292 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
1293 |
-
type:"post",
|
1294 |
-
data:data,
|
1295 |
-
success:function(s) {
|
1296 |
-
SFSI(".sfsi_plus_subscription_html").html(s);
|
1297 |
-
}
|
1298 |
-
});*/
|
1299 |
-
}
|
1300 |
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1304 |
|
1305 |
-
SFSI(
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1316 |
});
|
1317 |
});
|
1318 |
|
1319 |
|
1320 |
-
|
1321 |
-
|
1322 |
-
var nonce= currentDrpdown.find('select').attr('data-nonce');
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
nonce: nonce,
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
e = 0;
|
1342 |
});
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
var nonce=SFSI(this).attr('data-nonce');
|
1347 |
-
|
1348 |
SFSI(".cstmskins-overlay").hide("slow");
|
1349 |
});
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
SFSI("#sfsi_plus_form_heading_font, #sfsi_plus_form_heading_fontstyle, #sfsi_plus_form_heading_fontalign, #sfsi_plus_form_field_font, #sfsi_plus_form_field_fontstyle, #sfsi_plus_form_field_fontalign, #sfsi_plus_form_button_font, #sfsi_plus_form_button_fontstyle, #sfsi_plus_form_button_fontalign").on("change", sfsi_plus_create_suscriber_form
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
var s = SFSI(this).parent().find("input:radio:first");
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
case 'sfsi_pplus_icons_suppress_errors':
|
1378 |
|
1379 |
SFSI('input[name="sfsi_pplus_icons_suppress_errors"]').removeAttr('checked');
|
1380 |
|
1381 |
-
if(s.val() == 'yes')
|
1382 |
-
SFSI('input[name="sfsi_pplus_icons_suppress_errors"][value="yes"]').prop('checked','true');
|
1383 |
else
|
1384 |
-
SFSI('input[name="sfsi_pplus_icons_suppress_errors"][value="no"]').prop('checked','true');
|
1385 |
-
break;
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1427 |
color:"#f80000",
|
1428 |
onBeforeShow:function() {
|
1429 |
s(this).ColorPickerSetColor(SFSI("#sfsi_plus_form_border_color").val());
|
@@ -1543,91 +1749,116 @@ SFSI(document).ready(function(s) {
|
|
1543 |
sfsi_plus_create_suscriber_form();
|
1544 |
}
|
1545 |
});*/
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
SFSI(".uperror").html(""), sfsiplus_afterLoad();
|
1550 |
var s = SFSI('input[name="' + SFSI("#upload_id").val() + '"]');
|
1551 |
s.removeAttr("checked");
|
1552 |
var i = SFSI(s).parent().find("span:first");
|
1553 |
-
return SFSI(i).css("background-position", "0px 0px"), SFSI(".upload-overlay").hide("slow"),
|
1554 |
-
|
1555 |
}
|
1556 |
SFSI("#accordion").accordion({
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1631 |
color:"#f80000",
|
1632 |
onBeforeShow:function() {
|
1633 |
s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_fontColor").val());
|
@@ -1647,35 +1878,35 @@ SFSI(document).ready(function(s) {
|
|
1647 |
sfsi_plus_make_popBox();
|
1648 |
}
|
1649 |
}),*/
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
color:"#f80000",
|
1680 |
onBeforeShow:function() {
|
1681 |
s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_background_color").val());
|
@@ -1715,399 +1946,391 @@ SFSI(document).ready(function(s) {
|
|
1715 |
sfsi_plus_make_popBox();
|
1716 |
}
|
1717 |
}),*/
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
SFSI("
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
SFSI("."
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
if (1 == e) return !1;
|
1779 |
-
"yes" == SFSI(this).attr("dynamic_ele") && (s = SFSI(this).parent().find("input:checkbox:first"),
|
1780 |
-
s.is(":checked") ? SFSI(s).attr("checked", !1) :SFSI(s).attr("checked", !0)), s = SFSI(this).parent().find("input:checkbox:first"),
|
1781 |
-
"yes" == SFSI(s).attr("isNew") && ("0px 0px" == SFSI(this).css("background-position") ? (SFSI(s).attr("checked", !0),
|
1782 |
-
SFSI(this).css("background-position", "0px -36px")) :(SFSI(s).removeAttr("checked", !0),
|
1783 |
-
SFSI(this).css("background-position", "0px 0px")));
|
1784 |
-
var s = SFSI(this).parent().find("input:checkbox:first");
|
1785 |
-
if (s.is(":checked") && "sfsiplus-cusotm-icon" == s.attr("element-type")) SFSI(".fileUPInput").attr("name", "custom_icons[]"),
|
1786 |
-
SFSI(".upload-overlay").show("slow", function() {
|
1787 |
-
e = 0;
|
1788 |
-
}),
|
1789 |
-
SFSI("#upload_id").val(s.attr("name")); else if (!s.is(":checked") && "sfsiplus-cusotm-icon" == s.attr("element-type")) return s.attr("ele-type") ? (SFSI(this).attr("checked", !0),
|
1790 |
-
SFSI(this).css("background-position", "0px -36px"), e = 0, !1) :confirm("Are you sure want to delete this Icon..?? ") ? "suc" == sfsi_plus_delete_CusIcon(this, s) ? (s.attr("checked", !1),
|
1791 |
-
SFSI(this).css("background-position", "0px 0px"), e = 0, !1) :(e = 0, !1) :(s.attr("checked", !0),
|
1792 |
-
SFSI(this).css("background-position", "0px -36px"), e = 0, !1);
|
1793 |
-
}),
|
1794 |
-
SFSI(".plus_icn_listing").on("click", ".checkbox", function() {
|
1795 |
-
checked = SFSI(this).parent().find("input:checkbox:first"), "sfsi_plus_email_display" != checked.attr("name") || checked.is(":checked") || SFSI(".demail-1").show("slow");
|
1796 |
-
}),
|
1797 |
-
SFSI("#deac_email2").on("click", function() {
|
1798 |
-
SFSI(".demail-1").hide("slow"), SFSI(".demail-2").show("slow");
|
1799 |
-
}),
|
1800 |
-
SFSI("#deac_email3").on("click", function() {
|
1801 |
-
SFSI(".demail-2").hide("slow"), SFSI(".demail-3").show("slow");
|
1802 |
-
}),
|
1803 |
-
SFSI(".hideemailpop").on("click", function() {
|
1804 |
-
SFSI('input[name="sfsi_plus_email_display"]').attr("checked", !0),
|
1805 |
-
SFSI('input[name="sfsi_plus_email_display"]').parent().find("span:first").css("background-position", "0px -36px"),
|
1806 |
-
SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"), SFSI(".demail-3").hide("slow");
|
1807 |
-
}),
|
1808 |
-
SFSI(".hidePop").on("click", function() {
|
1809 |
-
SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"), SFSI(".demail-3").hide("slow");
|
1810 |
-
}),
|
1811 |
-
SFSI(".sfsiplus_activate_footer").on("click", function() {
|
1812 |
-
var nonce = SFSI(this).attr("data-nonce");
|
1813 |
-
SFSI(this).text("activating....");
|
1814 |
-
var s = {
|
1815 |
-
action:"plus_activateFooter",
|
1816 |
-
nonce:nonce
|
1817 |
-
};
|
1818 |
-
SFSI.ajax({
|
1819 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
1820 |
-
type:"post",
|
1821 |
-
data:s,
|
1822 |
-
dataType:"json",
|
1823 |
-
success:function(s) {
|
1824 |
-
if(s.res == "wrong_nonce")
|
1825 |
-
{
|
1826 |
-
SFSI(".sfsiplus_activate_footer").css("font-size", "18px");
|
1827 |
-
SFSI(".sfsiplus_activate_footer").text("Unauthorised Request, Try again after refreshing page");
|
1828 |
-
}
|
1829 |
-
else
|
1830 |
-
{
|
1831 |
-
"success" == s.res && (SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"),
|
1832 |
-
SFSI(".demail-3").hide("slow"), SFSI(".sfsiplus_activate_footer").text("Ok, activate link"));
|
1833 |
-
}
|
1834 |
-
}
|
1835 |
-
});
|
1836 |
-
}),
|
1837 |
-
SFSI(".sfsiplus_removeFooter").on("click", function() {
|
1838 |
-
var nonce = SFSI(this).attr("data-nonce");
|
1839 |
-
SFSI(this).text("working....");
|
1840 |
-
var s = {
|
1841 |
-
action:"plus_removeFooter",
|
1842 |
-
nonce:nonce
|
1843 |
-
};
|
1844 |
-
SFSI.ajax({
|
1845 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
1846 |
-
type:"post",
|
1847 |
-
data:s,
|
1848 |
-
dataType:"json",
|
1849 |
-
success:function(s) {
|
1850 |
-
if(s.res == "wrong_nonce")
|
1851 |
-
{
|
1852 |
-
SFSI(".sfsiplus_removeFooter").text("Unauthorised Request, Try again after refreshing page");
|
1853 |
-
}
|
1854 |
-
else
|
1855 |
-
{
|
1856 |
-
"success" == s.res && (SFSI(".sfsiplus_removeFooter").fadeOut("slow"), SFSI(".sfsiplus_footerLnk").fadeOut("slow"));
|
1857 |
-
}
|
1858 |
-
}
|
1859 |
});
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
SFSI(this).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1878 |
});
|
1879 |
-
},
|
1880 |
-
|
1881 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1882 |
|
1883 |
-
|
1884 |
|
1885 |
-
|
1886 |
|
1887 |
-
|
1888 |
|
1889 |
-
|
1890 |
-
var inputChecked = s.attr("checked");
|
1891 |
|
1892 |
-
|
|
|
|
|
|
|
|
|
1893 |
|
1894 |
-
|
|
|
1895 |
|
1896 |
-
|
1897 |
|
1898 |
-
|
1899 |
-
yPos = backgroundPos[1];
|
1900 |
-
var val = (yPos=="0px") ? "no":"yes";
|
1901 |
-
SFSI('input[name="sfsi_plus_custom_social_hide"]').val(val);
|
1902 |
-
|
1903 |
-
break;
|
1904 |
|
1905 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1906 |
|
1907 |
-
|
|
|
|
|
|
|
|
|
1908 |
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
togglelem.removeClass('hide').addClass('show');
|
1913 |
-
}
|
1914 |
-
else{
|
1915 |
-
togglelem.removeClass('show').addClass('hide');
|
1916 |
-
}
|
1917 |
|
1918 |
-
|
1919 |
-
|
|
|
1920 |
|
|
|
|
|
|
|
|
|
|
|
1921 |
});
|
1922 |
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
SFSI('input[name="sfsi_plus_email_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1930 |
-
"manual" == SFSI("input[name='sfsi_plus_email_countsFrom']:checked").val() ? SFSI("input[name='sfsi_plus_email_manualCounts']").slideDown() :SFSI("input[name='sfsi_plus_email_manualCounts']").slideUp()),
|
1931 |
-
"sfsi_plus_facebook_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_facebook_countsDisplay"]').prop("checked", !0),
|
1932 |
-
SFSI('input[name="sfsi_plus_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1933 |
-
"mypage" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_facebook_mypageCounts']").slideDown(),SFSI(".sfsiplus_fbpgidwpr").slideDown()) :(SFSI("input[name='sfsi_plus_facebook_mypageCounts']").slideUp(),SFSI(".sfsiplus_fbpgidwpr").slideUp()),
|
1934 |
-
"manual" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val() ? SFSI("input[name='sfsi_plus_facebook_manualCounts']").slideDown() :SFSI("input[name='sfsi_plus_facebook_manualCounts']").slideUp()),
|
1935 |
-
"sfsi_plus_facebook_countsFrom" == s.attr("name") && (("mypage" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val() || "likes" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val()) ? (SFSI(".sfsi_plus_facebook_pagedeasc").slideDown()) : (SFSI(".sfsi_plus_facebook_pagedeasc").slideUp())),
|
1936 |
-
|
1937 |
-
|
1938 |
-
"sfsi_plus_twitter_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_twitter_countsDisplay"]').prop("checked", !0),
|
1939 |
-
SFSI('input[name="sfsi_plus_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1940 |
-
"manual" == SFSI("input[name='sfsi_plus_twitter_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideDown(),
|
1941 |
-
SFSI(".tw_follow_options").slideUp()) :(SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideUp(),
|
1942 |
-
SFSI(".tw_follow_options").slideDown())), "sfsi_plus_linkedIn_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').prop("checked", !0),
|
1943 |
-
SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1944 |
-
"manual" == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideDown(),
|
1945 |
-
SFSI(".linkedIn_options").slideUp()) :(SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideUp(),
|
1946 |
-
SFSI(".linkedIn_options").slideDown())), "sfsi_plus_youtube_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_youtube_countsDisplay"]').prop("checked", !0),
|
1947 |
-
SFSI('input[name="sfsi_plus_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1948 |
-
"manual" == SFSI("input[name='sfsi_plus_youtube_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_youtube_manualCounts']").slideDown(),
|
1949 |
-
SFSI(".youtube_options").slideUp()) :(SFSI("input[name='sfsi_plus_youtube_manualCounts']").slideUp(),
|
1950 |
-
SFSI(".youtube_options").slideDown())), "sfsi_plus_pinterest_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_pinterest_countsDisplay"]').prop("checked", !0),
|
1951 |
-
SFSI('input[name="sfsi_plus_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1952 |
-
"manual" == SFSI("input[name='sfsi_plus_pinterest_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideDown(),
|
1953 |
-
SFSI(".pin_options").slideUp()) :SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideUp()),
|
1954 |
-
"sfsi_plus_instagram_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').prop("checked", !0),
|
1955 |
-
SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
1956 |
-
"manual" == SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideDown(),
|
1957 |
-
SFSI(".instagram_userLi").slideUp()) :(SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideUp(),
|
1958 |
-
SFSI(".instagram_userLi").slideDown()))
|
1959 |
-
}), sfsi_plus_make_popBox(), SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("keyup", sfsi_plus_make_popBox),
|
1960 |
-
SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("focus", sfsi_plus_make_popBox),
|
1961 |
-
SFSI("#sfsi_plus_popup_font ,#sfsi_plus_popup_fontStyle").on("change", sfsi_plus_make_popBox),
|
1962 |
-
/*SFSI(".radio").live("click", function() {*/
|
1963 |
-
SFSI(document).on("click", '.radio', function () {
|
1964 |
-
var s = SFSI(this).parent().find("input:radio:first");
|
1965 |
-
"sfsi_plus_popup_border_shadow" == s.attr("name") && sfsi_plus_make_popBox();
|
1966 |
-
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function(s) {
|
1967 |
-
s.stopPropagation();
|
1968 |
-
var i = SFSI("#sfsi_plus_floater_sec").val();
|
1969 |
-
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
1970 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
1971 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
1972 |
-
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
1973 |
-
"z-index":"999"
|
1974 |
-
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1975 |
-
opacity:1,
|
1976 |
-
"z-index":10
|
1977 |
-
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1978 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1979 |
-
opacity:1,
|
1980 |
-
"z-index":10
|
1981 |
-
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
1982 |
-
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1983 |
-
opacity:1,
|
1984 |
-
"z-index":10
|
1985 |
-
})), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
1986 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
1987 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1988 |
-
opacity:1,
|
1989 |
-
"z-index":10
|
1990 |
-
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
1991 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
1992 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
1993 |
-
opacity:1,
|
1994 |
-
"z-index":1e3
|
1995 |
-
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
1996 |
-
}) :SFSI("img.sfsi_wicon").on("mouseenter", function() {
|
1997 |
-
var s = SFSI("#sfsi_plus_floater_sec").val();
|
1998 |
-
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
1999 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
2000 |
-
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
2001 |
-
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
2002 |
-
"z-index":"999"
|
2003 |
-
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2004 |
-
opacity:1,
|
2005 |
-
"z-index":10
|
2006 |
-
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
2007 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2008 |
-
opacity:1,
|
2009 |
-
"z-index":10
|
2010 |
-
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
2011 |
-
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2012 |
-
opacity:1,
|
2013 |
-
"z-index":10
|
2014 |
-
})), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
2015 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
2016 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2017 |
-
opacity:1,
|
2018 |
-
"z-index":10
|
2019 |
-
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) :(SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
2020 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
2021 |
-
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2022 |
-
opacity:1,
|
2023 |
-
"z-index":10
|
2024 |
-
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
2025 |
-
}), SFSI("div.sfsi_plus_wicons").on("mouseleave", function() {
|
2026 |
-
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
2027 |
-
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
2028 |
-
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
2029 |
-
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"))
|
2030 |
-
}),
|
2031 |
-
SFSI("body").on("click", function() {
|
2032 |
-
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
2033 |
-
}),
|
2034 |
-
SFSI(".adminTooltip >a").on("mouseenter", function() {
|
2035 |
-
SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "1"),
|
2036 |
-
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show();
|
2037 |
-
}),
|
2038 |
-
SFSI(".adminTooltip").on("mouseleave", function() {
|
2039 |
-
"none" != SFSI(".sfsi_plus_gpls_tool_bdr").css("display") && 0 != SFSI(".sfsi_plus_gpls_tool_bdr").css("opacity") ? SFSI(".pop_up_box ").on("click", function() {
|
2040 |
-
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"), SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide();
|
2041 |
-
}) :(SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"),
|
2042 |
-
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide());
|
2043 |
-
}),
|
2044 |
-
SFSI(".expand-area").on("click", function() {
|
2045 |
-
object_name.Re_ad == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
|
2046 |
-
SFSI(this).text(object_name1.Coll_apse)) :(SFSI(this).siblings("p").children("label").fadeOut("slow"),
|
2047 |
-
SFSI(this).text(object_name.Re_ad));
|
2048 |
-
}),
|
2049 |
-
/*SFSI(".radio").live("click", function(){*/
|
2050 |
-
SFSI(document).on("click", '.radio', function () {
|
2051 |
-
var s = SFSI(this).parent().find("input:radio:first");
|
2052 |
-
"sfsi_plus_icons_float" == s.attr("name") && "yes" == s.val() && (SFSI(".float_options").slideDown("slow"),
|
2053 |
-
SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').attr("checked", !0), SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').removeAttr("checked"),
|
2054 |
-
SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').parent().find("span").attr("style", "background-position:0px -41px;"),
|
2055 |
-
SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').parent().find("span").attr("style", "background-position:0px -0px;")),
|
2056 |
-
("sfsi_plus_icons_stick" == s.attr("name") && "yes" == s.val() || "sfsi_plus_icons_float" == s.attr("name") && "no" == s.val()) && (SFSI(".float_options").slideUp("slow"),
|
2057 |
-
SFSI('input[name="sfsi_plus_icons_float"][value="no"]').prop("checked", !0), SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').prop("checked", !1),
|
2058 |
-
SFSI('input[name="sfsi_plus_icons_float"][value="no"]').parent().find("span.radio").attr("style", "background-position:0px -41px;"),
|
2059 |
-
SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').parent().find("span.radio").attr("style", "background-position:0px -0px;"));
|
2060 |
-
}),
|
2061 |
-
SFSI(".sfsi_plus_wDiv").length > 0 && setTimeout(function() {
|
2062 |
-
var s = parseInt(SFSI(".sfsi_plus_wDiv").height()) + 0 + "px";
|
2063 |
-
SFSI(".sfsi_plus_holders").each(function() {
|
2064 |
-
SFSI(this).css("height", s);
|
2065 |
-
});
|
2066 |
-
}, 200),
|
2067 |
-
/*SFSI(".checkbox").live("click", function() {*/
|
2068 |
-
SFSI(document).on("click", '.checkbox', function () {
|
2069 |
-
var s = SFSI(this).parent().find("input:checkbox:first");
|
2070 |
-
("sfsi_plus_shuffle_Firstload" == s.attr("name") && "checked" == s.attr("checked") || "sfsi_plus_shuffle_interval" == s.attr("name") && "checked" == s.attr("checked")) && (SFSI('input[name="sfsi_plus_shuffle_icons"]').parent().find("span").css("background-position", "0px -36px"),
|
2071 |
-
SFSI('input[name="sfsi_plus_shuffle_icons"]').attr("checked", "checked")), "sfsi_plus_shuffle_icons" == s.attr("name") && "checked" != s.attr("checked") && (SFSI('input[name="sfsi_plus_shuffle_Firstload"]').removeAttr("checked"),
|
2072 |
-
SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position", "0px 0px"),
|
2073 |
-
SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"), SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position", "0px 0px"));
|
2074 |
});
|
2075 |
-
|
2076 |
-
|
2077 |
-
var email = SFSI(this).parents("form").find("input[type='email']").val();
|
2078 |
-
var feedid = SFSI(this).parents("form").find("input[name='feedid']").val();
|
2079 |
-
var error = false;
|
2080 |
-
var regEx = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
|
2081 |
-
|
2082 |
-
if(email === '')
|
2083 |
-
{
|
2084 |
-
error = true;
|
2085 |
-
}
|
2086 |
-
|
2087 |
-
if(!regEx.test(email))
|
2088 |
-
{
|
2089 |
-
error = true;
|
2090 |
-
}
|
2091 |
-
|
2092 |
-
if(!error)
|
2093 |
-
{
|
2094 |
-
SFSI(this).parents("form").submit();
|
2095 |
-
}
|
2096 |
-
else
|
2097 |
-
{
|
2098 |
-
alert("Error: Please provide your email address.");
|
2099 |
-
}
|
2100 |
-
});
|
2101 |
-
|
2102 |
-
SFSI('form#calimingOptimizationForm').on('keypress', function(e) {
|
2103 |
-
var keyCode = e.keyCode || e.which;
|
2104 |
-
if (keyCode === 13) {
|
2105 |
-
e.preventDefault();
|
2106 |
-
return false;
|
2107 |
-
}
|
2108 |
-
});
|
2109 |
-
|
2110 |
-
/*SFSI(".checkbox").live("click", function()
|
2111 |
{
|
2112 |
var s = SFSI(this).parent().find("input:checkbox:first");
|
2113 |
"sfsi_plus_float_on_page" == s.attr("name") && "yes" == s.val() && (
|
@@ -2125,85 +2348,89 @@ SFSI(document).ready(function(s) {
|
|
2125 |
SFSI('input[name="sfsi_plus_float_on_page"][value="yes"]').parent().find("span.checkbox").attr("style", "background-position:0px -0px;"),
|
2126 |
jQuery(a).children(".checkbox").css("background-position", "0px 0px" ), sfsiplus_toggleflotpage(a));
|
2127 |
});*/
|
2128 |
-
SFSI(document).on("click", ".sfsi_plus-AddThis-notice-dismiss", function(){
|
2129 |
SFSI.ajax({
|
2130 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
2131 |
-
type:"post",
|
2132 |
-
data:{
|
2133 |
-
|
2134 |
-
|
|
|
|
|
2135 |
SFSI(".sfsi_plus-AddThis-notice-dismiss").parent().remove();
|
2136 |
}
|
2137 |
}
|
2138 |
});
|
2139 |
});
|
2140 |
-
if(
|
2141 |
-
switch(window.location.hash){
|
2142 |
-
case '#ui-id-1':
|
2143 |
-
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
|
2150 |
-
|
2151 |
-
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2155 |
}
|
2156 |
}
|
2157 |
sfsi_plus_checkbox_checker();
|
2158 |
});
|
2159 |
|
2160 |
//for utube channel name and id
|
2161 |
-
function showhideutube(ref)
|
2162 |
-
|
2163 |
-
|
2164 |
-
|
2165 |
-
|
2166 |
-
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
{
|
2171 |
-
SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown();
|
2172 |
-
SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp();
|
2173 |
-
}
|
2174 |
}
|
2175 |
|
2176 |
var sfsiplus_initTop = new Array();
|
2177 |
|
2178 |
-
function sfsiplus_toggleflotpage(ref)
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
{
|
2188 |
-
jQuery(ref).next(".sfsiplus_right_info").children("p").children(".sfsiplus_sub-subtitle").show();
|
2189 |
-
jQuery(ref).next(".sfsiplus_right_info").children(".sfsiplus_tab_3_icns").show();
|
2190 |
-
}
|
2191 |
}
|
2192 |
-
|
2193 |
-
{
|
2194 |
-
|
2195 |
-
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
2204 |
-
|
2205 |
-
|
2206 |
-
/*jQuery(ref).parent("ul").children("li").each(function(index, element)
|
2207 |
{
|
2208 |
var pos = jQuery(this).children(".radio").css("background-position");
|
2209 |
if(pos == "0px 0px")
|
@@ -2225,321 +2452,383 @@ function sfsiplus_togglbtmsection(show, hide, ref)
|
|
2225 |
jQuery(ref).children(".radiodisplaysection").hide();
|
2226 |
}*/
|
2227 |
}
|
2228 |
-
|
2229 |
-
{
|
2230 |
-
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
|
2235 |
-
|
2236 |
-
{
|
2237 |
-
jQuery(ref).next(".sfsiplus_right_info").children("p").children("label").show();
|
2238 |
-
}
|
2239 |
}
|
2240 |
-
SFSI("body").on("click", ".sfsi_plus_tokenGenerateButton a", function(){
|
2241 |
-
var clienId
|
2242 |
var redirectUrl = SFSI("input[name='sfsi_plus_instagram_appurl']").val();
|
2243 |
-
|
2244 |
-
var scope
|
2245 |
-
var instaUrl
|
2246 |
-
|
2247 |
-
if(clienId !== '' && redirectUrl !== '')
|
2248 |
-
{
|
2249 |
instaUrl = instaUrl.replace('<id>', clienId);
|
2250 |
instaUrl = instaUrl.replace('<url>', redirectUrl);
|
2251 |
-
|
2252 |
window.open(instaUrl, '_blank');
|
2253 |
-
}
|
2254 |
-
else
|
2255 |
-
{
|
2256 |
alert("Please enter client id and redirect url first");
|
2257 |
}
|
2258 |
-
|
2259 |
});
|
2260 |
SFSI(document).on("click", '.radio', function () {
|
2261 |
|
2262 |
var s = SFSI(this).parent().find("input:radio:first");
|
2263 |
|
2264 |
-
switch(s.attr("name")){
|
2265 |
|
2266 |
case 'sfsi_plus_mouseOver_effect_type':
|
2267 |
|
2268 |
-
var _val
|
2269 |
var _name = s.attr("name");
|
2270 |
|
2271 |
-
if('same_icons' == _val){
|
2272 |
SFSI('.same_icons_effects').removeClass('hide').addClass('show');
|
2273 |
SFSI('.other_icons_effects_options').removeClass('show').addClass('hide');
|
2274 |
-
}
|
2275 |
-
else if('other_icons' == _val){
|
2276 |
SFSI('.same_icons_effects').removeClass('show').addClass('hide');
|
2277 |
SFSI('.other_icons_effects_options').removeClass('hide').addClass('show');
|
2278 |
}
|
2279 |
|
2280 |
-
|
2281 |
}
|
2282 |
});
|
|
|
2283 |
function getElementPosition(element) {
|
2284 |
var xPosition = 0;
|
2285 |
var yPosition = 0;
|
2286 |
|
2287 |
-
while(element) {
|
2288 |
xPosition += (element.offsetLeft - element.scrollLeft + element.clientLeft);
|
2289 |
yPosition += (element.offsetTop - element.scrollTop + element.clientTop);
|
2290 |
element = element.offsetParent;
|
2291 |
}
|
2292 |
|
2293 |
-
return {
|
|
|
|
|
|
|
2294 |
}
|
2295 |
-
SFSI(document).ready(function(){
|
2296 |
-
SFSI('#sfsi_plus_jivo_offline_chat .tab-link').click(function(){
|
2297 |
-
var cur=SFSI(this);
|
2298 |
-
if(!cur.hasClass('active')){
|
2299 |
-
var target=cur.find('a').attr('href');
|
2300 |
cur.parent().children().removeClass('active');
|
2301 |
cur.addClass('active');
|
2302 |
SFSI('#sfsi_plus_jivo_offline_chat .tabs').children().hide();
|
2303 |
SFSI(target).show();
|
2304 |
-
}
|
2305 |
});
|
2306 |
-
SFSI('#sfsi_plus_jivo_offline_chat #sfsi_sales form').submit(function(event){
|
2307 |
-
event&event.preventDefault();
|
2308 |
// console.log(event);
|
2309 |
-
var target=SFSI(this).parents('.tab-content');
|
2310 |
-
var message= SFSI(this).find('textarea[name="question"]').val();
|
2311 |
-
var email=SFSI(this).find('input[name="email"]').val();
|
2312 |
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
2313 |
-
var nonce= SFSI(this).find('input[name="nonce"]').val();
|
2314 |
|
2315 |
-
if(""===email || false===re.test(String(email).toLowerCase())){
|
2316 |
// console.log(SFSI(this).find('input[name="email"]'));
|
2317 |
-
SFSI(this).find('input[name="email"]').css('background-color','red');
|
2318 |
-
SFSI(this).find('input[name="email"]').on('keyup',function(){
|
2319 |
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
2320 |
var email = SFSI(this).val();
|
2321 |
// console.log(email,re.test(String(email).toLowerCase()) );
|
2322 |
-
if(""!==email && true===re.test(String(email).toLowerCase())){
|
2323 |
-
SFSI(this).css('background-color','#fff');
|
2324 |
}
|
2325 |
})
|
2326 |
return false;
|
2327 |
|
2328 |
}
|
2329 |
SFSI.ajax({
|
2330 |
-
url:sfsi_plus_ajax_object.ajax_url,
|
2331 |
-
type:"post",
|
2332 |
-
data:{
|
2333 |
action: "sfsiplusOfflineChatMessage",
|
2334 |
message: message,
|
2335 |
-
email:
|
2336 |
-
nonce:
|
2337 |
}
|
2338 |
-
}).done(function(){
|
2339 |
target.find('.before_message_sent').hide();
|
2340 |
target.find('.after_message_sent').show();
|
2341 |
});
|
2342 |
});
|
2343 |
});
|
2344 |
-
|
2345 |
-
|
|
|
2346 |
|
2347 |
SFSI('#sfsi_plus_jivo_offline_chat').hide();
|
2348 |
SFSI('#sfsi_dummy_chat_icon').show();
|
2349 |
}
|
2350 |
-
if(undefined == window.sfsi_plus_float_widget){
|
2351 |
-
function sfsi_plus_float_widget(data=null,data2=null,data3=null){
|
2352 |
return true;
|
2353 |
}
|
2354 |
}
|
|
|
|
|
2355 |
SFSI(document).on("click", '.checkbox', function () {
|
2356 |
-
|
2357 |
var s = SFSI(this).parent().find("input:checkbox:first");
|
2358 |
|
2359 |
-
var inputName
|
2360 |
var inputChecked = s.attr("checked");
|
2361 |
|
2362 |
-
console.log(inputName,inputChecked);
|
2363 |
|
2364 |
-
|
2365 |
-
|
2366 |
-
switch(inputName)
|
2367 |
-
{
|
2368 |
|
2369 |
-
|
2370 |
|
2371 |
-
|
2372 |
-
var elemC = SFSI('#twitterSettingContainer');
|
2373 |
|
2374 |
-
|
2375 |
-
|
2376 |
-
elemC.css('display','block');
|
2377 |
-
}
|
2378 |
-
else{
|
2379 |
-
elem.removeClass('addCss').addClass('removeCss');
|
2380 |
-
elemC.css('display','none');
|
2381 |
-
}
|
2382 |
|
2383 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2384 |
|
2385 |
-
|
2386 |
-
SFSI(".contTwitterCard").show("slow");
|
2387 |
-
if(chkd=="no"){
|
2388 |
-
SFSI(".cardDataContainer").hide();
|
2389 |
-
}
|
2390 |
-
}
|
2391 |
-
else{
|
2392 |
-
if(chkd=="yes"){
|
2393 |
-
SFSI('input[value="yes"][name="sfsi_plus_twitter_twtAddCard"]').prop("checked",false);
|
2394 |
-
SFSI('input[value="no"][name="sfsi_plus_twitter_twtAddCard"]').prop("checked",true);
|
2395 |
-
}
|
2396 |
-
SFSI(".contTwitterCard").hide("slow");
|
2397 |
-
}
|
2398 |
|
2399 |
-
|
2400 |
-
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
-
|
2405 |
-
|
2406 |
-
|
2407 |
-
|
2408 |
-
|
2409 |
-
|
2410 |
-
|
2411 |
-
|
2412 |
-
break;
|
2413 |
-
|
2414 |
-
case 'sfsi_plus_mouseOver':
|
2415 |
-
|
2416 |
-
var elem = SFSI('input[name="'+inputName+'"]');
|
2417 |
-
|
2418 |
-
var togglelem = SFSI('.mouse-over-effects');
|
2419 |
-
|
2420 |
-
if(inputChecked){
|
2421 |
-
togglelem.removeClass('hide').addClass('show');
|
2422 |
-
}
|
2423 |
-
else{
|
2424 |
-
togglelem.removeClass('show').addClass('hide');
|
2425 |
-
}
|
2426 |
-
|
2427 |
-
break;
|
2428 |
-
|
2429 |
-
|
2430 |
-
case 'sfsi_plus_shuffle_icons':
|
2431 |
-
|
2432 |
-
var elem = SFSI('input[name="'+inputName+'"]');
|
2433 |
-
|
2434 |
-
var togglelem = SFSI('.shuffle_sub');
|
2435 |
-
|
2436 |
-
if(inputChecked){
|
2437 |
-
togglelem.removeClass('hide').addClass('show');
|
2438 |
-
}
|
2439 |
-
else{
|
2440 |
-
togglelem.removeClass('show').addClass('hide');
|
2441 |
-
}
|
2442 |
-
|
2443 |
-
break;
|
2444 |
-
|
2445 |
-
case 'sfsi_plus_place_rectangle_icons_item_manually':
|
2446 |
-
var elem = SFSI('input[name="'+inputName+'"]');
|
2447 |
-
|
2448 |
-
var togglelem = elem.parent().next();
|
2449 |
-
|
2450 |
-
if(inputChecked){
|
2451 |
-
togglelem.removeClass('hide').addClass('show');
|
2452 |
-
}
|
2453 |
-
else{
|
2454 |
-
togglelem.removeClass('show').addClass('hide');
|
2455 |
-
}
|
2456 |
-
|
2457 |
-
break;
|
2458 |
-
|
2459 |
-
case 'sfsi_plus_icon_hover_show_pinterest':
|
2460 |
-
console.log('incase',inputName,inputChecked);
|
2461 |
-
var elem = SFSI('input[name="'+inputName+'"]');
|
2462 |
-
|
2463 |
-
var togglelem = elem.parent().next();
|
2464 |
-
|
2465 |
-
if(inputChecked){
|
2466 |
-
console.log('in checked',inputName,inputChecked,SFSI('.sfsi_plus_include_exclude_wrapper .sfsi_premium_restriction_warning_pinterest'));
|
2467 |
-
|
2468 |
-
togglelem.removeClass('hide').addClass('show');
|
2469 |
-
SFSI('.sfsi_plus_include_exclude_wrapper .sfsi_premium_restriction_warning_pinterest').removeClass('hide');
|
2470 |
-
}
|
2471 |
-
else{
|
2472 |
-
togglelem.removeClass('show').addClass('hide');
|
2473 |
-
SFSI('.sfsi_plus_include_exclude_wrapper .sfsi_premium_restriction_warning_pinterest').addClass('hide');
|
2474 |
-
}
|
2475 |
-
|
2476 |
-
break;
|
2477 |
-
|
2478 |
-
case 'sfsi_plus_houzzShare_option':
|
2479 |
-
|
2480 |
-
var elem = SFSI('input[name="'+inputName+'"]');
|
2481 |
-
|
2482 |
-
var togglelem = SFSI('.houzzideabooks');
|
2483 |
-
|
2484 |
-
if(inputChecked){
|
2485 |
-
togglelem.removeClass('hide').addClass('show');
|
2486 |
-
}
|
2487 |
-
else{
|
2488 |
-
togglelem.removeClass('show').addClass('hide');
|
2489 |
-
}
|
2490 |
-
|
2491 |
-
break;
|
2492 |
-
|
2493 |
-
case 'sfsi_plus_wechatFollow_option':
|
2494 |
-
|
2495 |
-
var elem = SFSI('input[name="'+inputName+'"]');
|
2496 |
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
2508 |
-
|
2509 |
-
|
2510 |
-
|
2511 |
-
|
2512 |
-
|
2513 |
-
|
2514 |
-
|
2515 |
-
|
2516 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2517 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2518 |
|
2519 |
-
|
2520 |
|
2521 |
-
|
2522 |
-
|
2523 |
|
2524 |
-
|
2525 |
|
2526 |
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
|
2532 |
-
|
2533 |
|
2534 |
|
2535 |
|
2536 |
});
|
2537 |
|
2538 |
|
2539 |
-
function sfsi_toggle_include_exclude_posttypes_taxonomies(checkboxElem,inputFieldName,inputChecked,inputFieldElem){
|
|
|
|
|
2540 |
|
2541 |
-
switch(inputFieldName){
|
2542 |
-
|
2543 |
case 'sfsi_plus_switch_exclude_custom_post_types':
|
2544 |
case 'sfsi_plus_switch_include_custom_post_types':
|
2545 |
case 'sfsi_plus_icon_hover_switch_exclude_custom_post_types':
|
@@ -2547,14 +2836,13 @@ function sfsi_toggle_include_exclude_posttypes_taxonomies(checkboxElem,inputFiel
|
|
2547 |
|
2548 |
var elem = inputFieldElem.parent().parent().find("#sfsi_premium_custom_social_data_post_types_ul");
|
2549 |
|
2550 |
-
if(inputChecked){
|
2551 |
elem.show();
|
2552 |
-
}
|
2553 |
-
else{
|
2554 |
elem.hide();
|
2555 |
}
|
2556 |
|
2557 |
-
|
2558 |
|
2559 |
case 'sfsi_plus_switch_exclude_taxonomies':
|
2560 |
case 'sfsi_plus_switch_include_taxonomies':
|
@@ -2563,195 +2851,667 @@ function sfsi_toggle_include_exclude_posttypes_taxonomies(checkboxElem,inputFiel
|
|
2563 |
|
2564 |
var elem = inputFieldElem.parent().parent().find("#sfsi_premium_taxonomies_ul");
|
2565 |
|
2566 |
-
if(inputChecked){
|
2567 |
elem.show();
|
2568 |
-
}
|
2569 |
-
else{
|
2570 |
elem.hide();
|
2571 |
}
|
2572 |
|
2573 |
-
|
2574 |
-
|
2575 |
case 'sfsi_plus_include_url':
|
2576 |
case 'sfsi_plus_exclude_url':
|
2577 |
|
2578 |
-
var value
|
2579 |
var keyWCnt = checkboxElem.parent().next().next();
|
2580 |
|
2581 |
-
if(value === '0px -36px')
|
2582 |
-
{
|
2583 |
keyWCnt.show();
|
2584 |
keyWCnt.next().show();
|
2585 |
-
}
|
2586 |
-
else
|
2587 |
-
{
|
2588 |
keyWCnt.hide();
|
2589 |
keyWCnt.next().hide();
|
2590 |
}
|
2591 |
|
2592 |
-
|
2593 |
-
}
|
2594 |
}
|
2595 |
|
2596 |
|
2597 |
|
2598 |
-
function open_save_image(btnUploadID,inputImageId,previewDivId){
|
2599 |
-
|
2600 |
-
|
2601 |
-
|
2602 |
-
|
2603 |
-
|
2604 |
-
|
2605 |
-
|
2606 |
-
|
2607 |
-
|
2608 |
-
|
2609 |
-
|
2610 |
-
|
2611 |
-
|
2612 |
-
|
2613 |
-
|
2614 |
-
|
2615 |
-
|
2616 |
-
|
2617 |
-
|
2618 |
-
|
2619 |
-
|
2620 |
-
|
2621 |
-
|
2622 |
-
|
2623 |
-
|
2624 |
-
|
2625 |
-
|
2626 |
-
|
2627 |
-
|
2628 |
-
|
2629 |
-
|
2630 |
-
|
2631 |
-
|
2632 |
-
|
2633 |
-
|
2634 |
-
|
2635 |
-
|
2636 |
-
|
2637 |
-
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
-
return false;
|
2642 |
};
|
2643 |
|
2644 |
-
|
2645 |
|
2646 |
-
|
2647 |
-
|
2648 |
-
|
2649 |
|
2650 |
-
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
|
2656 |
-
|
2657 |
-
|
2658 |
-
}
|
2659 |
|
2660 |
}
|
2661 |
|
2662 |
|
2663 |
-
function upload_image_wechat_scan(e){
|
2664 |
-
|
2665 |
-
|
2666 |
-
|
2667 |
-
|
2668 |
-
|
2669 |
-
|
2670 |
-
|
2671 |
-
|
2672 |
-
|
2673 |
-
|
2674 |
-
|
2675 |
-
|
2676 |
-
|
2677 |
-
|
2678 |
-
|
2679 |
-
|
2680 |
-
|
2681 |
-
|
2682 |
-
|
2683 |
-
|
2684 |
-
|
2685 |
-
|
2686 |
-
|
2687 |
-
|
2688 |
-
|
2689 |
-
|
2690 |
-
|
2691 |
-
|
2692 |
-
|
2693 |
-
|
2694 |
-
|
2695 |
-
|
2696 |
-
|
2697 |
-
|
2698 |
-
|
2699 |
-
frame.open();
|
2700 |
}
|
2701 |
-
|
|
|
2702 |
event.preventDefault();
|
2703 |
-
if(context==="from-server"){
|
2704 |
-
|
2705 |
-
|
2706 |
-
|
2707 |
-
|
2708 |
-
|
2709 |
-
|
2710 |
-
|
2711 |
-
|
2712 |
-
|
2713 |
-
|
2714 |
-
|
2715 |
-
|
2716 |
-
|
2717 |
-
|
2718 |
-
|
2719 |
-
|
2720 |
-
|
2721 |
-
|
2722 |
-
|
2723 |
-
|
2724 |
-
|
2725 |
-
|
2726 |
-
|
2727 |
-
|
2728 |
-
|
2729 |
-
|
2730 |
-
|
2731 |
-
|
2732 |
-
|
2733 |
-
|
2734 |
-
jQuery('.sfsi_plus_wechat_display').removeClass("show").addClass('hide');
|
2735 |
-
jQuery('.sfsi_plus_wechat_instruction').removeClass("hide").addClass('show');
|
2736 |
-
}
|
2737 |
}
|
2738 |
-
|
|
|
2739 |
//check if it is options page
|
2740 |
-
if(window.location.pathname.endsWith('admin.php')){
|
2741 |
// check if Custom checkbox is loaded.
|
2742 |
-
if(undefined!==this.sfsi_plus_styled_input){
|
2743 |
-
jQuery(window).load(function(){
|
2744 |
console.log(window.sfsi_plus_checkbox_loaded);
|
2745 |
-
if(undefined==window.sfsi_plus_checkbox_loaded){
|
2746 |
-
alert('There was js conflict. and we couldn\'t load our plugin successfully. please check with other plugins for the conflict.'
|
2747 |
}
|
2748 |
})
|
2749 |
-
}else{
|
2750 |
alert('Script for custom checkbox couldnot be loaded. you might not be able to see the checkbox. it might happen due to caching or plugin conflicts.');
|
2751 |
}
|
2752 |
}
|
2753 |
}
|
2754 |
-
|
2755 |
-
|
|
|
2756 |
jQuery('.sfsi_plus_quickpay-overlay').hide();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2757 |
}
|
1 |
function sfsi_plus_update_index() {
|
2 |
var s = 1;
|
3 |
+
SFSI("ul.plus_icn_listing li.plus_custom").each(function () {
|
4 |
SFSI(this).children("span.sfsiplus_custom-txt").html("Custom " + s), s++;
|
5 |
+
}), cntt = 1, SFSI("div.cm_lnk").each(function () {
|
6 |
+
SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom " + cntt + ":"),
|
7 |
+
cntt++;
|
8 |
+
}), cntt = 1, SFSI("div.plus_custom_m").find("div.sfsiplus_custom_section").each(function () {
|
9 |
SFSI(this).find("label").html("Custom " + cntt + ":"), cntt++;
|
10 |
});
|
11 |
}
|
12 |
+
openWpMedia = function (btnUploadID, inputImageId, previewDivId, funcNameSuccessHandler) {
|
13 |
|
14 |
+
var btnElem, inputImgElem, previewDivElem, iconName;
|
15 |
|
16 |
+
var clickHandler = function (event) {
|
17 |
+
|
18 |
+
var send_attachment_bkp = wp.media.editor.send.attachment;
|
19 |
+
|
20 |
+
var frame = wp.media({
|
21 |
+
title: 'Select or Upload image',
|
22 |
+
button: {
|
23 |
text: 'Use this image'
|
24 |
+
},
|
25 |
+
multiple: false // Set to true to allow multiple files to be selected
|
26 |
+
});
|
27 |
|
28 |
+
frame.on('select', function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
+
// Get media attachment details from the frame state
|
31 |
+
var attachment = frame.state().get('selection').first().toJSON();
|
32 |
+
var url = attachment.url.split("/");
|
33 |
+
var fileName = url[url.length - 1];
|
34 |
+
var fileArr = fileName.split(".");
|
35 |
+
var fileType = fileArr[fileArr.length - 1];
|
36 |
|
37 |
+
if (fileType != undefined && (fileType == 'gif' || fileType == 'jpeg' || fileType == 'jpg' || fileType == 'png')) {
|
38 |
|
39 |
+
//inputImgElem.val(attachment.url);
|
40 |
+
//previewDivElem.attr('src',attachment.url);
|
41 |
|
42 |
+
btnElem.val("Change Picture");
|
43 |
|
44 |
+
wp.media.editor.send.attachment = send_attachment_bkp;
|
45 |
+
|
46 |
+
if (null !== funcNameSuccessHandler && funcNameSuccessHandler.length > 0) {
|
47 |
+
|
48 |
+
var iconData = {
|
49 |
+
"imgUrl": attachment.url
|
50 |
+
};
|
51 |
+
|
52 |
+
context[funcNameSuccessHandler](iconData, btnElem);
|
53 |
}
|
54 |
+
} else {
|
55 |
+
alert("Only Images are allowed to upload");
|
56 |
+
frame.open();
|
57 |
+
}
|
58 |
+
});
|
59 |
|
60 |
+
// Finally, open the modal on click
|
61 |
+
frame.open();
|
62 |
+
return false;
|
63 |
};
|
64 |
|
65 |
+
if ("object" === typeof btnUploadID && null !== btnUploadID) {
|
66 |
|
67 |
+
btnElem = SFSI(btnUploadID);
|
68 |
+
inputImgElem = btnElem.parent().find('input[type="hidden"]');
|
69 |
previewDivElem = btnElem.parent().find('img');
|
70 |
+
iconName = btnElem.attr('data-iconname');
|
71 |
clickHandler();
|
72 |
+
} else {
|
|
|
73 |
|
74 |
+
btnElem = $('#' + btnUploadID);
|
75 |
+
inputImgElem = $('#' + inputImageId);
|
76 |
+
previewDivElem = $('#' + previewDivId);
|
77 |
+
|
78 |
+
btnElem.on("click", clickHandler);
|
79 |
}
|
80 |
|
81 |
};
|
82 |
//MZ CODE END
|
83 |
+
function sfsipluscollapse(s) {
|
84 |
+
var i = !0,
|
85 |
+
e = SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),
|
86 |
+
t = SFSI(s).closest("div.ui-accordion-content").first();
|
87 |
+
e.toggleClass("ui-corner-all", i).toggleClass("accordion-header-active ui-state-active ui-corner-top", !i).attr("aria-selected", (!i).toString()),
|
88 |
+
e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", i).toggleClass("ui-icon-triangle-1-s", !i),
|
89 |
+
t.toggleClass("accordion-content-active", !i), i ? t.slideUp() : t.slideDown();
|
90 |
}
|
91 |
+
|
92 |
+
function sfsi_plus_delete_CusIcon(s, i) {
|
93 |
sfsiplus_beForeLoad();
|
94 |
var e = {
|
95 |
+
action: "plus_deleteIcons",
|
96 |
+
icon_name: i.attr("name"),
|
97 |
nonce: SFSI(i).parents('.plus_custom').find('input[name="nonce"]').val()
|
98 |
};
|
99 |
+
SFSI.ajax({
|
100 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
101 |
+
type: "post",
|
102 |
+
data: e,
|
103 |
+
dataType: "json",
|
104 |
+
success: function (e) {
|
105 |
+
if ("success" == e.res) {
|
106 |
sfsiplus_showErrorSuc("success", "Saved !", 1);
|
107 |
var t = e.last_index + 1;
|
108 |
+
var attr = i.attr("name");
|
109 |
+
attr = attr.replace('plus', '');
|
110 |
+
SFSI("#plus_total_cusotm_icons").val(e.total_up), SFSI(s).closest(".plus_custom").remove(),
|
111 |
+
SFSI("li.plus_custom:last-child").addClass("bdr_btm_non"), SFSI(".plus_custom-links").find("div." + attr).remove(),
|
112 |
+
SFSI(".plus_custom_m").find("div." + attr).remove(),
|
113 |
+
SFSI("ul.plus_sfsi_sample_icons").children("li." + attr).remove();
|
114 |
+
|
115 |
+
if (e.total_up == 0) {
|
116 |
SFSI(".banner_custom_icon").hide();
|
117 |
}
|
118 |
|
119 |
var n = e.total_up + 1;
|
120 |
+
4 == e.total_up && SFSI(".plus_icn_listing").append('<li id="plus_c' + t + '" class="plus_custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="plussfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" element-type="sfsiplus-cusotm-icon" isNew="yes" /></div> <span class="plus_custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="plus_CImg_' + t + '" /> </span> <span class="custom sfsiplus_custom-txt">Custom' + n + ' </span> <div class="sfsiplus_right_info"> <p><span>' + object_name1.It_depends + ':</span> ' + object_name1.Upload_a + '</p><div class="inputWrapper"></div></li>');
|
121 |
} else sfsiplus_showErrorSuc("error", "Unkown error , please try again", 1);
|
122 |
+
return sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step5(),
|
123 |
+
sfsiplus_afterLoad(), "suc";
|
124 |
}
|
125 |
});
|
126 |
}
|
127 |
+
|
128 |
+
function plus_update_Sec5Iconorder() {
|
129 |
+
SFSI("ul.plus_share_icon_order").children("li").each(function () {
|
130 |
SFSI(this).attr("data-index", SFSI(this).index() + 1);
|
131 |
});
|
132 |
}
|
133 |
+
|
134 |
+
function sfsi_plus_section_Display(s, i) {
|
135 |
+
"hide" == i ? (SFSI("." + s + " :input").prop("disabled", !0), SFSI("." + s + " :button").prop("disabled", !0),
|
136 |
+
SFSI("." + s).hide()) : (SFSI("." + s + " :input").removeAttr("disabled", !0), SFSI("." + s + " :button").removeAttr("disabled", !0),
|
137 |
+
SFSI("." + s).show());
|
138 |
}
|
139 |
+
|
140 |
+
function sfsi_plus_depened_sections() {
|
141 |
if ("sfsi" == SFSI("input[name='sfsi_plus_rss_icons']:checked").val()) {
|
142 |
for (i = 0; 16 > i; i++) {
|
143 |
+
var s = i + 1,
|
144 |
+
e = 74 * i;
|
145 |
SFSI(".sfsiplus_row_" + s + "_2").css("background-position", "-588px -" + e + "px");
|
146 |
}
|
147 |
var t = SFSI(".icon_img").attr("src");
|
148 |
+
if (t) {
|
149 |
+
if (t.indexOf("subscribe") != -1) {
|
150 |
+
var n = t.replace("subscribe.png", "sf_arow_icn.png");
|
151 |
+
} else {
|
152 |
+
var n = t.replace("email.png", "sf_arow_icn.png");
|
153 |
+
}
|
154 |
+
SFSI(".icon_img").attr("src", n);
|
155 |
+
}
|
156 |
+
} else {
|
157 |
+
if ("email" == SFSI("input[name='sfsi_plus_rss_icons']:checked").val()) {
|
158 |
+
for (SFSI(".sfsiplus_row_1_2").css("background-position", "-58px 0"), i = 0; 16 > i; i++) {
|
159 |
+
var s = i + 1,
|
160 |
+
e = 74 * i;
|
161 |
+
SFSI(".sfsiplus_row_" + s + "_2").css("background-position", "-58px -" + e + "px");
|
162 |
+
}
|
163 |
+
var t = SFSI(".icon_img").attr("src");
|
164 |
+
if (t) {
|
165 |
+
if (t.indexOf("sf_arow_icn") != -1) {
|
166 |
+
var n = t.replace("sf_arow_icn.png", "email.png");
|
167 |
+
} else {
|
168 |
+
var n = t.replace("subscribe.png", "email.png");
|
169 |
+
}
|
170 |
+
SFSI(".icon_img").attr("src", n);
|
171 |
+
}
|
172 |
+
} else {
|
173 |
+
for (SFSI(".sfsiplus_row_1_2").css("background-position", "-649px 0"), i = 0; 16 > i; i++) {
|
174 |
+
var s = i + 1,
|
175 |
+
e = 74 * i;
|
176 |
+
SFSI(".sfsiplus_row_" + s + "_2").css("background-position", "-649px -" + e + "px");
|
177 |
+
}
|
178 |
+
var t = SFSI(".icon_img").attr("src");
|
179 |
+
if (t) {
|
180 |
+
if (t.indexOf("email") != -1) {
|
181 |
+
var n = t.replace("email.png", "subscribe.png");
|
182 |
+
} else {
|
183 |
+
var n = t.replace("sf_arow_icn.png", "subscribe.png");
|
184 |
+
}
|
185 |
+
SFSI(".icon_img").attr("src", n);
|
186 |
+
}
|
187 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
}
|
189 |
+
SFSI("input[name='sfsi_plus_rss_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_rss_section", "show") : sfsi_plus_section_Display("sfsiplus_rss_section", "hide"),
|
190 |
+
SFSI("input[name='sfsi_plus_email_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_email_section", "show") : sfsi_plus_section_Display("sfsiplus_email_section", "hide"),
|
191 |
+
SFSI("input[name='sfsi_plus_facebook_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_facebook_section", "show") : sfsi_plus_section_Display("sfsiplus_facebook_section", "hide"),
|
192 |
+
SFSI("input[name='sfsi_plus_twitter_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_twitter_section", "show") : sfsi_plus_section_Display("sfsiplus_twitter_section", "hide"),
|
193 |
+
SFSI("input[name='sfsi_plus_youtube_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_youtube_section", "show") : sfsi_plus_section_Display("sfsiplus_youtube_section", "hide"),
|
194 |
+
SFSI("input[name='sfsi_plus_pinterest_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_pinterest_section", "show") : sfsi_plus_section_Display("sfsiplus_pinterest_section", "hide"),
|
195 |
+
SFSI("input[name='sfsi_plus_instagram_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_instagram_section", "show") : sfsi_plus_section_Display("sfsiplus_instagram_section", "hide"),
|
196 |
+
SFSI("input[name='sfsi_plus_houzz_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_houzz_section", "show") : sfsi_plus_section_Display("sfsiplus_houzz_section", "hide"),
|
197 |
+
SFSI("input[name='sfsi_plus_linkedin_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_linkedin_section", "show") : sfsi_plus_section_Display("sfsiplus_linkedin_section", "hide"),
|
198 |
+
SFSI("input[name='sfsi_plus_telegram_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_telegram_section", "show") : sfsi_plus_section_Display("sfsiplus_telegram_section", "hide"),
|
199 |
+
SFSI("input[name='sfsi_plus_vk_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_vk_section", "show") : sfsi_plus_section_Display("sfsiplus_vk_section", "hide"),
|
200 |
+
SFSI("input[name='sfsi_plus_ok_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_ok_section", "show") : sfsi_plus_section_Display("sfsiplus_ok_section", "hide"),
|
201 |
+
SFSI("input[name='sfsi_plus_wechat_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_wechat_section", "show") : sfsi_plus_section_Display("sfsiplus_wechat_section", "hide"),
|
202 |
+
SFSI("input[name='sfsi_plus_weibo_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_weibo_section", "show") : sfsi_plus_section_Display("sfsiplus_weibo_section", "hide"),
|
203 |
+
SFSI("input[element-type='sfsiplus-cusotm-icon']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_custom_section", "show") : sfsi_plus_section_Display("sfsiplus_custom_section", "hide");
|
204 |
}
|
205 |
+
|
206 |
+
function PlusCustomIConSectionsUpdate() {
|
207 |
sfsi_plus_section_Display("counter".ele, show);
|
208 |
}
|
209 |
// Upload Custom Skin {Monad}
|
210 |
+
function plus_sfsi_customskin_upload(s, ref, nonce) {
|
211 |
+
var ttl = jQuery(ref).attr("title");
|
212 |
+
var i = s,
|
213 |
+
e = {
|
214 |
+
action: "plus_UploadSkins",
|
215 |
+
custom_imgurl: i,
|
216 |
+
nonce: nonce
|
217 |
+
};
|
218 |
+
SFSI.ajax({
|
219 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
220 |
+
type: "post",
|
221 |
+
data: e,
|
222 |
+
success: function (msg) {
|
223 |
+
if (msg.res = "success") {
|
224 |
+
var arr = s.split('=');
|
225 |
+
jQuery(ref).prev('.imgskin').attr('src', arr[1]);
|
226 |
+
jQuery(ref).prev('.imgskin').css("display", "block");
|
227 |
+
jQuery(ref).text("Update");
|
228 |
+
jQuery(ref).next('.dlt_btn').css("display", "block");
|
229 |
+
}
|
|
|
230 |
}
|
231 |
});
|
232 |
}
|
233 |
// Delete Custom Skin {Monad}
|
234 |
+
function sfsiplus_deleteskin_icon(s) {
|
235 |
+
var iconname = jQuery(s).attr("title");
|
236 |
+
var nonce = jQuery(s).attr("data-nonce");
|
237 |
+
var i = iconname,
|
238 |
+
e = {
|
239 |
+
action: "plus_DeleteSkin",
|
240 |
+
iconname: i,
|
241 |
+
nonce: nonce
|
242 |
+
};
|
243 |
+
|
244 |
+
SFSI.ajax({
|
245 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
246 |
+
type: "post",
|
247 |
+
data: e,
|
248 |
+
dataType: "json",
|
249 |
+
success: function (msg) {
|
250 |
+
if (msg.res === "success") {
|
251 |
+
SFSI(s).prev("a").text("Upload");
|
252 |
+
SFSI(s).prev("a").prev("img").attr("src", '');
|
253 |
+
SFSI(s).prev("a").prev("img").css("display", "none");
|
254 |
+
SFSI(s).css("display", "none");
|
255 |
+
} else {
|
256 |
+
alert("Whoops! something went wrong.")
|
257 |
+
}
|
|
|
|
|
|
|
258 |
}
|
259 |
});
|
260 |
}
|
261 |
// Save Custom Skin {Monad}
|
262 |
+
function SFSI_plus_done(nonce) {
|
263 |
+
e = {
|
264 |
+
action: "plus_Iamdone",
|
265 |
+
nonce: nonce
|
266 |
+
};
|
267 |
+
|
268 |
+
SFSI.ajax({
|
269 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
270 |
+
type: "post",
|
271 |
+
data: e,
|
272 |
+
success: function (msg) {
|
273 |
+
jQuery("li.cstomskins_upload").children(".sfsiplus_icns_tab_3").html(msg);
|
274 |
+
SFSI("input[name='sfsi_plus_rss_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_rss_section", "show") : sfsi_plus_section_Display("sfsiplus_rss_section", "hide"), SFSI("input[name='sfsi_plus_email_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_email_section", "show") : sfsi_plus_section_Display("sfsiplus_email_section", "hide"), SFSI("input[name='sfsi_plus_facebook_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_facebook_section", "show") : sfsi_plus_section_Display("sfsiplus_facebook_section", "hide"), SFSI("input[name='sfsi_plus_twitter_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_twitter_section", "show") : sfsi_plus_section_Display("sfsiplus_twitter_section", "hide"), SFSI("input[name='sfsi_plus_youtube_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_youtube_section", "show") : sfsi_plus_section_Display("sfsiplus_youtube_section", "hide"), SFSI("input[name='sfsi_plus_pinterest_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_pinterest_section", "show") : sfsi_plus_section_Display("sfsiplus_pinterest_section", "hide"), SFSI("input[name='sfsi_plus_instagram_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_instagram_section", "show") : sfsi_plus_section_Display("sfsiplus_instagram_section", "hide"), SFSI("input[name='sfsi_plus_houzz_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_houzz_section", "show") : sfsi_plus_section_Display("sfsiplus_houzz_section", "hide"), SFSI("input[name='sfsi_plus_linkedin_display']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_linkedin_section", "show") : sfsi_plus_section_Display("sfsiplus_linkedin_section", "hide"), SFSI("input[element-type='sfsiplus-cusotm-icon']").prop("checked") ? sfsi_plus_section_Display("sfsiplus_custom_section", "show") : sfsi_plus_section_Display("sfsiplus_custom_section", "hide");
|
275 |
+
SFSI(".cstmskins-overlay").hide("slow");
|
276 |
+
sfsi_plus_update_step3() && sfsipluscollapse(this);
|
277 |
+
}
|
278 |
});
|
279 |
}
|
280 |
// Upload Custom Icons {Monad}
|
281 |
+
function plus_sfsi_newcustomicon_upload(s, nonce, nonce2) {
|
282 |
+
var i = s,
|
283 |
+
e = {
|
284 |
+
action: "plus_UploadIcons",
|
285 |
+
custom_imgurl: i,
|
286 |
+
nonce: nonce
|
287 |
+
};
|
288 |
SFSI.ajax({
|
289 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
290 |
+
type: "post",
|
291 |
+
data: e,
|
292 |
+
dataType: "json",
|
293 |
+
async: !0,
|
294 |
+
success: function (s) {
|
295 |
+
if (s.res == 'success') {
|
296 |
+
sfsiplus_afterIconSuccess(s, nonce2);
|
297 |
+
} else {
|
298 |
+
SFSI(".upload-overlay").hide("slow");
|
299 |
+
SFSI(".uperror").html(s.res);
|
300 |
+
sfsiplus_showErrorSuc("Error", "Some Error Occured During Upload Custom Icon", 1)
|
301 |
+
}
|
|
|
|
|
|
|
302 |
}
|
303 |
});
|
304 |
}
|
305 |
+
|
306 |
+
function sfsi_plus_update_step1() {
|
307 |
+
var nonce = SFSI("#sfsi_plus_save1").attr("data-nonce");
|
308 |
global_error = 0, sfsiplus_beForeLoad(), sfsi_plus_depened_sections();
|
309 |
+
var s = !1,
|
310 |
+
i = SFSI("input[name='sfsi_plus_rss_display']:checked").val(),
|
311 |
+
e = SFSI("input[name='sfsi_plus_email_display']:checked").val(),
|
312 |
+
t = SFSI("input[name='sfsi_plus_facebook_display']:checked").val(),
|
313 |
+
n = SFSI("input[name='sfsi_plus_twitter_display']:checked").val(),
|
314 |
+
r = SFSI("input[name='sfsi_plus_youtube_display']:checked").val(),
|
315 |
+
c = SFSI("input[name='sfsi_plus_pinterest_display']:checked").val(),
|
316 |
+
p = SFSI("input[name='sfsi_plus_linkedin_display']:checked").val(),
|
317 |
+
_ = SFSI("input[name='sfsi_plus_instagram_display']:checked").val(),
|
318 |
+
telegram = SFSI("input[name='sfsi_plus_telegram_display']:checked").val(),
|
319 |
+
vk = SFSI("input[name='sfsi_plus_vk_display']:checked").val(),
|
320 |
+
ok = SFSI("input[name='sfsi_plus_ok_display']:checked").val(),
|
321 |
+
weibo = SFSI("input[name='sfsi_plus_weibo_display']:checked").val(),
|
322 |
+
wechat = SFSI("input[name='sfsi_plus_wechat_display']:checked").val(),
|
323 |
+
houzz = SFSI("input[name='sfsi_plus_houzz_display']:checked").val(),
|
324 |
+
l = SFSI("input[name='sfsi_custom1_display']:checked").val(),
|
325 |
+
S = SFSI("input[name='sfsi_custom2_display']:checked").val(),
|
326 |
+
u = SFSI("input[name='sfsi_custom3_display']:checked").val(),
|
327 |
+
f = SFSI("input[name='sfsi_custom4_display']:checked").val(),
|
328 |
+
d = SFSI("input[name='plussfsiICON_5']:checked").val(),
|
329 |
+
I = {
|
330 |
+
action: "plus_updateSrcn1",
|
331 |
+
sfsi_plus_rss_display: i,
|
332 |
+
sfsi_plus_email_display: e,
|
333 |
+
sfsi_plus_facebook_display: t,
|
334 |
+
sfsi_plus_twitter_display: n,
|
335 |
+
sfsi_plus_youtube_display: r,
|
336 |
+
sfsi_plus_pinterest_display: c,
|
337 |
+
sfsi_plus_linkedin_display: p,
|
338 |
+
sfsi_plus_instagram_display: _,
|
339 |
+
sfsi_plus_telegram_display: telegram,
|
340 |
+
sfsi_plus_vk_display: vk,
|
341 |
+
sfsi_plus_ok_display: ok,
|
342 |
+
sfsi_plus_weibo_display: weibo,
|
343 |
+
sfsi_plus_wechat_display: wechat,
|
344 |
+
sfsi_plus_houzz_display: houzz,
|
345 |
+
sfsi_custom1_display: l,
|
346 |
+
sfsi_custom2_display: S,
|
347 |
+
sfsi_custom3_display: u,
|
348 |
+
sfsi_custom4_display: f,
|
349 |
+
|
350 |
+
sfsi_custom5_display: d,
|
351 |
+
nonce: nonce
|
352 |
+
};
|
353 |
SFSI.ajax({
|
354 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
355 |
+
type: "post",
|
356 |
+
data: I,
|
357 |
+
async: !0,
|
358 |
+
dataType: "json",
|
359 |
+
success: function (i) {
|
360 |
+
if (i == "wrong_nonce") {
|
361 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 1);
|
362 |
+
s = !1;
|
363 |
+
sfsiplus_afterLoad();
|
364 |
+
} else {
|
365 |
+
"success" == i ? (sfsiplus_showErrorSuc("success", "Saved !", 1), sfsipluscollapse("#sfsi_plus_save1"),
|
366 |
+
sfsi_plus_make_popBox()) : (global_error = 1, sfsiplus_showErrorSuc("error", "Unkown error , please try again", 1),
|
367 |
+
s = !1), sfsiplus_afterLoad();
|
368 |
+
}
|
369 |
+
}
|
|
|
|
|
|
|
370 |
});
|
371 |
}
|
372 |
+
|
373 |
+
function sfsi_plus_update_step2() {
|
374 |
+
var nonce = SFSI("#sfsi_plus_save2").attr("data-nonce");
|
375 |
var s = sfsi_plus_validationStep2();
|
376 |
if (!s) return global_error = 1, !1;
|
377 |
sfsiplus_beForeLoad();
|
378 |
+
var i = 1 == SFSI("input[name='sfsi_plus_rss_url']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_rss_url']").val(),
|
379 |
+
e = 1 == SFSI("input[name='sfsi_plus_rss_icons']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_rss_icons']:checked").val(),
|
380 |
+
t = 1 == SFSI("input[name='sfsi_plus_facebookPage_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_facebookPage_option']:checked").val(),
|
381 |
+
n = 1 == SFSI("input[name='sfsi_plus_facebookLike_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_facebookLike_option']:checked").val(),
|
382 |
+
o = 1 == SFSI("input[name='sfsi_plus_facebookShare_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_facebookShare_option']:checked").val(),
|
383 |
+
a = SFSI("input[name='sfsi_plus_facebookPage_url']").val(),
|
384 |
+
r = 1 == SFSI("input[name='sfsi_plus_twitter_followme']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_followme']:checked").val(),
|
385 |
+
c = 1 == SFSI("input[name='sfsi_plus_twitter_followUserName']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_followUserName']").val(),
|
386 |
+
p = 1 == SFSI("input[name='sfsi_plus_twitter_aboutPage']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_aboutPage']:checked").val(),
|
387 |
+
_ = 1 == SFSI("input[name='sfsi_plus_twitter_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_page']:checked").val(),
|
388 |
+
l = SFSI("input[name='sfsi_plus_twitter_pageURL']").val(),
|
389 |
+
S = SFSI("textarea[name='sfsi_plus_twitter_aboutPageText']").val(),
|
390 |
+
m = 1 == SFSI("input[name='sfsi_plus_youtube_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_youtube_page']:checked").val(),
|
391 |
+
F = 1 == SFSI("input[name='sfsi_plus_youtube_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_youtube_pageUrl']").val(),
|
392 |
+
h = 1 == SFSI("input[name='sfsi_plus_youtube_follow']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_youtube_follow']:checked").val(),
|
393 |
+
cls = SFSI("input[name='sfsi_plus_youtubeusernameorid']:checked").val(),
|
394 |
+
v = SFSI("input[name='sfsi_plus_ytube_user']").val(),
|
395 |
+
vchid = SFSI("input[name='sfsi_plus_ytube_chnlid']").val(),
|
396 |
+
g = 1 == SFSI("input[name='sfsi_plus_pinterest_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_pinterest_page']:checked").val(),
|
397 |
+
k = 1 == SFSI("input[name='sfsi_plus_pinterest_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_pinterest_pageUrl']").val(),
|
398 |
+
y = 1 == SFSI("input[name='sfsi_plus_pinterest_pingBlog']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_pinterest_pingBlog']:checked").val(),
|
399 |
+
b = 1 == SFSI("input[name='sfsi_plus_instagram_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_instagram_pageUrl']").val(),
|
400 |
+
houzz = 1 == SFSI("input[name='sfsi_plus_houzz_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_houzz_pageUrl']").val(),
|
401 |
+
w = 1 == SFSI("input[name='sfsi_plus_linkedin_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedin_page']:checked").val(),
|
402 |
+
x = 1 == SFSI("input[name='sfsi_plus_linkedin_pageURL']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedin_pageURL']").val(),
|
403 |
+
C = 1 == SFSI("input[name='sfsi_plus_linkedin_follow']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedin_follow']:checked").val(),
|
404 |
+
D = SFSI("input[name='sfsi_plus_linkedin_followCompany']").val(),
|
405 |
+
U = 1 == SFSI("input[name='sfsi_plus_linkedin_SharePage']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedin_SharePage']:checked").val(),
|
406 |
+
O = SFSI("input[name='sfsi_plus_linkedin_recommendBusines']:checked").val(),
|
407 |
+
T = SFSI("input[name='sfsi_plus_linkedin_recommendProductId']").val(),
|
408 |
+
j = SFSI("input[name='sfsi_plus_linkedin_recommendCompany']").val(),
|
409 |
+
tgShareChk = SFSI("input[name='sfsi_plus_telegramShare_option']:checked").val(),
|
410 |
+
tgShareChk = "undefined" !== typeof tgShareChk ? tgShareChk : "no",
|
411 |
+
tgMsgChk = SFSI("input[name='sfsi_plus_telegramMessage_option']:checked").val(),
|
412 |
+
tgMsgChk = "undefined" !== typeof tgMsgChk ? tgMsgChk : "no",
|
413 |
+
tgMessageTxt = SFSI("input[name='sfsi_plus_telegram_message']").val(),
|
414 |
+
tgMsgUserName = SFSI("input[name='sfsi_plus_telegram_username']").val(),
|
415 |
+
P = {};
|
416 |
+
vkVisitChk = SFSI("input[name='sfsi_plus_vkVisit_option']:checked").val(),
|
417 |
+
vkVisitChk = "undefined" !== typeof vkVisitChk ? vkVisitChk : "no",
|
418 |
+
vkShareChk = SFSI("input[name='sfsi_plus_vkShare_option']:checked").val(),
|
419 |
+
vkShareChk = "undefined" !== typeof vkShareChk ? vkShareChk : "no",
|
420 |
+
vkLikeChk = SFSI("input[name='sfsi_plus_vkLike_option']:checked").val(),
|
421 |
+
vkLikeChk = "undefined" !== typeof vkLikeChk ? vkLikeChk : "no",
|
422 |
+
|
423 |
+
vkFollowChk = SFSI("input[name='sfsi_plus_vkFollow_option']:checked").val(),
|
424 |
+
vkFollowChk = "undefined" !== typeof vkFollowChk ? vkFollowChk : "no",
|
425 |
+
|
426 |
+
vkVisitUrl = "no" == vkVisitChk ? "" : SFSI("input[name='sfsi_plus_vkVisit_url']").val(),
|
427 |
+
vkFollowUrl = "no" == vkFollowChk ? "" : SFSI("input[name='sfsi_plus_vkFollow_url']").val(),
|
428 |
+
|
429 |
+
okVisitChk = SFSI("input[name='sfsi_plus_okVisit_option']:checked").val(),
|
430 |
+
okVisitChk = "undefined" !== typeof okVisitChk ? okVisitChk : "no",
|
431 |
+
okVisitUrl = "no" == okVisitChk ? "" : SFSI("input[name='sfsi_plus_okVisit_url']").val(),
|
432 |
+
okSubscribeChk = SFSI("input[name='sfsi_plus_okSubscribe_option']:checked").val(),
|
433 |
+
okSubscribeChk = "undefined" !== typeof okSubscribeChk ? okSubscribeChk : "no",
|
434 |
+
okSubscribeUrl = "no" == okSubscribeChk ? "" : SFSI("input[name='sfsi_plus_okSubscribe_userid']").val(),
|
435 |
+
okShareChk = SFSI("input[name='sfsi_plus_okLike_option']:checked").val(),
|
436 |
+
okShareChk = "undefined" !== typeof okShareChk ? okShareChk : "no",
|
437 |
+
|
438 |
+
weiboVisitChk = SFSI("input[name='sfsi_plus_weiboVisit_option']:checked").val(),
|
439 |
+
weiboVisitChk = "undefined" !== typeof weiboVisitChk ? weiboVisitChk : "no",
|
440 |
+
weiboShareChk = SFSI("input[name='sfsi_plus_weiboShare_option']:checked").val(),
|
441 |
+
weiboShareChk = "undefined" !== typeof weiboShareChk ? weiboShareChk : "no",
|
442 |
+
weiboLikeChk = SFSI("input[name='sfsi_plus_weiboLike_option']:checked").val(),
|
443 |
+
weiboLikeChk = "undefined" !== typeof weiboLikeChk ? weiboLikeChk : "no",
|
444 |
+
weiboVisitUrl = "no" == weiboVisitChk ? "" : SFSI("input[name='sfsi_plus_weiboVisit_url']").val(),
|
445 |
+
|
446 |
+
|
447 |
+
wechatFollowChk = SFSI("input[name='sfsi_plus_wechatFollow_option']:checked").val(),
|
448 |
+
wechatFollowChk = "undefined" !== typeof wechatFollowChk ? wechatFollowChk : "no",
|
449 |
+
wechatShareChk = SFSI("input[name='sfsi_plus_wechatShare_option']:checked").val(),
|
450 |
+
wechatShareChk = "undefined" !== typeof wechatShareChk ? wechatShareChk : "no",
|
451 |
+
wechatScanImage = SFSI("input[name='sfsi_plus_wechat_scan_image']").val(),
|
452 |
+
|
453 |
+
SFSI("input[name='sfsi_plus_CustomIcon_links[]']").each(function () {
|
454 |
+
P[SFSI(this).attr("file-id")] = this.value;
|
455 |
+
});
|
456 |
+
var M = {
|
457 |
+
action: "plus_updateSrcn2",
|
458 |
+
sfsi_plus_rss_url: i,
|
459 |
+
sfsi_plus_rss_icons: e,
|
460 |
+
sfsi_plus_facebookPage_option: t,
|
461 |
+
sfsi_plus_facebookLike_option: n,
|
462 |
+
sfsi_plus_facebookShare_option: o,
|
463 |
+
sfsi_plus_facebookPage_url: a,
|
464 |
+
sfsi_plus_twitter_followme: r,
|
465 |
+
sfsi_plus_twitter_followUserName: c,
|
466 |
+
sfsi_plus_twitter_aboutPage: p,
|
467 |
+
sfsi_plus_twitter_page: _,
|
468 |
+
sfsi_plus_twitter_pageURL: l,
|
469 |
+
sfsi_plus_twitter_aboutPageText: S,
|
470 |
+
sfsi_plus_youtube_page: m,
|
471 |
+
sfsi_plus_youtube_pageUrl: F,
|
472 |
+
sfsi_plus_youtube_follow: h,
|
473 |
+
sfsi_plus_youtubeusernameorid: cls,
|
474 |
+
sfsi_plus_ytube_user: v,
|
475 |
+
sfsi_plus_ytube_chnlid: vchid,
|
476 |
+
sfsi_plus_pinterest_page: g,
|
477 |
+
sfsi_plus_pinterest_pageUrl: k,
|
478 |
+
sfsi_plus_instagram_pageUrl: b,
|
479 |
+
sfsi_plus_houzz_pageUrl: houzz,
|
480 |
+
sfsi_plus_pinterest_pingBlog: y,
|
481 |
+
sfsi_plus_linkedin_page: w,
|
482 |
+
sfsi_plus_linkedin_pageURL: x,
|
483 |
+
sfsi_plus_linkedin_follow: C,
|
484 |
+
sfsi_plus_linkedin_followCompany: D,
|
485 |
+
sfsi_plus_linkedin_SharePage: U,
|
486 |
+
sfsi_plus_linkedin_recommendBusines: O,
|
487 |
+
sfsi_plus_linkedin_recommendCompany: j,
|
488 |
+
sfsi_plus_linkedin_recommendProductId: T,
|
489 |
+
sfsi_plus_telegramShare_option: tgShareChk,
|
490 |
+
sfsi_plus_telegramMessage_option: tgMsgChk,
|
491 |
+
sfsi_plus_telegram_message: tgMessageTxt,
|
492 |
+
sfsi_plus_telegram_username: tgMsgUserName,
|
493 |
+
sfsi_plus_vkVisit_option: vkVisitChk,
|
494 |
+
sfsi_plus_vkShare_option: vkShareChk,
|
495 |
+
sfsi_plus_vkLike_option: vkLikeChk,
|
496 |
+
sfsi_plus_vkFollow_option: vkFollowChk,
|
497 |
+
sfsi_plus_vkFollow_url: vkFollowUrl,
|
498 |
+
sfsi_plus_vkVisit_url: vkVisitUrl,
|
499 |
+
sfsi_plus_okVisit_option: okVisitChk,
|
500 |
+
sfsi_plus_okVisit_url: okVisitUrl,
|
501 |
+
sfsi_plus_okSubscribe_option: okSubscribeChk,
|
502 |
+
sfsi_plus_okSubscribe_userid: okSubscribeUrl,
|
503 |
+
sfsi_plus_okLike_option: okShareChk,
|
504 |
+
|
505 |
+
sfsi_plus_weiboVisit_option: weiboVisitChk,
|
506 |
+
sfsi_plus_weiboShare_option: weiboShareChk,
|
507 |
+
sfsi_plus_weiboLike_option: weiboLikeChk,
|
508 |
+
sfsi_plus_weiboVisit_url: weiboVisitUrl,
|
509 |
+
|
510 |
+
sfsi_plus_wechatFollow_option: wechatFollowChk,
|
511 |
+
sfsi_plus_wechat_scan_image: wechatScanImage,
|
512 |
+
sfsi_plus_wechatShare_option: wechatShareChk,
|
513 |
+
sfsi_plus_custom_links: P,
|
514 |
+
nonce: nonce
|
515 |
};
|
516 |
SFSI.ajax({
|
517 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
518 |
+
type: "post",
|
519 |
+
data: M,
|
520 |
+
async: !0,
|
521 |
+
dataType: "json",
|
522 |
+
success: function (s) {
|
523 |
+
if (s == "wrong_nonce") {
|
524 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 2);
|
525 |
+
return_value = !1;
|
526 |
+
sfsiplus_afterLoad();
|
527 |
+
} else {
|
528 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 2), sfsipluscollapse("#sfsi_plus_save2"),
|
529 |
+
sfsi_plus_depened_sections()) : (global_error = 1, sfsiplus_showErrorSuc("error", "Unkown error , please try again", 2),
|
530 |
+
return_value = !1), sfsiplus_afterLoad();
|
531 |
+
}
|
|
|
|
|
|
|
532 |
}
|
533 |
});
|
534 |
}
|
535 |
+
|
536 |
+
function sfsi_plus_update_step3() {
|
537 |
+
var nonce = SFSI("#sfsi_plus_save3").attr("data-nonce");
|
538 |
+
var s = sfsi_plus_validationStep3();
|
539 |
|
540 |
if (!s) return global_error = 1, !1;
|
541 |
sfsiplus_beForeLoad();
|
542 |
|
543 |
+
var i = SFSI("input[name='sfsi_plus_actvite_theme']:checked").val(),
|
544 |
+
e = SFSI("input[name='sfsi_plus_mouseOver']:checked").val(),
|
545 |
+
t = SFSI("input[name='sfsi_plus_shuffle_icons']:checked").val(),
|
546 |
+
n = SFSI("input[name='sfsi_plus_shuffle_Firstload']:checked").val(),
|
547 |
+
a = SFSI("input[name='sfsi_plus_shuffle_interval']:checked").val(),
|
548 |
+
r = SFSI("input[name='sfsi_plus_shuffle_intervalTime']").val(),
|
549 |
+
c = SFSI("input[name='sfsi_plus_specialIcon_animation']:checked").val(),
|
550 |
+
p = SFSI("input[name='sfsi_plus_specialIcon_MouseOver']:checked").val(),
|
551 |
+
_ = SFSI("input[name='sfsi_plus_specialIcon_Firstload']:checked").val(),
|
552 |
+
l = SFSI("#sfsi_plus_specialIcon_Firstload_Icons option:selected").val(),
|
553 |
+
S = SFSI("input[name='sfsi_plus_specialIcon_interval']:checked").val(),
|
554 |
+
u = SFSI("input[name='sfsi_plus_specialIcon_intervalTime']").val(),
|
555 |
+
f = SFSI("#sfsi_plus_specialIcon_intervalIcons option:selected").val(),
|
556 |
+
o = SFSI("input[name='sfsi_plus_same_icons_mouseOver_effect']:checked").val();
|
557 |
+
|
558 |
+
var mouseover_effect_type = 'same_icons'; //SFSI("input[name='sfsi_plus_mouseOver_effect_type']:checked").val();
|
559 |
|
560 |
var d = {
|
561 |
+
action: "plus_updateSrcn3",
|
562 |
+
sfsi_plus_actvite_theme: i,
|
563 |
+
sfsi_plus_mouseOver: e,
|
564 |
+
sfsi_plus_shuffle_icons: t,
|
565 |
+
sfsi_plus_shuffle_Firstload: n,
|
566 |
+
sfsi_plus_mouseOver_effect: o,
|
567 |
sfsi_plus_mouseover_effect_type: mouseover_effect_type,
|
568 |
+
sfsi_plus_shuffle_interval: a,
|
569 |
+
sfsi_plus_shuffle_intervalTime: r,
|
570 |
+
sfsi_plus_specialIcon_animation: c,
|
571 |
+
sfsi_plus_specialIcon_MouseOver: p,
|
572 |
+
sfsi_plus_specialIcon_Firstload: _,
|
573 |
+
sfsi_plus_specialIcon_Firstload_Icons: l,
|
574 |
+
sfsi_plus_specialIcon_interval: S,
|
575 |
+
sfsi_plus_specialIcon_intervalTime: u,
|
576 |
+
sfsi_plus_specialIcon_intervalIcons: f,
|
577 |
+
nonce: nonce
|
578 |
};
|
579 |
SFSI.ajax({
|
580 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
581 |
+
type: "post",
|
582 |
+
data: d,
|
583 |
+
async: !0,
|
584 |
+
dataType: "json",
|
585 |
+
success: function (s) {
|
586 |
+
if (s == "wrong_nonce") {
|
587 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 3);
|
588 |
+
return_value = !1;
|
589 |
+
sfsiplus_afterLoad();
|
590 |
+
} else {
|
591 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 3), sfsipluscollapse("#sfsi_plus_save3")) : (sfsiplus_showErrorSuc("error", "Unkown error , please try again", 3),
|
592 |
+
return_value = !1), sfsiplus_afterLoad();
|
593 |
+
}
|
594 |
+
}
|
|
|
|
|
|
|
595 |
});
|
596 |
}
|
597 |
+
|
598 |
+
function sfsi_plus_show_counts() {
|
599 |
+
"yes" == SFSI("input[name='sfsi_plus_display_counts']:checked").val() ? (SFSI(".sfsiplus_count_sections").slideDown(),
|
600 |
+
sfsi_plus_showPreviewCounts()) : (SFSI(".sfsiplus_count_sections").slideUp(), sfsi_plus_showPreviewCounts());
|
601 |
}
|
602 |
+
|
603 |
+
function sfsi_plus_showPreviewCounts() {
|
604 |
var s = 0;
|
605 |
+
1 == SFSI("input[name='sfsi_plus_rss_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_rss_countsDisplay").css("opacity", 1),
|
606 |
+
s = 1) : SFSI("#sfsi_plus_rss_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_email_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_email_countsDisplay").css("opacity", 1),
|
607 |
+
s = 1) : SFSI("#sfsi_plus_email_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity", 1),
|
608 |
+
s = 1) : SFSI("#sfsi_plus_facebook_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_twitter_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_twitter_countsDisplay").css("opacity", 1),
|
609 |
+
s = 1) : SFSI("#sfsi_plus_twitter_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_linkedIn_countsDisplay").css("opacity", 1),
|
610 |
+
s = 1) : SFSI("#sfsi_plus_linkedIn_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity", 1),
|
611 |
+
s = 1) : SFSI("#sfsi_plus_youtube_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_pinterest_countsDisplay").css("opacity", 1),
|
612 |
+
s = 1) : SFSI("#sfsi_plus_pinterest_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity", 1),
|
613 |
+
s = 1) : SFSI("#sfsi_plus_instagram_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_plus_houzz_countsDisplay']").prop("checked") ? (SFSI("#sfsi_plus_houzz_countsDisplay").css("opacity", 1),
|
614 |
+
s = 1) : SFSI("#sfsi_plus_houzz_countsDisplay").css("opacity", 0), 0 == s || "no" == SFSI("input[name='sfsi_plus_display_counts']:checked").val() ? SFSI(".sfsi_Cdisplay").hide() : SFSI(".sfsi_Cdisplay").show();
|
615 |
}
|
616 |
+
|
617 |
+
function sfsi_plus_show_OnpostsDisplay() {
|
618 |
+
//"yes" == SFSI("input[name='sfsi_plus_show_Onposts']:checked").val() ? SFSI(".sfsiplus_PostsSettings_section").slideDown() :SFSI(".sfsiplus_PostsSettings_section").slideUp();
|
619 |
}
|
620 |
+
|
621 |
+
function sfsi_plus_update_step4() {
|
622 |
+
var nonce = SFSI("#sfsi_plus_save4").attr("data-nonce");
|
623 |
+
var s = !1,
|
624 |
+
i = sfsi_plus_validationStep4();
|
625 |
if (!i) return global_error = 1, !1;
|
626 |
sfsiplus_beForeLoad();
|
627 |
+
var e = SFSI("input[name='sfsi_plus_display_counts']:checked").val(),
|
628 |
+
t = 1 == SFSI("input[name='sfsi_plus_email_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_email_countsDisplay']:checked").val(),
|
629 |
+
n = 1 == SFSI("input[name='sfsi_plus_email_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_email_countsFrom']:checked").val(),
|
630 |
+
o = SFSI("input[name='sfsi_plus_email_manualCounts']").val(),
|
631 |
+
r = 1 == SFSI("input[name='sfsi_plus_rss_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_rss_countsDisplay']:checked").val(),
|
632 |
+
c = SFSI("input[name='sfsi_plus_rss_manualCounts']").val(),
|
633 |
+
p = 1 == SFSI("input[name='sfsi_plus_facebook_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_facebook_countsDisplay']:checked").val(),
|
634 |
+
_ = 1 == SFSI("input[name='sfsi_plus_facebook_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val(),
|
635 |
+
mp = SFSI("input[name='sfsi_plus_facebook_mypageCounts']").val(),
|
636 |
+
l = SFSI("input[name='sfsi_plus_facebook_manualCounts']").val(),
|
637 |
+
S = 1 == SFSI("input[name='sfsi_plus_twitter_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_countsDisplay']:checked").val(),
|
638 |
+
u = 1 == SFSI("input[name='sfsi_plus_twitter_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_countsFrom']:checked").val(),
|
639 |
+
f = SFSI("input[name='sfsi_plus_twitter_manualCounts']").val(),
|
640 |
+
d = SFSI("input[name='sfsiplus_tw_consumer_key']").val(),
|
641 |
+
I = SFSI("input[name='sfsiplus_tw_consumer_secret']").val(),
|
642 |
+
m = SFSI("input[name='sfsiplus_tw_oauth_access_token']").val(),
|
643 |
+
F = SFSI("input[name='sfsiplus_tw_oauth_access_token_secret']").val(),
|
644 |
+
k = 1 == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val(),
|
645 |
+
y = SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").val(),
|
646 |
+
b = SFSI("input[name='sfsi_plus_ln_company']").val(),
|
647 |
+
w = SFSI("input[name='sfsi_plus_ln_api_key']").val(),
|
648 |
+
x = SFSI("input[name='sfsi_plus_ln_secret_key']").val(),
|
649 |
+
C = SFSI("input[name='sfsi_plus_ln_oAuth_user_token']").val(),
|
650 |
+
D = 1 == SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedIn_countsDisplay']:checked").val(),
|
651 |
+
k = 1 == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val(),
|
652 |
+
y = SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").val(),
|
653 |
+
U = 1 == SFSI("input[name='sfsi_plus_youtube_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_youtube_countsDisplay']:checked").val(),
|
654 |
+
O = 1 == SFSI("input[name='sfsi_plus_youtube_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_youtube_countsFrom']:checked").val(),
|
655 |
+
T = SFSI("input[name='sfsi_plus_youtube_manualCounts']").val(),
|
656 |
+
j = SFSI("input[name='sfsi_plus_youtube_user']").val(),
|
657 |
+
P = 1 == SFSI("input[name='sfsi_plus_pinterest_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_pinterest_countsDisplay']:checked").val(),
|
658 |
+
M = 1 == SFSI("input[name='sfsi_plus_pinterest_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_pinterest_countsFrom']:checked").val(),
|
659 |
+
L = SFSI("input[name='sfsi_plus_pinterest_manualCounts']").val(),
|
660 |
+
B = SFSI("input[name='sfsi_plus_pinterest_user']").val(),
|
661 |
+
E = SFSI("input[name='sfsi_plus_pinterest_board']").val(),
|
662 |
+
z = 1 == SFSI("input[name='sfsi_plus_instagram_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_instagram_countsDisplay']:checked").val(),
|
663 |
+
A = 1 == SFSI("input[name='sfsi_plus_instagram_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val(),
|
664 |
+
N = SFSI("input[name='sfsi_plus_instagram_manualCounts']").val(),
|
665 |
+
H = SFSI("input[name='sfsi_plus_instagram_User']").val(),
|
666 |
+
houzzDisplay = 1 == SFSI("input[name='sfsi_plus_houzz_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_houzz_countsDisplay']:checked").val(),
|
667 |
+
houzzFrom = 1 == SFSI("input[name='sfsi_plus_houzz_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_houzz_countsFrom']:checked").val(),
|
668 |
+
houzzCount = SFSI("input[name='sfsi_plus_houzz_manualCounts']").val(),
|
669 |
+
vkc = SFSI("input[name='sfsi_plus_vk_countsDisplay']:checked").val() || 'no',
|
670 |
+
vkm = SFSI("input[name='sfsi_plus_vk_manualCounts']").val(),
|
671 |
+
tc = SFSI("input[name='sfsi_plus_telegram_countsDisplay']:checked").val() || 'no',
|
672 |
+
tm = SFSI("input[name='sfsi_plus_telegram_manualCounts']").val(),
|
673 |
+
wcc = SFSI("input[name='sfsi_plus_wechat_countsDisplay']:checked").val() || 'no',
|
674 |
+
wcm = SFSI("input[name='sfsi_plus_wechat_manualCounts']").val(),
|
675 |
+
okc = SFSI("input[name='sfsi_plus_ok_countsDisplay']:checked").val() || 'no',
|
676 |
+
okm = SFSI("input[name='sfsi_plus_ok_manualCounts']").val(),
|
677 |
+
wbc = SFSI("input[name='sfsi_plus_weibo_countsDisplay']:checked").val() || 'no',
|
678 |
+
wbm = SFSI("input[name='sfsi_plus_weibo_manualCounts']").val(),
|
679 |
+
$ = {
|
680 |
+
action: "plus_updateSrcn4",
|
681 |
+
sfsi_plus_display_counts: e,
|
682 |
+
sfsi_plus_email_countsDisplay: t,
|
683 |
+
sfsi_plus_email_countsFrom: n,
|
684 |
+
sfsi_plus_email_manualCounts: o,
|
685 |
+
sfsi_plus_rss_countsDisplay: r,
|
686 |
+
sfsi_plus_rss_manualCounts: c,
|
687 |
+
sfsi_plus_facebook_countsDisplay: p,
|
688 |
+
sfsi_plus_facebook_countsFrom: _,
|
689 |
+
sfsi_plus_facebook_mypageCounts: mp,
|
690 |
+
sfsi_plus_facebook_manualCounts: l,
|
691 |
+
sfsi_plus_twitter_countsDisplay: S,
|
692 |
+
sfsi_plus_twitter_countsFrom: u,
|
693 |
+
sfsi_plus_twitter_manualCounts: f,
|
694 |
+
sfsiplus_tw_consumer_key: d,
|
695 |
+
sfsiplus_tw_consumer_secret: I,
|
696 |
+
sfsiplus_tw_oauth_access_token: m,
|
697 |
+
sfsiplus_tw_oauth_access_token_secret: F,
|
698 |
+
sfsi_plus_linkedIn_countsDisplay: D,
|
699 |
+
sfsi_plus_linkedIn_countsFrom: k,
|
700 |
+
sfsi_plus_linkedIn_manualCounts: y,
|
701 |
+
sfsi_plus_ln_company: b,
|
702 |
+
sfsi_plus_ln_api_key: w,
|
703 |
+
sfsi_plus_ln_secret_key: x,
|
704 |
+
sfsi_plus_ln_oAuth_user_token: C,
|
705 |
+
sfsi_plus_youtube_countsDisplay: U,
|
706 |
+
sfsi_plus_youtube_countsFrom: O,
|
707 |
+
sfsi_plus_youtube_manualCounts: T,
|
708 |
+
sfsi_plus_youtube_user: j,
|
709 |
+
sfsi_plus_youtube_channelId: SFSI("input[name='sfsi_plus_youtube_channelId']").val(),
|
710 |
+
sfsi_plus_pinterest_countsDisplay: P,
|
711 |
+
sfsi_plus_pinterest_countsFrom: M,
|
712 |
+
sfsi_plus_pinterest_manualCounts: L,
|
713 |
+
sfsi_plus_pinterest_user: B,
|
714 |
+
sfsi_plus_pinterest_board: E,
|
715 |
+
sfsi_plus_instagram_countsDisplay: z,
|
716 |
+
sfsi_plus_instagram_countsFrom: A,
|
717 |
+
sfsi_plus_instagram_manualCounts: N,
|
718 |
+
sfsi_plus_instagram_User: H,
|
719 |
+
sfsi_plus_instagram_clientid: SFSI("input[name='sfsi_plus_instagram_clientid']").val(),
|
720 |
+
sfsi_plus_instagram_appurl: SFSI("input[name='sfsi_plus_instagram_appurl']").val(),
|
721 |
+
sfsi_plus_instagram_token: SFSI("input[name='sfsi_plus_instagram_token']").val(),
|
722 |
+
sfsi_plus_houzz_countsDisplay: houzzDisplay,
|
723 |
+
sfsi_plus_houzz_countsFrom: houzzFrom,
|
724 |
+
sfsi_plus_houzz_manualCounts: houzzCount,
|
725 |
+
sfsi_plus_telegram_countsDisplay: tc,
|
726 |
+
sfsi_plus_telegram_manualCounts: tm,
|
727 |
+
|
728 |
+
sfsi_plus_ok_countsDisplay: okc,
|
729 |
+
sfsi_plus_ok_manualCounts: okm,
|
730 |
+
|
731 |
+
sfsi_plus_vk_countsDisplay: vkc,
|
732 |
+
sfsi_plus_vk_manualCounts: vkm,
|
733 |
+
|
734 |
+
sfsi_plus_weibo_countsDisplay: wbc,
|
735 |
+
sfsi_plus_weibo_manualCounts: wbm,
|
736 |
+
|
737 |
+
sfsi_plus_wechat_countsDisplay: wcc,
|
738 |
+
sfsi_plus_wechat_manualCounts: wcm,
|
739 |
+
nonce: nonce
|
740 |
+
};
|
741 |
return SFSI.ajax({
|
742 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
743 |
+
type: "post",
|
744 |
+
data: $,
|
745 |
+
dataType: "json",
|
746 |
+
async: !0,
|
747 |
+
success: function (s) {
|
748 |
+
if (s == "wrong_nonce") {
|
749 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 4);
|
750 |
+
global_error = 1;
|
751 |
+
sfsiplus_afterLoad();
|
752 |
+
} else {
|
753 |
+
"success" == s.res ? (sfsiplus_showErrorSuc("success", "Saved !", 4), sfsipluscollapse("#sfsi_plus_save4"),
|
754 |
+
sfsi_plus_showPreviewCounts()) : (sfsiplus_showErrorSuc("error", "Unkown error , please try again", 4),
|
755 |
+
global_error = 1), sfsiplus_afterLoad();
|
756 |
+
}
|
|
|
|
|
|
|
757 |
}
|
758 |
}), s;
|
759 |
}
|
760 |
+
|
761 |
+
function sfsi_plus_update_step5() {
|
762 |
+
var nonce = SFSI("#sfsi_plus_save5").attr("data-nonce");
|
763 |
+
sfsi_plus_update_step3();
|
764 |
var s = sfsi_plus_validationStep5();
|
765 |
if (!s) return global_error = 1, !1;
|
766 |
sfsiplus_beForeLoad();
|
767 |
+
var i = SFSI("input[name='sfsi_plus_icons_size']").val(),
|
768 |
+
e = SFSI("input[name='sfsi_plus_icons_perRow']").val(),
|
769 |
+
t = SFSI("input[name='sfsi_plus_icons_spacing']").val(),
|
770 |
+
n = SFSI("#sfsi_plus_icons_Alignment").val(),
|
771 |
+
followicon = SFSI("#sfsi_plus_follow_icons_language").val(),
|
772 |
+
facebookicon = SFSI("#sfsi_plus_facebook_icons_language").val(),
|
773 |
+
twittericon = SFSI("#sfsi_plus_twitter_icons_language").val(),
|
774 |
+
|
775 |
+
lang = SFSI("#sfsi_plus_icons_language").val(),
|
776 |
+
o = SFSI("input[name='sfsi_plus_icons_ClickPageOpen']:checked").val(),
|
777 |
+
a = SFSI("input[name='sfsi_plus_icons_float']:checked").val(),
|
778 |
+
dsb = SFSI("input[name='sfsi_plus_disable_floaticons']:checked").val(),
|
779 |
+
dsbv = SFSI("input[name='sfsi_plus_disable_viewport']:checked").val(),
|
780 |
+
r = SFSI("#sfsi_plus_icons_floatPosition").val(),
|
781 |
+
c = SFSI("input[name='sfsi_plus_icons_stick']:checked").val(),
|
782 |
+
p = SFSI("#sfsi_plus_rssIcon_order").attr("data-index"),
|
783 |
+
_ = SFSI("#sfsi_plus_emailIcon_order").attr("data-index"),
|
784 |
+
S = SFSI("#sfsi_plus_facebookIcon_order").attr("data-index"),
|
785 |
+
u = SFSI("#sfsi_plus_twitterIcon_order").attr("data-index"),
|
786 |
+
f = SFSI("#sfsi_plus_youtubeIcon_order").attr("data-index"),
|
787 |
+
d = SFSI("#sfsi_plus_pinterestIcon_order").attr("data-index"),
|
788 |
+
I = SFSI("#sfsi_plus_instagramIcon_order").attr("data-index"),
|
789 |
+
tl = SFSI("#sfsi_plus_telegramIcon_order").attr("data-index"),
|
790 |
+
vki = SFSI("#sfsi_plus_vkIcon_order").attr("data-index"),
|
791 |
+
ok = SFSI("#sfsi_plus_okIcon_order").attr("data-index"),
|
792 |
+
weibo = SFSI("#sfsi_plus_weiboIcon_order").attr("data-index"),
|
793 |
+
wechat = SFSI("#sfsi_plus_wechatIcon_order").attr("data-index"),
|
794 |
+
F = SFSI("#sfsi_plus_linkedinIcon_order").attr("data-index"),
|
795 |
+
houzzOrder = SFSI("#sfsi_plus_houzzIcon_order").attr("data-index"),
|
796 |
+
h = new Array();
|
797 |
+
|
798 |
+
SFSI(".sfsiplus_custom_iconOrder").each(function () {
|
799 |
h.push({
|
800 |
+
order: SFSI(this).attr("data-index"),
|
801 |
+
ele: SFSI(this).attr("element-id")
|
802 |
});
|
803 |
});
|
804 |
+
var v = 1 == SFSI("input[name='sfsi_plus_rss_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_rss_MouseOverText']").val(),
|
805 |
+
g = 1 == SFSI("input[name='sfsi_plus_email_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_email_MouseOverText']").val(),
|
806 |
+
k = 1 == SFSI("input[name='sfsi_plus_twitter_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_twitter_MouseOverText']").val(),
|
807 |
+
y = 1 == SFSI("input[name='sfsi_plus_facebook_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_facebook_MouseOverText']").val(),
|
808 |
+
w = 1 == SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_linkedIn_MouseOverText']").val(),
|
809 |
+
x = 1 == SFSI("input[name='sfsi_plus_youtube_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_youtube_MouseOverText']").val(),
|
810 |
+
C = 1 == SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_pinterest_MouseOverText']").val(),
|
811 |
+
insD = 1 == SFSI("input[name='sfsi_plus_instagram_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_instagram_MouseOverText']").val(),
|
812 |
+
tl = 1 == SFSI("input[name='sfsi_plus_telegram_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_telegram_MouseOverText']").val(),
|
813 |
+
vk = 1 == SFSI("input[name='sfsi_plus_vk_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_vk_MouseOverText']").val(),
|
814 |
+
D = 1 == SFSI("input[name='sfsi_plus_houzz_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_plus_houzz_MouseOverText']").val(),
|
815 |
+
O = {};
|
816 |
+
SFSI("input[name='sfsi_plus_custom_MouseOverTexts[]']").each(function () {
|
817 |
O[SFSI(this).attr("file-id")] = this.value;
|
818 |
});
|
819 |
|
820 |
var sfsi_plus_custom_social_hide = SFSI("input[name='sfsi_plus_custom_social_hide']").val();
|
821 |
+
var se = SFSI("input[name='sfsi_pplus_icons_suppress_errors']:checked").val();
|
822 |
|
823 |
var T = {
|
824 |
+
action: "plus_updateSrcn5",
|
825 |
+
sfsi_plus_icons_size: i,
|
826 |
+
sfsi_plus_icons_Alignment: n,
|
827 |
+
sfsi_plus_icons_perRow: e,
|
828 |
+
sfsi_plus_follow_icons_language: followicon,
|
829 |
+
sfsi_plus_facebook_icons_language: facebookicon,
|
830 |
+
sfsi_plus_twitter_icons_language: twittericon,
|
831 |
+
sfsi_plus_icons_language: lang,
|
832 |
+
sfsi_plus_icons_spacing: t,
|
833 |
+
sfsi_plus_icons_ClickPageOpen: o,
|
834 |
+
sfsi_plus_icons_float: a,
|
835 |
+
sfsi_plus_disable_floaticons: dsb,
|
836 |
+
sfsi_plus_disable_viewport: dsbv,
|
837 |
+
sfsi_plus_icons_floatPosition: r,
|
838 |
+
sfsi_plus_icons_stick: c,
|
839 |
+
sfsi_plus_rss_MouseOverText: v,
|
840 |
+
sfsi_plus_email_MouseOverText: g,
|
841 |
+
sfsi_plus_twitter_MouseOverText: k,
|
842 |
+
sfsi_plus_facebook_MouseOverText: y,
|
843 |
+
sfsi_plus_youtube_MouseOverText: x,
|
844 |
+
sfsi_plus_linkedIn_MouseOverText: w,
|
845 |
+
sfsi_plus_pinterest_MouseOverText: C,
|
846 |
+
sfsi_plus_instagram_MouseOverText: insD,
|
847 |
+
sfsi_plus_telegram_MouseOverText: tl,
|
848 |
+
sfsi_plus_vk_MouseOverText: vki,
|
849 |
+
sfsi_plus_houzz_MouseOverText: D,
|
850 |
+
sfsi_plus_custom_MouseOverTexts: O,
|
851 |
+
sfsi_plus_rssIcon_order: p,
|
852 |
+
sfsi_plus_emailIcon_order: _,
|
853 |
+
sfsi_plus_facebookIcon_order: S,
|
854 |
+
sfsi_plus_twitterIcon_order: u,
|
855 |
+
sfsi_plus_youtubeIcon_order: f,
|
856 |
+
sfsi_plus_pinterestIcon_order: d,
|
857 |
+
sfsi_plus_instagramIcon_order: I,
|
858 |
+
sfsi_plus_telegramIcon_order: tl,
|
859 |
+
sfsi_plus_vkIcon_order: vki,
|
860 |
+
sfsi_plus_okIcon_order: ok,
|
861 |
+
sfsi_plus_weiboIcon_order: weibo,
|
862 |
+
sfsi_plus_wechatIcon_order: wechat,
|
863 |
+
sfsi_plus_houzzIcon_order: houzzOrder,
|
864 |
+
sfsi_plus_linkedinIcon_order: F,
|
865 |
+
sfsi_plus_custom_orders: h,
|
866 |
+
sfsi_plus_custom_social_hide: sfsi_plus_custom_social_hide,
|
867 |
+
sfsi_pplus_icons_suppress_errors: se,
|
868 |
+
nonce: nonce
|
869 |
};
|
870 |
SFSI.ajax({
|
871 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
872 |
+
type: "post",
|
873 |
+
data: T,
|
874 |
+
dataType: "json",
|
875 |
+
async: !0,
|
876 |
+
success: function (s) {
|
877 |
+
if (s == "wrong_nonce") {
|
878 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 5);
|
879 |
+
global_error = 1;
|
880 |
+
sfsiplus_afterLoad();
|
881 |
+
} else {
|
882 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 5), sfsipluscollapse("#sfsi_plus_save5")) : (global_error = 1,
|
883 |
+
sfsiplus_showErrorSuc("error", "Unkown error , please try again", 5)), sfsiplus_afterLoad();
|
884 |
+
}
|
885 |
+
}
|
|
|
|
|
|
|
886 |
});
|
887 |
}
|
888 |
+
|
889 |
+
function sfsi_plus_update_step6() {
|
890 |
+
var nonce = SFSI("#sfsi_plus_save6").attr("data-nonce");
|
891 |
sfsiplus_beForeLoad();
|
892 |
+
var s = SFSI("input[name='sfsi_plus_show_Onposts']:checked").val(),
|
893 |
+
i = SFSI("input[name='sfsi_plus_textBefor_icons']").val(),
|
894 |
+
e = SFSI("#sfsi_plus_icons_alignment").val(),
|
895 |
+
t = SFSI("#sfsi_plus_icons_DisplayCounts").val(),
|
896 |
+
n = {
|
897 |
+
action: "plus_updateSrcn6",
|
898 |
+
sfsi_plus_show_Onposts: s,
|
899 |
+
sfsi_plus_icons_DisplayCounts: t,
|
900 |
+
sfsi_plus_icons_alignment: e,
|
901 |
+
sfsi_plus_textBefor_icons: i,
|
902 |
+
nonce: nonce
|
903 |
+
};
|
904 |
SFSI.ajax({
|
905 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
906 |
+
type: "post",
|
907 |
+
data: n,
|
908 |
+
dataType: "json",
|
909 |
+
async: !0,
|
910 |
+
success: function (s) {
|
911 |
+
if (s == "wrong_nonce") {
|
912 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 6);
|
913 |
+
global_error = 1;
|
914 |
+
sfsiplus_afterLoad();
|
915 |
+
} else {
|
916 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 6), sfsipluscollapse("#sfsi_plus_save6")) : (global_error = 1,
|
917 |
+
sfsiplus_showErrorSuc("error", "Unkown error , please try again", 6)), sfsiplus_afterLoad();
|
918 |
+
}
|
919 |
+
}
|
|
|
|
|
|
|
920 |
});
|
921 |
}
|
922 |
+
|
923 |
+
function sfsi_plus_update_step7() {
|
924 |
+
var nonce = SFSI("#sfsi_plus_save7").attr("data-nonce");
|
925 |
var s = sfsi_plus_validationStep7();
|
926 |
if (!s) return global_error = 1, !1;
|
927 |
sfsiplus_beForeLoad();
|
928 |
+
var i = SFSI("input[name='sfsi_plus_popup_text']").val(),
|
929 |
+
e = SFSI("#sfsi_plus_popup_font option:selected").val(),
|
930 |
+
t = (SFSI("#sfsi_plus_popup_fontStyle option:selected").val(),
|
931 |
+
SFSI("input[name='sfsi_plus_popup_fontColor']").val()),
|
932 |
+
n = SFSI("input[name='sfsi_plus_popup_fontSize']").val(),
|
933 |
+
o = SFSI("input[name='sfsi_plus_popup_background_color']").val(),
|
934 |
+
a = SFSI("input[name='sfsi_plus_popup_border_color']").val(),
|
935 |
+
r = SFSI("input[name='sfsi_plus_popup_border_thickness']").val(),
|
936 |
+
c = SFSI("input[name='sfsi_plus_popup_border_shadow']:checked").val(),
|
937 |
+
p = SFSI("input[name='sfsi_plus_Show_popupOn']:checked").val(),
|
938 |
+
_ = [];
|
939 |
+
SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function (s, i) {
|
940 |
_[s] = SFSI(i).val();
|
941 |
});
|
942 |
+
var l = SFSI("input[name='sfsi_plus_Shown_pop']:checked").val(),
|
943 |
+
S = SFSI("input[name='sfsi_plus_Shown_popupOnceTime']").val(),
|
944 |
+
u = SFSI("#sfsi_plus_Shown_popuplimitPerUserTime").val(),
|
945 |
+
f = {
|
946 |
+
action: "plus_updateSrcn7",
|
947 |
+
sfsi_plus_popup_text: i,
|
948 |
+
sfsi_plus_popup_font: e,
|
949 |
+
sfsi_plus_popup_fontColor: t,
|
950 |
+
sfsi_plus_popup_fontSize: n,
|
951 |
+
sfsi_plus_popup_background_color: o,
|
952 |
+
sfsi_plus_popup_border_color: a,
|
953 |
+
sfsi_plus_popup_border_thickness: r,
|
954 |
+
sfsi_plus_popup_border_shadow: c,
|
955 |
+
sfsi_plus_Show_popupOn: p,
|
956 |
+
sfsi_plus_Show_popupOn_PageIDs: _,
|
957 |
+
sfsi_plus_Shown_pop: l,
|
958 |
+
sfsi_plus_Shown_popupOnceTime: S,
|
959 |
+
sfsi_plus_Shown_popuplimitPerUserTime: u,
|
960 |
+
nonce: nonce
|
961 |
+
};
|
962 |
SFSI.ajax({
|
963 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
964 |
+
type: "post",
|
965 |
+
data: f,
|
966 |
+
dataType: "json",
|
967 |
+
async: !0,
|
968 |
+
success: function (s) {
|
969 |
+
if (s == "wrong_nonce") {
|
970 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 7);
|
971 |
+
sfsiplus_afterLoad();
|
972 |
+
} else {
|
973 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 7), sfsipluscollapse("#sfsi_plus_save7")) : sfsiplus_showErrorSuc("error", "Unkown error , please try again", 7),
|
974 |
+
sfsiplus_afterLoad();
|
975 |
+
}
|
976 |
+
}
|
|
|
|
|
|
|
977 |
});
|
978 |
}
|
979 |
+
|
980 |
+
function sfsi_plus_update_step8() {
|
981 |
+
var nonce = SFSI("#sfsi_plus_save8").attr("data-nonce");
|
982 |
var s = sfsi_plus_validationStep7();
|
983 |
+
s = true;
|
984 |
if (!s) return global_error = 1, !1;
|
985 |
sfsiplus_beForeLoad();
|
986 |
+
var i = SFSI("input[name='sfsi_plus_show_via_widget']:checked").val(),
|
987 |
e = SFSI("input[name='sfsi_plus_float_on_page']:checked").val(),
|
988 |
t = SFSI("input[name='sfsi_plus_float_page_position']:checked").val(),
|
989 |
n = SFSI("input[name='sfsi_plus_place_item_manually']:checked").val(),
|
992 |
r = SFSI("input[name='sfsi_plus_post_icons_size']").val(),
|
993 |
c = SFSI("input[name='sfsi_plus_post_icons_spacing']").val(),
|
994 |
p = SFSI("input[name='sfsi_plus_show_Onposts']:checked").val(),
|
995 |
+
v = SFSI("input[name='sfsi_plus_textBefor_icons']").val(),
|
996 |
+
x = SFSI("#sfsi_plus_icons_alignment").val(),
|
997 |
+
z = SFSI("#sfsi_plus_icons_DisplayCounts").val(),
|
998 |
+
b = SFSI("input[name='sfsi_plus_display_before_posts']:checked").val(),
|
999 |
+
d = SFSI("input[name='sfsi_plus_display_after_posts']:checked").val(),
|
1000 |
+
/*f = SFSI("input[name='sfsi_plus_display_on_postspage']:checked").val(),
|
1001 |
+
g = SFSI("input[name='sfsi_plus_display_on_homepage']:checked").val(),*/
|
1002 |
+
f = SFSI("input[name='sfsi_plus_display_before_blogposts']:checked").val(),
|
1003 |
+
g = SFSI("input[name='sfsi_plus_display_after_blogposts']:checked").val(),
|
1004 |
+
rsub = SFSI("input[name='sfsi_plus_rectsub']:checked").val(),
|
1005 |
+
rfb = SFSI("input[name='sfsi_plus_rectfb']:checked").val(),
|
1006 |
+
rtwr = SFSI("input[name='sfsi_plus_recttwtr']:checked").val(),
|
1007 |
+
rpin = SFSI("input[name='sfsi_plus_rectpinit']:checked").val(),
|
1008 |
+
rfbshare = SFSI("input[name='sfsi_plus_rectfbshare']:checked").val(),
|
1009 |
_ = [];
|
1010 |
+
var sfsi_plus_responsive_icons_end_post = SFSI('input[name="sfsi_plus_responsive_icons_end_post"]:checked').val() || 'no'
|
1011 |
+
|
1012 |
+
var responsive_icons = {
|
1013 |
+
"default_icons": {},
|
1014 |
+
"settings": {}
|
1015 |
+
};
|
1016 |
+
SFSI('.sfsi_plus_responsive_default_icon_container input[type="checkbox"]').each(function (index, obj) {
|
1017 |
+
var data_obj = {};
|
1018 |
+
data_obj.active = ('checked' == SFSI(obj).attr('checked')) ? 'yes' : 'no';
|
1019 |
+
var iconname = SFSI(obj).attr('data-icon');
|
1020 |
+
var next_section = SFSI(obj).parent().parent();
|
1021 |
+
data_obj.text = next_section.find('input[name="sfsi_plus_responsive_' + iconname + '_input"]').val();
|
1022 |
+
data_obj.url = next_section.find('input[name="sfsi_plus_responsive_' + iconname + '_url_input"]').val();
|
1023 |
+
responsive_icons.default_icons[iconname] = data_obj;
|
1024 |
+
});
|
1025 |
+
SFSI('.sfsi_plus_responsive_custom_icon_container input[type="checkbox"]').each(function (index, obj) {
|
1026 |
+
if (SFSI(obj).attr('id') != "sfsi_plus_responsive_custom_new_display") {
|
1027 |
+
var data_obj = {};
|
1028 |
+
data_obj.active = 'checked' == SFSI(obj).attr('checked') ? 'yes' : 'no';
|
1029 |
+
var icon_index = SFSI(obj).attr('data-custom-index');
|
1030 |
+
var next_section = SFSI(obj).parent().parent();
|
1031 |
+
data_obj['added'] = SFSI('input[name="sfsi_plus_responsive_custom_' + index + '_added"]').val();
|
1032 |
+
data_obj.icon = next_section.find('img').attr('src');
|
1033 |
+
data_obj["bg-color"] = next_section.find('.sfsi_plus_bg-color-picker').val();
|
1034 |
+
|
1035 |
+
data_obj.text = next_section.find('input[name="sfsi_plus_responsive_custom_' + icon_index + '_input"]').val();
|
1036 |
+
data_obj.url = next_section.find('input[name="sfsi_plus_responsive_custom_' + icon_index + '_url_input"]').val();
|
1037 |
+
responsive_icons.custom_icons[index] = data_obj;
|
1038 |
+
}
|
1039 |
+
});
|
1040 |
+
responsive_icons.settings.icon_size = SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_size"]').val();
|
1041 |
+
responsive_icons.settings.icon_width_type = SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val();
|
1042 |
+
responsive_icons.settings.icon_width_size = SFSI('input[name="sfsi_plus_responsive_icons_sttings_icon_width_size"]').val();
|
1043 |
+
responsive_icons.settings.edge_type = SFSI('select[name="sfsi_plus_responsive_icons_settings_edge_type"]').val();
|
1044 |
+
responsive_icons.settings.edge_radius = SFSI('select[name="sfsi_plus_responsive_icons_settings_edge_radius"]').val();
|
1045 |
+
responsive_icons.settings.style = SFSI('select[name="sfsi_plus_responsive_icons_settings_style"]').val();
|
1046 |
+
responsive_icons.settings.margin = SFSI('input[name="sfsi_plus_responsive_icons_settings_margin"]').val();
|
1047 |
+
responsive_icons.settings.text_align = SFSI('select[name="sfsi_plus_responsive_icons_settings_text_align"]').val();
|
1048 |
+
responsive_icons.settings.show_count = SFSI('input[name="sfsi_plus_responsive_icon_show_count"]:checked').val();
|
1049 |
+
responsive_icons.settings.counter_color = SFSI('input[name="sfsi_plus_responsive_counter_color"]').val();
|
1050 |
+
responsive_icons.settings.counter_bg_color = SFSI('input[name="sfsi_plus_responsive_counter_bg_color"]').val();
|
1051 |
+
responsive_icons.settings.share_count_text = SFSI('input[name="sfsi_plus_responsive_counter_share_count_text"]').val();
|
1052 |
+
|
1053 |
/*SFSI("#sfsi_plus_Show_popupOn_PageIDs :selected").each(function(s, i) {
|
1054 |
_[s] = SFSI(i).val()
|
1055 |
});*/
|
1056 |
+
console.log(responsive_icons,'testing responsive');
|
1057 |
+
var mst = SFSI("input[name='sfsi_plus_icons_floatMargin_top']").val(),
|
1058 |
+
msb = SFSI("input[name='sfsi_plus_icons_floatMargin_bottom']").val(),
|
1059 |
+
msl = SFSI("input[name='sfsi_plus_icons_floatMargin_left']").val(),
|
1060 |
+
msr = SFSI("input[name='sfsi_plus_icons_floatMargin_right']").val();
|
1061 |
+
|
1062 |
+
var f = {
|
1063 |
+
action: "plus_updateSrcn8",
|
1064 |
+
sfsi_plus_show_via_widget: i,
|
1065 |
+
sfsi_plus_float_on_page: e,
|
1066 |
+
sfsi_plus_float_page_position: t,
|
1067 |
+
sfsi_plus_icons_floatMargin_top: mst,
|
1068 |
+
sfsi_plus_icons_floatMargin_bottom: msb,
|
1069 |
+
sfsi_plus_icons_floatMargin_left: msl,
|
1070 |
+
sfsi_plus_icons_floatMargin_right: msr,
|
1071 |
+
sfsi_plus_place_item_manually: n,
|
1072 |
+
sfsi_plus_place_item_gutenberg: SFSI("input[name='sfsi_plus_place_item_gutenberg']:checked").val(),
|
1073 |
+
sfsi_plus_show_item_onposts: o,
|
1074 |
+
sfsi_plus_display_button_type: a,
|
1075 |
+
sfsi_plus_post_icons_size: r,
|
1076 |
+
sfsi_plus_post_icons_spacing: c,
|
1077 |
+
sfsi_plus_show_Onposts: p,
|
1078 |
+
sfsi_plus_textBefor_icons: v,
|
1079 |
+
sfsi_plus_icons_alignment: x,
|
1080 |
+
sfsi_plus_icons_DisplayCounts: z,
|
1081 |
+
sfsi_plus_display_before_posts: b,
|
1082 |
+
sfsi_plus_display_after_posts: d,
|
1083 |
+
/*sfsi_plus_display_on_postspage: f,
|
1084 |
+
sfsi_plus_display_on_homepage: g*/
|
1085 |
+
sfsi_plus_display_before_blogposts: f,
|
1086 |
+
sfsi_plus_display_after_blogposts: g,
|
1087 |
+
sfsi_plus_rectsub: rsub,
|
1088 |
+
sfsi_plus_rectfb: rfb,
|
1089 |
+
sfsi_plus_recttwtr: rtwr,
|
1090 |
+
sfsi_plus_rectpinit: rpin,
|
1091 |
+
sfsi_plus_rectfbshare: rfbshare,
|
1092 |
+
sfsi_plus_responsive_icons: responsive_icons,
|
1093 |
+
sfsi_plus_responsive_icons_end_post: sfsi_plus_responsive_icons_end_post,
|
1094 |
+
|
1095 |
+
nonce: nonce
|
1096 |
+
};
|
1097 |
SFSI.ajax({
|
1098 |
url: sfsi_plus_ajax_object.ajax_url,
|
1099 |
type: "post",
|
1100 |
data: f,
|
1101 |
dataType: "json",
|
1102 |
async: !0,
|
1103 |
+
success: function (s) {
|
1104 |
+
if (s == "wrong_nonce") {
|
1105 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 8);
|
1106 |
+
sfsiplus_afterLoad();
|
1107 |
+
} else {
|
1108 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 8), sfsipluscollapse("#sfsi_plus_save8")) : sfsiplus_showErrorSuc("error", "Unkown error , please try again", 8), sfsiplus_afterLoad()
|
1109 |
+
}
|
1110 |
+
}
|
|
|
|
|
|
|
1111 |
})
|
1112 |
}
|
1113 |
+
|
1114 |
+
function sfsi_plus_update_step9() {
|
1115 |
+
var nonce = SFSI("#sfsi_plus_save9").attr("data-nonce");
|
1116 |
+
sfsiplus_beForeLoad();
|
1117 |
+
var ie = SFSI("input[name='sfsi_plus_form_adjustment']:checked").val(),
|
1118 |
+
je = SFSI("input[name='sfsi_plus_form_height']").val(),
|
1119 |
+
ke = SFSI("input[name='sfsi_plus_form_width']").val(),
|
1120 |
+
le = SFSI("input[name='sfsi_plus_form_border']:checked").val(),
|
1121 |
+
me = SFSI("input[name='sfsi_plus_form_border_thickness']").val(),
|
1122 |
+
ne = SFSI("input[name='sfsi_plus_form_border_color']").val(),
|
1123 |
+
oe = SFSI("input[name='sfsi_plus_form_background']").val(),
|
1124 |
+
|
1125 |
+
ae = SFSI("input[name='sfsi_plus_form_heading_text']").val(),
|
1126 |
+
be = SFSI("#sfsi_plus_form_heading_font option:selected").val(),
|
1127 |
+
ce = SFSI("#sfsi_plus_form_heading_fontstyle option:selected").val(),
|
1128 |
+
de = SFSI("input[name='sfsi_plus_form_heading_fontcolor']").val(),
|
1129 |
+
ee = SFSI("input[name='sfsi_plus_form_heading_fontsize']").val(),
|
1130 |
+
fe = SFSI("#sfsi_plus_form_heading_fontalign option:selected").val(),
|
1131 |
+
|
1132 |
+
ue = SFSI("input[name='sfsi_plus_form_field_text']").val(),
|
1133 |
+
ve = SFSI("#sfsi_plus_form_field_font option:selected").val(),
|
1134 |
+
we = SFSI("#sfsi_plus_form_field_fontstyle option:selected").val(),
|
1135 |
+
xe = SFSI("input[name='sfsi_plus_form_field_fontcolor']").val(),
|
1136 |
+
ye = SFSI("input[name='sfsi_plus_form_field_fontsize']").val(),
|
1137 |
+
ze = SFSI("#sfsi_plus_form_field_fontalign option:selected").val(),
|
1138 |
+
|
1139 |
+
i = SFSI("input[name='sfsi_plus_form_button_text']").val(),
|
1140 |
+
j = SFSI("#sfsi_plus_form_button_font option:selected").val(),
|
1141 |
+
k = SFSI("#sfsi_plus_form_button_fontstyle option:selected").val(),
|
1142 |
+
l = SFSI("input[name='sfsi_plus_form_button_fontcolor']").val(),
|
1143 |
+
m = SFSI("input[name='sfsi_plus_form_button_fontsize']").val(),
|
1144 |
+
n = SFSI("#sfsi_plus_form_button_fontalign option:selected").val(),
|
1145 |
+
o = SFSI("input[name='sfsi_plus_form_button_background']").val();
|
1146 |
+
|
1147 |
+
var f = {
|
1148 |
+
action: "plus_updateSrcn9",
|
1149 |
+
sfsi_plus_form_adjustment: ie,
|
1150 |
+
sfsi_plus_form_height: je,
|
1151 |
+
sfsi_plus_form_width: ke,
|
1152 |
+
sfsi_plus_form_border: le,
|
1153 |
+
sfsi_plus_form_border_thickness: me,
|
1154 |
+
sfsi_plus_form_border_color: ne,
|
1155 |
+
sfsi_plus_form_background: oe,
|
1156 |
+
|
1157 |
+
sfsi_plus_form_heading_text: ae,
|
1158 |
+
sfsi_plus_form_heading_font: be,
|
1159 |
+
sfsi_plus_form_heading_fontstyle: ce,
|
1160 |
+
sfsi_plus_form_heading_fontcolor: de,
|
1161 |
+
sfsi_plus_form_heading_fontsize: ee,
|
1162 |
+
sfsi_plus_form_heading_fontalign: fe,
|
1163 |
+
|
1164 |
+
sfsi_plus_form_field_text: ue,
|
1165 |
+
sfsi_plus_form_field_font: ve,
|
1166 |
+
sfsi_plus_form_field_fontstyle: we,
|
1167 |
+
sfsi_plus_form_field_fontcolor: xe,
|
1168 |
+
sfsi_plus_form_field_fontsize: ye,
|
1169 |
+
sfsi_plus_form_field_fontalign: ze,
|
1170 |
+
|
1171 |
+
sfsi_plus_form_button_text: i,
|
1172 |
+
sfsi_plus_form_button_font: j,
|
1173 |
+
sfsi_plus_form_button_fontstyle: k,
|
1174 |
+
sfsi_plus_form_button_fontcolor: l,
|
1175 |
+
sfsi_plus_form_button_fontsize: m,
|
1176 |
+
sfsi_plus_form_button_fontalign: n,
|
1177 |
+
sfsi_plus_form_button_background: o,
|
1178 |
+
|
1179 |
+
nonce: nonce
|
1180 |
};
|
1181 |
+
SFSI.ajax({
|
1182 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
1183 |
+
type: "post",
|
1184 |
+
data: f,
|
1185 |
+
dataType: "json",
|
1186 |
+
async: !0,
|
1187 |
+
success: function (s) {
|
1188 |
+
if (s == "wrong_nonce") {
|
1189 |
+
sfsiplus_showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 9);
|
1190 |
+
sfsiplus_afterLoad();
|
1191 |
+
} else {
|
1192 |
+
"success" == s ? (sfsiplus_showErrorSuc("success", "Saved !", 9), sfsipluscollapse("#sfsi_plus_save9"), sfsi_plus_create_suscriber_form()) : sfsiplus_showErrorSuc("error", "Unkown error , please try again", 9),
|
1193 |
+
sfsiplus_afterLoad();
|
1194 |
+
}
|
1195 |
+
}
|
|
|
|
|
|
|
1196 |
});
|
1197 |
}
|
1198 |
+
|
1199 |
+
function sfsiplus_afterIconSuccess(s, nonce) {
|
1200 |
+
if (s.res = "success") {
|
1201 |
+
var i = s.key + 1,
|
1202 |
+
e = s.element,
|
1203 |
+
t = e + 1;
|
1204 |
SFSI("#plus_total_cusotm_icons").val(s.element);
|
1205 |
+
SFSI(".upload-overlay").hide("slow");
|
1206 |
SFSI(".uperror").html("");
|
1207 |
+
sfsiplus_showErrorSuc("success", "Custom Icon updated successfully", 1);
|
1208 |
d = new Date();
|
1209 |
+
|
1210 |
+
SFSI("li.plus_custom:last-child").removeClass("bdr_btm_non");
|
1211 |
+
SFSI("li.plus_custom:last-child").children("span.plus_custom-img").children("img").attr("src", s.img_path + "?" + d.getTime());
|
1212 |
+
SFSI("input[name=plussfsiICON_" + s.key + "]").removeAttr("ele-type");
|
1213 |
SFSI("input[name=plussfsiICON_" + s.key + "]").removeAttr("isnew");
|
1214 |
+
icons_name = SFSI("li.plus_custom:last-child").find("input.styled").attr("name");
|
1215 |
var n = icons_name.split("_");
|
1216 |
+
s.key = s.key, s.img_path += "?" + d.getTime(), 5 > e && SFSI(".plus_icn_listing").append('<li id="plus_c' + i + '" class="plus_custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style="background-position: 0px 0px;"></span><input name="plussfsiICON_' + i + '" type="checkbox" value="yes" class="styled" style="display:none;" element-type="sfsiplus-cusotm-icon" isNew="yes" /></div> <span class="plus_custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="plus_CImg_' + i + '" /> </span> <span class="custom sfsiplus_custom-txt">Custom' + t + ' </span> <div class="sfsiplus_right_info"> <p><span>' + object_name1.It_depends + ':</span> ' + object_name1.Upload_a + '</p><div class="inputWrapper"></div></li>'),
|
1217 |
+
SFSI(".sfsiplus_custom_section").show(), SFSI(".plus_custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url sfsiplus_custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_plus_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
|
1218 |
var o = SFSI("div.plus_custom_m").find("div.mouseover_field").length;
|
1219 |
+
SFSI("div.plus_custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' : '<div class="cHover " ><div class="mouseover_field sfsiplus_custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_plus_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
|
1220 |
+
SFSI("ul.plus_share_icon_order").append('<li class="sfsiplus_custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
|
1221 |
+
SFSI("ul.plus_sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
1222 |
+
|
1223 |
+
SFSI('.banner_custom_icon').show();
|
1224 |
+
SFSI("#plus_c" + s.key).append('<input type="hidden" name="nonce" value="' + nonce + '">');
|
1225 |
+
sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step2(),
|
1226 |
+
sfsi_plus_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_plus_showPreviewCounts(),
|
1227 |
+
sfsiplus_afterLoad();
|
1228 |
}
|
1229 |
}
|
1230 |
+
|
1231 |
+
function sfsiplus_beforeIconSubmit(s) {
|
1232 |
if (SFSI(".uperror").html("Uploading....."), window.File && window.FileReader && window.FileList && window.Blob) {
|
1233 |
SFSI(s).val() || SFSI(".uperror").html("File is empty");
|
1234 |
+
var i = s.files[0].size,
|
1235 |
+
e = s.files[0].type;
|
1236 |
switch (e) {
|
1237 |
+
case "image/png":
|
1238 |
+
case "image/gif":
|
1239 |
+
case "image/jpeg":
|
1240 |
+
case "image/pjpeg":
|
1241 |
+
break;
|
1242 |
+
|
1243 |
+
default:
|
1244 |
+
return SFSI(".uperror").html("Unsupported file"), !1;
|
1245 |
}
|
1246 |
+
return i > 1048576 ? (SFSI(".uperror").html("Image should be less than 1 MB"), !1) : !0;
|
1247 |
}
|
1248 |
return !0;
|
1249 |
}
|
1250 |
+
|
1251 |
+
function sfsiplus_bytesToSize(s) {
|
1252 |
+
var i = ["Bytes", "KB", "MB", "GB", "TB"];
|
1253 |
if (0 == s) return "0 Bytes";
|
1254 |
var e = parseInt(Math.floor(Math.log(s) / Math.log(1024)));
|
1255 |
return Math.round(s / Math.pow(1024, e), 2) + " " + i[e];
|
1256 |
}
|
1257 |
+
|
1258 |
+
function sfsiplus_showErrorSuc(s, i, e) {
|
1259 |
+
if ("error" == s) var t = "errorMsg";
|
1260 |
+
else var t = "sucMsg";
|
1261 |
+
return SFSI(".tab" + e + ">." + t).html(i), SFSI(".tab" + e + ">." + t).show(),
|
1262 |
+
SFSI(".tab" + e + ">." + t).effect("highlight", {}, 5e3), setTimeout(function () {
|
1263 |
+
SFSI("." + t).slideUp("slow");
|
1264 |
+
}, 5e3), !1;
|
1265 |
}
|
1266 |
+
|
1267 |
+
function sfsiplus_beForeLoad() {
|
1268 |
+
SFSI(".loader-img").show(), SFSI(".save_button >a").html("Saving..."), SFSI(".save_button >a").css("pointer-events", "none");
|
1269 |
}
|
1270 |
+
|
1271 |
+
function sfsiplus_afterLoad() {
|
1272 |
+
SFSI("input").removeClass("inputError"), SFSI(".save_button >a").html(object_name.Sa_ve),
|
1273 |
+
SFSI(".tab10>div.save_button >a").html(object_name1.Save_All_Settings),
|
1274 |
+
SFSI(".save_button >a").css("pointer-events", "auto"), SFSI(".save_button >a").removeAttr("onclick"),
|
1275 |
+
SFSI(".loader-img").hide();
|
1276 |
}
|
1277 |
+
|
1278 |
+
function sfsi_plus_make_popBox() {
|
1279 |
var s = 0;
|
1280 |
+
SFSI(".plus_sfsi_sample_icons >li").each(function () {
|
1281 |
+
"none" != SFSI(this).css("display") && (s = 1);
|
1282 |
+
}), 0 == s ? SFSI(".sfsi_plus_Popinner").hide() : SFSI(".sfsi_plus_Popinner").show(), "" != SFSI('input[name="sfsi_plus_popup_text"]').val() ? (SFSI(".sfsi_plus_Popinner >h2").html(SFSI('input[name="sfsi_plus_popup_text"]').val()),
|
1283 |
+
SFSI(".sfsi_plus_Popinner >h2").show()) : SFSI(".sfsi_plus_Popinner >h2").hide(), SFSI(".sfsi_plus_Popinner").css({
|
1284 |
+
"border-color": SFSI('input[name="sfsi_plus_popup_border_color"]').val(),
|
1285 |
+
"border-width": SFSI('input[name="sfsi_plus_popup_border_thickness"]').val(),
|
1286 |
+
"border-style": "solid"
|
1287 |
+
}), SFSI(".sfsi_plus_Popinner").css("background-color", SFSI('input[name="sfsi_plus_popup_background_color"]').val()),
|
1288 |
+
SFSI(".sfsi_plus_Popinner h2").css("font-family", SFSI("#sfsi_plus_popup_font").val()), SFSI(".sfsi_plus_Popinner h2").css("font-style", SFSI("#sfsi_plus_popup_fontStyle").val()),
|
1289 |
+
SFSI(".sfsi_plus_Popinner >h2").css("font-size", parseInt(SFSI('input[name="sfsi_plus_popup_fontSize"]').val())),
|
1290 |
+
SFSI(".sfsi_plus_Popinner >h2").css("color", SFSI('input[name="sfsi_plus_popup_fontColor"]').val() + " !important"),
|
1291 |
+
"yes" == SFSI('input[name="sfsi_plus_popup_border_shadow"]:checked').val() ? SFSI(".sfsi_plus_Popinner").css("box-shadow", "12px 30px 18px #CCCCCC") : SFSI(".sfsi_plus_Popinner").css("box-shadow", "none");
|
1292 |
}
|
1293 |
+
|
1294 |
+
function sfsi_plus_stick_widget(s) {
|
1295 |
+
0 == sfsiplus_initTop.length && (SFSI(".sfsi_plus_widget").each(function (s) {
|
1296 |
sfsiplus_initTop[s] = SFSI(this).position().top;
|
1297 |
}), console.log(sfsiplus_initTop));
|
1298 |
+
var i = SFSI(window).scrollTop(),
|
1299 |
+
e = [],
|
1300 |
+
t = [];
|
1301 |
+
SFSI(".sfsi_plus_widget").each(function (s) {
|
1302 |
e[s] = SFSI(this).position().top, t[s] = SFSI(this);
|
1303 |
});
|
1304 |
var n = !1;
|
1305 |
for (var o in e) {
|
1306 |
var a = parseInt(o) + 1;
|
1307 |
e[o] < i && e[a] > i && a < e.length ? (SFSI(t[o]).css({
|
1308 |
+
position: "fixed",
|
1309 |
+
top: s
|
1310 |
}), SFSI(t[a]).css({
|
1311 |
+
position: "",
|
1312 |
+
top: sfsiplus_initTop[a]
|
1313 |
+
}), n = !0) : SFSI(t[o]).css({
|
1314 |
+
position: "",
|
1315 |
+
top: sfsiplus_initTop[o]
|
1316 |
});
|
1317 |
}
|
1318 |
if (!n) {
|
1319 |
+
var r = e.length - 1,
|
1320 |
+
c = -1;
|
1321 |
e.length > 1 && (c = e.length - 2), sfsiplus_initTop[r] < i ? (SFSI(t[r]).css({
|
1322 |
+
position: "fixed",
|
1323 |
+
top: s
|
1324 |
}), c >= 0 && SFSI(t[c]).css({
|
1325 |
+
position: "",
|
1326 |
+
top: sfsiplus_initTop[c]
|
1327 |
+
})) : (SFSI(t[r]).css({
|
1328 |
+
position: "",
|
1329 |
+
top: sfsiplus_initTop[r]
|
1330 |
}), c >= 0 && e[c] < i);
|
1331 |
}
|
1332 |
}
|
1333 |
+
|
1334 |
+
function sfsi_plus_setCookie(s, i, e) {
|
1335 |
var t = new Date();
|
1336 |
t.setTime(t.getTime() + 1e3 * 60 * 60 * 24 * e);
|
1337 |
var n = "expires=" + t.toGMTString();
|
1338 |
document.cookie = s + "=" + i + "; " + n;
|
1339 |
}
|
1340 |
+
|
1341 |
+
function sfsfi_plus_getCookie(s) {
|
1342 |
for (var i = s + "=", e = document.cookie.split(";"), t = 0; t < e.length; t++) {
|
1343 |
var n = e[t].trim();
|
1344 |
if (0 == n.indexOf(i)) return n.substring(i.length, n.length);
|
1345 |
}
|
1346 |
return "";
|
1347 |
}
|
1348 |
+
|
1349 |
function sfsi_plus_hideFooter() {}
|
1350 |
|
1351 |
+
window.onerror = function () {}, SFSI = jQuery.noConflict(), SFSI(window).on('load', function () {
|
1352 |
SFSI("#sfpluspageLoad").fadeOut(2e3);
|
1353 |
});
|
1354 |
|
1365 |
window.getSelection().addRange(range);
|
1366 |
}
|
1367 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1368 |
|
1369 |
+
function sfsi_plus_create_suscriber_form() {
|
1370 |
+
//Popbox customization
|
1371 |
+
"no" == SFSI('input[name="sfsi_plus_form_adjustment"]:checked').val() ? SFSI(".sfsi_plus_subscribe_Popinner").css({
|
1372 |
+
"width": parseInt(SFSI('input[name="sfsi_plus_form_width"]').val()),
|
1373 |
+
"height": parseInt(SFSI('input[name="sfsi_plus_form_height"]').val())
|
1374 |
+
}) : SFSI(".sfsi_plus_subscribe_Popinner").css({
|
1375 |
+
"width": '',
|
1376 |
+
"height": ''
|
1377 |
+
});
|
1378 |
|
1379 |
+
"yes" == SFSI('input[name="sfsi_plus_form_adjustment"]:checked').val() ? SFSI(".sfsi_plus_html > .sfsi_plus_subscribe_Popinner").css({
|
1380 |
+
"width": "100%"
|
1381 |
+
}) : '';
|
1382 |
+
|
1383 |
+
"yes" == SFSI('input[name="sfsi_plus_form_border"]:checked').val() ? SFSI(".sfsi_plus_subscribe_Popinner").css({
|
1384 |
+
"border": SFSI('input[name="sfsi_plus_form_border_thickness"]').val() + "px solid " + SFSI('input[name="sfsi_plus_form_border_color"]').val()
|
1385 |
+
}) : SFSI(".sfsi_plus_subscribe_Popinner").css("border", "none");
|
1386 |
+
|
1387 |
+
SFSI('input[name="sfsi_plus_form_background"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").css("background-color", SFSI('input[name="sfsi_plus_form_background"]').val())) : '';
|
1388 |
+
|
1389 |
+
//Heading customization
|
1390 |
+
SFSI('input[name="sfsi_plus_form_heading_text"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").html(SFSI('input[name="sfsi_plus_form_heading_text"]').val())) : SFSI(".sfsi_plus_subscribe_Popinner > form > h5").html('');
|
1391 |
+
|
1392 |
+
SFSI('#sfsi_plus_form_heading_font').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-family", SFSI("#sfsi_plus_form_heading_font").val())) : '';
|
1393 |
+
|
1394 |
+
if (SFSI('#sfsi_plus_form_heading_fontstyle').val() != 'bold') {
|
1395 |
+
SFSI('#sfsi_plus_form_heading_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-style", SFSI("#sfsi_plus_form_heading_fontstyle").val())) : '';
|
1396 |
+
SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-weight", '');
|
1397 |
+
} else {
|
1398 |
+
SFSI('#sfsi_plus_form_heading_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-weight", "bold")) : '';
|
1399 |
+
SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("font-style", '');
|
1400 |
+
}
|
1401 |
+
|
1402 |
+
SFSI('input[name="sfsi_plus_form_heading_fontcolor"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("color", SFSI('input[name="sfsi_plus_form_heading_fontcolor"]').val())) : '';
|
1403 |
+
|
1404 |
+
SFSI('input[name="sfsi_plus_form_heading_fontsize"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css({
|
1405 |
+
"font-size": parseInt(SFSI('input[name="sfsi_plus_form_heading_fontsize"]').val())
|
1406 |
+
})) : '';
|
1407 |
+
|
1408 |
+
SFSI('#sfsi_plus_form_heading_fontalign').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner > form > h5").css("text-align", SFSI("#sfsi_plus_form_heading_fontalign").val())) : '';
|
1409 |
+
|
1410 |
+
//Field customization
|
1411 |
+
SFSI('input[name="sfsi_plus_form_field_text"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').attr("placeholder", SFSI('input[name="sfsi_plus_form_field_text"]').val())) : SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').attr("placeholder", '');
|
1412 |
+
|
1413 |
+
SFSI('input[name="sfsi_plus_form_field_text"]').val() != "" ? (SFSI(".sfsi_plus_left_container > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val(SFSI('input[name="sfsi_plus_form_field_text"]').val())) : SFSI(".sfsi_plus_left_container > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val('');
|
1414 |
+
|
1415 |
+
SFSI('input[name="sfsi_plus_form_field_text"]').val() != "" ? (SFSI(".like_pop_box > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val(SFSI('input[name="sfsi_plus_form_field_text"]').val())) : SFSI(".like_pop_box > .sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').val('');
|
1416 |
+
|
1417 |
+
SFSI('#sfsi_plus_form_field_font').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-family", SFSI("#sfsi_plus_form_field_font").val())) : '';
|
1418 |
+
|
1419 |
+
if (SFSI('#sfsi_plus_form_field_fontstyle').val() != "bold") {
|
1420 |
+
SFSI('#sfsi_plus_form_field_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-style", SFSI("#sfsi_plus_form_field_fontstyle").val())) : '';
|
1421 |
+
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-weight", '');
|
1422 |
+
} else {
|
1423 |
+
SFSI('#sfsi_plus_form_field_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-weight", 'bold')) : '';
|
1424 |
+
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-style", '');
|
1425 |
+
}
|
1426 |
+
|
1427 |
+
SFSI('input[name="sfsi_plus_form_field_fontcolor"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("color", SFSI('input[name="sfsi_plus_form_field_fontcolor"]').val())) : '';
|
1428 |
+
|
1429 |
+
SFSI('input[name="sfsi_plus_form_field_fontsize"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css({
|
1430 |
+
"font-size": parseInt(SFSI('input[name="sfsi_plus_form_field_fontsize"]').val())
|
1431 |
+
})) : '';
|
1432 |
+
|
1433 |
+
SFSI('#sfsi_plus_form_field_fontalign').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("text-align", SFSI("#sfsi_plus_form_field_fontalign").val())) : '';
|
1434 |
+
|
1435 |
+
//Button customization
|
1436 |
+
SFSI('input[name="sfsi_plus_form_button_text"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').attr("value", SFSI('input[name="sfsi_plus_form_button_text"]').val())) : '';
|
1437 |
+
|
1438 |
+
SFSI('#sfsi_plus_form_button_font').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-family", SFSI("#sfsi_plus_form_button_font").val())) : '';
|
1439 |
+
|
1440 |
+
if (SFSI('#sfsi_plus_form_button_fontstyle').val() != "bold") {
|
1441 |
+
SFSI('#sfsi_plus_form_button_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-style", SFSI("#sfsi_plus_form_button_fontstyle").val())) : '';
|
1442 |
+
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-weight", '');
|
1443 |
+
} else {
|
1444 |
+
SFSI('#sfsi_plus_form_button_fontstyle').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-weight", 'bold')) : '';
|
1445 |
+
SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("font-style", '');
|
1446 |
+
}
|
1447 |
+
|
1448 |
+
SFSI('input[name="sfsi_plus_form_button_fontcolor"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("color", SFSI('input[name="sfsi_plus_form_button_fontcolor"]').val())) : '';
|
1449 |
+
|
1450 |
+
SFSI('input[name="sfsi_plus_form_button_fontsize"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css({
|
1451 |
+
"font-size": parseInt(SFSI('input[name="sfsi_plus_form_button_fontsize"]').val())
|
1452 |
+
})) : '';
|
1453 |
+
|
1454 |
+
SFSI('#sfsi_plus_form_button_fontalign').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("text-align", SFSI("#sfsi_plus_form_button_fontalign").val())) : '';
|
1455 |
+
|
1456 |
+
SFSI('input[name="sfsi_plus_form_button_background"]').val() != "" ? (SFSI(".sfsi_plus_subscribe_Popinner").find('input[name="subscribe"]').css("background-color", SFSI('input[name="sfsi_plus_form_button_background"]').val())) : '';
|
1457 |
+
|
1458 |
+
var innerHTML = SFSI(".sfsi_plus_html > .sfsi_plus_subscribe_Popinner").html();
|
1459 |
+
var styleCss = SFSI(".sfsi_plus_html > .sfsi_plus_subscribe_Popinner").attr("style");
|
1460 |
+
innerHTML = '<div style="' + styleCss + '">' + innerHTML + '</div>';
|
1461 |
+
SFSI(".sfsi_plus_subscription_html > xmp").html(innerHTML);
|
1462 |
+
|
1463 |
+
/*var data = {
|
1464 |
+
action:"getForm",
|
1465 |
+
heading: SFSI('input[name="sfsi_plus_form_heading_text"]').val(),
|
1466 |
+
placeholder:SFSI('input[name="sfsi_plus_form_field_text"]').val(),
|
1467 |
+
button:SFSI('input[name="sfsi_plus_form_button_text"]').val()
|
1468 |
+
};
|
1469 |
+
SFSI.ajax({
|
1470 |
+
url:sfsi_plus_ajax_object.ajax_url,
|
1471 |
+
type:"post",
|
1472 |
+
data:data,
|
1473 |
+
success:function(s) {
|
1474 |
+
SFSI(".sfsi_plus_subscription_html").html(s);
|
1475 |
+
}
|
1476 |
+
});*/
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
var global_error = 0;
|
1480 |
+
SFSI(document).ready(function (s) {
|
1481 |
+
//changes done {Monad}
|
1482 |
+
|
1483 |
+
SFSI(document).on("click", ".sfsi-notice-dismiss", function () {
|
1484 |
+
|
1485 |
+
SFSI.ajax({
|
1486 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
1487 |
+
type: "post",
|
1488 |
+
data: {
|
1489 |
+
action: "sfsi_plus_dismiss_lang_notice"
|
1490 |
+
},
|
1491 |
+
success: function (e) {
|
1492 |
+
if (false != e) {
|
1493 |
+
SFSI(".sfsi-notice-dismiss").parent().remove();
|
1494 |
+
}
|
1495 |
+
}
|
1496 |
});
|
1497 |
});
|
1498 |
|
1499 |
|
1500 |
+
SFSI(".lanOnchange").change(function () {
|
1501 |
+
var currentDrpdown = SFSI(this).parents(".icons_size");
|
1502 |
+
var nonce = currentDrpdown.find('select').attr('data-nonce');
|
1503 |
+
var data = {
|
1504 |
+
action: "getIconPreview",
|
1505 |
+
iconValue: SFSI(this).val(),
|
1506 |
nonce: nonce,
|
1507 |
+
iconname: SFSI(this).attr("data-iconUrl")
|
1508 |
+
};
|
1509 |
+
SFSI.ajax({
|
1510 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
1511 |
+
type: "post",
|
1512 |
+
data: data,
|
1513 |
+
success: function (s) {
|
1514 |
+
currentDrpdown.children(".social-img-link").html(s);
|
1515 |
+
}
|
1516 |
+
});
|
1517 |
+
});
|
1518 |
+
|
1519 |
+
SFSI(".sfsiplus_tab_3_icns").on("click", ".cstomskins_upload", function () {
|
1520 |
+
SFSI(".cstmskins-overlay").show("slow", function () {
|
1521 |
e = 0;
|
1522 |
});
|
1523 |
+
});
|
1524 |
+
/*SFSI("#custmskin_clspop").live("click", function() {*/
|
1525 |
+
SFSI(document).on("click", '#custmskin_clspop', function () {
|
1526 |
+
var nonce = SFSI(this).attr('data-nonce');
|
1527 |
+
SFSI_plus_done(nonce);
|
1528 |
SFSI(".cstmskins-overlay").hide("slow");
|
1529 |
});
|
1530 |
+
|
1531 |
+
sfsi_plus_create_suscriber_form();
|
1532 |
+
|
1533 |
+
SFSI('input[name="sfsi_plus_form_heading_text"], input[name="sfsi_plus_form_border_thickness"], input[name="sfsi_plus_form_height"], input[name="sfsi_plus_form_width"], input[name="sfsi_plus_form_heading_fontsize"], input[name="sfsi_plus_form_field_text"], input[name="sfsi_plus_form_field_fontsize"], input[name="sfsi_plus_form_button_text"], input[name="sfsi_plus_form_button_fontsize"]').on("keyup", sfsi_plus_create_suscriber_form);
|
1534 |
+
|
1535 |
+
SFSI('input[name="sfsi_plus_form_border_color"], input[name="sfsi_plus_form_background"] ,input[name="sfsi_plus_form_heading_fontcolor"], input[name="sfsi_plus_form_field_fontcolor"] ,input[name="sfsi_plus_form_button_fontcolor"],input[name="sfsi_plus_form_button_background"]').on("focus", sfsi_plus_create_suscriber_form);
|
1536 |
+
|
1537 |
+
SFSI("#sfsi_plus_form_heading_font, #sfsi_plus_form_heading_fontstyle, #sfsi_plus_form_heading_fontalign, #sfsi_plus_form_field_font, #sfsi_plus_form_field_fontstyle, #sfsi_plus_form_field_fontalign, #sfsi_plus_form_button_font, #sfsi_plus_form_button_fontstyle, #sfsi_plus_form_button_fontalign").on("change", sfsi_plus_create_suscriber_form);
|
1538 |
+
|
1539 |
+
/*SFSI(".radio").live("click", function() {*/
|
1540 |
+
SFSI(document).on("click", '.radio', function () {
|
1541 |
var s = SFSI(this).parent().find("input:radio:first");
|
1542 |
+
switch (s.attr("name")) {
|
1543 |
+
case 'sfsi_plus_form_adjustment':
|
1544 |
+
if (s.val() == 'no')
|
1545 |
+
s.parents(".row_tab").next(".row_tab").show("fast");
|
1546 |
+
else
|
1547 |
+
s.parents(".row_tab").next(".row_tab").hide("fast");
|
1548 |
+
sfsi_plus_create_suscriber_form()
|
1549 |
+
break;
|
1550 |
+
case 'sfsi_plus_form_border':
|
1551 |
+
if (s.val() == 'yes')
|
1552 |
+
s.parents(".row_tab").next(".row_tab").show("fast");
|
1553 |
+
else
|
1554 |
+
s.parents(".row_tab").next(".row_tab").hide("fast");
|
1555 |
+
sfsi_plus_create_suscriber_form()
|
1556 |
+
break;
|
1557 |
case 'sfsi_pplus_icons_suppress_errors':
|
1558 |
|
1559 |
SFSI('input[name="sfsi_pplus_icons_suppress_errors"]').removeAttr('checked');
|
1560 |
|
1561 |
+
if (s.val() == 'yes')
|
1562 |
+
SFSI('input[name="sfsi_pplus_icons_suppress_errors"][value="yes"]').prop('checked', 'true');
|
1563 |
else
|
1564 |
+
SFSI('input[name="sfsi_pplus_icons_suppress_errors"][value="no"]').prop('checked', 'true');
|
1565 |
+
break;
|
1566 |
+
case 'sfsi_plus_responsive_icon_show_count':
|
1567 |
+
console.log(s.val());
|
1568 |
+
if("yes"==s.val()){
|
1569 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').show();
|
1570 |
+
}else{
|
1571 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').hide();
|
1572 |
+
}
|
1573 |
+
default:
|
1574 |
+
}
|
1575 |
+
});
|
1576 |
+
//pooja 28-12-2015
|
1577 |
+
SFSI('#sfsi_plus_form_border_color').wpColorPicker({
|
1578 |
+
defaultColor: false,
|
1579 |
+
change: function (event, ui) {
|
1580 |
+
sfsi_plus_create_suscriber_form()
|
1581 |
+
},
|
1582 |
+
clear: function () {
|
1583 |
+
sfsi_plus_create_suscriber_form()
|
1584 |
+
},
|
1585 |
+
hide: true,
|
1586 |
+
palettes: true
|
1587 |
+
}),
|
1588 |
+
SFSI('#sfsi_plus_form_background').wpColorPicker({
|
1589 |
+
defaultColor: false,
|
1590 |
+
change: function (event, ui) {
|
1591 |
+
sfsi_plus_create_suscriber_form()
|
1592 |
+
},
|
1593 |
+
clear: function () {
|
1594 |
+
sfsi_plus_create_suscriber_form()
|
1595 |
+
},
|
1596 |
+
hide: true,
|
1597 |
+
palettes: true
|
1598 |
+
}),
|
1599 |
+
SFSI('#sfsi_plus_form_heading_fontcolor').wpColorPicker({
|
1600 |
+
defaultColor: false,
|
1601 |
+
change: function (event, ui) {
|
1602 |
+
sfsi_plus_create_suscriber_form()
|
1603 |
+
},
|
1604 |
+
clear: function () {
|
1605 |
+
sfsi_plus_create_suscriber_form()
|
1606 |
+
},
|
1607 |
+
hide: true,
|
1608 |
+
palettes: true
|
1609 |
+
}),
|
1610 |
+
SFSI('#sfsi_plus_form_button_fontcolor').wpColorPicker({
|
1611 |
+
defaultColor: false,
|
1612 |
+
change: function (event, ui) {
|
1613 |
+
sfsi_plus_create_suscriber_form()
|
1614 |
+
},
|
1615 |
+
clear: function () {
|
1616 |
+
sfsi_plus_create_suscriber_form()
|
1617 |
+
},
|
1618 |
+
hide: true,
|
1619 |
+
palettes: true
|
1620 |
+
}),
|
1621 |
+
SFSI('#sfsi_plus_form_button_background').wpColorPicker({
|
1622 |
+
defaultColor: false,
|
1623 |
+
change: function (event, ui) {
|
1624 |
+
sfsi_plus_create_suscriber_form()
|
1625 |
+
},
|
1626 |
+
clear: function () {
|
1627 |
+
sfsi_plus_create_suscriber_form()
|
1628 |
+
},
|
1629 |
+
hide: true,
|
1630 |
+
palettes: true
|
1631 |
+
});
|
1632 |
+
/*SFSI("#sfsiPlusFormBorderColor").ColorPicker({
|
1633 |
color:"#f80000",
|
1634 |
onBeforeShow:function() {
|
1635 |
s(this).ColorPickerSetColor(SFSI("#sfsi_plus_form_border_color").val());
|
1749 |
sfsi_plus_create_suscriber_form();
|
1750 |
}
|
1751 |
});*/
|
1752 |
+
//changes done {Monad}
|
1753 |
+
|
1754 |
+
function i() {
|
1755 |
SFSI(".uperror").html(""), sfsiplus_afterLoad();
|
1756 |
var s = SFSI('input[name="' + SFSI("#upload_id").val() + '"]');
|
1757 |
s.removeAttr("checked");
|
1758 |
var i = SFSI(s).parent().find("span:first");
|
1759 |
+
return SFSI(i).css("background-position", "0px 0px"), SFSI(".upload-overlay").hide("slow"),
|
1760 |
+
!1;
|
1761 |
}
|
1762 |
SFSI("#accordion").accordion({
|
1763 |
+
collapsible: !0,
|
1764 |
+
active: !1,
|
1765 |
+
heightStyle: "content",
|
1766 |
+
event: "click",
|
1767 |
+
beforeActivate: function (s, i) {
|
1768 |
+
if (i.newHeader[0]) var e = i.newHeader,
|
1769 |
+
t = e.next(".ui-accordion-content");
|
1770 |
+
else var e = i.oldHeader,
|
1771 |
+
t = e.next(".ui-accordion-content");
|
1772 |
+
var n = "true" == e.attr("aria-selected");
|
1773 |
+
return e.toggleClass("ui-corner-all", n).toggleClass("accordion-header-active ui-state-active ui-corner-top", !n).attr("aria-selected", (!n).toString()),
|
1774 |
+
e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", n).toggleClass("ui-icon-triangle-1-s", !n),
|
1775 |
+
t.toggleClass("accordion-content-active", !n), n ? t.slideUp() : t.slideDown(), !1;
|
1776 |
+
}
|
1777 |
+
}),
|
1778 |
+
SFSI("#accordion1").accordion({
|
1779 |
+
collapsible: !0,
|
1780 |
+
active: !1,
|
1781 |
+
heightStyle: "content",
|
1782 |
+
event: "click",
|
1783 |
+
beforeActivate: function (s, i) {
|
1784 |
+
if (i.newHeader[0]) var e = i.newHeader,
|
1785 |
+
t = e.next(".ui-accordion-content");
|
1786 |
+
else var e = i.oldHeader,
|
1787 |
+
t = e.next(".ui-accordion-content");
|
1788 |
+
var n = "true" == e.attr("aria-selected");
|
1789 |
+
return e.toggleClass("ui-corner-all", n).toggleClass("accordion-header-active ui-state-active ui-corner-top", !n).attr("aria-selected", (!n).toString()),
|
1790 |
+
e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", n).toggleClass("ui-icon-triangle-1-s", !n),
|
1791 |
+
t.toggleClass("accordion-content-active", !n), n ? t.slideUp() : t.slideDown(), !1;
|
1792 |
+
}
|
1793 |
+
}),
|
1794 |
+
|
1795 |
+
SFSI("#accordion2").accordion({
|
1796 |
+
collapsible: !0,
|
1797 |
+
active: !1,
|
1798 |
+
heightStyle: "content",
|
1799 |
+
event: "click",
|
1800 |
+
beforeActivate: function (s, i) {
|
1801 |
+
if (i.newHeader[0]) var e = i.newHeader,
|
1802 |
+
t = e.next(".ui-accordion-content");
|
1803 |
+
else var e = i.oldHeader,
|
1804 |
+
t = e.next(".ui-accordion-content");
|
1805 |
+
var n = "true" == e.attr("aria-selected");
|
1806 |
+
return e.toggleClass("ui-corner-all", n).toggleClass("accordion-header-active ui-state-active ui-corner-top", !n).attr("aria-selected", (!n).toString()),
|
1807 |
+
e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", n).toggleClass("ui-icon-triangle-1-s", !n),
|
1808 |
+
t.toggleClass("accordion-content-active", !n), n ? t.slideUp() : t.slideDown(), !1;
|
1809 |
+
}
|
1810 |
+
}),
|
1811 |
+
SFSI(".closeSec").on("click", function () {
|
1812 |
+
var s = !0,
|
1813 |
+
i = SFSI(this).closest("div.ui-accordion-content").prev("h3.ui-accordion-header").first(),
|
1814 |
+
e = SFSI(this).closest("div.ui-accordion-content").first();
|
1815 |
+
i.toggleClass("ui-corner-all", s).toggleClass("accordion-header-active ui-state-active ui-corner-top", !s).attr("aria-selected", (!s).toString()),
|
1816 |
+
i.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", s).toggleClass("ui-icon-triangle-1-s", !s),
|
1817 |
+
e.toggleClass("accordion-content-active", !s), s ? e.slideUp() : e.slideDown();
|
1818 |
+
}),
|
1819 |
+
SFSI(document).click(function (s) {
|
1820 |
+
var i = SFSI(".sfsi_plus_FrntInner"),
|
1821 |
+
e = SFSI(".sfsi_plus_wDiv"),
|
1822 |
+
t = SFSI("#at15s");
|
1823 |
+
i.is(s.target) || 0 !== i.has(s.target).length || e.is(s.target) || 0 !== e.has(s.target).length || t.is(s.target) || 0 !== t.has(s.target).length || i.fadeOut();
|
1824 |
+
}),
|
1825 |
+
|
1826 |
+
//pooja 28-12-2015
|
1827 |
+
SFSI('#sfsi_plus_popup_background_color').wpColorPicker({
|
1828 |
+
defaultColor: false,
|
1829 |
+
change: function (event, ui) {
|
1830 |
+
sfsi_plus_make_popBox()
|
1831 |
+
},
|
1832 |
+
clear: function () {
|
1833 |
+
sfsi_plus_make_popBox()
|
1834 |
+
},
|
1835 |
+
hide: true,
|
1836 |
+
palettes: true
|
1837 |
+
}),
|
1838 |
+
SFSI('#sfsi_plus_popup_border_color').wpColorPicker({
|
1839 |
+
defaultColor: false,
|
1840 |
+
change: function (event, ui) {
|
1841 |
+
sfsi_plus_make_popBox()
|
1842 |
+
},
|
1843 |
+
clear: function () {
|
1844 |
+
sfsi_plus_make_popBox()
|
1845 |
+
},
|
1846 |
+
hide: true,
|
1847 |
+
palettes: true
|
1848 |
+
}),
|
1849 |
+
SFSI('#sfsi_plus_popup_fontColor').wpColorPicker({
|
1850 |
+
defaultColor: false,
|
1851 |
+
change: function (event, ui) {
|
1852 |
+
sfsi_plus_make_popBox()
|
1853 |
+
},
|
1854 |
+
clear: function () {
|
1855 |
+
sfsi_plus_make_popBox()
|
1856 |
+
},
|
1857 |
+
hide: true,
|
1858 |
+
palettes: true
|
1859 |
+
}),
|
1860 |
+
|
1861 |
+
/*SFSI("#sfsifontCloroPicker").ColorPicker({
|
1862 |
color:"#f80000",
|
1863 |
onBeforeShow:function() {
|
1864 |
s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_fontColor").val());
|
1878 |
sfsi_plus_make_popBox();
|
1879 |
}
|
1880 |
}),*/
|
1881 |
+
SFSI("div.sfsiplusid_linkedin").find(".icon4").find("a").find("img").mouseover(function () {
|
1882 |
+
SFSI(this).attr("src", sfsi_plus_ajax_object.plugin_url + "images/visit_icons/linkedIn_hover.svg");
|
1883 |
+
}),
|
1884 |
+
SFSI("div.sfsiplusid_linkedin").find(".icon4").find("a").find("img").mouseleave(function () {
|
1885 |
+
SFSI(this).attr("src", sfsi_plus_ajax_object.plugin_url + "images/visit_icons/linkedIn.svg");
|
1886 |
+
}),
|
1887 |
+
SFSI("div.sfsiplusid_youtube").find(".icon1").find("a").find("img").mouseover(function () {
|
1888 |
+
SFSI(this).attr("src", sfsi_plus_ajax_object.plugin_url + "images/visit_icons/youtube_hover.svg");
|
1889 |
+
}),
|
1890 |
+
SFSI("div.sfsiplusid_youtube").find(".icon1").find("a").find("img").mouseleave(function () {
|
1891 |
+
SFSI(this).attr("src", sfsi_plus_ajax_object.plugin_url + "images/visit_icons/youtube.svg");
|
1892 |
+
}),
|
1893 |
+
SFSI("div.sfsiplusid_facebook").find(".icon1").find("a").find("img").mouseover(function () {
|
1894 |
+
SFSI(this).css("opacity", "0.9");
|
1895 |
+
}),
|
1896 |
+
SFSI("div.sfsiplusid_facebook").find(".icon1").find("a").find("img").mouseleave(function () {
|
1897 |
+
SFSI(this).css("opacity", "1");
|
1898 |
+
/*{Monad}*/
|
1899 |
+
}),
|
1900 |
+
SFSI("div.sfsiplusid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function () {
|
1901 |
+
SFSI(this).css("opacity", "0.9");
|
1902 |
+
}),
|
1903 |
+
SFSI("div.sfsiplusid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function () {
|
1904 |
+
SFSI(this).css("opacity", "1");
|
1905 |
+
}),
|
1906 |
+
|
1907 |
+
//pooja 28-12-2015
|
1908 |
+
|
1909 |
+
/*SFSI("#sfsiBackgroundColorPicker").ColorPicker({
|
1910 |
color:"#f80000",
|
1911 |
onBeforeShow:function() {
|
1912 |
s(this).ColorPickerSetColor(SFSI("#sfsi_plus_popup_background_color").val());
|
1946 |
sfsi_plus_make_popBox();
|
1947 |
}
|
1948 |
}),*/
|
1949 |
+
SFSI("#sfsi_plus_save1").on("click", function () {
|
1950 |
+
sfsi_plus_update_step1() && sfsipluscollapse(this);
|
1951 |
+
}),
|
1952 |
+
SFSI("#sfsi_plus_save2").on("click", function () {
|
1953 |
+
sfsi_plus_update_step2() && sfsipluscollapse(this);
|
1954 |
+
}),
|
1955 |
+
SFSI("#sfsi_plus_save3").on("click", function () {
|
1956 |
+
sfsi_plus_update_step3() && sfsipluscollapse(this);
|
1957 |
+
}),
|
1958 |
+
SFSI("#sfsi_plus_save4").on("click", function () {
|
1959 |
+
sfsi_plus_update_step4() && sfsipluscollapse(this);
|
1960 |
+
}),
|
1961 |
+
SFSI("#sfsi_plus_save5").on("click", function () {
|
1962 |
+
sfsi_plus_update_step5() && sfsipluscollapse(this);
|
1963 |
+
}),
|
1964 |
+
SFSI("#sfsi_plus_save6").on("click", function () {
|
1965 |
+
sfsi_plus_update_step6() && sfsipluscollapse(this);
|
1966 |
+
}),
|
1967 |
+
SFSI("#sfsi_plus_save7").on("click", function () {
|
1968 |
+
sfsi_plus_update_step7() && sfsipluscollapse(this);
|
1969 |
+
}),
|
1970 |
+
SFSI("#sfsi_plus_save8").on("click", function () {
|
1971 |
+
sfsi_plus_update_step8() && sfsipluscollapse(this);
|
1972 |
+
}),
|
1973 |
+
SFSI("#sfsi_plus_save9").on("click", function () {
|
1974 |
+
sfsi_plus_update_step9() && sfsipluscollapse(this);
|
1975 |
+
}),
|
1976 |
+
SFSI("#sfsi_plus_worker_plugin").on("click", function () {
|
1977 |
+
sfsi_plus_worker_plugin();
|
1978 |
+
}),
|
1979 |
+
SFSI("#save_plus_all_settings").on("click", function () {
|
1980 |
+
return SFSI("#save_plus_all_settings").text("Saving.."), SFSI(".save_button >a").css("pointer-events", "none"),
|
1981 |
+
sfsi_plus_update_step1(), sfsi_plus_update_step9(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "Which icons do you want to show on your site?" tab.', 8),
|
1982 |
+
global_error = 0, !1) : (sfsi_plus_update_step2(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "What do you want the icons to do?" tab.', 8),
|
1983 |
+
global_error = 0, !1) : (sfsi_plus_update_step3(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "What design & animation do you want to give your icons?" tab.', 8),
|
1984 |
+
global_error = 0, !1) : (sfsi_plus_update_step4(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "Do you want to display "counts" next to your icons?" tab.', 8),
|
1985 |
+
global_error = 0, !1) : (sfsi_plus_update_step5(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "Any other wishes for your main icons?" tab.', 8),
|
1986 |
+
global_error = 0, !1) : (sfsi_plus_update_step6(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "Do you want to display icons at the end of every post?" tab.', 8),
|
1987 |
+
global_error = 0, !1) : (sfsi_plus_update_step7(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "Do you want to display a pop-up, asking people to subscribe?" tab.', 8),
|
1988 |
+
global_error = 0, !1) : sfsi_plus_update_step8(), 1 == global_error ? (sfsiplus_showErrorSuc("error", 'Some Selection error in "Where shall they be displayed?" tab.', 8),
|
1989 |
+
/*global_error = 0, !1) :void (0 == global_error && sfsiplus_showErrorSuc("success", 'Saved! Now go to the <a href="widgets.php">widget</a> area and place the widget into your sidebar (if not done already)', 8))))))));*/
|
1990 |
+
global_error = 0, !1) : void(0 == global_error && sfsiplus_showErrorSuc("success", '', 8))))))));
|
1991 |
+
}),
|
1992 |
+
/*SFSI(".fileUPInput").live("change", function() {*/
|
1993 |
+
SFSI(document).on("change", '.fileUPInput', function () {
|
1994 |
+
sfsiplus_beForeLoad(), sfsiplus_beforeIconSubmit(this) && (SFSI(".upload-overlay").css("pointer-events", "none"),
|
1995 |
+
SFSI("#customIconFrm").ajaxForm({
|
1996 |
+
dataType: "json",
|
1997 |
+
success: sfsiplus_afterIconSuccess,
|
1998 |
+
resetForm: !0
|
1999 |
+
}).submit());
|
2000 |
+
}),
|
2001 |
+
SFSI(".pop-up").on("click", function () {
|
2002 |
+
("fbex-s2" == SFSI(this).attr("data-id") || "linkex-s2" == SFSI(this).attr("data-id")) && (SFSI("." + SFSI(this).attr("data-id")).hide(),
|
2003 |
+
SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")),
|
2004 |
+
SFSI("." + SFSI(this).attr("data-id")).show("slow");
|
2005 |
+
}),
|
2006 |
+
/*SFSI("#close_popup").live("click", function() {*/
|
2007 |
+
SFSI(document).on("click", '#close_popup', function () {
|
2008 |
+
SFSI(".read-overlay").hide("slow");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009 |
});
|
2010 |
+
var e = 0;
|
2011 |
+
SFSI(".plus_icn_listing").on("click", ".checkbox", function () {
|
2012 |
+
if (1 == e) return !1;
|
2013 |
+
"yes" == SFSI(this).attr("dynamic_ele") && (s = SFSI(this).parent().find("input:checkbox:first"),
|
2014 |
+
s.is(":checked") ? SFSI(s).attr("checked", !1) : SFSI(s).attr("checked", !0)), s = SFSI(this).parent().find("input:checkbox:first"),
|
2015 |
+
"yes" == SFSI(s).attr("isNew") && ("0px 0px" == SFSI(this).css("background-position") ? (SFSI(s).attr("checked", !0),
|
2016 |
+
SFSI(this).css("background-position", "0px -36px")) : (SFSI(s).removeAttr("checked", !0),
|
2017 |
+
SFSI(this).css("background-position", "0px 0px")));
|
2018 |
+
var s = SFSI(this).parent().find("input:checkbox:first");
|
2019 |
+
if (s.is(":checked") && "sfsiplus-cusotm-icon" == s.attr("element-type")) SFSI(".fileUPInput").attr("name", "custom_icons[]"),
|
2020 |
+
SFSI(".upload-overlay").show("slow", function () {
|
2021 |
+
e = 0;
|
2022 |
+
}),
|
2023 |
+
SFSI("#upload_id").val(s.attr("name"));
|
2024 |
+
else if (!s.is(":checked") && "sfsiplus-cusotm-icon" == s.attr("element-type")) return s.attr("ele-type") ? (SFSI(this).attr("checked", !0),
|
2025 |
+
SFSI(this).css("background-position", "0px -36px"), e = 0, !1) : confirm("Are you sure want to delete this Icon..?? ") ? "suc" == sfsi_plus_delete_CusIcon(this, s) ? (s.attr("checked", !1),
|
2026 |
+
SFSI(this).css("background-position", "0px 0px"), e = 0, !1) : (e = 0, !1) : (s.attr("checked", !0),
|
2027 |
+
SFSI(this).css("background-position", "0px -36px"), e = 0, !1);
|
2028 |
+
}),
|
2029 |
+
SFSI(".plus_icn_listing").on("click", ".checkbox", function () {
|
2030 |
+
checked = SFSI(this).parent().find("input:checkbox:first"), "sfsi_plus_email_display" != checked.attr("name") || checked.is(":checked") || SFSI(".demail-1").show("slow");
|
2031 |
+
}),
|
2032 |
+
SFSI("#deac_email2").on("click", function () {
|
2033 |
+
SFSI(".demail-1").hide("slow"), SFSI(".demail-2").show("slow");
|
2034 |
+
}),
|
2035 |
+
SFSI("#deac_email3").on("click", function () {
|
2036 |
+
SFSI(".demail-2").hide("slow"), SFSI(".demail-3").show("slow");
|
2037 |
+
}),
|
2038 |
+
SFSI(".hideemailpop").on("click", function () {
|
2039 |
+
SFSI('input[name="sfsi_plus_email_display"]').attr("checked", !0),
|
2040 |
+
SFSI('input[name="sfsi_plus_email_display"]').parent().find("span:first").css("background-position", "0px -36px"),
|
2041 |
+
SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"), SFSI(".demail-3").hide("slow");
|
2042 |
+
}),
|
2043 |
+
SFSI(".hidePop").on("click", function () {
|
2044 |
+
SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"), SFSI(".demail-3").hide("slow");
|
2045 |
+
}),
|
2046 |
+
SFSI(".sfsiplus_activate_footer").on("click", function () {
|
2047 |
+
var nonce = SFSI(this).attr("data-nonce");
|
2048 |
+
SFSI(this).text("activating....");
|
2049 |
+
var s = {
|
2050 |
+
action: "plus_activateFooter",
|
2051 |
+
nonce: nonce
|
2052 |
+
};
|
2053 |
+
SFSI.ajax({
|
2054 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
2055 |
+
type: "post",
|
2056 |
+
data: s,
|
2057 |
+
dataType: "json",
|
2058 |
+
success: function (s) {
|
2059 |
+
if (s.res == "wrong_nonce") {
|
2060 |
+
SFSI(".sfsiplus_activate_footer").css("font-size", "18px");
|
2061 |
+
SFSI(".sfsiplus_activate_footer").text("Unauthorised Request, Try again after refreshing page");
|
2062 |
+
} else {
|
2063 |
+
"success" == s.res && (SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"),
|
2064 |
+
SFSI(".demail-3").hide("slow"), SFSI(".sfsiplus_activate_footer").text("Ok, activate link"));
|
2065 |
+
}
|
2066 |
+
}
|
2067 |
});
|
2068 |
+
}),
|
2069 |
+
SFSI(".sfsiplus_removeFooter").on("click", function () {
|
2070 |
+
var nonce = SFSI(this).attr("data-nonce");
|
2071 |
+
SFSI(this).text("working....");
|
2072 |
+
var s = {
|
2073 |
+
action: "plus_removeFooter",
|
2074 |
+
nonce: nonce
|
2075 |
+
};
|
2076 |
+
SFSI.ajax({
|
2077 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
2078 |
+
type: "post",
|
2079 |
+
data: s,
|
2080 |
+
dataType: "json",
|
2081 |
+
success: function (s) {
|
2082 |
+
if (s.res == "wrong_nonce") {
|
2083 |
+
SFSI(".sfsiplus_removeFooter").text("Unauthorised Request, Try again after refreshing page");
|
2084 |
+
} else {
|
2085 |
+
"success" == s.res && (SFSI(".sfsiplus_removeFooter").fadeOut("slow"), SFSI(".sfsiplus_footerLnk").fadeOut("slow"));
|
2086 |
+
}
|
2087 |
+
}
|
2088 |
+
});
|
2089 |
+
}),
|
2090 |
+
/*SFSI(".radio").live("click", function() {*/
|
2091 |
+
SFSI(document).on("click", '.radio', function () {
|
2092 |
+
var s = SFSI(this).parent().find("input:radio:first");
|
2093 |
+
"sfsi_plus_display_counts" == s.attr("name") && sfsi_plus_show_counts();
|
2094 |
+
}),
|
2095 |
+
SFSI("#close_Uploadpopup").on("click", i), /*SFSI(".radio").live("click", function() {*/ SFSI(document).on("click", '.radio', function () {
|
2096 |
+
var s = SFSI(this).parent().find("input:radio:first");
|
2097 |
+
"sfsi_plus_show_Onposts" == s.attr("name") && sfsi_plus_show_OnpostsDisplay();
|
2098 |
+
}),
|
2099 |
+
sfsi_plus_show_OnpostsDisplay(),
|
2100 |
+
sfsi_plus_depened_sections(),
|
2101 |
+
sfsi_plus_show_counts(),
|
2102 |
+
sfsi_plus_showPreviewCounts(),
|
2103 |
+
SFSI(".plus_share_icon_order").sortable({
|
2104 |
+
update: function () {
|
2105 |
+
SFSI(".plus_share_icon_order li").each(function () {
|
2106 |
+
SFSI(this).attr("data-index", SFSI(this).index() + 1);
|
2107 |
+
});
|
2108 |
+
},
|
2109 |
+
revert: !0
|
2110 |
+
}),
|
2111 |
+
|
2112 |
+
//*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post STARTS -------------------------------------//
|
2113 |
+
|
2114 |
+
SFSI(document).on("click", '.checkbox', function () {
|
2115 |
+
|
2116 |
+
var s = SFSI(this).parent().find("input:checkbox:first");
|
2117 |
+
|
2118 |
+
var inputName = s.attr('name');
|
2119 |
+
var inputChecked = s.attr("checked");
|
2120 |
+
|
2121 |
+
switch (inputName) {
|
2122 |
+
|
2123 |
+
case "sfsi_custom_social_hide":
|
2124 |
+
|
2125 |
+
var backgroundPos = jQuery(this).css('background-position').split(" ");
|
2126 |
+
|
2127 |
+
var xPos = backgroundPos[0],
|
2128 |
+
yPos = backgroundPos[1];
|
2129 |
+
var val = (yPos == "0px") ? "no" : "yes";
|
2130 |
+
SFSI('input[name="sfsi_plus_custom_social_hide"]').val(val);
|
2131 |
|
2132 |
+
break;
|
2133 |
|
2134 |
+
case 'sfsi_plus_mouseOver':
|
2135 |
|
2136 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2137 |
|
2138 |
+
var togglelem = SFSI('.mouse-over-effects');
|
|
|
2139 |
|
2140 |
+
if (inputChecked) {
|
2141 |
+
togglelem.removeClass('hide').addClass('show');
|
2142 |
+
} else {
|
2143 |
+
togglelem.removeClass('show').addClass('hide');
|
2144 |
+
}
|
2145 |
|
2146 |
+
break;
|
2147 |
+
}
|
2148 |
|
2149 |
+
});
|
2150 |
|
2151 |
+
//*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post CLOSES -------------------------------------//
|
|
|
|
|
|
|
|
|
|
|
2152 |
|
2153 |
+
/*SFSI(".radio").live("click", function() {*/
|
2154 |
+
SFSI(document).on("click", '.radio', function () {
|
2155 |
+
var s = SFSI(this).parent().find("input:radio:first");
|
2156 |
+
"sfsi_plus_email_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_email_countsDisplay"]').prop("checked", !0),
|
2157 |
+
SFSI('input[name="sfsi_plus_email_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2158 |
+
"manual" == SFSI("input[name='sfsi_plus_email_countsFrom']:checked").val() ? SFSI("input[name='sfsi_plus_email_manualCounts']").slideDown() : SFSI("input[name='sfsi_plus_email_manualCounts']").slideUp()),
|
2159 |
+
"sfsi_plus_facebook_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_facebook_countsDisplay"]').prop("checked", !0),
|
2160 |
+
SFSI('input[name="sfsi_plus_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2161 |
+
"mypage" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_facebook_mypageCounts']").slideDown(), SFSI(".sfsiplus_fbpgidwpr").slideDown()) : (SFSI("input[name='sfsi_plus_facebook_mypageCounts']").slideUp(), SFSI(".sfsiplus_fbpgidwpr").slideUp()),
|
2162 |
+
"manual" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val() ? SFSI("input[name='sfsi_plus_facebook_manualCounts']").slideDown() : SFSI("input[name='sfsi_plus_facebook_manualCounts']").slideUp()),
|
2163 |
+
"sfsi_plus_facebook_countsFrom" == s.attr("name") && (("mypage" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val() || "likes" == SFSI("input[name='sfsi_plus_facebook_countsFrom']:checked").val()) ? (SFSI(".sfsi_plus_facebook_pagedeasc").slideDown()) : (SFSI(".sfsi_plus_facebook_pagedeasc").slideUp())),
|
2164 |
+
|
2165 |
+
|
2166 |
+
"sfsi_plus_twitter_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_twitter_countsDisplay"]').prop("checked", !0),
|
2167 |
+
SFSI('input[name="sfsi_plus_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2168 |
+
"manual" == SFSI("input[name='sfsi_plus_twitter_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideDown(),
|
2169 |
+
SFSI(".tw_follow_options").slideUp()) : (SFSI("input[name='sfsi_plus_twitter_manualCounts']").slideUp(),
|
2170 |
+
SFSI(".tw_follow_options").slideDown())), "sfsi_plus_linkedIn_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').prop("checked", !0),
|
2171 |
+
SFSI('input[name="sfsi_plus_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2172 |
+
"manual" == SFSI("input[name='sfsi_plus_linkedIn_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideDown(),
|
2173 |
+
SFSI(".linkedIn_options").slideUp()) : (SFSI("input[name='sfsi_plus_linkedIn_manualCounts']").slideUp(),
|
2174 |
+
SFSI(".linkedIn_options").slideDown())), "sfsi_plus_youtube_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_youtube_countsDisplay"]').prop("checked", !0),
|
2175 |
+
SFSI('input[name="sfsi_plus_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2176 |
+
"manual" == SFSI("input[name='sfsi_plus_youtube_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_youtube_manualCounts']").slideDown(),
|
2177 |
+
SFSI(".youtube_options").slideUp()) : (SFSI("input[name='sfsi_plus_youtube_manualCounts']").slideUp(),
|
2178 |
+
SFSI(".youtube_options").slideDown())), "sfsi_plus_pinterest_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_pinterest_countsDisplay"]').prop("checked", !0),
|
2179 |
+
SFSI('input[name="sfsi_plus_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2180 |
+
"manual" == SFSI("input[name='sfsi_plus_pinterest_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideDown(),
|
2181 |
+
SFSI(".pin_options").slideUp()) : SFSI("input[name='sfsi_plus_pinterest_manualCounts']").slideUp()),
|
2182 |
+
"sfsi_plus_instagram_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').prop("checked", !0),
|
2183 |
+
SFSI('input[name="sfsi_plus_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style", "background-position:0px -36px;"),
|
2184 |
+
"manual" == SFSI("input[name='sfsi_plus_instagram_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideDown(),
|
2185 |
+
SFSI(".instagram_userLi").slideUp()) : (SFSI("input[name='sfsi_plus_instagram_manualCounts']").slideUp(),
|
2186 |
+
SFSI(".instagram_userLi").slideDown()))
|
2187 |
+
}), sfsi_plus_make_popBox(), SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("keyup", sfsi_plus_make_popBox),
|
2188 |
+
SFSI('input[name="sfsi_plus_popup_text"] ,input[name="sfsi_plus_popup_background_color"],input[name="sfsi_plus_popup_border_color"],input[name="sfsi_plus_popup_border_thickness"],input[name="sfsi_plus_popup_fontSize"],input[name="sfsi_plus_popup_fontColor"]').on("focus", sfsi_plus_make_popBox),
|
2189 |
+
SFSI("#sfsi_plus_popup_font ,#sfsi_plus_popup_fontStyle").on("change", sfsi_plus_make_popBox),
|
2190 |
+
/*SFSI(".radio").live("click", function() {*/
|
2191 |
+
SFSI(document).on("click", '.radio', function () {
|
2192 |
+
var s = SFSI(this).parent().find("input:radio:first");
|
2193 |
+
"sfsi_plus_popup_border_shadow" == s.attr("name") && sfsi_plus_make_popBox();
|
2194 |
+
}), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function (s) {
|
2195 |
+
s.stopPropagation();
|
2196 |
+
var i = SFSI("#sfsi_plus_floater_sec").val();
|
2197 |
+
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
2198 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
2199 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
2200 |
+
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
2201 |
+
"z-index": "999"
|
2202 |
+
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2203 |
+
opacity: 1,
|
2204 |
+
"z-index": 10
|
2205 |
+
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
2206 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2207 |
+
opacity: 1,
|
2208 |
+
"z-index": 10
|
2209 |
+
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
2210 |
+
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2211 |
+
opacity: 1,
|
2212 |
+
"z-index": 10
|
2213 |
+
})), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
2214 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
2215 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2216 |
+
opacity: 1,
|
2217 |
+
"z-index": 10
|
2218 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) : (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
2219 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
2220 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2221 |
+
opacity: 1,
|
2222 |
+
"z-index": 1e3
|
2223 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
2224 |
+
}) : SFSI("img.sfsi_wicon").on("mouseenter", function () {
|
2225 |
+
var s = SFSI("#sfsi_plus_floater_sec").val();
|
2226 |
+
SFSI("div.sfsi_plus_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide(),
|
2227 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_tool_tip_2").css("z-index", "0"),
|
2228 |
+
SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_plus_wicons").find(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide()),
|
2229 |
+
SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
|
2230 |
+
"z-index": "999"
|
2231 |
+
}), SFSI(this).attr("effect") && "fade_in" == SFSI(this).attr("effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2232 |
+
opacity: 1,
|
2233 |
+
"z-index": 10
|
2234 |
+
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "scale" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
2235 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2236 |
+
opacity: 1,
|
2237 |
+
"z-index": 10
|
2238 |
+
}), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("effect") && "combo" == SFSI(this).attr("effect") && (SFSI(this).parent().addClass("scale"),
|
2239 |
+
SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2240 |
+
opacity: 1,
|
2241 |
+
"z-index": 10
|
2242 |
+
})), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_plus_floater").length > 0 && "sfsi_plus_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").addClass("sfsi_plc_btm"),
|
2243 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
|
2244 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2245 |
+
opacity: 1,
|
2246 |
+
"z-index": 10
|
2247 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show()) : (SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
|
2248 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").removeClass("sfsi_plc_btm"),
|
2249 |
+
SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").css({
|
2250 |
+
opacity: 1,
|
2251 |
+
"z-index": 10
|
2252 |
+
}), SFSI(this).parentsUntil("div").siblings("div.sfsi_plus_tool_tip_2").show());
|
2253 |
+
}), SFSI("div.sfsi_plus_wicons").on("mouseleave", function () {
|
2254 |
+
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "fade_in" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
2255 |
+
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "scale" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"),
|
2256 |
+
SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && "combo" == SFSI(this).children("div.sfsiplus_inerCnt").children("a.sficn").attr("effect") && (SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").css("opacity", "0.6"),
|
2257 |
+
SFSI(this).children("div.sfsiplus_inerCnt").find("a.sficn").removeClass("scale"))
|
2258 |
+
}),
|
2259 |
+
SFSI("body").on("click", function () {
|
2260 |
+
SFSI(".sfsiplus_inerCnt").find("div.sfsi_plus_tool_tip_2").hide();
|
2261 |
+
}),
|
2262 |
+
SFSI(".adminTooltip >a").on("mouseenter", function () {
|
2263 |
+
SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "1"),
|
2264 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").show();
|
2265 |
+
}),
|
2266 |
+
SFSI(".adminTooltip").on("mouseleave", function () {
|
2267 |
+
"none" != SFSI(".sfsi_plus_gpls_tool_bdr").css("display") && 0 != SFSI(".sfsi_plus_gpls_tool_bdr").css("opacity") ? SFSI(".pop_up_box ").on("click", function () {
|
2268 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"), SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide();
|
2269 |
+
}) : (SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").css("opacity", "0"),
|
2270 |
+
SFSI(this).parent("div").find("div.sfsi_plus_tool_tip_2_inr").hide());
|
2271 |
+
}),
|
2272 |
+
SFSI(".expand-area").on("click", function () {
|
2273 |
+
object_name.Re_ad == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
|
2274 |
+
SFSI(this).text(object_name1.Coll_apse)) : (SFSI(this).siblings("p").children("label").fadeOut("slow"),
|
2275 |
+
SFSI(this).text(object_name.Re_ad));
|
2276 |
+
}),
|
2277 |
+
/*SFSI(".radio").live("click", function(){*/
|
2278 |
+
SFSI(document).on("click", '.radio', function () {
|
2279 |
+
var s = SFSI(this).parent().find("input:radio:first");
|
2280 |
+
"sfsi_plus_icons_float" == s.attr("name") && "yes" == s.val() && (SFSI(".float_options").slideDown("slow"),
|
2281 |
+
SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').attr("checked", !0), SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').removeAttr("checked"),
|
2282 |
+
SFSI('input[name="sfsi_plus_icons_stick"][value="no"]').parent().find("span").attr("style", "background-position:0px -41px;"),
|
2283 |
+
SFSI('input[name="sfsi_plus_icons_stick"][value="yes"]').parent().find("span").attr("style", "background-position:0px -0px;")),
|
2284 |
+
("sfsi_plus_icons_stick" == s.attr("name") && "yes" == s.val() || "sfsi_plus_icons_float" == s.attr("name") && "no" == s.val()) && (SFSI(".float_options").slideUp("slow"),
|
2285 |
+
SFSI('input[name="sfsi_plus_icons_float"][value="no"]').prop("checked", !0), SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').prop("checked", !1),
|
2286 |
+
SFSI('input[name="sfsi_plus_icons_float"][value="no"]').parent().find("span.radio").attr("style", "background-position:0px -41px;"),
|
2287 |
+
SFSI('input[name="sfsi_plus_icons_float"][value="yes"]').parent().find("span.radio").attr("style", "background-position:0px -0px;"));
|
2288 |
+
}),
|
2289 |
+
SFSI(".sfsi_plus_wDiv").length > 0 && setTimeout(function () {
|
2290 |
+
var s = parseInt(SFSI(".sfsi_plus_wDiv").height()) + 0 + "px";
|
2291 |
+
SFSI(".sfsi_plus_holders").each(function () {
|
2292 |
+
SFSI(this).css("height", s);
|
2293 |
+
});
|
2294 |
+
}, 200),
|
2295 |
+
/*SFSI(".checkbox").live("click", function() {*/
|
2296 |
+
SFSI(document).on("click", '.checkbox', function () {
|
2297 |
+
var s = SFSI(this).parent().find("input:checkbox:first");
|
2298 |
+
("sfsi_plus_shuffle_Firstload" == s.attr("name") && "checked" == s.attr("checked") || "sfsi_plus_shuffle_interval" == s.attr("name") && "checked" == s.attr("checked")) && (SFSI('input[name="sfsi_plus_shuffle_icons"]').parent().find("span").css("background-position", "0px -36px"),
|
2299 |
+
SFSI('input[name="sfsi_plus_shuffle_icons"]').attr("checked", "checked")), "sfsi_plus_shuffle_icons" == s.attr("name") && "checked" != s.attr("checked") && (SFSI('input[name="sfsi_plus_shuffle_Firstload"]').removeAttr("checked"),
|
2300 |
+
SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position", "0px 0px"),
|
2301 |
+
SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"), SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position", "0px 0px"));
|
2302 |
+
});
|
2303 |
|
2304 |
+
SFSI("body").on("click", "#getMeFullAccess", function () {
|
2305 |
+
var email = SFSI(this).parents("form").find("input[type='email']").val();
|
2306 |
+
var feedid = SFSI(this).parents("form").find("input[name='feedid']").val();
|
2307 |
+
var error = false;
|
2308 |
+
var regEx = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
|
2309 |
|
2310 |
+
if (email === '') {
|
2311 |
+
error = true;
|
2312 |
+
}
|
|
|
|
|
|
|
|
|
|
|
2313 |
|
2314 |
+
if (!regEx.test(email)) {
|
2315 |
+
error = true;
|
2316 |
+
}
|
2317 |
|
2318 |
+
if (!error) {
|
2319 |
+
SFSI(this).parents("form").submit();
|
2320 |
+
} else {
|
2321 |
+
alert("Error: Please provide your email address.");
|
2322 |
+
}
|
2323 |
});
|
2324 |
|
2325 |
+
SFSI('form#calimingOptimizationForm').on('keypress', function (e) {
|
2326 |
+
var keyCode = e.keyCode || e.which;
|
2327 |
+
if (keyCode === 13) {
|
2328 |
+
e.preventDefault();
|
2329 |
+
return false;
|
2330 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2331 |
});
|
2332 |
+
|
2333 |
+
/*SFSI(".checkbox").live("click", function()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2334 |
{
|
2335 |
var s = SFSI(this).parent().find("input:checkbox:first");
|
2336 |
"sfsi_plus_float_on_page" == s.attr("name") && "yes" == s.val() && (
|
2348 |
SFSI('input[name="sfsi_plus_float_on_page"][value="yes"]').parent().find("span.checkbox").attr("style", "background-position:0px -0px;"),
|
2349 |
jQuery(a).children(".checkbox").css("background-position", "0px 0px" ), sfsiplus_toggleflotpage(a));
|
2350 |
});*/
|
2351 |
+
SFSI(document).on("click", ".sfsi_plus-AddThis-notice-dismiss", function () {
|
2352 |
SFSI.ajax({
|
2353 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
2354 |
+
type: "post",
|
2355 |
+
data: {
|
2356 |
+
action: "sfsi_plus_dismiss_addThis_icon_notice"
|
2357 |
+
},
|
2358 |
+
success: function (e) {
|
2359 |
+
if (false != e) {
|
2360 |
SFSI(".sfsi_plus-AddThis-notice-dismiss").parent().remove();
|
2361 |
}
|
2362 |
}
|
2363 |
});
|
2364 |
});
|
2365 |
+
if (undefined !== window.location.hash) {
|
2366 |
+
switch (window.location.hash) {
|
2367 |
+
case '#ui-id-1':
|
2368 |
+
SFSI('#ui-id-1').removeClass('ui-corner-all').addClass('accordion-header-active ui-state-active ui-corner-top');
|
2369 |
+
SFSI('#ui-id-2').css({
|
2370 |
+
'display': 'block'
|
2371 |
+
});
|
2372 |
+
window.scroll(0, 30);
|
2373 |
+
break;
|
2374 |
+
case '#ui-id-5':
|
2375 |
+
SFSI('#ui-id-5').removeClass('ui-corner-all').addClass('accordion-header-active ui-state-active ui-corner-top');
|
2376 |
+
SFSI('#ui-id-6').css({
|
2377 |
+
'display': 'block'
|
2378 |
+
});
|
2379 |
+
window.scroll(0, 30);
|
2380 |
+
var scrolto_elem = SFSI('.sfsiplusbeforeafterpostselector');
|
2381 |
+
if (scrolto_elem && scrolto_elem.length > 0 && scrolto_elem.offset() && scrolto_elem.offset().top) {
|
2382 |
+
console.log('scrolling:', 'window.scrollTo(0,' + scrolto_elem.offset().top + ');');
|
2383 |
+
window.scrollTo(0, scrolto_elem.offset().top - 30);
|
2384 |
+
setTimeout(function () {
|
2385 |
+
console.log('scrolling:', 'window.scrollTo(0,' + scrolto_elem.offset().top + ');');
|
2386 |
+
window.scrollTo(0, scrolto_elem.offset().top - 30);
|
2387 |
+
}, 1000);
|
2388 |
+
// console.log(window.scrollTo(0,scrolto_elem.offset().top));
|
2389 |
+
}
|
2390 |
+
break;
|
2391 |
}
|
2392 |
}
|
2393 |
sfsi_plus_checkbox_checker();
|
2394 |
});
|
2395 |
|
2396 |
//for utube channel name and id
|
2397 |
+
function showhideutube(ref) {
|
2398 |
+
var chnlslctn = SFSI(ref).children("input").val();
|
2399 |
+
if (chnlslctn == "name") {
|
2400 |
+
SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideDown();
|
2401 |
+
SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideUp();
|
2402 |
+
} else {
|
2403 |
+
SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown();
|
2404 |
+
SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp();
|
2405 |
+
}
|
|
|
|
|
|
|
|
|
2406 |
}
|
2407 |
|
2408 |
var sfsiplus_initTop = new Array();
|
2409 |
|
2410 |
+
function sfsiplus_toggleflotpage(ref) {
|
2411 |
+
var pos = jQuery(ref).children(".checkbox").css("background-position");
|
2412 |
+
if (pos == "0px 0px") {
|
2413 |
+
jQuery(ref).next(".sfsiplus_right_info").children("p").children(".sfsiplus_sub-subtitle").hide();
|
2414 |
+
jQuery(ref).next(".sfsiplus_right_info").children(".sfsiplus_tab_3_icns").hide();
|
2415 |
+
} else {
|
2416 |
+
jQuery(ref).next(".sfsiplus_right_info").children("p").children(".sfsiplus_sub-subtitle").show();
|
2417 |
+
jQuery(ref).next(".sfsiplus_right_info").children(".sfsiplus_tab_3_icns").show();
|
2418 |
+
}
|
|
|
|
|
|
|
|
|
2419 |
}
|
2420 |
+
|
2421 |
+
function sfsiplus_togglbtmsection(show, hide, ref) {
|
2422 |
+
jQuery(ref).parent("ul").children("li.clckbltglcls").each(function (index, element) {
|
2423 |
+
jQuery(this).children(".radio").css("background-position", "0px 0px");
|
2424 |
+
jQuery(this).children(".styled").attr("checked", "false");
|
2425 |
+
});
|
2426 |
+
jQuery(ref).children(".radio").css("background-position", "0px -41px");
|
2427 |
+
jQuery(ref).children(".styled").attr("checked", "true");
|
2428 |
+
|
2429 |
+
jQuery("." + show).show();
|
2430 |
+
jQuery("." + show).children(".radiodisplaysection").show();
|
2431 |
+
jQuery("." + hide).hide();
|
2432 |
+
jQuery("." + hide).children(".radiodisplaysection").hide();
|
2433 |
+
/*jQuery(ref).parent("ul").children("li").each(function(index, element)
|
|
|
2434 |
{
|
2435 |
var pos = jQuery(this).children(".radio").css("background-position");
|
2436 |
if(pos == "0px 0px")
|
2452 |
jQuery(ref).children(".radiodisplaysection").hide();
|
2453 |
}*/
|
2454 |
}
|
2455 |
+
|
2456 |
+
function checkforinfoslction(ref) {
|
2457 |
+
var pos = jQuery(ref).children(".checkbox").css("background-position");
|
2458 |
+
if (pos == "0px 0px") {
|
2459 |
+
jQuery(ref).next(".sfsiplus_right_info").children("p").children("label").hide();
|
2460 |
+
} else {
|
2461 |
+
jQuery(ref).next(".sfsiplus_right_info").children("p").children("label").show();
|
2462 |
+
}
|
|
|
|
|
|
|
2463 |
}
|
2464 |
+
SFSI("body").on("click", ".sfsi_plus_tokenGenerateButton a", function () {
|
2465 |
+
var clienId = SFSI("input[name='sfsi_plus_instagram_clientid']").val();
|
2466 |
var redirectUrl = SFSI("input[name='sfsi_plus_instagram_appurl']").val();
|
2467 |
+
|
2468 |
+
var scope = "likes+comments+basic+public_content+follower_list+relationships";
|
2469 |
+
var instaUrl = "https://www.instagram.com/oauth/authorize/?client_id=<id>&redirect_uri=<url>&response_type=token&scope=" + scope;
|
2470 |
+
|
2471 |
+
if (clienId !== '' && redirectUrl !== '') {
|
|
|
2472 |
instaUrl = instaUrl.replace('<id>', clienId);
|
2473 |
instaUrl = instaUrl.replace('<url>', redirectUrl);
|
2474 |
+
|
2475 |
window.open(instaUrl, '_blank');
|
2476 |
+
} else {
|
|
|
|
|
2477 |
alert("Please enter client id and redirect url first");
|
2478 |
}
|
2479 |
+
|
2480 |
});
|
2481 |
SFSI(document).on("click", '.radio', function () {
|
2482 |
|
2483 |
var s = SFSI(this).parent().find("input:radio:first");
|
2484 |
|
2485 |
+
switch (s.attr("name")) {
|
2486 |
|
2487 |
case 'sfsi_plus_mouseOver_effect_type':
|
2488 |
|
2489 |
+
var _val = s.val();
|
2490 |
var _name = s.attr("name");
|
2491 |
|
2492 |
+
if ('same_icons' == _val) {
|
2493 |
SFSI('.same_icons_effects').removeClass('hide').addClass('show');
|
2494 |
SFSI('.other_icons_effects_options').removeClass('show').addClass('hide');
|
2495 |
+
} else if ('other_icons' == _val) {
|
|
|
2496 |
SFSI('.same_icons_effects').removeClass('show').addClass('hide');
|
2497 |
SFSI('.other_icons_effects_options').removeClass('hide').addClass('show');
|
2498 |
}
|
2499 |
|
2500 |
+
break;
|
2501 |
}
|
2502 |
});
|
2503 |
+
|
2504 |
function getElementPosition(element) {
|
2505 |
var xPosition = 0;
|
2506 |
var yPosition = 0;
|
2507 |
|
2508 |
+
while (element) {
|
2509 |
xPosition += (element.offsetLeft - element.scrollLeft + element.clientLeft);
|
2510 |
yPosition += (element.offsetTop - element.scrollTop + element.clientTop);
|
2511 |
element = element.offsetParent;
|
2512 |
}
|
2513 |
|
2514 |
+
return {
|
2515 |
+
x: xPosition,
|
2516 |
+
y: yPosition
|
2517 |
+
};
|
2518 |
}
|
2519 |
+
SFSI(document).ready(function () {
|
2520 |
+
SFSI('#sfsi_plus_jivo_offline_chat .tab-link').click(function () {
|
2521 |
+
var cur = SFSI(this);
|
2522 |
+
if (!cur.hasClass('active')) {
|
2523 |
+
var target = cur.find('a').attr('href');
|
2524 |
cur.parent().children().removeClass('active');
|
2525 |
cur.addClass('active');
|
2526 |
SFSI('#sfsi_plus_jivo_offline_chat .tabs').children().hide();
|
2527 |
SFSI(target).show();
|
2528 |
+
}
|
2529 |
});
|
2530 |
+
SFSI('#sfsi_plus_jivo_offline_chat #sfsi_sales form').submit(function (event) {
|
2531 |
+
event & event.preventDefault();
|
2532 |
// console.log(event);
|
2533 |
+
var target = SFSI(this).parents('.tab-content');
|
2534 |
+
var message = SFSI(this).find('textarea[name="question"]').val();
|
2535 |
+
var email = SFSI(this).find('input[name="email"]').val();
|
2536 |
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
2537 |
+
var nonce = SFSI(this).find('input[name="nonce"]').val();
|
2538 |
|
2539 |
+
if ("" === email || false === re.test(String(email).toLowerCase())) {
|
2540 |
// console.log(SFSI(this).find('input[name="email"]'));
|
2541 |
+
SFSI(this).find('input[name="email"]').css('background-color', 'red');
|
2542 |
+
SFSI(this).find('input[name="email"]').on('keyup', function () {
|
2543 |
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
2544 |
var email = SFSI(this).val();
|
2545 |
// console.log(email,re.test(String(email).toLowerCase()) );
|
2546 |
+
if ("" !== email && true === re.test(String(email).toLowerCase())) {
|
2547 |
+
SFSI(this).css('background-color', '#fff');
|
2548 |
}
|
2549 |
})
|
2550 |
return false;
|
2551 |
|
2552 |
}
|
2553 |
SFSI.ajax({
|
2554 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
2555 |
+
type: "post",
|
2556 |
+
data: {
|
2557 |
action: "sfsiplusOfflineChatMessage",
|
2558 |
message: message,
|
2559 |
+
email: email,
|
2560 |
+
nonce: nonce
|
2561 |
}
|
2562 |
+
}).done(function () {
|
2563 |
target.find('.before_message_sent').hide();
|
2564 |
target.find('.after_message_sent').show();
|
2565 |
});
|
2566 |
});
|
2567 |
});
|
2568 |
+
|
2569 |
+
function sfsi_close_offline_chat(e) {
|
2570 |
+
e && e.preventDefault();
|
2571 |
|
2572 |
SFSI('#sfsi_plus_jivo_offline_chat').hide();
|
2573 |
SFSI('#sfsi_dummy_chat_icon').show();
|
2574 |
}
|
2575 |
+
if (undefined == window.sfsi_plus_float_widget) {
|
2576 |
+
function sfsi_plus_float_widget(data = null, data2 = null, data3 = null) {
|
2577 |
return true;
|
2578 |
}
|
2579 |
}
|
2580 |
+
sfsi_plus_responsive_icon_intraction_handler();
|
2581 |
+
|
2582 |
SFSI(document).on("click", '.checkbox', function () {
|
2583 |
+
|
2584 |
var s = SFSI(this).parent().find("input:checkbox:first");
|
2585 |
|
2586 |
+
var inputName = s.attr("name");
|
2587 |
var inputChecked = s.attr("checked");
|
2588 |
|
2589 |
+
console.log(inputName, inputChecked);
|
2590 |
|
2591 |
+
//----------------- Customization for twitter card section STARTS----------------------------//
|
|
|
|
|
|
|
2592 |
|
2593 |
+
switch (inputName) {
|
2594 |
|
2595 |
+
case 'sfsi_plus_twitter_aboutPage':
|
|
|
2596 |
|
2597 |
+
var elem = SFSI('.sfsi_navigate_to_question6');
|
2598 |
+
var elemC = SFSI('#twitterSettingContainer');
|
|
|
|
|
|
|
|
|
|
|
|
|
2599 |
|
2600 |
+
if (inputChecked) {
|
2601 |
+
elem.addClass('addCss').removeClass('removeCss');
|
2602 |
+
elemC.css('display', 'block');
|
2603 |
+
} else {
|
2604 |
+
elem.removeClass('addCss').addClass('removeCss');
|
2605 |
+
elemC.css('display', 'none');
|
2606 |
+
}
|
2607 |
|
2608 |
+
var chkd = SFSI("input[name='sfsi_plus_twitter_twtAddCard']:checked").val();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2609 |
|
2610 |
+
if (inputChecked) {
|
2611 |
+
SFSI(".contTwitterCard").show("slow");
|
2612 |
+
if (chkd == "no") {
|
2613 |
+
SFSI(".cardDataContainer").hide();
|
2614 |
+
}
|
2615 |
+
} else {
|
2616 |
+
if (chkd == "yes") {
|
2617 |
+
SFSI('input[value="yes"][name="sfsi_plus_twitter_twtAddCard"]').prop("checked", false);
|
2618 |
+
SFSI('input[value="no"][name="sfsi_plus_twitter_twtAddCard"]').prop("checked", true);
|
2619 |
+
}
|
2620 |
+
SFSI(".contTwitterCard").hide("slow");
|
2621 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2622 |
|
2623 |
+
break;
|
2624 |
+
|
2625 |
+
case 'sfsi_plus_Hide_popupOnScroll':
|
2626 |
+
case 'sfsi_plus_Hide_popupOn_OutsideClick':
|
2627 |
+
|
2628 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2629 |
+
|
2630 |
+
if (inputChecked) {
|
2631 |
+
elem.val("yes");
|
2632 |
+
} else {
|
2633 |
+
elem.val("no");
|
2634 |
+
}
|
2635 |
+
|
2636 |
+
break;
|
2637 |
+
|
2638 |
+
case 'sfsi_plus_mouseOver':
|
2639 |
+
|
2640 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2641 |
+
|
2642 |
+
var togglelem = SFSI('.mouse-over-effects');
|
2643 |
+
|
2644 |
+
if (inputChecked) {
|
2645 |
+
togglelem.removeClass('hide').addClass('show');
|
2646 |
+
} else {
|
2647 |
+
togglelem.removeClass('show').addClass('hide');
|
2648 |
+
}
|
2649 |
+
|
2650 |
+
break;
|
2651 |
+
|
2652 |
+
|
2653 |
+
case 'sfsi_plus_shuffle_icons':
|
2654 |
+
|
2655 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2656 |
+
|
2657 |
+
var togglelem = SFSI('.shuffle_sub');
|
2658 |
+
|
2659 |
+
if (inputChecked) {
|
2660 |
+
togglelem.removeClass('hide').addClass('show');
|
2661 |
+
} else {
|
2662 |
+
togglelem.removeClass('show').addClass('hide');
|
2663 |
+
}
|
2664 |
+
|
2665 |
+
break;
|
2666 |
+
|
2667 |
+
case 'sfsi_plus_place_rectangle_icons_item_manually':
|
2668 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2669 |
+
|
2670 |
+
var togglelem = elem.parent().next();
|
2671 |
+
|
2672 |
+
if (inputChecked) {
|
2673 |
+
togglelem.removeClass('hide').addClass('show');
|
2674 |
+
} else {
|
2675 |
+
togglelem.removeClass('show').addClass('hide');
|
2676 |
+
}
|
2677 |
+
|
2678 |
+
break;
|
2679 |
|
2680 |
+
case 'sfsi_plus_icon_hover_show_pinterest':
|
2681 |
+
console.log('incase', inputName, inputChecked);
|
2682 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2683 |
+
|
2684 |
+
var togglelem = elem.parent().next();
|
2685 |
+
|
2686 |
+
if (inputChecked) {
|
2687 |
+
console.log('in checked', inputName, inputChecked, SFSI('.sfsi_plus_include_exclude_wrapper .sfsi_premium_restriction_warning_pinterest'));
|
2688 |
+
|
2689 |
+
togglelem.removeClass('hide').addClass('show');
|
2690 |
+
SFSI('.sfsi_plus_include_exclude_wrapper .sfsi_premium_restriction_warning_pinterest').removeClass('hide');
|
2691 |
+
} else {
|
2692 |
+
togglelem.removeClass('show').addClass('hide');
|
2693 |
+
SFSI('.sfsi_plus_include_exclude_wrapper .sfsi_premium_restriction_warning_pinterest').addClass('hide');
|
2694 |
+
}
|
2695 |
+
|
2696 |
+
break;
|
2697 |
+
|
2698 |
+
case 'sfsi_plus_houzzShare_option':
|
2699 |
+
|
2700 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2701 |
+
|
2702 |
+
var togglelem = SFSI('.houzzideabooks');
|
2703 |
+
|
2704 |
+
if (inputChecked) {
|
2705 |
+
togglelem.removeClass('hide').addClass('show');
|
2706 |
+
} else {
|
2707 |
+
togglelem.removeClass('show').addClass('hide');
|
2708 |
+
}
|
2709 |
+
|
2710 |
+
break;
|
2711 |
+
|
2712 |
+
case 'sfsi_plus_wechatFollow_option':
|
2713 |
+
|
2714 |
+
var elem = SFSI('input[name="' + inputName + '"]');
|
2715 |
+
|
2716 |
+
var togglelem = SFSI('.sfsi_plus_wechat_follow_desc');
|
2717 |
+
|
2718 |
+
if (inputChecked) {
|
2719 |
+
togglelem.removeClass('hide').addClass('show').show();
|
2720 |
+
} else {
|
2721 |
+
togglelem.removeClass('show').addClass('hide').hide();
|
2722 |
+
}
|
2723 |
+
|
2724 |
+
break;
|
2725 |
+
|
2726 |
+
case 'sfsi_plus_fbmessengerShare_option':
|
2727 |
+
var elem = jQuery('.sfsi_premium_only_fbmessangershare');
|
2728 |
+
if (inputChecked) {
|
2729 |
+
elem.show();
|
2730 |
+
} else {
|
2731 |
+
elem.hide();
|
2732 |
+
}
|
2733 |
+
break;
|
2734 |
+
case 'sfsi_plus_responsive_facebook_display':
|
2735 |
+
if (inputChecked) {
|
2736 |
+
SFSI('.sfsi_plus_responsive_icon_facebook_container').parents('a').show();
|
2737 |
+
var icon = inputName.replace('sfsi_plus_responsive_', '').replace('_display', '');
|
2738 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() !== "Fully responsive") {
|
2739 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
2740 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
2741 |
+
if (jQuery(a_container).css('display') !== "none") {
|
2742 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
2743 |
+
}
|
2744 |
+
})
|
2745 |
+
}
|
2746 |
+
} else {
|
2747 |
+
|
2748 |
+
SFSI('.sfsi_plus_responsive_icon_facebook_container').parents('a').hide();
|
2749 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() !== "Fully responsive") {
|
2750 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
2751 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
2752 |
+
if (jQuery(a_container).css('display') !== "none") {
|
2753 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
2754 |
+
}
|
2755 |
+
})
|
2756 |
+
}
|
2757 |
+
}
|
2758 |
+
break;
|
2759 |
+
case 'sfsi_plus_responsive_Twitter_display':
|
2760 |
+
if (inputChecked) {
|
2761 |
+
SFSI('.sfsi_plus_responsive_icon_twitter_container').parents('a').show();
|
2762 |
+
var icon = inputName.replace('sfsi_plus_responsive_', '').replace('_display', '');
|
2763 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() !== "Fully responsive") {
|
2764 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
2765 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
2766 |
+
if (jQuery(a_container).css('display') !== "none") {
|
2767 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
2768 |
+
}
|
2769 |
+
})
|
2770 |
+
}
|
2771 |
+
} else {
|
2772 |
+
SFSI('.sfsi_plus_responsive_icon_twitter_container').parents('a').hide();
|
2773 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() !== "Fully responsive") {
|
2774 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
2775 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
2776 |
+
if (jQuery(a_container).css('display') !== "none") {
|
2777 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
2778 |
+
}
|
2779 |
+
})
|
2780 |
+
}
|
2781 |
+
}
|
2782 |
+
break;
|
2783 |
+
case 'sfsi_plus_responsive_Follow_display':
|
2784 |
+
if (inputChecked) {
|
2785 |
+
SFSI('.sfsi_plus_responsive_icon_follow_container').parents('a').show();
|
2786 |
+
var icon = inputName.replace('sfsi_plus_responsive_', '').replace('_display', '');
|
2787 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() !== "Fully responsive") {
|
2788 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
2789 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
2790 |
+
if (jQuery(a_container).css('display') !== "none") {
|
2791 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
2792 |
+
}
|
2793 |
+
})
|
2794 |
+
}
|
2795 |
+
} else {
|
2796 |
+
SFSI('.sfsi_plus_responsive_icon_follow_container').parents('a').hide();
|
2797 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() !== "Fully responsive") {
|
2798 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
2799 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
2800 |
+
if (jQuery(a_container).css('display') !== "none") {
|
2801 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
2802 |
+
}
|
2803 |
+
})
|
2804 |
+
}
|
2805 |
+
}
|
2806 |
+
break;
|
2807 |
|
2808 |
+
}
|
2809 |
|
2810 |
+
var checkboxElem = SFSI(this);
|
2811 |
+
sfsi_toggle_include_exclude_posttypes_taxonomies(checkboxElem, inputName, inputChecked, s);
|
2812 |
|
2813 |
+
//----------------- Customization for Twitter add card CLOSES----------------------------//
|
2814 |
|
2815 |
|
2816 |
+
("sfsi_plus_shuffle_Firstload" == s.attr("name") && "checked" == s.attr("checked") || "sfsi_plus_shuffle_interval" == s.attr("name") && "checked" == s.attr("checked")) && (SFSI('input[name="sfsi_plus_shuffle_icons"]').parent().find("span").css("background-position", "0px -36px"),
|
2817 |
+
SFSI('input[name="sfsi_plus_shuffle_icons"]').attr("checked", "checked")), "sfsi_plus_shuffle_icons" == s.attr("name") && "checked" != s.attr("checked") && (SFSI('input[name="sfsi_plus_shuffle_Firstload"]').removeAttr("checked"),
|
2818 |
+
SFSI('input[name="sfsi_plus_shuffle_Firstload"]').parent().find("span").css("background-position", "0px 0px"),
|
2819 |
+
SFSI('input[name="sfsi_plus_shuffle_interval"]').removeAttr("checked"), SFSI('input[name="sfsi_plus_shuffle_interval"]').parent().find("span").css("background-position", "0px 0px"));
|
2820 |
+
var sfsi_plus_icon_hover_switch_exclude_custom_post_types = SFSI('input[name="sfsi_plus_icon_hover_switch_exclude_custom_post_types"]:checked').val() || 'no';
|
2821 |
+
var sfsi_plus_icon_hover_switch_exclude_taxonomies = SFSI('input[name="sfsi_plus_icon_hover_switch_exclude_taxonomies"]:checked').val() || 'no';
|
2822 |
|
2823 |
|
2824 |
|
2825 |
});
|
2826 |
|
2827 |
|
2828 |
+
function sfsi_toggle_include_exclude_posttypes_taxonomies(checkboxElem, inputFieldName, inputChecked, inputFieldElem) {
|
2829 |
+
|
2830 |
+
switch (inputFieldName) {
|
2831 |
|
|
|
|
|
2832 |
case 'sfsi_plus_switch_exclude_custom_post_types':
|
2833 |
case 'sfsi_plus_switch_include_custom_post_types':
|
2834 |
case 'sfsi_plus_icon_hover_switch_exclude_custom_post_types':
|
2836 |
|
2837 |
var elem = inputFieldElem.parent().parent().find("#sfsi_premium_custom_social_data_post_types_ul");
|
2838 |
|
2839 |
+
if (inputChecked) {
|
2840 |
elem.show();
|
2841 |
+
} else {
|
|
|
2842 |
elem.hide();
|
2843 |
}
|
2844 |
|
2845 |
+
break;
|
2846 |
|
2847 |
case 'sfsi_plus_switch_exclude_taxonomies':
|
2848 |
case 'sfsi_plus_switch_include_taxonomies':
|
2851 |
|
2852 |
var elem = inputFieldElem.parent().parent().find("#sfsi_premium_taxonomies_ul");
|
2853 |
|
2854 |
+
if (inputChecked) {
|
2855 |
elem.show();
|
2856 |
+
} else {
|
|
|
2857 |
elem.hide();
|
2858 |
}
|
2859 |
|
2860 |
+
break;
|
2861 |
+
|
2862 |
case 'sfsi_plus_include_url':
|
2863 |
case 'sfsi_plus_exclude_url':
|
2864 |
|
2865 |
+
var value = checkboxElem.css("background-position");
|
2866 |
var keyWCnt = checkboxElem.parent().next().next();
|
2867 |
|
2868 |
+
if (value === '0px -36px') {
|
|
|
2869 |
keyWCnt.show();
|
2870 |
keyWCnt.next().show();
|
2871 |
+
} else {
|
|
|
|
|
2872 |
keyWCnt.hide();
|
2873 |
keyWCnt.next().hide();
|
2874 |
}
|
2875 |
|
2876 |
+
break;
|
2877 |
+
}
|
2878 |
}
|
2879 |
|
2880 |
|
2881 |
|
2882 |
+
function open_save_image(btnUploadID, inputImageId, previewDivId) {
|
2883 |
+
|
2884 |
+
var btnElem, inputImgElem, previewDivElem;
|
2885 |
+
|
2886 |
+
var clickHandler = function (event) {
|
2887 |
+
|
2888 |
+
var send_attachment_bkp = wp.media.editor.send.attachment;
|
2889 |
+
|
2890 |
+
var frame = wp.media({
|
2891 |
+
title: 'Select or Upload Media for Social Media',
|
2892 |
+
button: {
|
2893 |
+
text: 'Use this media'
|
2894 |
+
},
|
2895 |
+
multiple: false // Set to true to allow multiple files to be selected
|
2896 |
+
});
|
2897 |
+
|
2898 |
+
frame.on('select', function () {
|
2899 |
+
|
2900 |
+
// Get media attachment details from the frame state
|
2901 |
+
var attachment = frame.state().get('selection').first().toJSON(),
|
2902 |
+
|
2903 |
+
url = attachment.url.split("/");
|
2904 |
+
fileName = url[url.length - 1];
|
2905 |
+
fileArr = fileName.split(".");
|
2906 |
+
fileType = fileArr[fileArr.length - 1];
|
2907 |
+
|
2908 |
+
if (fileType != undefined && (fileType == 'gif' || fileType == 'jpeg' || fileType == 'jpg' || fileType == 'png')) {
|
2909 |
+
|
2910 |
+
inputImgElem.val(attachment.url);
|
2911 |
+
previewDivElem.attr('src', attachment.url);
|
2912 |
+
|
2913 |
+
btnElem.val("Change Picture");
|
2914 |
+
|
2915 |
+
wp.media.editor.send.attachment = send_attachment_bkp;
|
2916 |
+
} else {
|
2917 |
+
alert("Only Images are allowed to upload");
|
2918 |
+
frame.open();
|
2919 |
+
}
|
2920 |
+
});
|
2921 |
+
|
2922 |
+
// Finally, open the modal on click
|
2923 |
+
frame.open();
|
2924 |
+
return false;
|
|
|
2925 |
};
|
2926 |
|
2927 |
+
if ("object" === typeof btnUploadID && null !== btnUploadID) {
|
2928 |
|
2929 |
+
btnElem = SFSI(btnUploadID);
|
2930 |
+
inputImgElem = btnElem.parent().find('input[type="hidden"]');
|
2931 |
+
previewDivElem = btnElem.parent().find('img');
|
2932 |
|
2933 |
+
clickHandler();
|
2934 |
+
} else {
|
2935 |
+
btnElem = SFSI('#' + btnUploadID);
|
2936 |
+
inputImgElem = SFSI('#' + inputImageId);
|
2937 |
+
previewDivElem = SFSI('#' + previewDivId);
|
2938 |
+
|
2939 |
+
btnElem.on("click", clickHandler);
|
2940 |
+
}
|
|
|
2941 |
|
2942 |
}
|
2943 |
|
2944 |
|
2945 |
+
function upload_image_wechat_scan(e) {
|
2946 |
+
e.preventDefault();
|
2947 |
+
var send_attachment_bkp = wp.media.editor.send.attachment;
|
2948 |
+
|
2949 |
+
var frame = wp.media({
|
2950 |
+
title: 'Select or Upload image for icon',
|
2951 |
+
button: {
|
2952 |
+
text: 'Use this media'
|
2953 |
+
},
|
2954 |
+
multiple: false // Set to true to allow multiple files to be selected
|
2955 |
+
});
|
2956 |
+
|
2957 |
+
frame.on('select', function () {
|
2958 |
+
|
2959 |
+
// Get media attachment details from the frame state
|
2960 |
+
var attachment = frame.state().get('selection').first().toJSON();
|
2961 |
+
|
2962 |
+
var url = attachment.url.split("/");
|
2963 |
+
var fileName = url[url.length - 1];
|
2964 |
+
var fileArr = fileName.split(".");
|
2965 |
+
var fileType = fileArr[fileArr.length - 1];
|
2966 |
+
|
2967 |
+
if (fileType != undefined && (fileType == 'jpeg' || fileType == 'jpg' || fileType == 'png' || fileType == 'gif')) {
|
2968 |
+
jQuery('input[name="sfsi_plus_wechat_scan_image"]').val(attachment.url);
|
2969 |
+
jQuery('.sfsi_plus_wechat_display>img').attr('src', attachment.url);
|
2970 |
+
jQuery('.sfsi_plus_wechat_display').removeClass("hide").addClass('show');
|
2971 |
+
jQuery('.sfsi_plus_wechat_instruction').removeClass("show").addClass('hide');
|
2972 |
+
wp.media.editor.send.attachment = send_attachment_bkp;
|
2973 |
+
} else {
|
2974 |
+
alert("Only Images are allowed to upload");
|
2975 |
+
frame.open();
|
2976 |
+
}
|
2977 |
+
});
|
2978 |
+
|
2979 |
+
// Finally, open the modal on click
|
2980 |
+
frame.open();
|
|
|
2981 |
}
|
2982 |
+
|
2983 |
+
function sfsi_plus_delete_wechat_scan_upload(event, context) {
|
2984 |
event.preventDefault();
|
2985 |
+
if (context === "from-server") {
|
2986 |
+
e = {
|
2987 |
+
action: "sfsi_plus_deleteWebChatFollow"
|
2988 |
+
};
|
2989 |
+
jQuery.ajax({
|
2990 |
+
url: ajax_object.ajax_url,
|
2991 |
+
type: "post",
|
2992 |
+
data: e,
|
2993 |
+
dataType: "json",
|
2994 |
+
async: !0,
|
2995 |
+
success: function (s) {
|
2996 |
+
if (s.res == 'success') {
|
2997 |
+
console.log(s);
|
2998 |
+
jQuery('input[name="sfsi_plus_wechat_scan_image"]').val('');
|
2999 |
+
jQuery('.sfsi_plus_wechat_display>img').attr('src', '');
|
3000 |
+
jQuery('.sfsi_plus_wechat_display').removeClass("show").addClass('hide');
|
3001 |
+
jQuery('.sfsi_plus_wechat_instruction').removeClass("hide").addClass('show');
|
3002 |
+
// sfsiplus_afterIconSuccess(s);
|
3003 |
+
} else {
|
3004 |
+
SFSI(".upload-overlay").hide("slow");
|
3005 |
+
SFSI(".uperror").html(s.res);
|
3006 |
+
sfsiplus_showErrorSuc("Error", "Some Error Occured During Delete of wechat scan", 1)
|
3007 |
+
}
|
3008 |
+
}
|
3009 |
+
});
|
3010 |
+
} else {
|
3011 |
+
jQuery('input[name="sfsi_plus_wechat_scan_image"]').val('');
|
3012 |
+
jQuery('.sfsi_plus_wechat_display>img').attr('src', '');
|
3013 |
+
jQuery('.sfsi_plus_wechat_display').removeClass("show").addClass('hide');
|
3014 |
+
jQuery('.sfsi_plus_wechat_instruction').removeClass("hide").addClass('show');
|
3015 |
+
}
|
|
|
|
|
|
|
3016 |
}
|
3017 |
+
|
3018 |
+
function sfsi_plus_checkbox_checker() {
|
3019 |
//check if it is options page
|
3020 |
+
if (window.location.pathname.endsWith('admin.php')) {
|
3021 |
// check if Custom checkbox is loaded.
|
3022 |
+
if (undefined !== this.sfsi_plus_styled_input) {
|
3023 |
+
jQuery(window).load(function () {
|
3024 |
console.log(window.sfsi_plus_checkbox_loaded);
|
3025 |
+
if (undefined == window.sfsi_plus_checkbox_loaded) {
|
3026 |
+
alert('There was js conflict. and we couldn\'t load our plugin successfully. please check with other plugins for the conflict.');
|
3027 |
}
|
3028 |
})
|
3029 |
+
} else {
|
3030 |
alert('Script for custom checkbox couldnot be loaded. you might not be able to see the checkbox. it might happen due to caching or plugin conflicts.');
|
3031 |
}
|
3032 |
}
|
3033 |
}
|
3034 |
+
|
3035 |
+
function sfsi_plus_close_quickpay(e) {
|
3036 |
+
e && e.preventDefault();
|
3037 |
jQuery('.sfsi_plus_quickpay-overlay').hide();
|
3038 |
+
}
|
3039 |
+
|
3040 |
+
// Worker Plugin
|
3041 |
+
function sfsi_plus_worker_plugin() {
|
3042 |
+
var nonce = SFSI("#sfsi_plus_worker_plugin").attr("data-nonce");
|
3043 |
+
var e = {
|
3044 |
+
action: "worker_plugin",
|
3045 |
+
customs: true,
|
3046 |
+
nonce: nonce
|
3047 |
+
};
|
3048 |
+
SFSI.ajax({
|
3049 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
3050 |
+
type: "post",
|
3051 |
+
data: e,
|
3052 |
+
success: function (msg) {
|
3053 |
+
console.log(msg);
|
3054 |
+
}
|
3055 |
+
});
|
3056 |
+
|
3057 |
+
}
|
3058 |
+
// <------------------------* Responsive icon *----------------------->
|
3059 |
+
function sfsi_plus_responsive_icon_intraction_handler() {
|
3060 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3061 |
+
SFSI('select[name="sfsi_plus_responsive_icons_settings_edge_type"]').on('change', function () {
|
3062 |
+
$target_div = (SFSI(this).parent());
|
3063 |
+
if (SFSI(this).val() === "Round") {
|
3064 |
+
console.log('Round','Round',SFSI(this).val());
|
3065 |
+
|
3066 |
+
$target_div.parent().children().css('display', 'inline-block');
|
3067 |
+
var radius = jQuery('select[name="sfsi_plus_responsive_icons_settings_edge_radius"]').val() + 'px'
|
3068 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container,.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('border-radius', radius);
|
3069 |
+
|
3070 |
+
} else {
|
3071 |
+
console.log('sharp','sharp',SFSI(this).val(),$target_div.parent().children(),$target_div.parent().children().hide());
|
3072 |
+
|
3073 |
+
$target_div.parent().children().hide();
|
3074 |
+
$target_div.show();
|
3075 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container,.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('border-radius', 'unset');
|
3076 |
+
|
3077 |
+
}
|
3078 |
+
});
|
3079 |
+
SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').on('change', function () {
|
3080 |
+
$target_div = (SFSI(this).parent());
|
3081 |
+
if (SFSI(this).val() === "Fixed icon width") {
|
3082 |
+
$target_div.parent().children().css('display', 'inline-block');
|
3083 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').css('width', 'auto').css('display', 'flex');
|
3084 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a').css('flex-basis', 'unset');
|
3085 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').css('width', jQuery('input[name="sfsi_plus_responsive_icons_sttings_icon_width_size"]').val());
|
3086 |
+
|
3087 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container_box_fully_container').removeClass('sfsi_plus_icons_container_box_fully_container').addClass('sfsi_plus_icons_container_box_fixed_container');
|
3088 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container_box_fixed_container').removeClass('sfsi_plus_icons_container_box_fully_container').addClass('sfsi_plus_icons_container_box_fixed_container');
|
3089 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3090 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3091 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3092 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3093 |
+
}
|
3094 |
+
})
|
3095 |
+
} else {
|
3096 |
+
$target_div.parent().children().hide();
|
3097 |
+
$target_div.show();
|
3098 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').css('width', '100%').css('display', 'flex');
|
3099 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a').css('flex-basis', '100%');
|
3100 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').css('width', '100%');
|
3101 |
+
|
3102 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container_box_fixed_container').removeClass('sfsi_plus_icons_container_box_fixed_container').addClass('sfsi_plus_icons_container_box_fully_container');
|
3103 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container_box_fully_container').removeClass('sfsi_plus_icons_container_box_fixed_container').addClass('sfsi_plus_icons_container_box_fully_container');
|
3104 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3105 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3106 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3107 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3108 |
+
}
|
3109 |
+
})
|
3110 |
+
}
|
3111 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').removeClass('sfsi_plus_fixed_count_container').removeClass('sfsi_plus_responsive_count_container').addClass('sfsi_plus_' + (jQuery(this).val() == "Fully responsive" ? 'responsive' : 'fixed') + '_count_container')
|
3112 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container>a').removeClass('sfsi_plus_responsive_fluid').removeClass('sfsi_plus_responsive_fixed_width').addClass('sfsi_plus_responsive_' + (jQuery(this).val() == "Fully responsive" ? 'fluid' : 'fixed_width'))
|
3113 |
+
sfsi_plus_resize_icons_container();
|
3114 |
+
|
3115 |
+
})
|
3116 |
+
jQuery(document).on('keyup', 'input[name="sfsi_plus_responsive_icons_sttings_icon_width_size"]', function () {
|
3117 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() === "Fixed icon width") {
|
3118 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').css('width', jQuery(this).val() + 'px');
|
3119 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3120 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3121 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3122 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3123 |
+
}
|
3124 |
+
})
|
3125 |
+
}
|
3126 |
+
sfsi_plus_resize_icons_container();
|
3127 |
+
});
|
3128 |
+
jQuery(document).on('change', 'input[name="sfsi_plus_responsive_icons_sttings_icon_width_size"]', function () {
|
3129 |
+
if (SFSI('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() === "Fixed icon width") {
|
3130 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').css('width', jQuery(this).val() + 'px');
|
3131 |
+
}
|
3132 |
+
});
|
3133 |
+
jQuery(document).on('keyup', 'input[name="sfsi_plus_responsive_icons_settings_margin"]', function () {
|
3134 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a,.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('margin-right', jQuery(this).val() + 'px');
|
3135 |
+
});
|
3136 |
+
jQuery(document).on('change', 'input[name="sfsi_plus_responsive_icons_settings_margin"]', function () {
|
3137 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a,.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('margin-right', jQuery(this).val() + 'px');
|
3138 |
+
// jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').css('width',(jQuery('.sfsi_plus_responsive_icons').width()-(jQuery('.sfsi_plus_responsive_icons_count').width()+jQuery(this).val()))+'px');
|
3139 |
+
|
3140 |
+
});
|
3141 |
+
jQuery(document).on('change', 'select[name="sfsi_plus_responsive_icons_settings_text_align"]', function () {
|
3142 |
+
if (jQuery(this).val() === "Centered") {
|
3143 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a').css('text-align', 'center');
|
3144 |
+
} else {
|
3145 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a').css('text-align', 'left');
|
3146 |
+
}
|
3147 |
+
});
|
3148 |
+
jQuery('.sfsi_plus_responsive_default_icon_container input.sfsi_plus_responsive_input').on('keyup', function () {
|
3149 |
+
jQuery(this).parent().find('.sfsi_plus_responsive_icon_item_container').find('span').text(jQuery(this).val());
|
3150 |
+
var iconName = jQuery(this).attr('name');
|
3151 |
+
var icon = iconName.replace('sfsi_plus_responsive_', '').replace('_input', '');
|
3152 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_' + (icon.toLowerCase()) + '_container span').text(jQuery(this).val());
|
3153 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3154 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3155 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3156 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3157 |
+
}
|
3158 |
+
})
|
3159 |
+
sfsi_plus_resize_icons_container();
|
3160 |
+
})
|
3161 |
+
jQuery('.sfsi_plus_responsive_custom_icon_container input.sfsi_plus_responsive_input').on('keyup', function () {
|
3162 |
+
jQuery(this).parent().find('.sfsi_plus_responsive_icon_item_container').find('span').text(jQuery(this).val());
|
3163 |
+
var iconName = jQuery(this).attr('name');
|
3164 |
+
var icon = iconName.replace('sfsi_plus_responsive_custom_', '').replace('_input', '');
|
3165 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_' + icon + '_container span').text(jQuery(this).val())
|
3166 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3167 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3168 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3169 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3170 |
+
}
|
3171 |
+
})
|
3172 |
+
sfsi_plus_resize_icons_container();
|
3173 |
+
|
3174 |
+
})
|
3175 |
+
jQuery('.sfsi_plus_responsive_custom_url_toggler, .sfsi_plus_responsive_default_url_toggler').click(function (event) {
|
3176 |
+
event.preventDefault();
|
3177 |
+
console.log('testing responsive');
|
3178 |
+
sfsi_plus_responsive_open_url(event);
|
3179 |
+
});
|
3180 |
+
jQuery('.sfsi_plus_responsive_custom_url_toggler, .sfsi_plus_responsive_default_url_toggler').click(function (event) {
|
3181 |
+
event.preventDefault();
|
3182 |
+
sfsi_plus_responsive_open_url(event);
|
3183 |
+
})
|
3184 |
+
jQuery('.sfsi_plus_responsive_custom_url_hide, .sfsi_plus_responsive_default_url_hide').click(function (event) {
|
3185 |
+
event.preventDefault();
|
3186 |
+
/* console.log(event,jQuery(event.target)); */
|
3187 |
+
jQuery(event.target).parent().parent().find('.sfsi_plus_responsive_custom_url_hide').hide();
|
3188 |
+
jQuery(event.target).parent().parent().find('.sfsi_plus_responsive_url_input').hide();
|
3189 |
+
jQuery(event.target).parent().parent().find('.sfsi_plus_responsive_default_url_hide').hide();
|
3190 |
+
jQuery(event.target).parent().parent().find('.sfsi_plus_responsive_default_url_toggler').show();
|
3191 |
+
jQuery(event.target).parent().parent().find('.sfsi_plus_responsive_custom_url_toggler').show();
|
3192 |
+
});
|
3193 |
+
jQuery('select[name="sfsi_plus_responsive_icons_settings_icon_size"]').change(function (event) {
|
3194 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container,.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').removeClass('sfsi_plus_small_button').removeClass('sfsi_plus_medium_button').removeClass('sfsi_plus_large_button').addClass('sfsi_plus_' + (jQuery(this).val().toLowerCase()) + '_button');
|
3195 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').removeClass('sfsi_plus_small_button_container').removeClass('sfsi_plus_medium_button_container').removeClass('sfsi_plus_large_button_container').addClass('sfsi_plus_' + (jQuery(this).val().toLowerCase()) + '_button_container')
|
3196 |
+
})
|
3197 |
+
jQuery(document).on('change', 'select[name="sfsi_plus_responsive_icons_settings_edge_radius"]', function (event) {
|
3198 |
+
var radius = jQuery(this).val() + 'px'
|
3199 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container,.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('border-radius', radius);
|
3200 |
+
|
3201 |
+
});
|
3202 |
+
jQuery(document).on('change', 'select[name="sfsi_plus_responsive_icons_settings_style"]', function (event) {
|
3203 |
+
if ('Flat' === jQuery(this).val()) {
|
3204 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').removeClass('sfsi_plus_responsive_icon_gradient');
|
3205 |
+
} else {
|
3206 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').addClass('sfsi_plus_responsive_icon_gradient');
|
3207 |
+
}
|
3208 |
+
});
|
3209 |
+
jQuery(document).on('mouseenter', '.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a', function () {
|
3210 |
+
jQuery(this).css('opacity', 0.8);
|
3211 |
+
})
|
3212 |
+
jQuery(document).on('mouseleave', '.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container a', function () {
|
3213 |
+
jQuery(this).css('opacity', 1);
|
3214 |
+
})
|
3215 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3216 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3217 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3218 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3219 |
+
}
|
3220 |
+
})
|
3221 |
+
sfsi_plus_resize_icons_container();
|
3222 |
+
jQuery('.ui-accordion-header.ui-state-default.ui-accordion-icons').click(function (data) {
|
3223 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3224 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3225 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3226 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3227 |
+
}
|
3228 |
+
})
|
3229 |
+
sfsi_plus_resize_icons_container();
|
3230 |
+
});
|
3231 |
+
jQuery('select[name="sfsi_plus_responsive_icons_settings_text_align"]').change(function (event) {
|
3232 |
+
var data = jQuery(event.target).val();
|
3233 |
+
if (data == "Centered") {
|
3234 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').removeClass('sfsi_plus_left-align_icon').addClass('sfsi_plus_centered_icon');
|
3235 |
+
} else {
|
3236 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container').removeClass('sfsi_plus_centered_icon').addClass('sfsi_plus_left-align_icon');
|
3237 |
+
}
|
3238 |
+
});
|
3239 |
+
jQuery('a.sfsi_plus_responsive_custom_delete_btn').click(function (event) {
|
3240 |
+
event.preventDefault();
|
3241 |
+
var icon_num = jQuery(this).attr('data-id');
|
3242 |
+
//reset the current block;
|
3243 |
+
// var last_block = jQuery('.sfsi_plus_responsive_custom_icon_4_container').clone();
|
3244 |
+
var cur_block = jQuery('.sfsi_plus_responsive_custom_icon_' + icon_num + '_container');
|
3245 |
+
cur_block.find('.sfsi_plus_responsive_custom_delete_btn').hide();
|
3246 |
+
cur_block.find('input[name="sfsi_plus_responsive_custom_' + icon_num + '_added"]').val('no');
|
3247 |
+
cur_block.find('.sfsi_plus_responsive_custom_' + icon_num + '_added').attr('value', 'no');
|
3248 |
+
cur_block.find('.radio_section.tb_4_ck .checkbox').click();
|
3249 |
+
cur_block.hide();
|
3250 |
+
|
3251 |
+
|
3252 |
+
if (icon_num > 0) {
|
3253 |
+
var prev_block = jQuery('.sfsi_plus_responsive_custom_icon_' + (icon_num - 1) + '_container');
|
3254 |
+
prev_block.find('.sfsi_plus_responsive_custom_delete_btn').show();
|
3255 |
+
}
|
3256 |
+
// jQuery('.sfsi_plus_responsive_custom_icon_container').each(function(index,custom_icon){
|
3257 |
+
// var target= jQuery(custom_icon);
|
3258 |
+
// target.find('.sfsi_plus_responsive_custom_delete_btn');
|
3259 |
+
// var custom_id = target.find('.sfsi_plus_responsive_custom_delete_btn').attr('data-id');
|
3260 |
+
// if(custom_id>icon_num){
|
3261 |
+
// target.removeClass('sfsi_plus_responsive_custom_icon_'+custom_id+'_container').addClass('sfsi_plus_responsive_custom_icon_'+(custom_id-1)+'_container');
|
3262 |
+
// target.find('input[name="sfsi_plus_responsive_custom_'+custom_id+'_added"]').attr('name',"sfsi_plus_responsive_custom_"+(custom_id-1)+"_added");
|
3263 |
+
// target.find('#sfsi_plus_responsive_'+custom_id+'_display').removeClass('sfsi_plus_responsive_custom_'+custom_id+'_display').addClass('sfsi_plus_responsive_custom_'+(custom_id-1)+'_display').attr('id','sfsi_plus_responsive_'+(custom_id-1)+'_display').attr('name','sfsi_plus_responsive_custom_'+(custom_id-1)+'_display').attr('data-custom-index',(custom_id-1));
|
3264 |
+
// target.find('.sfsi_plus_responsive_icon_item_container').removeClass('sfsi_plus_responsive_icon_custom_'+custom_id+'_container').addClass('sfsi_plus_responsive_icon_custom_'+(custom_id-1)+'_container');
|
3265 |
+
// target.find('.sfsi_plus_responsive_input').attr('name','sfsi_plus_responsive_custom_'+(custom_id-1)+'_input');
|
3266 |
+
// target.find('.sfsi_plus_responsive_url_input').attr('name','sfsi_plus_responsive_custom_'+(custom_id-1)+'_url_input');
|
3267 |
+
// target.find('.sfsi_plus_bg-color-picker').attr('name','sfsi_plus_responsive_icon_'+(custom_id-1)+'_bg_color');
|
3268 |
+
// target.find('.sfsi_plus_logo_upload sfsi_plus_logo_custom_'+custom_id+'_upload').removeClass('sfsi_plus_logo_upload sfsi_plus_logo_custom_'+custom_id+'_upload').addClass('sfsi_plus_logo_upload sfsi_plus_logo_custom_'+(custom_id-1)+'_upload');
|
3269 |
+
// target.find('input[type="sfsi_plus_responsive_icons_custom_'+custom_id+'_icon"]').attr('name','input[type="sfsi_plus_responsive_icons_custom_'+(custom_id-1)+'_icon"]');
|
3270 |
+
// target.find('.sfsi_plus_responsive_custom_delete_btn').attr('data-id',''+(custom_id-1));
|
3271 |
+
// }
|
3272 |
+
// });
|
3273 |
+
// // sfsi_plus_backend_section_beforeafter_set_fixed_width();
|
3274 |
+
// // jQuery(window).on('resize',sfsi_plus_backend_section_beforeafter_set_fixed_width);
|
3275 |
+
// var new_block=jQuery('.sfsi_plus_responsive_custom_icon_container').clone();
|
3276 |
+
// jQuery('.sfsi_plus_responsive_custom_icon_container').remove();
|
3277 |
+
// jQuery('.sfsi_plus_responsive_default_icon_container').parent().append(last_block).append();
|
3278 |
+
// jQuery('.sfsi_plus_responsive_default_icon_container').parent().append(new_block);
|
3279 |
+
// return false;
|
3280 |
+
})
|
3281 |
+
}
|
3282 |
+
|
3283 |
+
function sfsi_plus_responsive_icon_counter_tgl(hide, show, ref = null) {
|
3284 |
+
if (null !== hide && '' !== hide) {
|
3285 |
+
jQuery('.' + hide).hide();
|
3286 |
+
}
|
3287 |
+
if (null !== show && '' !== show) {
|
3288 |
+
jQuery('.' + show).show();
|
3289 |
+
}
|
3290 |
+
}
|
3291 |
+
|
3292 |
+
function sfsi_plus_responsive_toggle_count() {
|
3293 |
+
var data = jQuery('input[name="sfsi_plus_responsive_icon_show_count"]:checked').val();
|
3294 |
+
var data2 = jQuery('input[name="sfsi_plus_display_counts"]:checked').val();
|
3295 |
+
/* console.log('toggleer ',data,data2); */
|
3296 |
+
if (data2 == "yes" && 'yes' == data) {
|
3297 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('display', 'inline-block');
|
3298 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').removeClass('sfsi_plus_responsive_without_counter_icons').addClass('sfsi_plus_responsive_with_counter_icons');
|
3299 |
+
sfsi_plus_resize_icons_container();
|
3300 |
+
} else {
|
3301 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').css('display', 'none');
|
3302 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').removeClass('sfsi_plus_responsive_with_counter_icons').addClass('sfsi_plus_responsive_without_counter_icons');
|
3303 |
+
sfsi_plus_resize_icons_container();
|
3304 |
+
}
|
3305 |
+
}
|
3306 |
+
|
3307 |
+
function sfsi_plus_responsive_open_url(event) {
|
3308 |
+
jQuery(event.target).parent().find('.sfsi_plus_responsive_custom_url_hide').show();
|
3309 |
+
jQuery(event.target).parent().find('.sfsi_plus_responsive_default_url_hide').show();
|
3310 |
+
jQuery(event.target).parent().find('.sfsi_plus_responsive_url_input').show();
|
3311 |
+
jQuery(event.target).hide();
|
3312 |
+
}
|
3313 |
+
|
3314 |
+
function sfsi_plus_responsive_icon_hide_responsive_options() {
|
3315 |
+
jQuery('.sfsiplus_PostsSettings_section').show();
|
3316 |
+
jQuery('.sfsi_plus_choose_post_types_section').show();
|
3317 |
+
jQuery('.sfsi_plus_not_responsive').show();
|
3318 |
+
// jQuery('.sfsiplus_icn_listing8.sfsi_plus_closerli').hide();
|
3319 |
+
}
|
3320 |
+
|
3321 |
+
function sfsi_plus_responsive_icon_show_responsive_options() {
|
3322 |
+
jQuery('.sfsiplus_PostsSettings_section').hide();
|
3323 |
+
// jQuery('.sfsiplus_PostsSettings_section').show();
|
3324 |
+
jQuery('.sfsi_plus_choose_post_types_section').hide();
|
3325 |
+
jQuery('.sfsi_plus_not_responsive').hide();
|
3326 |
+
window.sfsi_plus_fittext_shouldDisplay = true;
|
3327 |
+
jQuery('.sfsi_plus_responsive_icon_preview a').each(function (index, a_container) {
|
3328 |
+
if (jQuery(a_container).css('display') !== "none") {
|
3329 |
+
sfsi_plus_fitText(jQuery(a_container).find('.sfsi_plus_responsive_icon_item_container'));
|
3330 |
+
}
|
3331 |
+
})
|
3332 |
+
sfsi_plus_resize_icons_container();
|
3333 |
+
}
|
3334 |
+
|
3335 |
+
function sfsi_plus_scroll_to_div(option_id, scroll_selector) {
|
3336 |
+
jQuery('#' + option_id + '.ui-accordion-header[aria-selected="false"]').click() //opened the option
|
3337 |
+
//scroll to it.
|
3338 |
+
if (scroll_selector && scroll_selector !== '') {
|
3339 |
+
scroll_selector = scroll_selector;
|
3340 |
+
} else {
|
3341 |
+
scroll_selector = '#' + option_id + '.ui-accordion-header';
|
3342 |
+
}
|
3343 |
+
jQuery('html, body').stop().animate({
|
3344 |
+
scrollTop: jQuery(scroll_selector).offset().top
|
3345 |
+
}, 1000);
|
3346 |
+
}
|
3347 |
+
|
3348 |
+
function sfsi_plus_fitText(container) {
|
3349 |
+
/* console.log(container,container.parent().parent(),container.parent().parent().hasClass('sfsi_plus_icons_container_box_fixed_container')); */
|
3350 |
+
if (container.parent().parent().hasClass('sfsi_plus_icons_container_box_fixed_container')) {
|
3351 |
+
/* console.log(window.sfsi_plus_fittext_shouldDisplay); */
|
3352 |
+
if (window.sfsi_plus_fittext_shouldDisplay === true) {
|
3353 |
+
if (jQuery('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() == "Fully responsive") {
|
3354 |
+
var all_icon_width = jQuery('.sfsi_plus_responsive_icons .sfsi_plus_icons_container').width();
|
3355 |
+
var total_active_icons = jQuery('.sfsi_plus_responsive_icons .sfsi_plus_icons_container a').filter(function (i, icon) {
|
3356 |
+
return jQuery(icon).css('display') && (jQuery(icon).css('display').toLowerCase() !== "none");
|
3357 |
+
}).length;
|
3358 |
+
|
3359 |
+
var distance_between_icon = jQuery('input[name="sfsi_plus_responsive_icons_settings_margin"]').val()
|
3360 |
+
var container_width = ((all_icon_width - distance_between_icon) / total_active_icons) - 5;
|
3361 |
+
container_width = (container_width - distance_between_icon);
|
3362 |
+
} else {
|
3363 |
+
var container_width = container.width();
|
3364 |
+
}
|
3365 |
+
// var container_img_width = container.find('img').width();
|
3366 |
+
var container_img_width = 70;
|
3367 |
+
// var span=container.find('span').clone();
|
3368 |
+
var span = container.find('span');
|
3369 |
+
// var span_original_width = container.find('span').width();
|
3370 |
+
var span_original_width = container_width - (container_img_width)
|
3371 |
+
span
|
3372 |
+
// .css('display','inline-block')
|
3373 |
+
.css('white-space', 'nowrap')
|
3374 |
+
// .css('width','auto')
|
3375 |
+
;
|
3376 |
+
var span_flatted_width = span.width();
|
3377 |
+
if (span_flatted_width == 0) {
|
3378 |
+
span_flatted_width = span_original_width;
|
3379 |
+
}
|
3380 |
+
span
|
3381 |
+
// .css('display','inline-block')
|
3382 |
+
.css('white-space', 'unset')
|
3383 |
+
// .css('width','auto')
|
3384 |
+
;
|
3385 |
+
var shouldDisplay = ((undefined === window.sfsi_plus_fittext_shouldDisplay) ? true : window.sfsi_plus_fittext_shouldDisplay = true);
|
3386 |
+
var fontSize = parseInt(span.css('font-size'));
|
3387 |
+
|
3388 |
+
if (6 > fontSize) {
|
3389 |
+
fontSize = 20;
|
3390 |
+
}
|
3391 |
+
|
3392 |
+
var computed_fontSize = (Math.floor((fontSize * span_original_width) / span_flatted_width));
|
3393 |
+
|
3394 |
+
if (computed_fontSize < 8) {
|
3395 |
+
shouldDisplay = false;
|
3396 |
+
window.sfsi_plus_fittext_shouldDisplay = false;
|
3397 |
+
computed_fontSize = 20;
|
3398 |
+
}
|
3399 |
+
span.css('font-size', Math.min(computed_fontSize, 20));
|
3400 |
+
span
|
3401 |
+
// .css('display','inline-block')
|
3402 |
+
.css('white-space', 'nowrap')
|
3403 |
+
// .css('width','auto')
|
3404 |
+
;
|
3405 |
+
if (shouldDisplay) {
|
3406 |
+
span.show();
|
3407 |
+
} else {
|
3408 |
+
span.hide();
|
3409 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icon_item_container span').hide();
|
3410 |
+
}
|
3411 |
+
}
|
3412 |
+
} else {
|
3413 |
+
var span = container.find('span');
|
3414 |
+
/* console.log(span); */
|
3415 |
+
span.css('font-size', 'initial');
|
3416 |
+
span.show();
|
3417 |
+
}
|
3418 |
+
|
3419 |
+
}
|
3420 |
+
|
3421 |
+
function sfsi_plus_fixedWidth_fitText(container) {
|
3422 |
+
return;
|
3423 |
+
/* console.log(sfsi_plus_fittext_shouldDisplay); */
|
3424 |
+
if (window.sfsi_plus_fittext_shouldDisplay === true) {
|
3425 |
+
if (jQuery('select[name="sfsi_plus_responsive_icons_settings_icon_width_type"]').val() == "Fixed icon width") {
|
3426 |
+
var all_icon_width = jQuery('.sfsi_plus_responsive_icons .sfsi_plus_icons_container').width();
|
3427 |
+
var total_active_icons = jQuery('.sfsi_plus_responsive_icons .sfsi_plus_icons_container a').filter(function (i, icon) {
|
3428 |
+
return jQuery(icon).css('display') && (jQuery(icon).css('display').toLowerCase() !== "none");
|
3429 |
+
}).length;
|
3430 |
+
var distance_between_icon = jQuery('input[name="sfsi_plus_responsive_icons_settings_margin"]').val()
|
3431 |
+
var container_width = ((all_icon_width - distance_between_icon) / total_active_icons) - 5;
|
3432 |
+
container_width = (container_width - distance_between_icon);
|
3433 |
+
} else {
|
3434 |
+
var container_width = container.width();
|
3435 |
+
}
|
3436 |
+
// var container_img_width = container.find('img').width();
|
3437 |
+
var container_img_width = 70;
|
3438 |
+
// var span=container.find('span').clone();
|
3439 |
+
var span = container.find('span');
|
3440 |
+
// var span_original_width = container.find('span').width();
|
3441 |
+
var span_original_width = container_width - (container_img_width)
|
3442 |
+
span
|
3443 |
+
// .css('display','inline-block')
|
3444 |
+
.css('white-space', 'nowrap')
|
3445 |
+
// .css('width','auto')
|
3446 |
+
;
|
3447 |
+
var span_flatted_width = span.width();
|
3448 |
+
if (span_flatted_width == 0) {
|
3449 |
+
span_flatted_width = span_original_width;
|
3450 |
+
}
|
3451 |
+
span
|
3452 |
+
// .css('display','inline-block')
|
3453 |
+
.css('white-space', 'unset')
|
3454 |
+
// .css('width','auto')
|
3455 |
+
;
|
3456 |
+
var shouldDisplay = undefined === window.sfsi_plus_fittext_shouldDisplay ? true : window.sfsi_plus_fittext_shouldDisplay = true;;
|
3457 |
+
var fontSize = parseInt(span.css('font-size'));
|
3458 |
+
|
3459 |
+
if (6 > fontSize) {
|
3460 |
+
fontSize = 15;
|
3461 |
+
}
|
3462 |
+
|
3463 |
+
var computed_fontSize = (Math.floor((fontSize * span_original_width) / span_flatted_width));
|
3464 |
+
|
3465 |
+
if (computed_fontSize < 8) {
|
3466 |
+
shouldDisplay = false;
|
3467 |
+
window.sfsi_plus_fittext_shouldDisplay = false;
|
3468 |
+
computed_fontSize = 15;
|
3469 |
+
}
|
3470 |
+
span.css('font-size', Math.min(computed_fontSize, 15));
|
3471 |
+
span
|
3472 |
+
// .css('display','inline-block')
|
3473 |
+
.css('white-space', 'nowrap')
|
3474 |
+
// .css('width','auto')
|
3475 |
+
;
|
3476 |
+
// var heightOfResIcons = jQuery('.sfsi_plus_responsive_icon_item_container').height();
|
3477 |
+
|
3478 |
+
// if(heightOfResIcons < 17){
|
3479 |
+
// span.show();
|
3480 |
+
// }else{
|
3481 |
+
// span.hide();
|
3482 |
+
// }
|
3483 |
+
|
3484 |
+
if (shouldDisplay) {
|
3485 |
+
span.show();
|
3486 |
+
} else {
|
3487 |
+
span.hide();
|
3488 |
+
}
|
3489 |
+
}
|
3490 |
+
}
|
3491 |
+
|
3492 |
+
function sfsi_plus_resize_icons_container() {
|
3493 |
+
return ;
|
3494 |
+
// resize icon container based on the size of count
|
3495 |
+
sfsi_plus_cloned_icon_list = jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').clone();
|
3496 |
+
sfsi_plus_cloned_icon_list.removeClass('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_with_counter_icons').addClass('sfsi_plus_responsive_cloned_list');
|
3497 |
+
sfsi_plus_cloned_icon_list.css('width', '100%');
|
3498 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').parent().append(sfsi_plus_cloned_icon_list);
|
3499 |
+
|
3500 |
+
// sfsi_plus_cloned_icon_list.css({
|
3501 |
+
// position: "absolute",
|
3502 |
+
// left: "-10000px"
|
3503 |
+
// }).appendTo("body");
|
3504 |
+
actual_width = sfsi_plus_cloned_icon_list.width();
|
3505 |
+
count_width = jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_responsive_icons_count').width();
|
3506 |
+
jQuery('.sfsi_plus_responsive_cloned_list').remove();
|
3507 |
+
sfsi_plus_inline_style = jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').attr('style');
|
3508 |
+
// remove_width
|
3509 |
+
sfsi_plus_inline_style = sfsi_plus_inline_style.replace(/width:auto($|!important|)(;|$)/g, '').replace(/width:\s*(-|)\d*\s*(px|%)\s*($|!important|)(;|$)/g, '');
|
3510 |
+
if (!(jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').hasClass('sfsi_plus_responsive_without_counter_icons') && jQuery('.sfsi_plus_icons_container').hasClass('sfsi_plus_icons_container_box_fixed_container'))) {
|
3511 |
+
sfsi_plus_inline_style += "width:" + (actual_width - count_width - 1) + 'px!important;'
|
3512 |
+
} else {
|
3513 |
+
sfsi_plus_inline_style += "width:auto!important;";
|
3514 |
+
}
|
3515 |
+
jQuery('.sfsi_plus_responsive_icon_preview .sfsi_plus_icons_container').attr('style', sfsi_plus_inline_style);
|
3516 |
+
|
3517 |
}
|
js/index.php
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
<?php
|
2 |
echo _('Access Denied');
|
3 |
-
?>
|
1 |
<?php
|
2 |
echo _('Access Denied');
|
3 |
+
?>
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -1,174 +1,182 @@
|
|
1 |
-
<?php
|
2 |
/* save all option to options table in database using ajax */
|
3 |
-
/* save settings for section 1 */
|
4 |
-
add_action('wp_ajax_plus_updateSrcn1','sfsi_plus_options_updater1');
|
5 |
function sfsi_plus_options_updater1()
|
6 |
{
|
7 |
-
if (
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
$
|
20 |
-
|
21 |
-
$
|
22 |
-
$
|
23 |
-
$
|
24 |
-
$
|
|
|
|
|
|
|
|
|
25 |
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_display"]) : 'no';
|
26 |
-
|
27 |
-
|
28 |
-
$
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
'sfsi_plus_instagram_display' => sanitize_text_field($sfsi_plus_instagram_display),
|
37 |
'sfsi_plus_ok_display' => sanitize_text_field($sfsi_plus_ok_display),
|
38 |
-
|
39 |
'sfsi_plus_vk_display' => sanitize_text_field($sfsi_plus_vk_display),
|
40 |
'sfsi_plus_wechat_display' => sanitize_text_field($sfsi_plus_wechat_display),
|
41 |
'sfsi_plus_weibo_display' => sanitize_text_field($sfsi_plus_weibo_display),
|
42 |
'sfsi_plus_houzz_display' => sanitize_text_field($sfsi_plus_houzz_display),
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
50 |
}
|
51 |
-
/* save settings for section 2 */
|
52 |
-
add_action('wp_ajax_plus_updateSrcn2','sfsi_plus_options_updater2');
|
53 |
function sfsi_plus_options_updater2()
|
54 |
{
|
55 |
-
if (
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
$
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
|
|
93 |
$sfsi_plus_linkedin_recommendBusines = isset($_POST["sfsi_plus_linkedin_recommendBusines"])
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
|
|
|
|
106 |
|
107 |
$sfsi_plus_okVisit_option = isset($_POST["sfsi_plus_okVisit_option"]) ? sanitize_text_field($_POST["sfsi_plus_okVisit_option"]) : 'no';
|
108 |
-
|
109 |
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
$sfsi_plus_telegram_username = isset($_POST["sfsi_plus_telegram_username"]) ? sanitize_text_field($_POST["sfsi_plus_telegram_username"]) : '';
|
119 |
-
|
120 |
-
|
121 |
$sfsi_plus_vkVisit_option = isset($_POST["sfsi_plus_vkVisit_option"]) ? sanitize_text_field($_POST["sfsi_plus_vkVisit_option"]) : 'no';
|
122 |
$sfsi_plus_vkShare_option = isset($_POST["sfsi_plus_vkShare_option"]) ? sanitize_text_field($_POST["sfsi_plus_vkShare_option"]) : 'no';
|
123 |
$sfsi_plus_vkLike_option = isset($_POST["sfsi_plus_vkLike_option"]) ? sanitize_text_field($_POST["sfsi_plus_vkLike_option"]) : 'no';
|
124 |
$sfsi_plus_vkVisit_url = isset($_POST["sfsi_plus_vkVisit_url"]) ? sanitize_text_field($_POST["sfsi_plus_vkVisit_url"]) : '';
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
;
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
/*
|
137 |
* Escape custom icons url
|
138 |
*/
|
139 |
-
if(
|
140 |
isset($_POST["sfsi_plus_custom_links"]) &&
|
141 |
!empty($_POST["sfsi_plus_custom_links"])
|
142 |
-
)
|
143 |
-
|
144 |
-
|
145 |
-
$sfsi_plus_CustomIcon_links = $_POST["sfsi_plus_custom_links"];
|
146 |
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
}
|
152 |
-
else
|
153 |
-
{
|
154 |
$esacpedUrls = '';
|
155 |
}
|
156 |
-
|
157 |
-
$sfsi_plus_houzz_pageUrl = isset($_POST["sfsi_plus_houzz_pageUrl"]) ? esc_url(
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
'sfsi_plus_rss_url' => esc_url($sfsi_plus_rss_url),
|
162 |
'sfsi_rss_blogName' => '',
|
163 |
'sfsi_rss_blogEmail' => '',
|
164 |
'sfsi_plus_rss_icons' => sanitize_text_field($sfsi_plus_rss_icons),
|
165 |
-
'sfsi_plus_email_url' => esc_url($option2['sfsi_plus_email_url']),
|
166 |
/* facebook buttons options */
|
167 |
'sfsi_plus_facebookPage_option' => sanitize_text_field($sfsi_plus_facebookPage_option),
|
168 |
'sfsi_plus_facebookPage_url' => esc_url($sfsi_plus_facebookPage_url),
|
169 |
'sfsi_plus_facebookLike_option' => sanitize_text_field($sfsi_plus_facebookLike_option),
|
170 |
'sfsi_plus_facebookShare_option' => sanitize_text_field($sfsi_plus_facebookShare_option),
|
171 |
-
|
172 |
/* Twitter buttons options */
|
173 |
'sfsi_plus_twitter_followme' => sanitize_text_field($sfsi_plus_twitter_followme),
|
174 |
'sfsi_plus_twitter_followUserName' => sanitize_text_field($sfsi_plus_twitter_followUserName),
|
@@ -176,7 +184,7 @@ function sfsi_plus_options_updater2()
|
|
176 |
'sfsi_plus_twitter_page' => sanitize_text_field($sfsi_plus_twitter_page),
|
177 |
'sfsi_plus_twitter_pageURL' => esc_url($sfsi_plus_twitter_pageURL),
|
178 |
'sfsi_plus_twitter_aboutPageText' => sanitize_text_field($sfsi_plus_twitter_aboutPageText),
|
179 |
-
|
180 |
/* youtube options */
|
181 |
'sfsi_plus_youtube_pageUrl' => esc_url($sfsi_plus_youtube_pageUrl),
|
182 |
'sfsi_plus_youtube_page' => sanitize_text_field($sfsi_plus_youtube_page),
|
@@ -184,108 +192,117 @@ function sfsi_plus_options_updater2()
|
|
184 |
'sfsi_plus_ytube_user' => sanitize_text_field($sfsi_plus_ytube_user),
|
185 |
'sfsi_plus_youtubeusernameorid' => sanitize_text_field($sfsi_plus_youtubeusernameorid),
|
186 |
'sfsi_plus_ytube_chnlid' => sanitize_text_field($sfsi_plus_ytube_chnlid),
|
187 |
-
|
188 |
/* pinterest options */
|
189 |
'sfsi_plus_pinterest_page' => sanitize_text_field($sfsi_plus_pinterest_page),
|
190 |
'sfsi_plus_pinterest_pageUrl' => esc_url($sfsi_plus_pinterest_pageUrl),
|
191 |
'sfsi_plus_pinterest_pingBlog' => sanitize_text_field($sfsi_plus_pinterest_pingBlog),
|
192 |
-
|
193 |
/* instagram and houzz options */
|
194 |
'sfsi_plus_instagram_pageUrl' => esc_url($sfsi_plus_instagram_pageUrl),
|
195 |
'sfsi_plus_houzz_pageUrl' => esc_url($sfsi_plus_houzz_pageUrl),
|
196 |
-
|
197 |
-
|
198 |
/** OK */
|
199 |
'sfsi_plus_okVisit_option' => sanitize_text_field($sfsi_plus_okVisit_option),
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
'sfsi_plus_okLike_option' => sanitize_text_field($sfsi_plus_okLike_option),
|
204 |
-
|
205 |
-
|
206 |
'sfsi_plus_telegramShare_option' => sanitize_text_field($sfsi_plus_telegramShare_option),
|
207 |
-
|
208 |
-
|
209 |
'sfsi_plus_telegram_username' => sanitize_text_field($sfsi_plus_telegram_username),
|
210 |
-
|
211 |
/* VK */
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
|
217 |
/** Weibo */
|
218 |
'sfsi_plus_weiboVisit_option' => sanitize_text_field($sfsi_plus_weiboVisit_option),
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
/**Wechat */
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
|
229 |
-
//MZ CODE END
|
230 |
/* linkedIn options */
|
231 |
'sfsi_plus_linkedin_page' => sanitize_text_field($sfsi_plus_linkedin_page),
|
232 |
'sfsi_plus_linkedin_pageURL' => esc_url($sfsi_plus_linkedin_pageURL),
|
233 |
'sfsi_plus_linkedin_follow' => sanitize_text_field($sfsi_plus_linkedin_follow),
|
234 |
'sfsi_plus_linkedin_followCompany' => intval($sfsi_plus_linkedin_followCompany),
|
235 |
'sfsi_plus_linkedin_SharePage' => sanitize_text_field($sfsi_plus_linkedin_SharePage),
|
236 |
-
'sfsi_plus_linkedin_recommendBusines'=> sanitize_text_field($sfsi_plus_linkedin_recommendBusines),
|
237 |
-
'sfsi_plus_linkedin_recommendCompany'=> sanitize_text_field($sfsi_plus_linkedin_recommendCompany),
|
238 |
-
'sfsi_plus_linkedin_recommendProductId'=> intval($sfsi_plus_linkedin_recommendProductId),
|
239 |
'sfsi_plus_CustomIcon_links' => $sfsi_plus_CustomIcon_links
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
$option4['sfsi_plus_youtubeusernameorid'] = sanitize_text_field($sfsi_plus_youtubeusernameorid);
|
245 |
$option4['sfsi_plus_ytube_chnlid'] = sfsi_plus_sanitize_field($sfsi_plus_ytube_chnlid);
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
|
|
250 |
}
|
251 |
-
/* save settings for section 3 */
|
252 |
-
add_action('wp_ajax_plus_updateSrcn3','sfsi_plus_options_updater3');
|
253 |
function sfsi_plus_options_updater3()
|
254 |
{
|
255 |
-
if (
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
'sfsi_plus_actvite_theme' => sanitize_text_field($sfsi_plus_actvite_theme),
|
290 |
/* animations options */
|
291 |
'sfsi_plus_mouseOver' => sanitize_text_field($sfsi_plus_mouseOver),
|
@@ -302,361 +319,387 @@ function sfsi_plus_options_updater3()
|
|
302 |
'sfsi_plus_specialIcon_interval' => sanitize_text_field($sfsi_plus_specialIcon_interval),
|
303 |
'sfsi_plus_specialIcon_intervalTime' => sanitize_text_field($sfsi_plus_specialIcon_intervalTime),
|
304 |
'sfsi_plus_specialIcon_intervalIcons' => sanitize_text_field($sfsi_plus_specialIcon_intervalIcons),
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
|
|
309 |
}
|
310 |
-
/* save settings for section 4 */
|
311 |
-
add_action('wp_ajax_plus_updateSrcn4','sfsi_plus_options_updater4');
|
312 |
function sfsi_plus_options_updater4()
|
313 |
{
|
314 |
-
if (
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
$
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
$
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
$
|
378 |
-
|
379 |
-
|
380 |
-
$
|
381 |
-
|
382 |
-
|
383 |
-
$
|
384 |
-
|
385 |
-
|
386 |
-
$
|
387 |
-
|
388 |
-
|
389 |
-
$
|
390 |
-
|
|
|
|
|
|
|
|
|
|
|
391 |
$up_option4 = array(
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
'sfsi_plus_ln_api_key' => $sfsi_plus_ln_api_key,
|
417 |
'sfsi_plus_ln_secret_key' => $sfsi_plus_ln_secret_key,
|
418 |
-
'sfsi_plus_ln_oAuth_user_token' => $sfsi_plus_ln_oAuth_user_token,*/
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
|
|
467 |
}
|
468 |
-
/* save settings for section 5 */
|
469 |
-
add_action('wp_ajax_plus_updateSrcn5','sfsi_plus_options_updater5');
|
470 |
function sfsi_plus_options_updater5()
|
471 |
{
|
472 |
-
if (
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
$
|
482 |
-
$
|
483 |
-
|
484 |
-
|
485 |
-
$
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
$
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
$
|
517 |
-
$
|
|
|
|
|
|
|
|
|
518 |
$sfsi_plus_telegramIcon_order = isset($_POST["sfsi_plus_telegramIcon_order"]) ? intval($_POST["sfsi_plus_telegramIcon_order"]) : '22';
|
519 |
$sfsi_plus_vkIcon_order = isset($_POST["sfsi_plus_vkIcon_order"]) ? intval($_POST["sfsi_plus_vkIcon_order"]) : '23';
|
520 |
$sfsi_plus_okIcon_order = isset($_POST["sfsi_plus_okIcon_order"]) ? intval($_POST["sfsi_plus_okIcon_order"]) : '24';
|
521 |
$sfsi_plus_weiboIcon_order = isset($_POST["sfsi_plus_weiboIcon_order"]) ? intval($_POST["sfsi_plus_weiboIcon_order"]) : '25';
|
522 |
$sfsi_plus_wechatIcon_order = isset($_POST["sfsi_plus_wechatIcon_order"]) ? intval($_POST["sfsi_plus_wechatIcon_order"]) : '26';
|
523 |
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
$sfsi_plus_follow_icons_language = isset($_POST["sfsi_plus_follow_icons_language"])
|
533 |
-
|
534 |
-
|
|
|
535 |
$sfsi_plus_facebook_icons_language = isset($_POST["sfsi_plus_facebook_icons_language"])
|
536 |
-
|
537 |
-
|
|
|
538 |
$sfsi_plus_twitter_icons_language = isset($_POST["sfsi_plus_twitter_icons_language"])
|
539 |
-
|
540 |
-
|
|
|
541 |
|
542 |
-
$sfsi_plus_custom_social_hide = isset($_POST["sfsi_plus_custom_social_hide"]) ? sanitize_text_field(
|
543 |
|
544 |
-
$sfsi_pplus_icons_suppress_errors = isset($_POST["sfsi_pplus_icons_suppress_errors"]) ? sanitize_text_field(
|
545 |
|
546 |
/* size and spacing of icons */
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
'sfsi_plus_follow_icons_language' => sanitize_text_field($sfsi_plus_follow_icons_language),
|
553 |
'sfsi_plus_facebook_icons_language' => sanitize_text_field($sfsi_plus_facebook_icons_language),
|
554 |
'sfsi_plus_twitter_icons_language' => sanitize_text_field($sfsi_plus_twitter_icons_language),
|
555 |
'sfsi_plus_icons_language' => sanitize_text_field($sfsi_plus_icons_language),
|
556 |
-
|
557 |
-
|
558 |
'sfsi_plus_disable_floaticons' => sanitize_text_field($sfsi_plus_disable_floaticons),
|
559 |
'sfsi_plus_disable_viewport' => sanitize_text_field($sfsi_plus_disable_viewport),
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
'sfsi_plus_houzz_MouseOverText' => sanitize_text_field($sfsi_plus_houzz_MouseOverText),
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
'sfsi_plus_houzzIcon_order' => intval($sfsi_plus_houzzIcon_order),
|
581 |
'sfsi_plus_okIcon_order' => intval($sfsi_plus_okIcon_order),
|
582 |
'sfsi_plus_telegramIcon_order' => intval($sfsi_plus_telegramIcon_order),
|
583 |
'sfsi_plus_vkIcon_order' => intval($sfsi_plus_vkIcon_order),
|
584 |
-
|
585 |
'sfsi_plus_wechatIcon_order' => intval($sfsi_plus_wechatIcon_order),
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
}
|
597 |
-
/* save settings for section 6 */
|
598 |
-
add_action('wp_ajax_plus_updateSrcn6','sfsi_plus_options_updater6');
|
599 |
function sfsi_plus_options_updater6()
|
600 |
{
|
601 |
-
if (
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
|
|
|
|
|
|
|
|
612 |
'sfsi_plus_show_Onposts' => sanitize_text_field($sfsi_plus_show_Onposts),
|
613 |
'sfsi_plus_icons_postPositon' => sanitize_text_field($sfsi_plus_icons_postPositon),
|
614 |
'sfsi_plus_icons_alignment' => sanitize_text_field($sfsi_plus_icons_alignment),
|
615 |
'sfsi_plus_textBefor_icons' => sanitize_text_field(stripslashes($sfsi_plus_textBefor_icons)),
|
616 |
'sfsi_plus_icons_DisplayCounts' => sanitize_text_field($sfsi_plus_icons_DisplayCounts),
|
617 |
);
|
618 |
-
update_option('sfsi_plus_section6_options',serialize($up_option6));
|
619 |
-
|
620 |
-
|
|
|
621 |
}
|
622 |
-
/* save settings for section 7 */
|
623 |
-
add_action('wp_ajax_plus_updateSrcn7','sfsi_plus_options_updater7');
|
624 |
function sfsi_plus_options_updater7()
|
625 |
-
{
|
626 |
-
if (
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
'sfsi_plus_popup_text' => sanitize_text_field(stripslashes($sfsi_plus_popup_text)),
|
661 |
'sfsi_plus_popup_font' => sanitize_text_field($sfsi_plus_popup_font),
|
662 |
'sfsi_plus_popup_fontColor' => sfsi_plus_sanitize_hex_color($sfsi_plus_popup_fontColor),
|
@@ -672,59 +715,139 @@ function sfsi_plus_options_updater7()
|
|
672 |
'sfsi_plus_Shown_popupOnceTime' => intval($sfsi_plus_Shown_popupOnceTime),
|
673 |
//'sfsi_plus_Shown_popuplimitPerUserTime' => $sfsi_plus_Shown_popuplimitPerUserTime,
|
674 |
);
|
675 |
-
|
676 |
-
|
677 |
-
|
|
|
678 |
}
|
679 |
/* save settings for section 3 */
|
680 |
|
681 |
-
add_action('wp_ajax_plus_updateSrcn8','sfsi_plus_options_updater8');
|
|
|
682 |
function sfsi_plus_options_updater8()
|
683 |
{
|
684 |
-
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step8")) {
|
685 |
-
echo json_encode(array("wrong_nonce")); exit;
|
686 |
-
}
|
687 |
-
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
688 |
-
$sfsi_plus_show_via_widget = isset($_POST["sfsi_plus_show_via_widget"]) ? sanitize_text_field( $_POST["sfsi_plus_show_via_widget"] ): 'no';
|
689 |
-
$sfsi_plus_float_on_page = isset($_POST["sfsi_plus_float_on_page"]) ? sanitize_text_field( $_POST["sfsi_plus_float_on_page"] ): 'no';
|
690 |
-
$sfsi_plus_float_page_position = isset($_POST["sfsi_plus_float_page_position"]) ? sanitize_text_field( $_POST["sfsi_plus_float_page_position"] ): 'no';
|
691 |
-
|
692 |
-
$sfsi_plus_icons_floatMargin_top = isset($_POST["sfsi_plus_icons_floatMargin_top"]) ? intval( $_POST["sfsi_plus_icons_floatMargin_top"] ): '';
|
693 |
-
$sfsi_plus_icons_floatMargin_bottom = isset($_POST["sfsi_plus_icons_floatMargin_bottom"])? intval( $_POST["sfsi_plus_icons_floatMargin_bottom"]):'';
|
694 |
-
$sfsi_plus_icons_floatMargin_left = isset($_POST["sfsi_plus_icons_floatMargin_left"]) ? intval( $_POST["sfsi_plus_icons_floatMargin_left"] ): '';
|
695 |
-
$sfsi_plus_icons_floatMargin_right = isset($_POST["sfsi_plus_icons_floatMargin_right"]) ? intval( $_POST["sfsi_plus_icons_floatMargin_right"]):'';
|
696 |
-
|
697 |
-
$sfsi_plus_place_item_manually = isset($_POST["sfsi_plus_place_item_manually"]) ? sanitize_text_field( $_POST["sfsi_plus_place_item_manually"] ): 'no';
|
698 |
-
$sfsi_plus_place_item_gutenberg = isset($_POST["sfsi_plus_place_item_gutenberg"]) ? sanitize_text_field( $_POST["sfsi_plus_place_item_gutenberg"] ): 'no';
|
699 |
-
$sfsi_plus_show_item_onposts = isset($_POST["sfsi_plus_show_item_onposts"]) ? sanitize_text_field( $_POST["sfsi_plus_show_item_onposts"] ): 'no';
|
700 |
-
$sfsi_plus_display_button_type = isset($_POST["sfsi_plus_display_button_type"]) ? sanitize_text_field( $_POST["sfsi_plus_display_button_type"] ): 'no';
|
701 |
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
711 |
//$sfsi_plus_display_on_postspage = isset($_POST["sfsi_plus_display_on_postspage"]) ? sanitize_text_field( $_POST["sfsi_plus_display_on_postspage"] ): 'no';
|
712 |
//$sfsi_plus_display_on_homepage = isset($_POST["sfsi_plus_display_on_homepage"]) ? sanitize_text_field( $_POST["sfsi_plus_display_on_homepage"] ): 'no';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
713 |
|
714 |
-
$
|
715 |
-
$
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
723 |
'sfsi_plus_show_via_widget' => sanitize_text_field($sfsi_plus_show_via_widget),
|
724 |
'sfsi_plus_float_on_page' => sanitize_text_field($sfsi_plus_float_on_page),
|
725 |
'sfsi_plus_float_page_position' => sanitize_text_field($sfsi_plus_float_page_position),
|
726 |
'sfsi_plus_icons_floatMargin_top' => intval($sfsi_plus_icons_floatMargin_top),
|
727 |
-
'sfsi_plus_icons_floatMargin_bottom'=> intval($sfsi_plus_icons_floatMargin_bottom),
|
728 |
'sfsi_plus_icons_floatMargin_left' => intval($sfsi_plus_icons_floatMargin_left),
|
729 |
'sfsi_plus_icons_floatMargin_right' => intval($sfsi_plus_icons_floatMargin_right),
|
730 |
'sfsi_plus_place_item_manually' => sanitize_text_field($sfsi_plus_place_item_manually),
|
@@ -739,117 +862,128 @@ function sfsi_plus_options_updater8()
|
|
739 |
'sfsi_plus_icons_DisplayCounts' => sanitize_text_field($sfsi_plus_icons_DisplayCounts),
|
740 |
'sfsi_plus_display_before_posts' => sanitize_text_field($sfsi_plus_display_before_posts),
|
741 |
'sfsi_plus_display_after_posts' => sanitize_text_field($sfsi_plus_display_after_posts),
|
742 |
-
|
743 |
//'sfsi_plus_display_on_postspage' => $sfsi_plus_display_on_postspage,
|
744 |
//'sfsi_plus_display_on_homepage' => $sfsi_plus_display_on_homepage,
|
745 |
-
|
746 |
-
'sfsi_plus_display_before_blogposts'=> sanitize_text_field($sfsi_plus_display_before_blogposts),
|
747 |
'sfsi_plus_display_after_blogposts' => sanitize_text_field($sfsi_plus_display_after_blogposts),
|
748 |
'sfsi_plus_rectsub' => sanitize_text_field($sfsi_plus_rectsub),
|
749 |
'sfsi_plus_rectfb' => sanitize_text_field($sfsi_plus_rectfb),
|
750 |
'sfsi_plus_recttwtr' => sanitize_text_field($sfsi_plus_recttwtr),
|
751 |
'sfsi_plus_rectpinit' => sanitize_text_field($sfsi_plus_rectpinit),
|
752 |
-
'sfsi_plus_rectfbshare' => sanitize_text_field($sfsi_plus_rectfbshare)
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
758 |
|
759 |
/* save settings for section 8 */
|
760 |
-
add_action('wp_ajax_plus_updateSrcn9','sfsi_plus_options_updater9');
|
761 |
function sfsi_plus_options_updater9()
|
762 |
{
|
763 |
-
if (
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
$
|
772 |
-
$
|
773 |
-
$
|
774 |
-
|
775 |
-
$
|
776 |
-
$
|
777 |
-
$
|
778 |
-
|
779 |
-
$
|
780 |
-
$
|
781 |
-
|
782 |
-
$
|
783 |
-
$
|
784 |
-
$
|
785 |
-
|
786 |
-
$
|
787 |
-
$
|
788 |
-
|
789 |
-
$
|
790 |
-
$
|
791 |
-
$
|
792 |
-
|
793 |
-
$
|
794 |
-
$
|
795 |
-
$
|
796 |
-
|
|
|
|
|
|
|
|
|
797 |
/* icons pop options */
|
798 |
-
$up_option9 = array(
|
799 |
'sfsi_plus_form_adjustment' => sanitize_text_field($sfsi_plus_form_adjustment),
|
800 |
'sfsi_plus_form_height' => intval($sfsi_plus_form_height),
|
801 |
'sfsi_plus_form_width' => intval($sfsi_plus_form_width),
|
802 |
'sfsi_plus_form_border' => sanitize_text_field($sfsi_plus_form_border),
|
803 |
-
'sfsi_plus_form_border_thickness'=> intval($sfsi_plus_form_border_thickness),
|
804 |
'sfsi_plus_form_border_color' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_border_color),
|
805 |
'sfsi_plus_form_background' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_background),
|
806 |
-
|
807 |
'sfsi_plus_form_heading_text' => sanitize_text_field(stripslashes($sfsi_plus_form_heading_text)),
|
808 |
'sfsi_plus_form_heading_font' => sanitize_text_field($sfsi_plus_form_heading_font),
|
809 |
-
'sfsi_plus_form_heading_fontstyle'=> sanitize_text_field($sfsi_plus_form_heading_fontstyle),
|
810 |
-
'sfsi_plus_form_heading_fontcolor'=> sfsi_plus_sanitize_hex_color($sfsi_plus_form_heading_fontcolor),
|
811 |
'sfsi_plus_form_heading_fontsize' => intval($sfsi_plus_form_heading_fontsize),
|
812 |
-
'sfsi_plus_form_heading_fontalign'=> sanitize_text_field($sfsi_plus_form_heading_fontalign),
|
813 |
-
|
814 |
'sfsi_plus_form_field_text' => sanitize_text_field(stripslashes($sfsi_plus_form_field_text)),
|
815 |
'sfsi_plus_form_field_font' => sanitize_text_field($sfsi_plus_form_field_font),
|
816 |
-
'sfsi_plus_form_field_fontstyle'=> sanitize_text_field($sfsi_plus_form_field_fontstyle),
|
817 |
-
'sfsi_plus_form_field_fontcolor'=> sfsi_plus_sanitize_hex_color($sfsi_plus_form_field_fontcolor),
|
818 |
'sfsi_plus_form_field_fontsize' => intval($sfsi_plus_form_field_fontsize),
|
819 |
-
'sfsi_plus_form_field_fontalign'=> sanitize_text_field($sfsi_plus_form_field_fontalign),
|
820 |
-
|
821 |
'sfsi_plus_form_button_text' => sanitize_text_field(stripslashes($sfsi_plus_form_button_text)),
|
822 |
'sfsi_plus_form_button_font' => sanitize_text_field($sfsi_plus_form_button_font),
|
823 |
-
'sfsi_plus_form_button_fontstyle'=> sanitize_text_field($sfsi_plus_form_button_fontstyle),
|
824 |
-
'sfsi_plus_form_button_fontcolor'=> sfsi_plus_sanitize_hex_color($sfsi_plus_form_button_fontcolor),
|
825 |
-
'sfsi_plus_form_button_fontsize'=> intval($sfsi_plus_form_button_fontsize),
|
826 |
-
'sfsi_plus_form_button_fontalign'=> sanitize_text_field($sfsi_plus_form_button_fontalign),
|
827 |
-
'sfsi_plus_form_button_background'=> sfsi_plus_sanitize_hex_color($sfsi_plus_form_button_background),
|
828 |
);
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
|
|
833 |
}
|
834 |
-
|
835 |
/* upload custom icons images */
|
836 |
-
/* get counts for admin section */
|
837 |
-
function sfsi_plus_getCounts()
|
838 |
{
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
'rss_count'=>'',
|
846 |
-
'email_count'=>'',
|
847 |
-
'fb_count'=>'',
|
848 |
-
'twitter_count'=>'',
|
849 |
-
'linkedIn_count'=>'',
|
850 |
-
'youtube_count'=>'',
|
851 |
-
'pin_count'=>'',
|
852 |
-
'share_count'=>'',
|
853 |
'houzz_count' => '',
|
854 |
'telegram_count' => '',
|
855 |
'vk_count' => '',
|
@@ -858,288 +992,266 @@ function sfsi_plus_getCounts()
|
|
858 |
'wechat_count' => '',
|
859 |
|
860 |
);
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
}
|
906 |
-
else if($option4['sfsi_plus_facebook_countsFrom']=="mypage" )
|
907 |
-
{
|
908 |
-
$url = $option4['sfsi_plus_facebook_mypageCounts'];
|
909 |
-
$fb_data = $socialObj->sfsi_get_fb_pagelike($url);
|
910 |
-
$scounts['fb_count']= $fb_data;
|
911 |
-
}
|
912 |
-
else
|
913 |
-
{
|
914 |
-
$scounts['fb_count']=$option4['sfsi_plus_facebook_manualCounts'];
|
915 |
-
}
|
916 |
-
|
917 |
-
}
|
918 |
-
|
919 |
-
/* get twitter counts */
|
920 |
-
if(isset($option4['sfsi_plus_twitter_countsFrom']) && !empty($option4['sfsi_plus_twitter_countsFrom']) && $option4['sfsi_plus_twitter_countsFrom']=="source")
|
921 |
-
{
|
922 |
$twitter_user = $sfsi_plus_section2_options['sfsi_plus_twitter_followUserName'];
|
923 |
-
|
924 |
-
'sfsiplus_tw_consumer_key'
|
925 |
-
'sfsiplus_tw_consumer_secret'=> $option4['sfsiplus_tw_consumer_secret'],
|
926 |
-
'sfsiplus_tw_oauth_access_token'=> $option4['sfsiplus_tw_oauth_access_token'],
|
927 |
-
'sfsiplus_tw_oauth_access_token_secret'=> $option4['sfsiplus_tw_oauth_access_token_secret']
|
928 |
-
);
|
929 |
-
|
930 |
-
$followers=$socialObj->sfsi_get_tweets($twitter_user,$tw_settings);
|
931 |
-
$scounts['twitter_count']= $socialObj->format_num($followers);
|
932 |
-
}
|
933 |
-
else
|
934 |
-
{
|
935 |
-
$scounts['twitter_count']=$option4['sfsi_plus_twitter_manualCounts'];
|
936 |
-
}
|
937 |
-
|
938 |
-
|
939 |
-
/* get linkedIn counts */
|
940 |
-
if(isset($option4['sfsi_plus_linkedIn_countsFrom']) && !empty($option4['sfsi_plus_linkedIn_countsFrom']) && $option4['sfsi_plus_linkedIn_countsFrom']=="follower" )
|
941 |
-
{
|
942 |
-
$linkedIn_compay=$sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
943 |
-
$linkedIn_compay=$option4['sfsi_plus_ln_company'];
|
944 |
-
$ln_settings=array(
|
945 |
-
'sfsi_plus_ln_api_key' => $option4['sfsi_plus_ln_api_key'],
|
946 |
-
'sfsi_plus_ln_secret_key' => $option4['sfsi_plus_ln_secret_key'],
|
947 |
-
'sfsi_plus_ln_oAuth_user_token' => $option4['sfsi_plus_ln_oAuth_user_token']
|
948 |
);
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
$
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
$followers = $socialObj->sfsi_get_youtube($youtube_user);
|
972 |
-
$scounts['youtube_count'] = $socialObj->format_num($followers);
|
973 |
-
}
|
974 |
-
else
|
975 |
-
{
|
976 |
-
$scounts['youtube_count'] = 01;
|
977 |
-
}
|
978 |
-
}
|
979 |
-
else
|
980 |
-
{
|
981 |
-
$scounts['youtube_count']=$option4['sfsi_plus_youtube_manualCounts'];
|
982 |
-
}
|
983 |
-
/* get Pinterest counts */
|
984 |
-
if(isset($option4['sfsi_plus_pinterest_countsFrom']) && !empty($option4['sfsi_plus_pinterest_countsFrom']) && $option4['sfsi_plus_pinterest_countsFrom']=="pins" )
|
985 |
-
{
|
986 |
-
$url=home_url();
|
987 |
-
$pins=$socialObj->sfsi_get_pinterest($url);
|
988 |
-
$scounts['pin_count']= $socialObj->format_num($pins);
|
989 |
-
}
|
990 |
-
else
|
991 |
-
{
|
992 |
-
$scounts['pin_count']=$option4['sfsi_plus_pinterest_manualCounts'];
|
993 |
-
}
|
994 |
-
/* get instagram count */
|
995 |
-
if(isset($option4['sfsi_plus_instagram_countsFrom']) && !empty($option4['sfsi_plus_instagram_countsFrom']) && $option4['sfsi_plus_instagram_countsFrom']=="followers" )
|
996 |
-
{
|
997 |
-
$iuser_name= $option4['sfsi_plus_instagram_User'];
|
998 |
-
$counts = $socialObj->sfsi_get_instagramFollowers($iuser_name);
|
999 |
-
if(empty($counts))
|
1000 |
-
{
|
1001 |
-
$scounts['instagram_count']=(string) "0";
|
1002 |
}
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1006 |
}
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
if(
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
|
|
|
|
|
|
|
|
|
|
1021 |
}
|
1022 |
-
|
1023 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1024 |
$scounts['houzz_count'] = '20';
|
1025 |
}
|
1026 |
-
}
|
1027 |
-
elseif(!isset($option4['sfsi_plus_houzz_countsFrom']))
|
1028 |
-
{
|
1029 |
-
$scounts['houzz_count'] = '20';
|
1030 |
-
}
|
1031 |
|
1032 |
/* get rss count */
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
}
|
1037 |
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
}
|
1054 |
-
return $scounts; exit;
|
1055 |
}
|
1056 |
|
1057 |
/* activate and remove footer credit link */
|
1058 |
-
add_action('wp_ajax_plus_activateFooter','sfsiplusActivateFooter');
|
1059 |
function sfsiplusActivateFooter()
|
1060 |
{
|
1061 |
-
if (
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
|
|
|
|
|
|
|
|
1065 |
|
1066 |
-
|
1067 |
-
|
|
|
1068 |
}
|
1069 |
|
1070 |
-
add_action('wp_ajax_plus_removeFooter','sfsiplusremoveFooter');
|
1071 |
function sfsiplusremoveFooter()
|
1072 |
{
|
1073 |
-
if (
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
|
|
|
|
|
|
|
|
1077 |
|
1078 |
-
|
1079 |
-
|
|
|
1080 |
}
|
1081 |
|
1082 |
-
add_action('wp_ajax_getIconPreview','sfsiPlusGetIconPreview');
|
1083 |
function sfsiPlusGetIconPreview()
|
1084 |
{
|
1085 |
-
if (
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
|
|
|
|
|
|
|
|
1089 |
// extract($_POST);
|
1090 |
-
$iconname = isset($_POST) && isset($_POST['iconname']) ? sanitize_text_field($_POST['iconname']):'';
|
1091 |
-
$iconValue = isset($_POST) && isset($_POST['iconValue']) ? sanitize_text_field($_POST['iconValue']):'';
|
1092 |
-
echo '<img src="'
|
1093 |
die;
|
1094 |
}
|
1095 |
add_action("wp_ajax_sfsiplus_curlerrornotification", "sfsiplus_curlerrornotification");
|
1096 |
function sfsiplus_curlerrornotification()
|
1097 |
{
|
1098 |
-
if (
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
|
|
|
|
|
|
|
|
1105 |
}
|
1106 |
-
add_action('wp_ajax_getForm','sfsiPlusGetForm');
|
1107 |
function sfsiPlusGetForm()
|
1108 |
{
|
1109 |
-
if (
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
|
|
|
|
|
|
|
|
1113 |
// extract($_POST);
|
1114 |
-
$heading = isset($_POST) && isset($_POST['heading'])?sanitize_text_field($_POST['heading']):'';
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
?>
|
1119 |
<xmp>
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
</xmp>
|
1132 |
-
|
1133 |
die;
|
1134 |
}
|
1135 |
|
1136 |
add_action("wp_ajax_sfsiPlus_notification_read", "sfsiPlus_notification_read");
|
1137 |
function sfsiPlus_notification_read()
|
1138 |
{
|
1139 |
-
if (
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
|
|
|
|
|
|
|
|
1143 |
update_option("sfsi_plus_show_notification", "no");
|
1144 |
echo "success";
|
1145 |
die;
|
@@ -1148,10 +1260,14 @@ function sfsiPlus_notification_read()
|
|
1148 |
add_action("wp_ajax_sfsiPlus_new_notification_read", "sfsiPlus_new_notification_read");
|
1149 |
function sfsiPlus_new_notification_read()
|
1150 |
{
|
1151 |
-
if (
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
|
|
|
|
|
|
|
|
1155 |
update_option("sfsi_plus_new_show_notification", "no");
|
1156 |
echo "success";
|
1157 |
die;
|
@@ -1162,172 +1278,175 @@ function sfsi_plus_sanitize_field($value)
|
|
1162 |
return strip_tags(trim($value));
|
1163 |
}
|
1164 |
//Sanitize color code
|
1165 |
-
if(@!function_exists("sfsi_plus_sanitize_hex_color"))
|
1166 |
-
|
1167 |
-
function sfsi_plus_sanitize_hex_color( $color )
|
1168 |
{
|
1169 |
-
if (
|
1170 |
return '';
|
1171 |
-
|
1172 |
// 3 or 6 hex digits, or the empty string.
|
1173 |
-
if (
|
1174 |
return $color;
|
1175 |
}
|
1176 |
}
|
1177 |
|
1178 |
-
function sfsi_plus_returningElement($element)
|
|
|
|
|
|
|
1179 |
|
1180 |
-
function sfsi_plus_get_keywordEnglish()
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
|
|
1187 |
}
|
1188 |
|
1189 |
|
1190 |
-
add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
1191 |
|
1192 |
-
function sfsi_plus_bannerOption()
|
|
|
1193 |
|
1194 |
error_reporting(1);
|
1195 |
-
if (
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
foreach ($themeDataArr as $themeDataObj):
|
1210 |
-
if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0)
|
1211 |
-
{
|
1212 |
-
$themeName = $themeDataObj->themeName;
|
1213 |
-
$noBrainerKeywords = $themeDataObj->noBrainerKeywords;
|
1214 |
-
$separateKeywords = $themeDataObj->separateKeywords;
|
1215 |
-
$negativeKeywords = $themeDataObj->negativeKeywords;
|
1216 |
-
$noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
|
1217 |
-
if($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
|
1218 |
-
{
|
1219 |
-
$matchFound = true;
|
1220 |
-
|
1221 |
-
$themeName = strtolower($themeName);
|
1222 |
-
|
1223 |
-
$objThemeCheck->sfsi_plus_bannereHtml(
|
1224 |
-
$themeDataObj->headline,
|
1225 |
-
$themeDataObj->themeLink,
|
1226 |
-
(SFSI_PLUS_PLUGURL).'images/website_theme/'.$themeName.'.png',
|
1227 |
-
$themeDataObj->bottomtext
|
1228 |
-
);
|
1229 |
-
|
1230 |
-
break;
|
1231 |
-
}
|
1232 |
-
}
|
1233 |
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1326 |
jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
|
1327 |
SFSI.ajax({
|
1328 |
url:sfsi_plus_ajax_object.ajax_url,
|
1329 |
type:"post",
|
1330 |
-
data: {action: "sfsiPlus_new_notification_read",nonce:"'.(wp_create_nonce('plus_new_notification_read')).'"},
|
1331 |
success:function(msg){
|
1332 |
if(jQuery.trim(msg) == "success")
|
1333 |
{
|
@@ -1337,32 +1456,41 @@ if(!$matchFound){
|
|
1337 |
});
|
1338 |
});
|
1339 |
</script>';
|
1340 |
-
|
1341 |
-
|
1342 |
-
var_dump($e);die();
|
1343 |
}
|
1344 |
die;
|
1345 |
}
|
1346 |
|
1347 |
-
add_action('wp_ajax_sfsiplusOfflineChatMessage','sfsi_plus_OfflineChatMessage');
|
1348 |
|
1349 |
-
function sfsi_plus_OfflineChatMessage()
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
|
|
|
|
|
|
|
|
|
|
1354 |
error_reporting(0);
|
1355 |
// extract($_POST);
|
1356 |
$email = isset($_POST) && isset($_POST['email']) ? sanitize_text_field($_POST['email']) : '';
|
1357 |
-
|
1358 |
-
$body="<table><tr><th>Site:</th><td>".home_url()."</td></tr><tr><th>Email:</th><td>"
|
1359 |
-
$sent=wp_mail('help@ultimatelysocial.com',"New question from user"
|
1360 |
-
if(isset($sent)&&(true
|
1361 |
echo "success";
|
1362 |
-
}else{
|
1363 |
echo "failure";
|
1364 |
}
|
1365 |
die();
|
1366 |
}
|
1367 |
|
|
|
|
|
|
|
|
|
1368 |
?>
|
1 |
+
<?php
|
2 |
/* save all option to options table in database using ajax */
|
3 |
+
/* save settings for section 1 */
|
4 |
+
add_action('wp_ajax_plus_updateSrcn1', 'sfsi_plus_options_updater1');
|
5 |
function sfsi_plus_options_updater1()
|
6 |
{
|
7 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step1")) {
|
8 |
+
echo json_encode(array("wrong_nonce"));
|
9 |
+
exit;
|
10 |
+
}
|
11 |
+
if (!current_user_can('manage_options')) {
|
12 |
+
echo json_encode(array('res' => 'not allowed'));
|
13 |
+
die();
|
14 |
+
}
|
15 |
+
$option1 = unserialize(get_option('sfsi_plus_section1_options', false));
|
16 |
+
$sfsi_plus_rss_display = isset($_POST["sfsi_plus_rss_display"]) ? sanitize_text_field($_POST["sfsi_plus_rss_display"]) : 'no';
|
17 |
+
$sfsi_plus_email_display = isset($_POST["sfsi_plus_email_display"]) ? sanitize_text_field($_POST["sfsi_plus_email_display"]) : 'no';
|
18 |
+
$sfsi_plus_facebook_display = isset($_POST["sfsi_plus_facebook_display"]) ? sanitize_text_field($_POST["sfsi_plus_facebook_display"]) : 'no';
|
19 |
+
$sfsi_plus_twitter_display = isset($_POST["sfsi_plus_twitter_display"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_display"]) : 'no';
|
20 |
+
$sfsi_plus_youtube_display = isset($_POST["sfsi_plus_youtube_display"]) ? sanitize_text_field($_POST["sfsi_plus_youtube_display"]) : 'no';
|
21 |
+
$sfsi_plus_pinterest_display = isset($_POST["sfsi_plus_pinterest_display"]) ? sanitize_text_field($_POST["sfsi_plus_pinterest_display"]) : 'no';
|
22 |
+
$sfsi_plus_instagram_display = isset($_POST["sfsi_plus_instagram_display"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_display"]) : 'no';
|
23 |
+
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_display"]) : 'no';
|
24 |
+
$sfsi_plus_telegram_display = isset($_POST["sfsi_plus_telegram_display"]) ? sanitize_text_field($_POST["sfsi_plus_telegram_display"]) : 'no';
|
25 |
+
$sfsi_plus_vk_display = isset($_POST["sfsi_plus_vk_display"]) ? sanitize_text_field($_POST["sfsi_plus_vk_display"]) : 'no';
|
26 |
+
$sfsi_plus_ok_display = isset($_POST["sfsi_plus_ok_display"]) ? sanitize_text_field($_POST["sfsi_plus_ok_display"]) : 'no';
|
27 |
+
$sfsi_plus_weibo_display = isset($_POST["sfsi_plus_weibo_display"]) ? sanitize_text_field($_POST["sfsi_plus_weibo_display"]) : 'no';
|
28 |
+
$sfsi_plus_wechat_display = isset($_POST["sfsi_plus_wechat_display"]) ? sanitize_text_field($_POST["sfsi_plus_wechat_display"]) : 'no';
|
29 |
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_display"]) : 'no';
|
30 |
+
$sfsi_plus_linkedin_display = isset($_POST["sfsi_plus_linkedin_display"]) ? sanitize_text_field($_POST["sfsi_plus_linkedin_display"]) : 'no';
|
31 |
+
|
32 |
+
$sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
|
33 |
+
$up_option1 = array(
|
34 |
+
'sfsi_plus_rss_display' => sanitize_text_field($sfsi_plus_rss_display),
|
35 |
+
'sfsi_plus_email_display' => sanitize_text_field($sfsi_plus_email_display),
|
36 |
+
'sfsi_plus_facebook_display' => sanitize_text_field($sfsi_plus_facebook_display),
|
37 |
+
'sfsi_plus_twitter_display' => sanitize_text_field($sfsi_plus_twitter_display),
|
38 |
+
'sfsi_plus_youtube_display' => sanitize_text_field($sfsi_plus_youtube_display),
|
39 |
+
'sfsi_plus_pinterest_display' => sanitize_text_field($sfsi_plus_pinterest_display),
|
40 |
+
'sfsi_plus_linkedin_display' => sanitize_text_field($sfsi_plus_linkedin_display),
|
41 |
'sfsi_plus_instagram_display' => sanitize_text_field($sfsi_plus_instagram_display),
|
42 |
'sfsi_plus_ok_display' => sanitize_text_field($sfsi_plus_ok_display),
|
43 |
+
'sfsi_plus_telegram_display' => sanitize_text_field($sfsi_plus_telegram_display),
|
44 |
'sfsi_plus_vk_display' => sanitize_text_field($sfsi_plus_vk_display),
|
45 |
'sfsi_plus_wechat_display' => sanitize_text_field($sfsi_plus_wechat_display),
|
46 |
'sfsi_plus_weibo_display' => sanitize_text_field($sfsi_plus_weibo_display),
|
47 |
'sfsi_plus_houzz_display' => sanitize_text_field($sfsi_plus_houzz_display),
|
48 |
+
'sfsi_custom_files' => $sfsi_custom_icons
|
49 |
+
);
|
50 |
+
|
51 |
+
$c = update_option('sfsi_plus_section1_options', serialize($up_option1));
|
52 |
+
|
53 |
+
header('Content-Type: application/json');
|
54 |
+
echo json_encode(array("success"));
|
55 |
+
exit;
|
56 |
}
|
57 |
+
/* save settings for section 2 */
|
58 |
+
add_action('wp_ajax_plus_updateSrcn2', 'sfsi_plus_options_updater2');
|
59 |
function sfsi_plus_options_updater2()
|
60 |
{
|
61 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step2")) {
|
62 |
+
echo json_encode(array("wrong_nonce"));
|
63 |
+
exit;
|
64 |
+
}
|
65 |
+
if (!current_user_can('manage_options')) {
|
66 |
+
echo json_encode(array('res' => 'not allowed'));
|
67 |
+
die();
|
68 |
+
}
|
69 |
+
$sfsi_plus_rss_url = isset($_POST["sfsi_plus_rss_url"]) ? esc_url(trim($_POST["sfsi_plus_rss_url"])) : '';
|
70 |
+
$sfsi_plus_rss_icons = isset($_POST["sfsi_plus_rss_icons"]) ? sanitize_text_field($_POST["sfsi_plus_rss_icons"]) : 'email';
|
71 |
+
|
72 |
+
$sfsi_plus_facebookPage_option = isset($_POST["sfsi_plus_facebookPage_option"]) ? sanitize_text_field($_POST["sfsi_plus_facebookPage_option"]) : 'no';
|
73 |
+
$sfsi_plus_facebookPage_url = isset($_POST["sfsi_plus_facebookPage_url"]) ? esc_url(trim($_POST["sfsi_plus_facebookPage_url"])) : '';
|
74 |
+
$sfsi_plus_facebookLike_option = isset($_POST["sfsi_plus_facebookLike_option"]) ? sanitize_text_field($_POST["sfsi_plus_facebookLike_option"]) : 'no';
|
75 |
+
$sfsi_plus_facebookShare_option = isset($_POST["sfsi_plus_facebookShare_option"]) ? sanitize_text_field($_POST["sfsi_plus_facebookShare_option"]) : 'no';
|
76 |
+
|
77 |
+
$sfsi_plus_twitter_followme = isset($_POST["sfsi_plus_twitter_followme"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_followme"]) : 'no';
|
78 |
+
$sfsi_plus_twitter_followUserName = isset($_POST["sfsi_plus_twitter_followUserName"]) ? sanitize_text_field(trim($_POST["sfsi_plus_twitter_followUserName"])) : '';
|
79 |
+
$sfsi_plus_twitter_aboutPage = isset($_POST["sfsi_plus_twitter_aboutPage"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_aboutPage"]) : 'no';
|
80 |
+
$sfsi_plus_twitter_page = isset($_POST["sfsi_plus_twitter_page"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_page"]) : 'no';
|
81 |
+
$sfsi_plus_twitter_pageURL = isset($_POST["sfsi_plus_twitter_pageURL"]) ? esc_url(trim($_POST["sfsi_plus_twitter_pageURL"])) : '';
|
82 |
+
$sfsi_plus_twitter_aboutPageText = isset($_POST["sfsi_plus_twitter_aboutPageText"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_aboutPageText"]) : 'Hey check out this cool site I found';
|
83 |
+
|
84 |
+
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? esc_url(trim($_POST["sfsi_plus_youtube_pageUrl"])) : '';
|
85 |
+
$sfsi_plus_youtube_page = isset($_POST["sfsi_plus_youtube_page"]) ? sanitize_text_field($_POST["sfsi_plus_youtube_page"]) : 'no';
|
86 |
+
$sfsi_plus_youtube_follow = isset($_POST["sfsi_plus_youtube_follow"]) ? sanitize_text_field($_POST["sfsi_plus_youtube_follow"]) : 'no';
|
87 |
+
|
88 |
+
$sfsi_plus_pinterest_page = isset($_POST["sfsi_plus_pinterest_page"]) ? sanitize_text_field($_POST["sfsi_plus_pinterest_page"]) : 'no';
|
89 |
+
$sfsi_plus_pinterest_pageUrl = isset($_POST["sfsi_plus_pinterest_pageUrl"]) ? esc_url(trim($_POST["sfsi_plus_pinterest_pageUrl"])) : '';
|
90 |
+
$sfsi_plus_pinterest_pingBlog = isset($_POST["sfsi_plus_pinterest_pingBlog"]) ? sanitize_text_field($_POST["sfsi_plus_pinterest_pingBlog"]) : 'no';
|
91 |
+
|
92 |
+
$sfsi_plus_instagram_pageUrl = isset($_POST["sfsi_plus_instagram_pageUrl"]) ? esc_url(trim($_POST["sfsi_plus_instagram_pageUrl"])) : '';
|
93 |
+
|
94 |
+
$sfsi_plus_linkedin_page = isset($_POST["sfsi_plus_linkedin_page"]) ? sanitize_text_field($_POST["sfsi_plus_linkedin_page"]) : 'no';
|
95 |
+
$sfsi_plus_linkedin_pageURL = isset($_POST["sfsi_plus_linkedin_pageURL"]) ? esc_url(trim($_POST["sfsi_plus_linkedin_pageURL"])) : '';
|
96 |
+
$sfsi_plus_linkedin_follow = isset($_POST["sfsi_plus_linkedin_follow"]) ? sanitize_text_field($_POST["sfsi_plus_linkedin_follow"]) : 'no';
|
97 |
+
$sfsi_plus_linkedin_SharePage = isset($_POST["sfsi_plus_linkedin_SharePage"]) ? sanitize_text_field($_POST["sfsi_plus_linkedin_SharePage"]) : 'no';
|
98 |
+
|
99 |
+
$sfsi_plus_linkedin_followCompany = isset($_POST["sfsi_plus_linkedin_followCompany"])
|
100 |
+
? intval(
|
101 |
+
trim($_POST["sfsi_plus_linkedin_followCompany"])
|
102 |
+
) : '';
|
103 |
$sfsi_plus_linkedin_recommendBusines = isset($_POST["sfsi_plus_linkedin_recommendBusines"])
|
104 |
+
? sanitize_text_field(
|
105 |
+
$_POST["sfsi_plus_linkedin_recommendBusines"]
|
106 |
+
) : 'no';
|
107 |
+
$sfsi_plus_linkedin_recommendCompany = isset($_POST["sfsi_plus_linkedin_recommendCompany"])
|
108 |
+
? sanitize_text_field(
|
109 |
+
trim($_POST["sfsi_plus_linkedin_recommendCompany"])
|
110 |
+
) : '';
|
111 |
+
$sfsi_plus_linkedin_recommendProductId = isset($_POST["sfsi_plus_linkedin_recommendProductId"])
|
112 |
+
? intval(
|
113 |
+
trim($_POST["sfsi_plus_linkedin_recommendProductId"])
|
114 |
+
) : '';
|
115 |
+
|
116 |
+
$sfsi_plus_youtubeusernameorid = isset($_POST["sfsi_plus_youtubeusernameorid"]) ? sanitize_text_field(trim($_POST["sfsi_plus_youtubeusernameorid"])) : '';
|
117 |
+
$sfsi_plus_ytube_user = isset($_POST["sfsi_plus_ytube_user"]) ? sanitize_text_field($_POST["sfsi_plus_ytube_user"]) : '';
|
118 |
+
$sfsi_plus_ytube_chnlid = isset($_POST["sfsi_plus_ytube_chnlid"]) ? sanitize_text_field($_POST["sfsi_plus_ytube_chnlid"]) : '';
|
119 |
|
120 |
$sfsi_plus_okVisit_option = isset($_POST["sfsi_plus_okVisit_option"]) ? sanitize_text_field($_POST["sfsi_plus_okVisit_option"]) : 'no';
|
121 |
+
$sfsi_plus_okVisit_url = isset($_POST["sfsi_plus_okVisit_url"]) ? esc_url($_POST["sfsi_plus_okVisit_url"]) : '';
|
122 |
|
123 |
+
$sfsi_plus_okSubscribe_option = isset($_POST["sfsi_plus_okSubscribe_option"]) ? sanitize_text_field($_POST["sfsi_plus_okSubscribe_option"]) : 'no';
|
124 |
+
$sfsi_plus_okSubscribe_userid = isset($_POST["sfsi_plus_okSubscribe_userid"]) ? sanitize_text_field($_POST["sfsi_plus_okSubscribe_userid"]) : '';
|
125 |
+
|
126 |
+
$sfsi_plus_okLike_option = isset($_POST["sfsi_plus_okLike_option"]) ? sanitize_text_field($_POST["sfsi_plus_okLike_option"]) : 'no';
|
127 |
+
|
128 |
+
$sfsi_plus_telegramShare_option = isset($_POST["sfsi_plus_telegramShare_option"]) ? sanitize_text_field($_POST["sfsi_plus_telegramShare_option"]) : 'no';
|
129 |
+
$sfsi_plus_telegramMessage_option = isset($_POST["sfsi_plus_telegramMessage_option"]) ? sanitize_text_field($_POST["sfsi_plus_telegramMessage_option"]) : 'no';
|
130 |
+
$sfsi_plus_telegram_message = isset($_POST["sfsi_plus_telegram_message"]) ? sanitize_text_field($_POST["sfsi_plus_telegram_message"]) : '';
|
131 |
$sfsi_plus_telegram_username = isset($_POST["sfsi_plus_telegram_username"]) ? sanitize_text_field($_POST["sfsi_plus_telegram_username"]) : '';
|
132 |
+
|
133 |
+
|
134 |
$sfsi_plus_vkVisit_option = isset($_POST["sfsi_plus_vkVisit_option"]) ? sanitize_text_field($_POST["sfsi_plus_vkVisit_option"]) : 'no';
|
135 |
$sfsi_plus_vkShare_option = isset($_POST["sfsi_plus_vkShare_option"]) ? sanitize_text_field($_POST["sfsi_plus_vkShare_option"]) : 'no';
|
136 |
$sfsi_plus_vkLike_option = isset($_POST["sfsi_plus_vkLike_option"]) ? sanitize_text_field($_POST["sfsi_plus_vkLike_option"]) : 'no';
|
137 |
$sfsi_plus_vkVisit_url = isset($_POST["sfsi_plus_vkVisit_url"]) ? sanitize_text_field($_POST["sfsi_plus_vkVisit_url"]) : '';
|
138 |
+
|
139 |
+
|
140 |
+
$sfsi_plus_weiboVisit_option = isset($_POST["sfsi_plus_weiboVisit_option"]) ? sanitize_text_field($_POST["sfsi_plus_weiboVisit_option"]) : 'no';
|
141 |
+
$sfsi_plus_weiboShare_option = isset($_POST["sfsi_plus_weiboShare_option"]) ? sanitize_text_field($_POST["sfsi_plus_weiboShare_option"]) : 'no';
|
142 |
+
$sfsi_plus_weiboLike_option = isset($_POST["sfsi_plus_weiboLike_option"]) ? sanitize_text_field($_POST["sfsi_plus_weiboLike_option"]) : 'no';
|
143 |
+
$sfsi_plus_weiboVisit_url = isset($_POST["sfsi_plus_weiboVisit_url"]) ? sanitize_text_field($_POST["sfsi_plus_weiboVisit_url"]) : '';;
|
144 |
+
$sfsi_plus_wechatFollow_option = isset($_POST["sfsi_plus_wechatFollow_option"]) ? sanitize_text_field($_POST["sfsi_plus_wechatFollow_option"]) : 'no';
|
145 |
+
$sfsi_plus_wechatShare_option = isset($_POST["sfsi_plus_wechatShare_option"]) ? sanitize_text_field($_POST["sfsi_plus_wechatShare_option"]) : 'no';
|
146 |
+
$sfsi_plus_wechat_scan_image = isset($_POST["sfsi_plus_wechat_scan_image"]) ? sanitize_text_field($_POST["sfsi_plus_wechat_scan_image"]) : '';
|
147 |
+
|
|
|
148 |
/*
|
149 |
* Escape custom icons url
|
150 |
*/
|
151 |
+
if (
|
152 |
isset($_POST["sfsi_plus_custom_links"]) &&
|
153 |
!empty($_POST["sfsi_plus_custom_links"])
|
154 |
+
) {
|
155 |
+
$esacpedUrls = array();
|
156 |
+
$sfsi_plus_CustomIcon_links = $_POST["sfsi_plus_custom_links"];
|
|
|
157 |
|
158 |
+
foreach ($sfsi_plus_CustomIcon_links as $key => $sfsi_pluscustomIconUrl) {
|
159 |
+
$esacpedUrls[$key] = esc_url($sfsi_pluscustomIconUrl);
|
160 |
+
}
|
161 |
+
} else {
|
|
|
|
|
|
|
162 |
$esacpedUrls = '';
|
163 |
}
|
164 |
+
$sfsi_plus_CustomIcon_links = isset($_POST["sfsi_plus_custom_links"]) ? serialize($esacpedUrls) : '';
|
165 |
+
$sfsi_plus_houzz_pageUrl = isset($_POST["sfsi_plus_houzz_pageUrl"]) ? esc_url(trim($_POST["sfsi_plus_houzz_pageUrl"])) : '';
|
166 |
+
|
167 |
+
$option2 = unserialize(get_option('sfsi_plus_section2_options', false));
|
168 |
+
$up_option2 = array(
|
169 |
'sfsi_plus_rss_url' => esc_url($sfsi_plus_rss_url),
|
170 |
'sfsi_rss_blogName' => '',
|
171 |
'sfsi_rss_blogEmail' => '',
|
172 |
'sfsi_plus_rss_icons' => sanitize_text_field($sfsi_plus_rss_icons),
|
173 |
+
'sfsi_plus_email_url' => esc_url($option2['sfsi_plus_email_url']),
|
174 |
/* facebook buttons options */
|
175 |
'sfsi_plus_facebookPage_option' => sanitize_text_field($sfsi_plus_facebookPage_option),
|
176 |
'sfsi_plus_facebookPage_url' => esc_url($sfsi_plus_facebookPage_url),
|
177 |
'sfsi_plus_facebookLike_option' => sanitize_text_field($sfsi_plus_facebookLike_option),
|
178 |
'sfsi_plus_facebookShare_option' => sanitize_text_field($sfsi_plus_facebookShare_option),
|
179 |
+
|
180 |
/* Twitter buttons options */
|
181 |
'sfsi_plus_twitter_followme' => sanitize_text_field($sfsi_plus_twitter_followme),
|
182 |
'sfsi_plus_twitter_followUserName' => sanitize_text_field($sfsi_plus_twitter_followUserName),
|
184 |
'sfsi_plus_twitter_page' => sanitize_text_field($sfsi_plus_twitter_page),
|
185 |
'sfsi_plus_twitter_pageURL' => esc_url($sfsi_plus_twitter_pageURL),
|
186 |
'sfsi_plus_twitter_aboutPageText' => sanitize_text_field($sfsi_plus_twitter_aboutPageText),
|
187 |
+
|
188 |
/* youtube options */
|
189 |
'sfsi_plus_youtube_pageUrl' => esc_url($sfsi_plus_youtube_pageUrl),
|
190 |
'sfsi_plus_youtube_page' => sanitize_text_field($sfsi_plus_youtube_page),
|
192 |
'sfsi_plus_ytube_user' => sanitize_text_field($sfsi_plus_ytube_user),
|
193 |
'sfsi_plus_youtubeusernameorid' => sanitize_text_field($sfsi_plus_youtubeusernameorid),
|
194 |
'sfsi_plus_ytube_chnlid' => sanitize_text_field($sfsi_plus_ytube_chnlid),
|
195 |
+
|
196 |
/* pinterest options */
|
197 |
'sfsi_plus_pinterest_page' => sanitize_text_field($sfsi_plus_pinterest_page),
|
198 |
'sfsi_plus_pinterest_pageUrl' => esc_url($sfsi_plus_pinterest_pageUrl),
|
199 |
'sfsi_plus_pinterest_pingBlog' => sanitize_text_field($sfsi_plus_pinterest_pingBlog),
|
200 |
+
|
201 |
/* instagram and houzz options */
|
202 |
'sfsi_plus_instagram_pageUrl' => esc_url($sfsi_plus_instagram_pageUrl),
|
203 |
'sfsi_plus_houzz_pageUrl' => esc_url($sfsi_plus_houzz_pageUrl),
|
204 |
+
//MZ CODE START
|
205 |
+
|
206 |
/** OK */
|
207 |
'sfsi_plus_okVisit_option' => sanitize_text_field($sfsi_plus_okVisit_option),
|
208 |
+
'sfsi_plus_okVisit_url' => sanitize_text_field($sfsi_plus_okVisit_url),
|
209 |
+
'sfsi_plus_okSubscribe_option' => sanitize_text_field($sfsi_plus_okSubscribe_option),
|
210 |
+
'sfsi_plus_okSubscribe_userid' => sanitize_text_field($sfsi_plus_okSubscribe_userid),
|
211 |
'sfsi_plus_okLike_option' => sanitize_text_field($sfsi_plus_okLike_option),
|
212 |
+
|
213 |
+
/* telegram */
|
214 |
'sfsi_plus_telegramShare_option' => sanitize_text_field($sfsi_plus_telegramShare_option),
|
215 |
+
'sfsi_plus_telegramMessage_option' => sanitize_text_field($sfsi_plus_telegramMessage_option),
|
216 |
+
'sfsi_plus_telegram_message' => sanitize_text_field($sfsi_plus_telegram_message),
|
217 |
'sfsi_plus_telegram_username' => sanitize_text_field($sfsi_plus_telegram_username),
|
218 |
+
|
219 |
/* VK */
|
220 |
+
'sfsi_plus_vkVisit_option' => sanitize_text_field($sfsi_plus_vkVisit_option),
|
221 |
+
'sfsi_plus_vkShare_option' => sanitize_text_field($sfsi_plus_vkShare_option),
|
222 |
+
'sfsi_plus_vkLike_option' => sanitize_text_field($sfsi_plus_vkLike_option),
|
223 |
+
'sfsi_plus_vkVisit_url' => sanitize_text_field($sfsi_plus_vkVisit_url),
|
224 |
|
225 |
/** Weibo */
|
226 |
'sfsi_plus_weiboVisit_option' => sanitize_text_field($sfsi_plus_weiboVisit_option),
|
227 |
+
'sfsi_plus_weiboShare_option' => sanitize_text_field($sfsi_plus_weiboShare_option),
|
228 |
+
'sfsi_plus_weiboLike_option' => sanitize_text_field($sfsi_plus_weiboLike_option),
|
229 |
+
'sfsi_plus_weiboVisit_url' => sanitize_text_field($sfsi_plus_weiboVisit_url),
|
230 |
+
|
231 |
/**Wechat */
|
232 |
+
'sfsi_plus_wechatFollow_option' => sanitize_text_field($sfsi_plus_wechatFollow_option),
|
233 |
+
'sfsi_plus_wechatShare_option' => sanitize_text_field($sfsi_plus_wechatShare_option),
|
234 |
+
'sfsi_plus_wechat_scan_image' => sanitize_text_field($sfsi_plus_wechat_scan_image),
|
235 |
+
|
236 |
|
237 |
+
//MZ CODE END
|
238 |
/* linkedIn options */
|
239 |
'sfsi_plus_linkedin_page' => sanitize_text_field($sfsi_plus_linkedin_page),
|
240 |
'sfsi_plus_linkedin_pageURL' => esc_url($sfsi_plus_linkedin_pageURL),
|
241 |
'sfsi_plus_linkedin_follow' => sanitize_text_field($sfsi_plus_linkedin_follow),
|
242 |
'sfsi_plus_linkedin_followCompany' => intval($sfsi_plus_linkedin_followCompany),
|
243 |
'sfsi_plus_linkedin_SharePage' => sanitize_text_field($sfsi_plus_linkedin_SharePage),
|
244 |
+
'sfsi_plus_linkedin_recommendBusines' => sanitize_text_field($sfsi_plus_linkedin_recommendBusines),
|
245 |
+
'sfsi_plus_linkedin_recommendCompany' => sanitize_text_field($sfsi_plus_linkedin_recommendCompany),
|
246 |
+
'sfsi_plus_linkedin_recommendProductId' => intval($sfsi_plus_linkedin_recommendProductId),
|
247 |
'sfsi_plus_CustomIcon_links' => $sfsi_plus_CustomIcon_links
|
248 |
+
);
|
249 |
+
update_option('sfsi_plus_section2_options', serialize($up_option2));
|
250 |
+
$option4 = unserialize(get_option('sfsi_plus_section4_options', false));
|
251 |
+
|
252 |
$option4['sfsi_plus_youtubeusernameorid'] = sanitize_text_field($sfsi_plus_youtubeusernameorid);
|
253 |
$option4['sfsi_plus_ytube_chnlid'] = sfsi_plus_sanitize_field($sfsi_plus_ytube_chnlid);
|
254 |
+
update_option('sfsi_plus_section4_options', serialize($option4));
|
255 |
+
|
256 |
+
header('Content-Type: application/json');
|
257 |
+
echo json_encode(array("success"));
|
258 |
+
exit;
|
259 |
}
|
260 |
+
/* save settings for section 3 */
|
261 |
+
add_action('wp_ajax_plus_updateSrcn3', 'sfsi_plus_options_updater3');
|
262 |
function sfsi_plus_options_updater3()
|
263 |
{
|
264 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step3")) {
|
265 |
+
echo json_encode(array("wrong_nonce"));
|
266 |
+
exit;
|
267 |
+
}
|
268 |
+
if (!current_user_can('manage_options')) {
|
269 |
+
echo json_encode(array('res' => 'not allowed'));
|
270 |
+
die();
|
271 |
+
}
|
272 |
+
$sfsi_plus_actvite_theme = isset($_POST["sfsi_plus_actvite_theme"]) ? sanitize_text_field($_POST["sfsi_plus_actvite_theme"]) : 'no';
|
273 |
+
$sfsi_plus_mouseOver = isset($_POST["sfsi_plus_mouseOver"]) ? sanitize_text_field($_POST["sfsi_plus_mouseOver"]) : 'no';
|
274 |
+
|
275 |
+
$sfsi_plus_mouseOver_effect = isset($_POST["sfsi_plus_mouseOver_effect"]) ? sanitize_text_field($_POST["sfsi_plus_mouseOver_effect"]) : 'fade_in';
|
276 |
+
|
277 |
+
$sfsi_plus_mouseover_effect_type = isset($_POST["sfsi_plus_mouseover_effect_type"]) ? sanitize_text_field($_POST["sfsi_plus_mouseover_effect_type"]) : 'same_icons';
|
278 |
+
|
279 |
+
$sfsi_plus_shuffle_icons = isset($_POST["sfsi_plus_shuffle_icons"]) ? sanitize_text_field($_POST["sfsi_plus_shuffle_icons"]) : 'no';
|
280 |
+
$sfsi_plus_shuffle_Firstload = isset($_POST["sfsi_plus_shuffle_Firstload"]) ? sanitize_text_field($_POST["sfsi_plus_shuffle_Firstload"]) : 'no';
|
281 |
+
$sfsi_plus_shuffle_interval = isset($_POST["sfsi_plus_shuffle_interval"]) ? sanitize_text_field($_POST["sfsi_plus_shuffle_interval"]) : 'no';
|
282 |
+
$sfsi_plus_shuffle_intervalTime = isset($_POST["sfsi_plus_shuffle_intervalTime"]) ? intval($_POST["sfsi_plus_shuffle_intervalTime"]) : '';
|
283 |
+
$sfsi_plus_specialIcon_animation = isset($_POST["sfsi_plus_specialIcon_animation"]) ? sanitize_text_field($_POST["sfsi_plus_specialIcon_animation"]) : '';
|
284 |
+
$sfsi_plus_specialIcon_MouseOver = isset($_POST["sfsi_plus_specialIcon_MouseOver"]) ? sanitize_text_field($_POST["sfsi_plus_specialIcon_MouseOver"]) : 'no';
|
285 |
+
$sfsi_plus_specialIcon_Firstload = isset($_POST["sfsi_plus_specialIcon_Firstload"]) ? sanitize_text_field($_POST["sfsi_plus_specialIcon_Firstload"]) : 'no';
|
286 |
+
|
287 |
+
$sfsi_plus_specialIcon_Firstload_Icons = isset($_POST["sfsi_plus_specialIcon_Firstload_Icons"])
|
288 |
+
? sanitize_text_field(
|
289 |
+
$_POST["sfsi_plus_specialIcon_Firstload_Icons"]
|
290 |
+
) : 'all';
|
291 |
+
$sfsi_plus_specialIcon_interval = isset($_POST["sfsi_plus_specialIcon_interval"])
|
292 |
+
? sanitize_text_field(
|
293 |
+
$_POST["sfsi_plus_specialIcon_interval"]
|
294 |
+
) : 'no';
|
295 |
+
$sfsi_plus_specialIcon_intervalTime = isset($_POST["sfsi_plus_specialIcon_intervalTime"])
|
296 |
+
? sanitize_text_field(
|
297 |
+
$_POST["sfsi_plus_specialIcon_intervalTime"]
|
298 |
+
) : '';
|
299 |
+
$sfsi_plus_specialIcon_intervalIcons = isset($_POST["sfsi_plus_specialIcon_intervalIcons"])
|
300 |
+
? sanitize_text_field(
|
301 |
+
$_POST["sfsi_plus_specialIcon_intervalIcons"]
|
302 |
+
) : 'all';
|
303 |
+
|
304 |
+
/* Design and animation option */
|
305 |
+
$up_option3 = array(
|
306 |
'sfsi_plus_actvite_theme' => sanitize_text_field($sfsi_plus_actvite_theme),
|
307 |
/* animations options */
|
308 |
'sfsi_plus_mouseOver' => sanitize_text_field($sfsi_plus_mouseOver),
|
319 |
'sfsi_plus_specialIcon_interval' => sanitize_text_field($sfsi_plus_specialIcon_interval),
|
320 |
'sfsi_plus_specialIcon_intervalTime' => sanitize_text_field($sfsi_plus_specialIcon_intervalTime),
|
321 |
'sfsi_plus_specialIcon_intervalIcons' => sanitize_text_field($sfsi_plus_specialIcon_intervalIcons),
|
322 |
+
);
|
323 |
+
update_option('sfsi_plus_section3_options', serialize($up_option3));
|
324 |
+
header('Content-Type: application/json');
|
325 |
+
echo json_encode(array("success"));
|
326 |
+
exit;
|
327 |
}
|
328 |
+
/* save settings for section 4 */
|
329 |
+
add_action('wp_ajax_plus_updateSrcn4', 'sfsi_plus_options_updater4');
|
330 |
function sfsi_plus_options_updater4()
|
331 |
{
|
332 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step4")) {
|
333 |
+
echo json_encode(array("wrong_nonce"));
|
334 |
+
exit;
|
335 |
+
}
|
336 |
+
if (!current_user_can('manage_options')) {
|
337 |
+
echo json_encode(array('res' => 'not allowed'));
|
338 |
+
die();
|
339 |
+
}
|
340 |
+
$sfsi_plus_display_counts = isset($_POST["sfsi_plus_display_counts"]) ? sanitize_text_field($_POST["sfsi_plus_display_counts"]) : 'no';
|
341 |
+
|
342 |
+
$sfsi_plus_email_countsDisplay = isset($_POST["sfsi_plus_email_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_email_countsDisplay"]) : 'no';
|
343 |
+
$sfsi_plus_email_countsFrom = isset($_POST["sfsi_plus_email_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_email_countsFrom"]) : 'manual';
|
344 |
+
$sfsi_plus_email_manualCounts = isset($_POST["sfsi_plus_email_manualCounts"]) ? intval(trim($_POST["sfsi_plus_email_manualCounts"])) : '';
|
345 |
+
|
346 |
+
$sfsi_plus_rss_countsDisplay = isset($_POST["sfsi_plus_rss_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_rss_countsDisplay"]) : 'no';
|
347 |
+
$sfsi_plus_rss_manualCounts = isset($_POST["sfsi_plus_rss_manualCounts"]) ? intval(trim($_POST["sfsi_plus_rss_manualCounts"])) : '';
|
348 |
+
|
349 |
+
$sfsi_plus_facebook_countsDisplay = isset($_POST["sfsi_plus_facebook_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_facebook_countsDisplay"]) : 'no';
|
350 |
+
$sfsi_plus_facebook_countsFrom = isset($_POST["sfsi_plus_facebook_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_facebook_countsFrom"]) : 'manual';
|
351 |
+
$sfsi_plus_facebook_mypageCounts = isset($_POST["sfsi_plus_facebook_mypageCounts"]) ? sanitize_text_field(trim($_POST["sfsi_plus_facebook_mypageCounts"])) : '';
|
352 |
+
$sfsi_plus_facebook_manualCounts = isset($_POST["sfsi_plus_facebook_manualCounts"]) ? intval(trim($_POST["sfsi_plus_facebook_manualCounts"])) : '';
|
353 |
+
$sfsi_plus_facebook_PageLink = isset($_POST["sfsi_plus_facebook_PageLink"]) ? sanitize_text_field(trim($_POST["sfsi_plus_facebook_PageLink"])) : '';
|
354 |
+
|
355 |
+
$sfsi_plus_twitter_countsDisplay = isset($_POST["sfsi_plus_twitter_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_countsDisplay"]) : 'no';
|
356 |
+
$sfsi_plus_twitter_countsFrom = isset($_POST["sfsi_plus_twitter_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_countsFrom"]) : 'manual';
|
357 |
+
$sfsi_plus_twitter_manualCounts = isset($_POST["sfsi_plus_twitter_manualCounts"]) ? intval(trim($_POST["sfsi_plus_twitter_manualCounts"])) : '';
|
358 |
+
$sfsiplus_tw_consumer_key = isset($_POST["sfsiplus_tw_consumer_key"]) ? sanitize_text_field(trim($_POST["sfsiplus_tw_consumer_key"])) : '';
|
359 |
+
$sfsiplus_tw_consumer_secret = isset($_POST["sfsiplus_tw_consumer_secret"]) ? sanitize_text_field(trim($_POST["sfsiplus_tw_consumer_secret"])) : '';
|
360 |
+
$sfsiplus_tw_oauth_access_token = isset($_POST["sfsiplus_tw_oauth_access_token"]) ? sanitize_text_field(trim($_POST["sfsiplus_tw_oauth_access_token"])) : '';
|
361 |
+
$sfsiplus_tw_oauth_access_token_secret = isset($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
362 |
+
? sanitize_text_field(
|
363 |
+
trim($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
364 |
+
) : '';
|
365 |
+
|
366 |
+
$sfsi_plus_linkedIn_countsDisplay = isset($_POST["sfsi_plus_linkedIn_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_linkedIn_countsDisplay"]) : 'no';
|
367 |
+
$sfsi_plus_linkedIn_countsFrom = isset($_POST["sfsi_plus_linkedIn_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_linkedIn_countsFrom"]) : 'manual';
|
368 |
+
$sfsi_plus_linkedIn_manualCounts = isset($_POST["sfsi_plus_linkedIn_manualCounts"]) ? intval(trim($_POST["sfsi_plus_linkedIn_manualCounts"])) : '';
|
369 |
+
$sfsi_plus_ln_company = isset($_POST["sfsi_plus_ln_company"]) ? sanitize_text_field(trim($_POST["sfsi_plus_ln_company"])) : '';
|
370 |
+
$sfsi_plus_ln_api_key = isset($_POST["sfsi_plus_ln_api_key"]) ? sanitize_text_field(trim($_POST["sfsi_plus_ln_api_key"])) : '';
|
371 |
+
$sfsi_plus_ln_secret_key = isset($_POST["sfsi_plus_ln_secret_key"]) ? sanitize_text_field(trim($_POST["sfsi_plus_ln_secret_key"])) : '';
|
372 |
+
$sfsi_plus_ln_oAuth_user_token = isset($_POST["sfsi_plus_ln_oAuth_user_token"]) ? sanitize_text_field(trim($_POST["sfsi_plus_ln_oAuth_user_token"])) : '';
|
373 |
+
|
374 |
+
$sfsi_plus_youtube_countsDisplay = isset($_POST["sfsi_plus_youtube_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_youtube_countsDisplay"]) : 'no';
|
375 |
+
$sfsi_plus_youtube_countsFrom = isset($_POST["sfsi_plus_youtube_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_youtube_countsFrom"]) : 'manual';
|
376 |
+
$sfsi_plus_youtube_manualCounts = isset($_POST["sfsi_plus_youtube_manualCounts"]) ? intval($_POST["sfsi_plus_youtube_manualCounts"]) : '';
|
377 |
+
$sfsi_plus_youtube_user = isset($_POST["sfsi_plus_youtube_user"]) ? sanitize_text_field(trim($_POST["sfsi_plus_youtube_user"])) : '';
|
378 |
+
$sfsi_plus_youtube_channelId = isset($_POST["sfsi_plus_youtube_channelId"]) ? sanitize_text_field(trim($_POST["sfsi_plus_youtube_channelId"])) : '';
|
379 |
+
|
380 |
+
$sfsi_plus_pinterest_countsDisplay = isset($_POST["sfsi_plus_pinterest_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_pinterest_countsDisplay"]) : 'no';
|
381 |
+
$sfsi_plus_pinterest_countsFrom = isset($_POST["sfsi_plus_pinterest_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_pinterest_countsFrom"]) : 'manual';
|
382 |
+
$sfsi_plus_pinterest_manualCounts = isset($_POST["sfsi_plus_pinterest_manualCounts"]) ? intval(trim($_POST["sfsi_plus_pinterest_manualCounts"])) : '';
|
383 |
+
$sfsi_plus_pinterest_user = isset($_POST["sfsi_plus_pinterest_user"]) ? sanitize_text_field(trim($_POST["sfsi_plus_pinterest_user"])) : '';
|
384 |
+
$sfsi_plus_pinterest_board = isset($_POST["sfsi_plus_pinterest_board"]) ? sanitize_text_field(trim($_POST["sfsi_plus_pinterest_board"])) : '';
|
385 |
+
|
386 |
+
$sfsi_plus_instagram_countsDisplay = isset($_POST["sfsi_plus_instagram_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_countsDisplay"]) : 'no';
|
387 |
+
$sfsi_plus_instagram_countsFrom = isset($_POST["sfsi_plus_instagram_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_countsFrom"]) : 'manual';
|
388 |
+
$sfsi_plus_instagram_manualCounts = isset($_POST["sfsi_plus_instagram_manualCounts"]) ? intval(trim($_POST["sfsi_plus_instagram_manualCounts"])) : '';
|
389 |
+
$sfsi_plus_instagram_User = isset($_POST["sfsi_plus_instagram_User"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_User"]) : '';
|
390 |
+
$sfsi_plus_instagram_clientid = isset($_POST["sfsi_plus_instagram_clientid"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_clientid"]) : '';
|
391 |
+
$sfsi_plus_instagram_appurl = isset($_POST["sfsi_plus_instagram_appurl"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_appurl"]) : '';
|
392 |
+
$sfsi_plus_instagram_token = isset($_POST["sfsi_plus_instagram_token"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_token"]) : '';
|
393 |
+
|
394 |
+
$sfsi_plus_houzz_countsDisplay = isset($_POST["sfsi_plus_houzz_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_countsDisplay"]) : 'no';
|
395 |
+
$sfsi_plus_houzz_countsFrom = isset($_POST["sfsi_plus_houzz_countsFrom"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_countsFrom"]) : 'manual';
|
396 |
+
$sfsi_plus_houzz_manualCounts = isset($_POST["sfsi_plus_houzz_manualCounts"]) ? intval(trim($_POST["sfsi_plus_houzz_manualCounts"])) : '';
|
397 |
+
|
398 |
+
$sfsi_plus_facebookPage_url = isset($_POST["sfsi_plus_facebookPage_url"]) ? sanitize_text_field(trim($_POST["sfsi_plus_facebookPage_url"])) : '';
|
399 |
+
|
400 |
+
$sfsi_plus_telegram_countsDisplay = isset($_POST["sfsi_plus_telegram_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_telegram_countsDisplay"]) : 'no';
|
401 |
+
$sfsi_plus_telegram_manualCounts = isset($_POST["sfsi_plus_telegram_manualCounts"]) ? intval(trim($_POST["sfsi_plus_telegram_manualCounts"])) : '';
|
402 |
+
|
403 |
+
$sfsi_plus_vk_countsDisplay = isset($_POST["sfsi_plus_vk_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_vk_countsDisplay"]) : 'no';
|
404 |
+
$sfsi_plus_vk_manualCounts = isset($_POST["sfsi_plus_vk_manualCounts"]) ? intval(trim($_POST["sfsi_plus_vk_manualCounts"])) : '';
|
405 |
+
|
406 |
+
$sfsi_plus_ok_countsDisplay = isset($_POST["sfsi_plus_ok_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_ok_countsDisplay"]) : 'no';
|
407 |
+
$sfsi_plus_ok_manualCounts = isset($_POST["sfsi_plus_ok_manualCounts"]) ? intval(trim($_POST["sfsi_plus_ok_manualCounts"])) : '';
|
408 |
+
|
409 |
+
$sfsi_plus_wechat_countsDisplay = isset($_POST["sfsi_plus_wechat_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_wechat_countsDisplay"]) : 'no';
|
410 |
+
$sfsi_plus_wechat_manualCounts = isset($_POST["sfsi_plus_wechat_manualCounts"]) ? intval(trim($_POST["sfsi_plus_wechat_manualCounts"])) : '';
|
411 |
+
|
412 |
+
$sfsi_plus_weibo_countsDisplay = isset($_POST["sfsi_plus_weibo_countsDisplay"]) ? sanitize_text_field($_POST["sfsi_plus_weibo_countsDisplay"]) : 'no';
|
413 |
+
$sfsi_plus_weibo_manualCounts = isset($_POST["sfsi_plus_weibo_manualCounts"]) ? intval(trim($_POST["sfsi_plus_weibo_manualCounts"])) : '';
|
414 |
$up_option4 = array(
|
415 |
+
'sfsi_plus_display_counts' => sanitize_text_field($sfsi_plus_display_counts),
|
416 |
+
|
417 |
+
'sfsi_plus_email_countsDisplay' => sanitize_text_field($sfsi_plus_email_countsDisplay),
|
418 |
+
'sfsi_plus_email_countsFrom' => sanitize_text_field($sfsi_plus_email_countsFrom),
|
419 |
+
'sfsi_plus_email_manualCounts' => intval($sfsi_plus_email_manualCounts),
|
420 |
+
|
421 |
+
'sfsi_plus_rss_countsDisplay' => sanitize_text_field($sfsi_plus_rss_countsDisplay),
|
422 |
+
'sfsi_plus_rss_manualCounts' => intval($sfsi_plus_rss_manualCounts),
|
423 |
+
|
424 |
+
'sfsi_plus_facebook_countsDisplay' => sanitize_text_field($sfsi_plus_facebook_countsDisplay),
|
425 |
+
'sfsi_plus_facebook_countsFrom' => sanitize_text_field($sfsi_plus_facebook_countsFrom),
|
426 |
+
'sfsi_plus_facebook_mypageCounts' => sfsi_plus_sanitize_field($sfsi_plus_facebook_mypageCounts),
|
427 |
+
'sfsi_plus_facebook_manualCounts' => intval($sfsi_plus_facebook_manualCounts),
|
428 |
+
//'sfsi_plus_facebook_PageLink' => $sfsi_plus_facebook_PageLink,
|
429 |
+
|
430 |
+
'sfsi_plus_twitter_countsDisplay' => sanitize_text_field($sfsi_plus_twitter_countsDisplay),
|
431 |
+
'sfsi_plus_twitter_countsFrom' => sanitize_text_field($sfsi_plus_twitter_countsFrom),
|
432 |
+
'sfsi_plus_twitter_manualCounts' => intval($sfsi_plus_twitter_manualCounts),
|
433 |
+
'sfsiplus_tw_consumer_key' => sfsi_plus_sanitize_field($sfsiplus_tw_consumer_key),
|
434 |
+
'sfsiplus_tw_consumer_secret' => sfsi_plus_sanitize_field($sfsiplus_tw_consumer_secret),
|
435 |
+
'sfsiplus_tw_oauth_access_token' => sfsi_plus_sanitize_field($sfsiplus_tw_oauth_access_token),
|
436 |
+
'sfsiplus_tw_oauth_access_token_secret' => sfsi_plus_sanitize_field($sfsiplus_tw_oauth_access_token_secret),
|
437 |
+
|
438 |
+
/*'sfsi_plus_ln_company' => $sfsi_plus_ln_company,
|
439 |
'sfsi_plus_ln_api_key' => $sfsi_plus_ln_api_key,
|
440 |
'sfsi_plus_ln_secret_key' => $sfsi_plus_ln_secret_key,
|
441 |
+
'sfsi_plus_ln_oAuth_user_token' => $sfsi_plus_ln_oAuth_user_token,*/
|
442 |
+
'sfsi_plus_linkedIn_countsDisplay' => sanitize_text_field($sfsi_plus_linkedIn_countsDisplay),
|
443 |
+
'sfsi_plus_linkedIn_countsFrom' => sanitize_text_field($sfsi_plus_linkedIn_countsFrom),
|
444 |
+
'sfsi_plus_linkedIn_manualCounts' => intval($sfsi_plus_linkedIn_manualCounts),
|
445 |
+
|
446 |
+
'sfsi_plus_youtube_countsDisplay' => sanitize_text_field($sfsi_plus_youtube_countsDisplay),
|
447 |
+
'sfsi_plus_youtube_countsFrom' => sanitize_text_field($sfsi_plus_youtube_countsFrom),
|
448 |
+
'sfsi_plus_youtube_manualCounts' => intval($sfsi_plus_youtube_manualCounts),
|
449 |
+
'sfsi_plus_youtube_user' => sfsi_plus_sanitize_field($sfsi_plus_youtube_user),
|
450 |
+
'sfsi_plus_youtube_channelId' => sfsi_plus_sanitize_field($sfsi_plus_youtube_channelId),
|
451 |
+
|
452 |
+
'sfsi_plus_pinterest_countsDisplay' => sanitize_text_field($sfsi_plus_pinterest_countsDisplay),
|
453 |
+
'sfsi_plus_pinterest_countsFrom' => sanitize_text_field($sfsi_plus_pinterest_countsFrom),
|
454 |
+
'sfsi_plus_pinterest_manualCounts' => intval($sfsi_plus_pinterest_manualCounts),
|
455 |
+
//'sfsi_plus_pinterest_user' => $sfsi_plus_pinterest_user,
|
456 |
+
//'sfsi_plus_pinterest_board' => $sfsi_plus_pinterest_board,
|
457 |
+
|
458 |
+
'sfsi_plus_instagram_countsFrom' => sanitize_text_field($sfsi_plus_instagram_countsFrom),
|
459 |
+
'sfsi_plus_instagram_countsDisplay' => sanitize_text_field($sfsi_plus_instagram_countsDisplay),
|
460 |
+
'sfsi_plus_instagram_manualCounts' => intval($sfsi_plus_instagram_manualCounts),
|
461 |
+
'sfsi_plus_instagram_User' => sanitize_text_field($sfsi_plus_instagram_User),
|
462 |
+
'sfsi_plus_instagram_clientid' => sanitize_text_field($sfsi_plus_instagram_clientid),
|
463 |
+
'sfsi_plus_instagram_appurl' => sanitize_text_field($sfsi_plus_instagram_appurl),
|
464 |
+
'sfsi_plus_instagram_token' => sanitize_text_field($sfsi_plus_instagram_token),
|
465 |
+
|
466 |
+
'sfsi_plus_houzz_countsDisplay' => sanitize_text_field($sfsi_plus_houzz_countsDisplay),
|
467 |
+
'sfsi_plus_houzz_countsFrom' => sanitize_text_field($sfsi_plus_houzz_countsFrom),
|
468 |
+
'sfsi_plus_houzz_manualCounts' => intval($sfsi_plus_houzz_manualCounts),
|
469 |
+
|
470 |
+
'sfsi_plus_telegram_countsDisplay' => sanitize_text_field($sfsi_plus_telegram_countsDisplay),
|
471 |
+
'sfsi_plus_telegram_manualCounts' => intval($sfsi_plus_telegram_manualCounts),
|
472 |
+
|
473 |
+
'sfsi_plus_vk_countsDisplay' => sanitize_text_field($sfsi_plus_vk_countsDisplay),
|
474 |
+
'sfsi_plus_vk_manualCounts' => intval($sfsi_plus_vk_manualCounts),
|
475 |
+
|
476 |
+
'sfsi_plus_ok_countsDisplay' => sanitize_text_field($sfsi_plus_ok_countsDisplay),
|
477 |
+
'sfsi_plus_ok_manualCounts' => intval($sfsi_plus_ok_manualCounts),
|
478 |
+
|
479 |
+
'sfsi_plus_weibo_countsDisplay' => sanitize_text_field($sfsi_plus_weibo_countsDisplay),
|
480 |
+
'sfsi_plus_weibo_manualCounts' => intval($sfsi_plus_weibo_manualCounts),
|
481 |
+
|
482 |
+
'sfsi_plus_wechat_countsDisplay' => sanitize_text_field($sfsi_plus_wechat_countsDisplay),
|
483 |
+
'sfsi_plus_wechat_manualCounts' => intval($sfsi_plus_wechat_manualCounts),
|
484 |
+
);
|
485 |
+
update_option('sfsi_plus_section4_options', serialize($up_option4));
|
486 |
+
|
487 |
+
$new_counts = sfsi_plus_getCounts();
|
488 |
+
header('Content-Type: application/json');
|
489 |
+
echo json_encode(array("res" => "success", 'counts' => $new_counts));
|
490 |
+
exit;
|
491 |
}
|
492 |
+
/* save settings for section 5 */
|
493 |
+
add_action('wp_ajax_plus_updateSrcn5', 'sfsi_plus_options_updater5');
|
494 |
function sfsi_plus_options_updater5()
|
495 |
{
|
496 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step5")) {
|
497 |
+
echo json_encode(array("wrong_nonce"));
|
498 |
+
exit;
|
499 |
+
}
|
500 |
+
if (!current_user_can('manage_options')) {
|
501 |
+
echo json_encode(array('res' => 'not allowed'));
|
502 |
+
die();
|
503 |
+
}
|
504 |
+
$sfsi_plus_icons_size = isset($_POST["sfsi_plus_icons_size"]) ? intval($_POST["sfsi_plus_icons_size"]) : '51';
|
505 |
+
$sfsi_plus_icons_spacing = isset($_POST["sfsi_plus_icons_spacing"]) ? intval($_POST["sfsi_plus_icons_spacing"]) : '2';
|
506 |
+
$sfsi_plus_icons_Alignment = isset($_POST["sfsi_plus_icons_Alignment"]) ? sanitize_text_field($_POST["sfsi_plus_icons_Alignment"]) : 'center';
|
507 |
+
$sfsi_plus_icons_perRow = isset($_POST["sfsi_plus_icons_perRow"]) ? intval($_POST["sfsi_plus_icons_perRow"]) : '5';
|
508 |
+
|
509 |
+
$sfsi_plus_icons_language = isset($_POST["sfsi_plus_icons_language"]) ? sanitize_text_field($_POST["sfsi_plus_icons_language"]) : 'en_US';
|
510 |
+
$sfsi_plus_icons_ClickPageOpen = isset($_POST["sfsi_plus_icons_ClickPageOpen"]) ? sanitize_text_field($_POST["sfsi_plus_icons_ClickPageOpen"]) : 'no';
|
511 |
+
$sfsi_plus_icons_float = isset($_POST["sfsi_plus_icons_float"]) ? sanitize_text_field($_POST["sfsi_plus_icons_float"]) : 'no';
|
512 |
+
$sfsi_plus_disable_floaticons = isset($_POST["sfsi_plus_disable_floaticons"]) ? sanitize_text_field($_POST["sfsi_plus_disable_floaticons"]) : 'no';
|
513 |
+
$sfsi_plus_disable_viewport = isset($_POST["sfsi_plus_disable_viewport"]) ? sanitize_text_field($_POST["sfsi_plus_disable_viewport"]) : 'no';
|
514 |
+
$sfsi_plus_icons_floatPosition = isset($_POST["sfsi_plus_icons_floatPosition"]) ? sanitize_text_field($_POST["sfsi_plus_icons_floatPosition"]) : 'center-right';
|
515 |
+
$sfsi_plus_icons_stick = isset($_POST["sfsi_plus_icons_stick"]) ? sanitize_text_field($_POST["sfsi_plus_icons_stick"]) : 'no';
|
516 |
+
$sfsi_plus_rss_MouseOverText = isset($_POST["sfsi_plus_rss_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_rss_MouseOverText"]) : '';
|
517 |
+
$sfsi_plus_email_MouseOverText = isset($_POST["sfsi_plus_email_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_email_MouseOverText"]) : '';
|
518 |
+
|
519 |
+
$sfsi_plus_twitter_MouseOverText = isset($_POST["sfsi_plus_twitter_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_twitter_MouseOverText"]) : '';
|
520 |
+
$sfsi_plus_facebook_MouseOverText = isset($_POST["sfsi_plus_facebook_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_facebook_MouseOverText"]) : '';
|
521 |
+
$sfsi_plus_linkedIn_MouseOverText = isset($_POST["sfsi_plus_linkedIn_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_linkedIn_MouseOverText"]) : '';
|
522 |
+
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_pinterest_MouseOverText"]) : '';
|
523 |
+
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_instagram_MouseOverText"]) : '';
|
524 |
+
$sfsi_plus_houzz_MouseOverText = isset($_POST["sfsi_plus_houzz_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_houzz_MouseOverText"]) : '';
|
525 |
+
$sfsi_plus_youtube_MouseOverText = isset($_POST["sfsi_plus_youtube_MouseOverText"]) ? sanitize_text_field($_POST["sfsi_plus_youtube_MouseOverText"]) : '';
|
526 |
+
|
527 |
+
if (isset($_POST["sfsi_plus_custom_orders"])) {
|
528 |
+
$sfsi_plus_custom_orders = array();
|
529 |
+
foreach ($_POST["sfsi_plus_custom_orders"] as $index => $custom_order) {
|
530 |
+
$sfsi_plus_custom_orders[$index] = array();
|
531 |
+
$sfsi_plus_custom_orders[$index]["order"] = intval($_POST["sfsi_plus_custom_orders"][$index]["order"]);
|
532 |
+
$sfsi_plus_custom_orders[$index]["ele"] = intval($_POST["sfsi_plus_custom_orders"][$index]["ele"]);
|
533 |
+
}
|
534 |
+
}
|
535 |
+
$sfsi_plus_custom_orders = isset($sfsi_plus_custom_orders) ? serialize($sfsi_plus_custom_orders) : '';
|
536 |
+
|
537 |
+
$sfsi_plus_rssIcon_order = isset($_POST["sfsi_plus_rssIcon_order"]) ? intval($_POST["sfsi_plus_rssIcon_order"]) : '1';
|
538 |
+
$sfsi_plus_emailIcon_order = isset($_POST["sfsi_plus_emailIcon_order"]) ? intval($_POST["sfsi_plus_emailIcon_order"]) : '2';
|
539 |
+
$sfsi_plus_facebookIcon_order = isset($_POST["sfsi_plus_facebookIcon_order"]) ? intval($_POST["sfsi_plus_facebookIcon_order"]) : '3';
|
540 |
+
$sfsi_plus_twitterIcon_order = isset($_POST["sfsi_plus_twitterIcon_order"]) ? intval($_POST["sfsi_plus_twitterIcon_order"]) : '5';
|
541 |
+
$sfsi_plus_youtubeIcon_order = isset($_POST["sfsi_plus_youtubeIcon_order"]) ? intval($_POST["sfsi_plus_youtubeIcon_order"]) : '7';
|
542 |
+
$sfsi_plus_pinterestIcon_order = isset($_POST["sfsi_plus_pinterestIcon_order"]) ? intval($_POST["sfsi_plus_pinterestIcon_order"]) : '8';
|
543 |
+
$sfsi_plus_linkedinIcon_order = isset($_POST["sfsi_plus_linkedinIcon_order"]) ? intval($_POST["sfsi_plus_linkedinIcon_order"]) : '9';
|
544 |
+
$sfsi_plus_instagramIcon_order = isset($_POST["sfsi_plus_instagramIcon_order"]) ? intval($_POST["sfsi_plus_instagramIcon_order"]) : '10';
|
545 |
+
$sfsi_plus_houzzIcon_order = isset($_POST["sfsi_plus_houzzIcon_order"]) ? intval($_POST["sfsi_plus_houzzIcon_order"]) : '11';
|
546 |
$sfsi_plus_telegramIcon_order = isset($_POST["sfsi_plus_telegramIcon_order"]) ? intval($_POST["sfsi_plus_telegramIcon_order"]) : '22';
|
547 |
$sfsi_plus_vkIcon_order = isset($_POST["sfsi_plus_vkIcon_order"]) ? intval($_POST["sfsi_plus_vkIcon_order"]) : '23';
|
548 |
$sfsi_plus_okIcon_order = isset($_POST["sfsi_plus_okIcon_order"]) ? intval($_POST["sfsi_plus_okIcon_order"]) : '24';
|
549 |
$sfsi_plus_weiboIcon_order = isset($_POST["sfsi_plus_weiboIcon_order"]) ? intval($_POST["sfsi_plus_weiboIcon_order"]) : '25';
|
550 |
$sfsi_plus_wechatIcon_order = isset($_POST["sfsi_plus_wechatIcon_order"]) ? intval($_POST["sfsi_plus_wechatIcon_order"]) : '26';
|
551 |
|
552 |
+
if (isset($_POST["sfsi_plus_custom_MouseOverTexts"])) {
|
553 |
+
$sfsi_plus_custom_MouseOverTexts = array();
|
554 |
+
foreach ($_POST['sfsi_plus_custom_MouseOverTexts'] as $index => $a) {
|
555 |
+
$sfsi_plus_custom_MouseOverTexts[$index] = sanitize_text_field($_POST["sfsi_plus_custom_MouseOverTexts"][$index]);
|
556 |
+
}
|
557 |
+
}
|
558 |
+
$sfsi_plus_custom_MouseOverTexts = isset($sfsi_plus_custom_MouseOverTexts) ? serialize($sfsi_plus_custom_MouseOverTexts) : '';
|
559 |
+
|
560 |
$sfsi_plus_follow_icons_language = isset($_POST["sfsi_plus_follow_icons_language"])
|
561 |
+
? sanitize_text_field(
|
562 |
+
$_POST["sfsi_plus_follow_icons_language"]
|
563 |
+
) : 'Follow_en_US';
|
564 |
$sfsi_plus_facebook_icons_language = isset($_POST["sfsi_plus_facebook_icons_language"])
|
565 |
+
? sanitize_text_field(
|
566 |
+
$_POST["sfsi_plus_facebook_icons_language"]
|
567 |
+
) : 'Visit_us_en_US';
|
568 |
$sfsi_plus_twitter_icons_language = isset($_POST["sfsi_plus_twitter_icons_language"])
|
569 |
+
? sanitize_text_field(
|
570 |
+
$_POST["sfsi_plus_twitter_icons_language"]
|
571 |
+
) : 'Visit_us_en_US';
|
572 |
|
573 |
+
$sfsi_plus_custom_social_hide = isset($_POST["sfsi_plus_custom_social_hide"]) ? sanitize_text_field($_POST["sfsi_plus_custom_social_hide"]) : 'no';
|
574 |
|
575 |
+
$sfsi_pplus_icons_suppress_errors = isset($_POST["sfsi_pplus_icons_suppress_errors"]) ? sanitize_text_field($_POST["sfsi_pplus_icons_suppress_errors"]) : 'no';
|
576 |
|
577 |
/* size and spacing of icons */
|
578 |
+
$up_option5 = array(
|
579 |
+
'sfsi_plus_icons_size' => intval($sfsi_plus_icons_size),
|
580 |
+
'sfsi_plus_icons_spacing' => intval($sfsi_plus_icons_spacing),
|
581 |
+
'sfsi_plus_icons_Alignment' => sanitize_text_field($sfsi_plus_icons_Alignment),
|
582 |
+
'sfsi_plus_icons_perRow' => intval($sfsi_plus_icons_perRow),
|
583 |
'sfsi_plus_follow_icons_language' => sanitize_text_field($sfsi_plus_follow_icons_language),
|
584 |
'sfsi_plus_facebook_icons_language' => sanitize_text_field($sfsi_plus_facebook_icons_language),
|
585 |
'sfsi_plus_twitter_icons_language' => sanitize_text_field($sfsi_plus_twitter_icons_language),
|
586 |
'sfsi_plus_icons_language' => sanitize_text_field($sfsi_plus_icons_language),
|
587 |
+
'sfsi_plus_icons_ClickPageOpen' => sanitize_text_field($sfsi_plus_icons_ClickPageOpen),
|
588 |
+
'sfsi_plus_icons_float' => sanitize_text_field($sfsi_plus_icons_float),
|
589 |
'sfsi_plus_disable_floaticons' => sanitize_text_field($sfsi_plus_disable_floaticons),
|
590 |
'sfsi_plus_disable_viewport' => sanitize_text_field($sfsi_plus_disable_viewport),
|
591 |
+
'sfsi_plus_icons_floatPosition' => sanitize_text_field($sfsi_plus_icons_floatPosition),
|
592 |
+
'sfsi_plus_icons_stick' => sanitize_text_field($sfsi_plus_icons_stick),
|
593 |
+
/* mouse over texts */
|
594 |
+
'sfsi_plus_rss_MouseOverText' => sanitize_text_field($sfsi_plus_rss_MouseOverText),
|
595 |
+
'sfsi_plus_email_MouseOverText' => sanitize_text_field($sfsi_plus_email_MouseOverText),
|
596 |
+
'sfsi_plus_twitter_MouseOverText' => sanitize_text_field($sfsi_plus_twitter_MouseOverText),
|
597 |
+
'sfsi_plus_facebook_MouseOverText' => sanitize_text_field($sfsi_plus_facebook_MouseOverText),
|
598 |
+
'sfsi_plus_linkedIn_MouseOverText' => sanitize_text_field($sfsi_plus_linkedIn_MouseOverText),
|
599 |
+
'sfsi_plus_pinterest_MouseOverText' => sanitize_text_field($sfsi_plus_pinterest_MouseOverText),
|
600 |
+
'sfsi_plus_youtube_MouseOverText' => sanitize_text_field($sfsi_plus_youtube_MouseOverText),
|
601 |
+
'sfsi_plus_instagram_MouseOverText' => sanitize_text_field($sfsi_plus_instagram_MouseOverText),
|
602 |
'sfsi_plus_houzz_MouseOverText' => sanitize_text_field($sfsi_plus_houzz_MouseOverText),
|
603 |
+
'sfsi_plus_CustomIcons_order' => $sfsi_plus_custom_orders,
|
604 |
+
'sfsi_plus_rssIcon_order' => intval($sfsi_plus_rssIcon_order),
|
605 |
+
'sfsi_plus_emailIcon_order' => intval($sfsi_plus_emailIcon_order),
|
606 |
+
'sfsi_plus_facebookIcon_order' => intval($sfsi_plus_facebookIcon_order),
|
607 |
+
'sfsi_plus_twitterIcon_order' => intval($sfsi_plus_twitterIcon_order),
|
608 |
+
'sfsi_plus_youtubeIcon_order' => intval($sfsi_plus_youtubeIcon_order),
|
609 |
+
'sfsi_plus_pinterestIcon_order' => intval($sfsi_plus_pinterestIcon_order),
|
610 |
+
'sfsi_plus_instagramIcon_order' => intval($sfsi_plus_instagramIcon_order),
|
611 |
'sfsi_plus_houzzIcon_order' => intval($sfsi_plus_houzzIcon_order),
|
612 |
'sfsi_plus_okIcon_order' => intval($sfsi_plus_okIcon_order),
|
613 |
'sfsi_plus_telegramIcon_order' => intval($sfsi_plus_telegramIcon_order),
|
614 |
'sfsi_plus_vkIcon_order' => intval($sfsi_plus_vkIcon_order),
|
615 |
+
'sfsi_plus_weiboIcon_order' => intval($sfsi_plus_weiboIcon_order),
|
616 |
'sfsi_plus_wechatIcon_order' => intval($sfsi_plus_wechatIcon_order),
|
617 |
+
'sfsi_plus_linkedinIcon_order' => intval($sfsi_plus_linkedinIcon_order),
|
618 |
+
'sfsi_plus_custom_MouseOverTexts' => $sfsi_plus_custom_MouseOverTexts,
|
619 |
+
'sfsi_plus_custom_social_hide' => $sfsi_plus_custom_social_hide,
|
620 |
+
'sfsi_pplus_icons_suppress_errors' => sanitize_text_field($sfsi_pplus_icons_suppress_errors)
|
621 |
+
);
|
622 |
+
|
623 |
+
update_option('sfsi_plus_section5_options', serialize($up_option5));
|
624 |
+
header('Content-Type: application/json');
|
625 |
+
echo json_encode(array("success"));
|
626 |
+
exit;
|
627 |
}
|
628 |
+
/* save settings for section 6 */
|
629 |
+
add_action('wp_ajax_plus_updateSrcn6', 'sfsi_plus_options_updater6');
|
630 |
function sfsi_plus_options_updater6()
|
631 |
{
|
632 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step6")) {
|
633 |
+
echo json_encode(array("wrong_nonce"));
|
634 |
+
exit;
|
635 |
+
}
|
636 |
+
if (!current_user_can('manage_options')) {
|
637 |
+
echo json_encode(array('res' => 'not allowed'));
|
638 |
+
die();
|
639 |
+
}
|
640 |
+
$sfsi_plus_show_Onposts = isset($_POST["sfsi_plus_show_Onposts"]) ? sanitize_text_field($_POST["sfsi_plus_show_Onposts"]) : 'no';
|
641 |
+
$sfsi_plus_icons_postPositon = isset($_POST["sfsi_plus_icons_postPositon"]) ? sanitize_text_field($_POST["sfsi_plus_icons_postPositon"]) : '';
|
642 |
+
$sfsi_plus_icons_alignment = isset($_POST["sfsi_plus_icons_alignment"]) ? sanitize_text_field($_POST["sfsi_plus_icons_alignment"]) : 'center-right';
|
643 |
+
$sfsi_plus_textBefor_icons = isset($_POST["sfsi_plus_textBefor_icons"]) ? sanitize_text_field($_POST["sfsi_plus_textBefor_icons"]) : '';
|
644 |
+
$sfsi_plus_icons_DisplayCounts = isset($_POST["sfsi_plus_icons_DisplayCounts"]) ? sanitize_text_field($_POST["sfsi_plus_icons_DisplayCounts"]) : 'no';
|
645 |
+
/* post options */
|
646 |
+
$up_option6 = array(
|
647 |
'sfsi_plus_show_Onposts' => sanitize_text_field($sfsi_plus_show_Onposts),
|
648 |
'sfsi_plus_icons_postPositon' => sanitize_text_field($sfsi_plus_icons_postPositon),
|
649 |
'sfsi_plus_icons_alignment' => sanitize_text_field($sfsi_plus_icons_alignment),
|
650 |
'sfsi_plus_textBefor_icons' => sanitize_text_field(stripslashes($sfsi_plus_textBefor_icons)),
|
651 |
'sfsi_plus_icons_DisplayCounts' => sanitize_text_field($sfsi_plus_icons_DisplayCounts),
|
652 |
);
|
653 |
+
update_option('sfsi_plus_section6_options', serialize($up_option6));
|
654 |
+
header('Content-Type: application/json');
|
655 |
+
echo json_encode(array("success"));
|
656 |
+
exit;
|
657 |
}
|
658 |
+
/* save settings for section 7 */
|
659 |
+
add_action('wp_ajax_plus_updateSrcn7', 'sfsi_plus_options_updater7');
|
660 |
function sfsi_plus_options_updater7()
|
661 |
+
{
|
662 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step7")) {
|
663 |
+
echo json_encode(array("wrong_nonce"));
|
664 |
+
exit;
|
665 |
+
}
|
666 |
+
if (!current_user_can('manage_options')) {
|
667 |
+
echo json_encode(array('res' => 'not allowed'));
|
668 |
+
die();
|
669 |
+
}
|
670 |
+
$sfsi_plus_popup_text = isset($_POST["sfsi_plus_popup_text"]) ? sanitize_text_field($_POST["sfsi_plus_popup_text"]) : '';
|
671 |
+
$sfsi_plus_popup_background_color = isset($_POST["sfsi_plus_popup_background_color"])
|
672 |
+
? sfsi_plus_sanitize_hex_color(
|
673 |
+
$_POST["sfsi_plus_popup_background_color"]
|
674 |
+
) : '#fffff';
|
675 |
+
$sfsi_plus_popup_border_color = isset($_POST["sfsi_plus_popup_border_color"])
|
676 |
+
? sfsi_plus_sanitize_hex_color(
|
677 |
+
$_POST["sfsi_plus_popup_border_color"]
|
678 |
+
) : 'center-right';
|
679 |
+
$sfsi_plus_popup_border_thickness = isset($_POST["sfsi_plus_popup_border_thickness"]) ? sanitize_text_field($_POST["sfsi_plus_popup_border_thickness"]) : '';
|
680 |
+
$sfsi_plus_popup_border_shadow = isset($_POST["sfsi_plus_popup_border_shadow"]) ? sanitize_text_field($_POST["sfsi_plus_popup_border_shadow"]) : 'no';
|
681 |
+
$sfsi_plus_popup_font = isset($_POST["sfsi_plus_popup_font"]) ? sanitize_text_field($_POST["sfsi_plus_popup_font"]) : '';
|
682 |
+
$sfsi_plus_popup_fontSize = isset($_POST["sfsi_plus_popup_fontSize"]) ? intval($_POST["sfsi_plus_popup_fontSize"]) : 'no';
|
683 |
+
$sfsi_plus_popup_fontStyle = isset($_POST["sfsi_plus_popup_fontStyle"]) ? sanitize_text_field($_POST["sfsi_plus_popup_fontStyle"]) : '';
|
684 |
+
$sfsi_plus_popup_fontColor = isset($_POST["sfsi_plus_popup_fontColor"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_popup_fontColor"]) : 'no';
|
685 |
+
$sfsi_plus_Show_popupOn = isset($_POST["sfsi_plus_Show_popupOn"]) ? sanitize_text_field($_POST["sfsi_plus_Show_popupOn"]) : '';
|
686 |
+
if (isset($_POST["sfsi_plus_Show_popupOn_PageIDs"])) {
|
687 |
+
$sfsi_plus_Show_popupOn_PageIDs_arr = array();
|
688 |
+
foreach ($_POST["sfsi_plus_Show_popupOn_PageIDs"] as $index => $sfsi_plus_Show_popupOn_PageID) {
|
689 |
+
$sfsi_plus_Show_popupOn_PageIDs_arr[$index] = intval($sfsi_plus_Show_popupOn_PageID);
|
690 |
+
}
|
691 |
+
}
|
692 |
+
$sfsi_plus_Show_popupOn_PageIDs = isset($sfsi_plus_Show_popupOn_PageID)
|
693 |
+
? serialize($sfsi_plus_Show_popupOn_PageID)
|
694 |
+
: '';
|
695 |
+
$sfsi_plus_Shown_pop = isset($_POST["sfsi_plus_Shown_pop"]) ? sanitize_text_field($_POST["sfsi_plus_Shown_pop"]) : '';
|
696 |
+
$sfsi_plus_Shown_popupOnceTime = isset($_POST["sfsi_plus_Shown_popupOnceTime"]) ? intval($_POST["sfsi_plus_Shown_popupOnceTime"]) : 'no';
|
697 |
+
$sfsi_plus_Shown_popuplimitPerUserTime = isset($_POST["sfsi_plus_Shown_popuplimitPerUserTime"])
|
698 |
+
? sanitize_text_field(
|
699 |
+
$_POST["sfsi_plus_Shown_popuplimitPerUserTime"]
|
700 |
+
) : '';
|
701 |
+
/* icons pop options */
|
702 |
+
$up_option7 = array(
|
703 |
'sfsi_plus_popup_text' => sanitize_text_field(stripslashes($sfsi_plus_popup_text)),
|
704 |
'sfsi_plus_popup_font' => sanitize_text_field($sfsi_plus_popup_font),
|
705 |
'sfsi_plus_popup_fontColor' => sfsi_plus_sanitize_hex_color($sfsi_plus_popup_fontColor),
|
715 |
'sfsi_plus_Shown_popupOnceTime' => intval($sfsi_plus_Shown_popupOnceTime),
|
716 |
//'sfsi_plus_Shown_popuplimitPerUserTime' => $sfsi_plus_Shown_popuplimitPerUserTime,
|
717 |
);
|
718 |
+
update_option('sfsi_plus_section7_options', serialize($up_option7));
|
719 |
+
header('Content-Type: application/json');
|
720 |
+
echo json_encode(array("success"));
|
721 |
+
exit;
|
722 |
}
|
723 |
/* save settings for section 3 */
|
724 |
|
725 |
+
add_action('wp_ajax_plus_updateSrcn8', 'sfsi_plus_options_updater8');
|
726 |
+
|
727 |
function sfsi_plus_options_updater8()
|
728 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
729 |
|
730 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step8")) {
|
731 |
+
echo json_encode(array("wrong_nonce"));
|
732 |
+
exit;
|
733 |
+
}
|
734 |
+
if (!current_user_can('manage_options')) {
|
735 |
+
echo json_encode(array('res' => 'not allowed'));
|
736 |
+
die();
|
737 |
+
}
|
738 |
|
739 |
+
$sfsi_plus_show_via_widget = isset($_POST["sfsi_plus_show_via_widget"]) ? sanitize_text_field($_POST["sfsi_plus_show_via_widget"]) : 'no';
|
740 |
+
$sfsi_plus_float_on_page = isset($_POST["sfsi_plus_float_on_page"]) ? sanitize_text_field($_POST["sfsi_plus_float_on_page"]) : 'no';
|
741 |
+
$sfsi_plus_float_page_position = isset($_POST["sfsi_plus_float_page_position"]) ? sanitize_text_field($_POST["sfsi_plus_float_page_position"]) : 'no';
|
742 |
+
|
743 |
+
$sfsi_plus_icons_floatMargin_top = isset($_POST["sfsi_plus_icons_floatMargin_top"]) ? intval($_POST["sfsi_plus_icons_floatMargin_top"]) : '';
|
744 |
+
$sfsi_plus_icons_floatMargin_bottom = isset($_POST["sfsi_plus_icons_floatMargin_bottom"]) ? intval($_POST["sfsi_plus_icons_floatMargin_bottom"]) : '';
|
745 |
+
$sfsi_plus_icons_floatMargin_left = isset($_POST["sfsi_plus_icons_floatMargin_left"]) ? intval($_POST["sfsi_plus_icons_floatMargin_left"]) : '';
|
746 |
+
$sfsi_plus_icons_floatMargin_right = isset($_POST["sfsi_plus_icons_floatMargin_right"]) ? intval($_POST["sfsi_plus_icons_floatMargin_right"]) : '';
|
747 |
+
|
748 |
+
$sfsi_plus_place_item_manually = isset($_POST["sfsi_plus_place_item_manually"]) ? sanitize_text_field($_POST["sfsi_plus_place_item_manually"]) : 'no';
|
749 |
+
$sfsi_plus_place_item_gutenberg = isset($_POST["sfsi_plus_place_item_gutenberg"]) ? sanitize_text_field($_POST["sfsi_plus_place_item_gutenberg"]) : 'no';
|
750 |
+
$sfsi_plus_show_item_onposts = isset($_POST["sfsi_plus_show_item_onposts"]) ? sanitize_text_field($_POST["sfsi_plus_show_item_onposts"]) : 'no';
|
751 |
+
$sfsi_plus_display_button_type = isset($_POST["sfsi_plus_display_button_type"]) ? sanitize_text_field($_POST["sfsi_plus_display_button_type"]) : 'standard_buttons';
|
752 |
+
|
753 |
+
$sfsi_plus_post_icons_size = isset($_POST["sfsi_plus_post_icons_size"]) ? intval($_POST["sfsi_plus_post_icons_size"]) : 40;
|
754 |
+
$sfsi_plus_post_icons_spacing = isset($_POST["sfsi_plus_post_icons_spacing"]) ? intval($_POST["sfsi_plus_post_icons_spacing"]) : 5;
|
755 |
+
$sfsi_plus_show_Onposts = isset($_POST["sfsi_plus_show_Onposts"]) ? sanitize_text_field($_POST["sfsi_plus_show_Onposts"]) : 'no';
|
756 |
+
$sfsi_plus_textBefor_icons = isset($_POST["sfsi_plus_textBefor_icons"]) ? sanitize_text_field($_POST["sfsi_plus_textBefor_icons"]) : 'Please follow and like us:';
|
757 |
+
$sfsi_plus_icons_alignment = isset($_POST["sfsi_plus_icons_alignment"]) ? sanitize_text_field($_POST["sfsi_plus_icons_alignment"]) : 'center-right';
|
758 |
+
$sfsi_plus_icons_DisplayCounts = isset($_POST["sfsi_plus_icons_DisplayCounts"]) ? sanitize_text_field($_POST["sfsi_plus_icons_DisplayCounts"]) : 'no';
|
759 |
+
$sfsi_plus_display_before_posts = isset($_POST["sfsi_plus_display_before_posts"]) ? sanitize_text_field($_POST["sfsi_plus_display_before_posts"]) : 'no';
|
760 |
+
$sfsi_plus_display_after_posts = isset($_POST["sfsi_plus_display_after_posts"]) ? sanitize_text_field($_POST["sfsi_plus_display_after_posts"]) : 'no';
|
761 |
+
|
762 |
//$sfsi_plus_display_on_postspage = isset($_POST["sfsi_plus_display_on_postspage"]) ? sanitize_text_field( $_POST["sfsi_plus_display_on_postspage"] ): 'no';
|
763 |
//$sfsi_plus_display_on_homepage = isset($_POST["sfsi_plus_display_on_homepage"]) ? sanitize_text_field( $_POST["sfsi_plus_display_on_homepage"] ): 'no';
|
764 |
+
|
765 |
+
$sfsi_plus_display_before_blogposts = isset($_POST["sfsi_plus_display_before_blogposts"]) ? sanitize_text_field($_POST["sfsi_plus_display_before_blogposts"]) : 'no';
|
766 |
+
$sfsi_plus_display_after_blogposts = isset($_POST["sfsi_plus_display_after_blogposts"]) ? sanitize_text_field($_POST["sfsi_plus_display_after_blogposts"]) : 'no';
|
767 |
+
$sfsi_plus_rectsub = isset($_POST["sfsi_plus_rectsub"]) ? sanitize_text_field($_POST["sfsi_plus_rectsub"]) : 'no';
|
768 |
+
$sfsi_plus_rectfb = isset($_POST["sfsi_plus_rectfb"]) ? sanitize_text_field($_POST["sfsi_plus_rectfb"]) : 'no';
|
769 |
+
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? sanitize_text_field($_POST["sfsi_plus_recttwtr"]) : 'no';
|
770 |
+
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? sanitize_text_field($_POST["sfsi_plus_rectpinit"]) : 'no';
|
771 |
+
$sfsi_plus_rectfbshare = isset($_POST["sfsi_plus_rectfbshare"]) ? sanitize_text_field($_POST["sfsi_plus_rectfbshare"]) : 'no';
|
772 |
|
773 |
+
$sfsi_plus_responsive_icons_end_post = isset($_POST["sfsi_plus_responsive_icons_end_post"]) ? sanitize_text_field($_POST["sfsi_plus_responsive_icons_end_post"]) : 'no';
|
774 |
+
$sfsi_plus_responsive_icons_default = array(
|
775 |
+
"default_icons" => array(
|
776 |
+
"facebook" => array("active" => "yes", "text" => "Share on Facebook", "url" => ""),
|
777 |
+
"Twitter" => array("active" => "yes", "text" => "Tweet", "url" => ""),
|
778 |
+
"Follow" => array("active" => "yes", "text" => "Follow us", "url" => "")
|
779 |
+
),
|
780 |
+
"settings" => array(
|
781 |
+
"icon_size" => "Medium",
|
782 |
+
"icon_width_type" => "Fully responsive",
|
783 |
+
"icon_width_size" => 240,
|
784 |
+
"edge_type" => "Round",
|
785 |
+
"edge_radius" => 5,
|
786 |
+
"style" => "Gradient",
|
787 |
+
"margin" => 10,
|
788 |
+
"text_align" => "Centered",
|
789 |
+
"show_count" => "no",
|
790 |
+
"counter_color" => "#aaaaaa",
|
791 |
+
"counter_bg_color" => "#fff",
|
792 |
+
"share_count_text" => "SHARES"
|
793 |
+
)
|
794 |
+
);
|
795 |
+
$sfsi_plus_responsive_icons = array();
|
796 |
+
// var_dump($_POST['sfsi_plus_responsive_icons']);
|
797 |
+
if (isset($_POST['sfsi_plus_responsive_icons']) && is_array($_POST['sfsi_plus_responsive_icons'])) {
|
798 |
+
foreach ($_POST['sfsi_plus_responsive_icons'] as $key => $value) {
|
799 |
+
if (!is_array($value)) {
|
800 |
+
$sfsi_plus_responsive_icons[$key] = sanitize_text_field($value);
|
801 |
+
} else {
|
802 |
+
$sfsi_plus_responsive_icons[$key] = array();
|
803 |
+
foreach ($value as $key2 => $value2) {
|
804 |
+
if (!is_array($value2)) {
|
805 |
+
$sfsi_plus_responsive_icons[$key][$key2] = sanitize_text_field($value2);
|
806 |
+
} else {
|
807 |
+
$sfsi_plus_responsive_icons[$key][$key2] = array();
|
808 |
+
foreach ($value2 as $key3 => $value3) {
|
809 |
+
if (!is_array($value3)) {
|
810 |
+
$sfsi_plus_responsive_icons[$key][$key2][$key3] = sanitize_text_field($value3);
|
811 |
+
}
|
812 |
+
}
|
813 |
+
}
|
814 |
+
}
|
815 |
+
}
|
816 |
+
}
|
817 |
+
}
|
818 |
+
if (empty($sfsi_plus_responsive_icons)) {
|
819 |
+
$sfsi_plus_responsive_icons = $sfsi_plus_responsive_icons_default;
|
820 |
+
} else {
|
821 |
+
if (!isset($sfsi_plus_responsive_icons['default_icons'])) {
|
822 |
+
$sfsi_plus_responsive_icons["default_icons"] = $sfsi_plus_responsive_icons_default["default_icons"];
|
823 |
+
}
|
824 |
+
if (!isset($sfsi_plus_responsive_icons['settings'])) {
|
825 |
+
$sfsi_plus_responsive_icons["settings"] = $sfsi_plus_responsive_icons_default["settings"];
|
826 |
+
}
|
827 |
+
foreach ($sfsi_plus_responsive_icons['default_icons'] as $key => $value) {
|
828 |
+
foreach (array_keys($sfsi_plus_responsive_icons_default['default_icons']['facebook']) as $default_icon_key) {
|
829 |
+
if (!isset($value[$default_icon_key])) {
|
830 |
+
$sfsi_plus_responsive_icons["default_icons"][$key][$default_icon_key] = $sfsi_plus_responsive_icons_default['default_icons'][$key][$default_icon_key];
|
831 |
+
} else {
|
832 |
+
$sfsi_plus_responsive_icons["default_icons"][$key][$default_icon_key] = sanitize_text_field($sfsi_plus_responsive_icons["default_icons"][$key][$default_icon_key]);
|
833 |
+
}
|
834 |
+
}
|
835 |
+
}
|
836 |
+
|
837 |
+
foreach (array_keys($sfsi_plus_responsive_icons_default['settings']) as $setting_key) {
|
838 |
+
if (!isset($sfsi_plus_responsive_icons["settings"][$setting_key]) || is_null($sfsi_plus_responsive_icons["settings"][$setting_key]) || $sfsi_plus_responsive_icons["settings"][$setting_key] === "") {
|
839 |
+
$sfsi_plus_responsive_icons["settings"][$setting_key] = $sfsi_plus_responsive_icons_default['settings'][$setting_key];
|
840 |
+
} else {
|
841 |
+
$sfsi_plus_responsive_icons["settings"][$setting_key] = sanitize_text_field($sfsi_plus_responsive_icons["settings"][$setting_key]);
|
842 |
+
}
|
843 |
+
}
|
844 |
+
}
|
845 |
+
$up_option8 = array(
|
846 |
'sfsi_plus_show_via_widget' => sanitize_text_field($sfsi_plus_show_via_widget),
|
847 |
'sfsi_plus_float_on_page' => sanitize_text_field($sfsi_plus_float_on_page),
|
848 |
'sfsi_plus_float_page_position' => sanitize_text_field($sfsi_plus_float_page_position),
|
849 |
'sfsi_plus_icons_floatMargin_top' => intval($sfsi_plus_icons_floatMargin_top),
|
850 |
+
'sfsi_plus_icons_floatMargin_bottom' => intval($sfsi_plus_icons_floatMargin_bottom),
|
851 |
'sfsi_plus_icons_floatMargin_left' => intval($sfsi_plus_icons_floatMargin_left),
|
852 |
'sfsi_plus_icons_floatMargin_right' => intval($sfsi_plus_icons_floatMargin_right),
|
853 |
'sfsi_plus_place_item_manually' => sanitize_text_field($sfsi_plus_place_item_manually),
|
862 |
'sfsi_plus_icons_DisplayCounts' => sanitize_text_field($sfsi_plus_icons_DisplayCounts),
|
863 |
'sfsi_plus_display_before_posts' => sanitize_text_field($sfsi_plus_display_before_posts),
|
864 |
'sfsi_plus_display_after_posts' => sanitize_text_field($sfsi_plus_display_after_posts),
|
865 |
+
|
866 |
//'sfsi_plus_display_on_postspage' => $sfsi_plus_display_on_postspage,
|
867 |
//'sfsi_plus_display_on_homepage' => $sfsi_plus_display_on_homepage,
|
868 |
+
|
869 |
+
'sfsi_plus_display_before_blogposts' => sanitize_text_field($sfsi_plus_display_before_blogposts),
|
870 |
'sfsi_plus_display_after_blogposts' => sanitize_text_field($sfsi_plus_display_after_blogposts),
|
871 |
'sfsi_plus_rectsub' => sanitize_text_field($sfsi_plus_rectsub),
|
872 |
'sfsi_plus_rectfb' => sanitize_text_field($sfsi_plus_rectfb),
|
873 |
'sfsi_plus_recttwtr' => sanitize_text_field($sfsi_plus_recttwtr),
|
874 |
'sfsi_plus_rectpinit' => sanitize_text_field($sfsi_plus_rectpinit),
|
875 |
+
'sfsi_plus_rectfbshare' => sanitize_text_field($sfsi_plus_rectfbshare),
|
876 |
+
'sfsi_plus_responsive_icons_end_post' =>$sfsi_plus_responsive_icons_end_post,
|
877 |
+
'sfsi_plus_responsive_icons' => $sfsi_plus_responsive_icons,
|
878 |
+
|
879 |
+
|
880 |
+
);
|
881 |
+
update_option('sfsi_plus_section8_options', serialize($up_option8));
|
882 |
+
|
883 |
+
header('Content-Type: application/json');
|
884 |
+
echo json_encode(array("success"));
|
885 |
+
exit;
|
886 |
+
}
|
887 |
|
888 |
/* save settings for section 8 */
|
889 |
+
add_action('wp_ajax_plus_updateSrcn9', 'sfsi_plus_options_updater9');
|
890 |
function sfsi_plus_options_updater9()
|
891 |
{
|
892 |
+
if (!wp_verify_nonce($_POST['nonce'], "update_plus_step9")) {
|
893 |
+
echo json_encode(array("wrong_nonce"));
|
894 |
+
exit;
|
895 |
+
}
|
896 |
+
if (!current_user_can('manage_options')) {
|
897 |
+
echo json_encode(array('res' => 'not allowed'));
|
898 |
+
die();
|
899 |
+
}
|
900 |
+
$sfsi_plus_form_adjustment = isset($_POST["sfsi_plus_form_adjustment"]) ? sanitize_text_field($_POST["sfsi_plus_form_adjustment"]) : 'yes';
|
901 |
+
$sfsi_plus_form_height = isset($_POST["sfsi_plus_form_height"]) ? intval($_POST["sfsi_plus_form_height"]) : '180';
|
902 |
+
$sfsi_plus_form_width = isset($_POST["sfsi_plus_form_width"]) ? intval($_POST["sfsi_plus_form_width"]) : '230';
|
903 |
+
$sfsi_plus_form_border = isset($_POST["sfsi_plus_form_border"]) ? sanitize_text_field($_POST["sfsi_plus_form_border"]) : 'no';
|
904 |
+
$sfsi_plus_form_border_thickness = isset($_POST["sfsi_plus_form_border_thickness"]) ? intval($_POST["sfsi_plus_form_border_thickness"]) : '1';
|
905 |
+
$sfsi_plus_form_border_color = isset($_POST["sfsi_plus_form_border_color"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_form_border_color"]) : '#f3faf2';
|
906 |
+
$sfsi_plus_form_background = isset($_POST["sfsi_plus_form_background"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_form_background"]) : '#eff7f7';
|
907 |
+
|
908 |
+
$sfsi_plus_form_heading_text = isset($_POST["sfsi_plus_form_heading_text"]) ? sanitize_text_field($_POST["sfsi_plus_form_heading_text"]) : '';
|
909 |
+
$sfsi_plus_form_heading_font = isset($_POST["sfsi_plus_form_heading_font"]) ? sanitize_text_field($_POST["sfsi_plus_form_heading_font"]) : '';
|
910 |
+
$sfsi_plus_form_heading_fontstyle = isset($_POST["sfsi_plus_form_heading_fontstyle"]) ? sanitize_text_field($_POST["sfsi_plus_form_heading_fontstyle"]) : '';
|
911 |
+
$sfsi_plus_form_heading_fontcolor = isset($_POST["sfsi_plus_form_heading_fontcolor"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_form_heading_fontcolor"]) : '';
|
912 |
+
$sfsi_plus_form_heading_fontsize = isset($_POST["sfsi_plus_form_heading_fontsize"]) ? intval($_POST["sfsi_plus_form_heading_fontsize"]) : '22';
|
913 |
+
$sfsi_plus_form_heading_fontalign = isset($_POST["sfsi_plus_form_heading_fontalign"]) ? sanitize_text_field($_POST["sfsi_plus_form_heading_fontalign"]) : 'center';
|
914 |
+
|
915 |
+
$sfsi_plus_form_field_text = isset($_POST["sfsi_plus_form_field_text"]) ? sanitize_text_field($_POST["sfsi_plus_form_field_text"]) : '';
|
916 |
+
$sfsi_plus_form_field_font = isset($_POST["sfsi_plus_form_field_font"]) ? sanitize_text_field($_POST["sfsi_plus_form_field_font"]) : '';
|
917 |
+
$sfsi_plus_form_field_fontstyle = isset($_POST["sfsi_plus_form_field_fontstyle"]) ? sanitize_text_field($_POST["sfsi_plus_form_field_fontstyle"]) : '';
|
918 |
+
$sfsi_plus_form_field_fontcolor = isset($_POST["sfsi_plus_form_field_fontcolor"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_form_field_fontcolor"]) : '';
|
919 |
+
$sfsi_plus_form_field_fontsize = isset($_POST["sfsi_plus_form_field_fontsize"]) ? intval($_POST["sfsi_plus_form_field_fontsize"]) : '22';
|
920 |
+
$sfsi_plus_form_field_fontalign = isset($_POST["sfsi_plus_form_field_fontalign"]) ? sanitize_text_field($_POST["sfsi_plus_form_field_fontalign"]) : 'center';
|
921 |
+
|
922 |
+
$sfsi_plus_form_button_text = isset($_POST["sfsi_plus_form_button_text"]) ? sanitize_text_field($_POST["sfsi_plus_form_button_text"]) : 'Subscribe';
|
923 |
+
$sfsi_plus_form_button_font = isset($_POST["sfsi_plus_form_button_font"]) ? sanitize_text_field($_POST["sfsi_plus_form_button_font"]) : '';
|
924 |
+
$sfsi_plus_form_button_fontstyle = isset($_POST["sfsi_plus_form_button_fontstyle"]) ? sanitize_text_field($_POST["sfsi_plus_form_button_fontstyle"]) : '';
|
925 |
+
$sfsi_plus_form_button_fontcolor = isset($_POST["sfsi_plus_form_button_fontcolor"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_form_button_fontcolor"]) : '';
|
926 |
+
$sfsi_plus_form_button_fontsize = isset($_POST["sfsi_plus_form_button_fontsize"]) ? intval($_POST["sfsi_plus_form_button_fontsize"]) : '22';
|
927 |
+
$sfsi_plus_form_button_fontalign = isset($_POST["sfsi_plus_form_button_fontalign"]) ? sanitize_text_field($_POST["sfsi_plus_form_button_fontalign"]) : 'center';
|
928 |
+
$sfsi_plus_form_button_background = isset($_POST["sfsi_plus_form_button_background"]) ? sfsi_plus_sanitize_hex_color($_POST["sfsi_plus_form_button_background"]) : '#5a6570';
|
929 |
+
|
930 |
/* icons pop options */
|
931 |
+
$up_option9 = array(
|
932 |
'sfsi_plus_form_adjustment' => sanitize_text_field($sfsi_plus_form_adjustment),
|
933 |
'sfsi_plus_form_height' => intval($sfsi_plus_form_height),
|
934 |
'sfsi_plus_form_width' => intval($sfsi_plus_form_width),
|
935 |
'sfsi_plus_form_border' => sanitize_text_field($sfsi_plus_form_border),
|
936 |
+
'sfsi_plus_form_border_thickness' => intval($sfsi_plus_form_border_thickness),
|
937 |
'sfsi_plus_form_border_color' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_border_color),
|
938 |
'sfsi_plus_form_background' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_background),
|
939 |
+
|
940 |
'sfsi_plus_form_heading_text' => sanitize_text_field(stripslashes($sfsi_plus_form_heading_text)),
|
941 |
'sfsi_plus_form_heading_font' => sanitize_text_field($sfsi_plus_form_heading_font),
|
942 |
+
'sfsi_plus_form_heading_fontstyle' => sanitize_text_field($sfsi_plus_form_heading_fontstyle),
|
943 |
+
'sfsi_plus_form_heading_fontcolor' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_heading_fontcolor),
|
944 |
'sfsi_plus_form_heading_fontsize' => intval($sfsi_plus_form_heading_fontsize),
|
945 |
+
'sfsi_plus_form_heading_fontalign' => sanitize_text_field($sfsi_plus_form_heading_fontalign),
|
946 |
+
|
947 |
'sfsi_plus_form_field_text' => sanitize_text_field(stripslashes($sfsi_plus_form_field_text)),
|
948 |
'sfsi_plus_form_field_font' => sanitize_text_field($sfsi_plus_form_field_font),
|
949 |
+
'sfsi_plus_form_field_fontstyle' => sanitize_text_field($sfsi_plus_form_field_fontstyle),
|
950 |
+
'sfsi_plus_form_field_fontcolor' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_field_fontcolor),
|
951 |
'sfsi_plus_form_field_fontsize' => intval($sfsi_plus_form_field_fontsize),
|
952 |
+
'sfsi_plus_form_field_fontalign' => sanitize_text_field($sfsi_plus_form_field_fontalign),
|
953 |
+
|
954 |
'sfsi_plus_form_button_text' => sanitize_text_field(stripslashes($sfsi_plus_form_button_text)),
|
955 |
'sfsi_plus_form_button_font' => sanitize_text_field($sfsi_plus_form_button_font),
|
956 |
+
'sfsi_plus_form_button_fontstyle' => sanitize_text_field($sfsi_plus_form_button_fontstyle),
|
957 |
+
'sfsi_plus_form_button_fontcolor' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_button_fontcolor),
|
958 |
+
'sfsi_plus_form_button_fontsize' => intval($sfsi_plus_form_button_fontsize),
|
959 |
+
'sfsi_plus_form_button_fontalign' => sanitize_text_field($sfsi_plus_form_button_fontalign),
|
960 |
+
'sfsi_plus_form_button_background' => sfsi_plus_sanitize_hex_color($sfsi_plus_form_button_background),
|
961 |
);
|
962 |
+
|
963 |
+
update_option('sfsi_plus_section9_options', serialize($up_option9));
|
964 |
+
header('Content-Type: application/json');
|
965 |
+
echo json_encode(array("success"));
|
966 |
+
exit;
|
967 |
}
|
968 |
+
|
969 |
/* upload custom icons images */
|
970 |
+
/* get counts for admin section */
|
971 |
+
function sfsi_plus_getCounts($for_resposive = false)
|
972 |
{
|
973 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
974 |
+
|
975 |
+
$option4 = unserialize(get_option('sfsi_plus_section4_options', 'a:0:{}'));
|
976 |
+
$sfsi_plus_section2_options = unserialize(get_option('sfsi_plus_section2_options', 'a:0:{}'));
|
977 |
+
|
978 |
+
$scounts = array(
|
979 |
+
'rss_count' => '',
|
980 |
+
'email_count' => '',
|
981 |
+
'fb_count' => '',
|
982 |
+
'twitter_count' => '',
|
983 |
+
'linkedIn_count' => '',
|
984 |
+
'youtube_count' => '',
|
985 |
+
'pin_count' => '',
|
986 |
+
'share_count' => '',
|
987 |
'houzz_count' => '',
|
988 |
'telegram_count' => '',
|
989 |
'vk_count' => '',
|
992 |
'wechat_count' => '',
|
993 |
|
994 |
);
|
995 |
+
/* get rss count */
|
996 |
+
if (isset($option4['sfsi_plus_rss_manualCounts']) && !empty($option4['sfsi_plus_rss_manualCounts'])) {
|
997 |
+
$scounts['rss_count'] = $option4['sfsi_plus_rss_manualCounts'];
|
998 |
+
}
|
999 |
+
/* get email count */
|
1000 |
+
if (isset($option4['sfsi_plus_email_countsFrom']) && !empty($option4['sfsi_plus_email_countsFrom']) && $option4['sfsi_plus_email_countsFrom'] == "source") {
|
1001 |
+
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id', false));
|
1002 |
+
$feed_data = $socialObj->SFSI_getFeedSubscriber($feed_id);
|
1003 |
+
|
1004 |
+
$scounts['email_count'] = $socialObj->format_num($feed_data);
|
1005 |
+
if (empty($scounts['email_count'])) {
|
1006 |
+
$scounts['email_count'] = (string) "0";
|
1007 |
+
}
|
1008 |
+
} else {
|
1009 |
+
$scounts['email_count'] = $option4['sfsi_plus_email_manualCounts'];
|
1010 |
+
}
|
1011 |
+
|
1012 |
+
|
1013 |
+
/* get fb count */
|
1014 |
+
if (isset($option4['sfsi_plus_facebook_countsFrom']) && !empty($option4['sfsi_plus_facebook_countsFrom'])) {
|
1015 |
+
|
1016 |
+
if ($option4['sfsi_plus_facebook_countsFrom'] == "likes") {
|
1017 |
+
$url = home_url();
|
1018 |
+
$fb_data = $socialObj->sfsi_get_fb($url);
|
1019 |
+
|
1020 |
+
$scounts['fb_count'] = $socialObj->format_num($fb_data['like_count']);
|
1021 |
+
} else if ($option4['sfsi_plus_facebook_countsFrom'] == "followers") {
|
1022 |
+
$url = home_url();
|
1023 |
+
$fb_data = $socialObj->sfsi_get_fb($url);
|
1024 |
+
$scounts['fb_count'] = format_num($fb_data['share_count']);
|
1025 |
+
if (empty($scounts['fb_count'])) {
|
1026 |
+
$scounts['fb_count'] = (string) "0";
|
1027 |
+
}
|
1028 |
+
} else if ($option4['sfsi_plus_facebook_countsFrom'] == "mypage") {
|
1029 |
+
$url = $option4['sfsi_plus_facebook_mypageCounts'];
|
1030 |
+
$fb_data = $socialObj->sfsi_get_fb_pagelike($url);
|
1031 |
+
$scounts['fb_count'] = $fb_data;
|
1032 |
+
} else {
|
1033 |
+
$scounts['fb_count'] = $option4['sfsi_plus_facebook_manualCounts'];
|
1034 |
+
}
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
/* get twitter counts */
|
1038 |
+
if (isset($option4['sfsi_plus_twitter_countsFrom']) && !empty($option4['sfsi_plus_twitter_countsFrom']) && $option4['sfsi_plus_twitter_countsFrom'] == "source") {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1039 |
$twitter_user = $sfsi_plus_section2_options['sfsi_plus_twitter_followUserName'];
|
1040 |
+
$tw_settings = array(
|
1041 |
+
'sfsiplus_tw_consumer_key' => $option4['sfsiplus_tw_consumer_key'],
|
1042 |
+
'sfsiplus_tw_consumer_secret' => $option4['sfsiplus_tw_consumer_secret'],
|
1043 |
+
'sfsiplus_tw_oauth_access_token' => $option4['sfsiplus_tw_oauth_access_token'],
|
1044 |
+
'sfsiplus_tw_oauth_access_token_secret' => $option4['sfsiplus_tw_oauth_access_token_secret']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1045 |
);
|
1046 |
+
|
1047 |
+
$followers = $socialObj->sfsi_get_tweets($twitter_user, $tw_settings);
|
1048 |
+
$scounts['twitter_count'] = $socialObj->format_num($followers);
|
1049 |
+
} else {
|
1050 |
+
$scounts['twitter_count'] = $option4['sfsi_plus_twitter_manualCounts'];
|
1051 |
+
}
|
1052 |
+
|
1053 |
+
if($for_resposive==false){
|
1054 |
+
/* get linkedIn counts */
|
1055 |
+
if (isset($option4['sfsi_plus_linkedIn_countsFrom']) && !empty($option4['sfsi_plus_linkedIn_countsFrom']) && $option4['sfsi_plus_linkedIn_countsFrom'] == "follower") {
|
1056 |
+
$linkedIn_compay = $sfsi_plus_section2_options['sfsi_plus_linkedin_followCompany'];
|
1057 |
+
$linkedIn_compay = $option4['sfsi_plus_ln_company'];
|
1058 |
+
$ln_settings = array(
|
1059 |
+
'sfsi_plus_ln_api_key' => $option4['sfsi_plus_ln_api_key'],
|
1060 |
+
'sfsi_plus_ln_secret_key' => $option4['sfsi_plus_ln_secret_key'],
|
1061 |
+
'sfsi_plus_ln_oAuth_user_token' => $option4['sfsi_plus_ln_oAuth_user_token']
|
1062 |
+
);
|
1063 |
+
$followers = $socialObj->sfsi_getlinkedin_follower($linkedIn_compay, $ln_settings);
|
1064 |
+
$scounts['linkedIn_count'] = $socialObj->format_num($followers);
|
1065 |
+
} else {
|
1066 |
+
$scounts['linkedIn_count'] = $option4['sfsi_plus_linkedIn_manualCounts'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1067 |
}
|
1068 |
+
|
1069 |
+
/* get youtube counts */
|
1070 |
+
if (isset($option4['sfsi_plus_youtube_countsFrom']) && !empty($option4['sfsi_plus_youtube_countsFrom']) && $option4['sfsi_plus_youtube_countsFrom'] == "subscriber") {
|
1071 |
+
if (
|
1072 |
+
isset($option4['sfsi_plus_youtube_user'])
|
1073 |
+
) {
|
1074 |
+
$youtube_user = $option4['sfsi_plus_youtube_user'];
|
1075 |
+
|
1076 |
+
$youtube_user = (isset($option4['sfsi_plus_youtube_user']) &&
|
1077 |
+
!empty($option4['sfsi_plus_youtube_user'])) ? $option4['sfsi_plus_youtube_user'] : 'SpecificFeeds';
|
1078 |
+
|
1079 |
+
$followers = $socialObj->sfsi_get_youtube($youtube_user);
|
1080 |
+
$scounts['youtube_count'] = $socialObj->format_num($followers);
|
1081 |
+
} else {
|
1082 |
+
$scounts['youtube_count'] = 01;
|
1083 |
+
}
|
1084 |
+
} else {
|
1085 |
+
$scounts['youtube_count'] = $option4['sfsi_plus_youtube_manualCounts'];
|
1086 |
}
|
1087 |
+
/* get Pinterest counts */
|
1088 |
+
if (isset($option4['sfsi_plus_pinterest_countsFrom']) && !empty($option4['sfsi_plus_pinterest_countsFrom']) && $option4['sfsi_plus_pinterest_countsFrom'] == "pins") {
|
1089 |
+
$url = home_url();
|
1090 |
+
$pins = $socialObj->sfsi_get_pinterest($url);
|
1091 |
+
$scounts['pin_count'] = $socialObj->format_num($pins);
|
1092 |
+
} else {
|
1093 |
+
$scounts['pin_count'] = $option4['sfsi_plus_pinterest_manualCounts'];
|
1094 |
+
}
|
1095 |
+
/* get instagram count */
|
1096 |
+
if (isset($option4['sfsi_plus_instagram_countsFrom']) && !empty($option4['sfsi_plus_instagram_countsFrom']) && $option4['sfsi_plus_instagram_countsFrom'] == "followers") {
|
1097 |
+
$iuser_name = $option4['sfsi_plus_instagram_User'];
|
1098 |
+
$counts = $socialObj->sfsi_get_instagramFollowers($iuser_name);
|
1099 |
+
if (empty($counts)) {
|
1100 |
+
$scounts['instagram_count'] = (string) "0";
|
1101 |
+
} else {
|
1102 |
+
$scounts['instagram_count'] = $counts;
|
1103 |
+
}
|
1104 |
+
} else {
|
1105 |
+
$scounts['instagram_count'] = $option4['sfsi_plus_instagram_manualCounts'];
|
1106 |
}
|
1107 |
+
|
1108 |
+
/* get instagram count */
|
1109 |
+
if (isset($option4['sfsi_plus_houzz_countsFrom']) && !empty($option4['sfsi_plus_houzz_countsFrom']) && $option4['sfsi_plus_houzz_countsFrom'] == "manual") {
|
1110 |
+
if (
|
1111 |
+
isset($option4['sfsi_plus_houzz_manualCounts'])
|
1112 |
+
) {
|
1113 |
+
$scounts['houzz_count'] = $option4['sfsi_plus_houzz_manualCounts'];
|
1114 |
+
} else {
|
1115 |
+
$scounts['houzz_count'] = '20';
|
1116 |
+
}
|
1117 |
+
} elseif (!isset($option4['sfsi_plus_houzz_countsFrom'])) {
|
1118 |
$scounts['houzz_count'] = '20';
|
1119 |
}
|
|
|
|
|
|
|
|
|
|
|
1120 |
|
1121 |
/* get rss count */
|
1122 |
+
if (isset($option4['sfsi_plus_telegram_manualCounts']) && !empty($option4['sfsi_plus_telegram_manualCounts'])) {
|
1123 |
+
$scounts['telegram_count'] = $option4['sfsi_plus_telegram_manualCounts'];
|
1124 |
+
}
|
|
|
1125 |
|
1126 |
+
if (isset($option4['sfsi_plus_vk_manualCounts']) && !empty($option4['sfsi_plus_vk_manualCounts'])) {
|
1127 |
+
$scounts['vk_count'] = $option4['sfsi_plus_vk_manualCounts'];
|
1128 |
+
}
|
1129 |
+
if (isset($option4['sfsi_plus_ok_manualCounts']) && !empty($option4['sfsi_plus_ok_manualCounts'])) {
|
1130 |
+
$scounts['ok_count'] = $option4['sfsi_plus_ok_manualCounts'];
|
1131 |
+
}
|
1132 |
+
if (isset($option4['sfsi_plus_weibo_manualCounts']) && !empty($option4['sfsi_plus_weibo_manualCounts'])) {
|
1133 |
+
$scounts['weibo_count'] = $option4['sfsi_plus_weibo_manualCounts'];
|
1134 |
+
}
|
1135 |
+
if (isset($option4['sfsi_plus_wechat_manualCounts']) && !empty($option4['sfsi_plus_wechat_manualCounts'])) {
|
1136 |
+
$scounts['wechat_count'] = $option4['sfsi_plus_wechat_manualCounts'];
|
1137 |
+
}
|
1138 |
+
}
|
1139 |
+
return $scounts;
|
1140 |
+
exit;
|
|
|
|
|
1141 |
}
|
1142 |
|
1143 |
/* activate and remove footer credit link */
|
1144 |
+
add_action('wp_ajax_plus_activateFooter', 'sfsiplusActivateFooter');
|
1145 |
function sfsiplusActivateFooter()
|
1146 |
{
|
1147 |
+
if (!wp_verify_nonce($_POST['nonce'], "active_plusfooter")) {
|
1148 |
+
echo json_encode(array('res' => 'wrong_nonce'));
|
1149 |
+
exit;
|
1150 |
+
}
|
1151 |
+
if (!current_user_can('manage_options')) {
|
1152 |
+
echo json_encode(array('res' => 'not allowed'));
|
1153 |
+
die();
|
1154 |
+
}
|
1155 |
|
1156 |
+
update_option('sfsi_plus_footer_sec', 'yes');
|
1157 |
+
echo json_encode(array('res' => 'success'));
|
1158 |
+
exit;
|
1159 |
}
|
1160 |
|
1161 |
+
add_action('wp_ajax_plus_removeFooter', 'sfsiplusremoveFooter');
|
1162 |
function sfsiplusremoveFooter()
|
1163 |
{
|
1164 |
+
if (!wp_verify_nonce($_POST['nonce'], "remove_plusfooter")) {
|
1165 |
+
echo json_encode(array('res' => 'wrong_nonce'));
|
1166 |
+
exit;
|
1167 |
+
}
|
1168 |
+
if (!current_user_can('manage_options')) {
|
1169 |
+
echo json_encode(array('res' => 'not allowed'));
|
1170 |
+
die();
|
1171 |
+
}
|
1172 |
|
1173 |
+
update_option('sfsi_plus_footer_sec', 'no');
|
1174 |
+
echo json_encode(array('res' => 'success'));
|
1175 |
+
exit;
|
1176 |
}
|
1177 |
|
1178 |
+
add_action('wp_ajax_getIconPreview', 'sfsiPlusGetIconPreview');
|
1179 |
function sfsiPlusGetIconPreview()
|
1180 |
{
|
1181 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_getIconPreview")) {
|
1182 |
+
echo json_encode(array("wrong_nonce"));
|
1183 |
+
exit;
|
1184 |
+
}
|
1185 |
+
if (!current_user_can('manage_options')) {
|
1186 |
+
echo json_encode(array('res' => 'not allowed'));
|
1187 |
+
die();
|
1188 |
+
}
|
1189 |
// extract($_POST);
|
1190 |
+
$iconname = isset($_POST) && isset($_POST['iconname']) ? sanitize_text_field($_POST['iconname']) : '';
|
1191 |
+
$iconValue = isset($_POST) && isset($_POST['iconValue']) ? sanitize_text_field($_POST['iconValue']) : '';
|
1192 |
+
echo '<img src="' . $iconname . "/icon_" . $iconValue . '.png" >';
|
1193 |
die;
|
1194 |
}
|
1195 |
add_action("wp_ajax_sfsiplus_curlerrornotification", "sfsiplus_curlerrornotification");
|
1196 |
function sfsiplus_curlerrornotification()
|
1197 |
{
|
1198 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_curlerrornotification")) {
|
1199 |
+
echo json_encode(array("wrong_nonce"));
|
1200 |
+
exit;
|
1201 |
+
}
|
1202 |
+
if (!current_user_can('manage_options')) {
|
1203 |
+
echo json_encode(array('res' => 'not allowed'));
|
1204 |
+
die();
|
1205 |
+
}
|
1206 |
+
update_option("sfsi_plus_curlErrorNotices", "no");
|
1207 |
+
echo "success";
|
1208 |
+
die;
|
1209 |
}
|
1210 |
+
add_action('wp_ajax_getForm', 'sfsiPlusGetForm');
|
1211 |
function sfsiPlusGetForm()
|
1212 |
{
|
1213 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_getForm")) {
|
1214 |
+
echo json_encode(array("wrong_nonce"));
|
1215 |
+
exit;
|
1216 |
+
}
|
1217 |
+
if (!current_user_can('manage_options')) {
|
1218 |
+
echo json_encode(array('res' => 'not allowed'));
|
1219 |
+
die();
|
1220 |
+
}
|
1221 |
// extract($_POST);
|
1222 |
+
$heading = isset($_POST) && isset($_POST['heading']) ? sanitize_text_field($_POST['heading']) : '';
|
1223 |
+
$placeholder = isset($_POST) && isset($_POST['placeholder']) ? sanitize_text_field($_POST['placeholder']) : '';
|
1224 |
+
$button = isset($_POST) && isset($_POST['button']) ? sanitize_text_field($_POST['button']) : '';
|
1225 |
+
|
1226 |
?>
|
1227 |
<xmp>
|
1228 |
+
<div class="sfsi_subscribe_Popinner">
|
1229 |
+
<form method="post">
|
1230 |
+
<h5><?php echo $heading; ?></h5>
|
1231 |
+
<div class="sfsi_subscription_form_field">
|
1232 |
+
<input type="email" name="subscribe_email" placeholder="<?php echo $placeholder; ?>" value="" />
|
1233 |
+
</div>
|
1234 |
+
<div class="sfsi_subscription_form_field">
|
1235 |
+
<input type="submit" name="subscribe" value="<?php echo $button; ?>" />
|
1236 |
+
</div>
|
1237 |
+
</form>
|
1238 |
+
</div>
|
1239 |
</xmp>
|
1240 |
+
<?php
|
1241 |
die;
|
1242 |
}
|
1243 |
|
1244 |
add_action("wp_ajax_sfsiPlus_notification_read", "sfsiPlus_notification_read");
|
1245 |
function sfsiPlus_notification_read()
|
1246 |
{
|
1247 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_notification_read")) {
|
1248 |
+
echo json_encode(array("wrong_nonce"));
|
1249 |
+
exit;
|
1250 |
+
}
|
1251 |
+
if (!current_user_can('manage_options')) {
|
1252 |
+
echo json_encode(array('res' => 'not allowed'));
|
1253 |
+
die();
|
1254 |
+
}
|
1255 |
update_option("sfsi_plus_show_notification", "no");
|
1256 |
echo "success";
|
1257 |
die;
|
1260 |
add_action("wp_ajax_sfsiPlus_new_notification_read", "sfsiPlus_new_notification_read");
|
1261 |
function sfsiPlus_new_notification_read()
|
1262 |
{
|
1263 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_notification_read")) {
|
1264 |
+
echo json_encode(array("wrong_nonce"));
|
1265 |
+
exit;
|
1266 |
+
}
|
1267 |
+
if (!current_user_can('manage_options')) {
|
1268 |
+
echo json_encode(array('res' => 'not allowed'));
|
1269 |
+
die();
|
1270 |
+
}
|
1271 |
update_option("sfsi_plus_new_show_notification", "no");
|
1272 |
echo "success";
|
1273 |
die;
|
1278 |
return strip_tags(trim($value));
|
1279 |
}
|
1280 |
//Sanitize color code
|
1281 |
+
if (@!function_exists("sfsi_plus_sanitize_hex_color")) {
|
1282 |
+
function sfsi_plus_sanitize_hex_color($color)
|
|
|
1283 |
{
|
1284 |
+
if ('' === $color)
|
1285 |
return '';
|
1286 |
+
|
1287 |
// 3 or 6 hex digits, or the empty string.
|
1288 |
+
if (preg_match('|^#([A-Fa-f0-9]{3}){1,2}$|', $color))
|
1289 |
return $color;
|
1290 |
}
|
1291 |
}
|
1292 |
|
1293 |
+
function sfsi_plus_returningElement($element)
|
1294 |
+
{
|
1295 |
+
return $element[0];
|
1296 |
+
}
|
1297 |
|
1298 |
+
function sfsi_plus_get_keywordEnglish()
|
1299 |
+
{
|
1300 |
+
$keywordFile = SFSI_PLUS_DOCROOT . "/All_english_words_better_list.csv";
|
1301 |
+
$keywordData = @file_get_contents($keywordFile);
|
1302 |
+
$keywordEnglish = array_map("str_getcsv", explode("\n", $keywordData));
|
1303 |
+
$keywordEnglish = array_map('array_filter', $keywordEnglish);
|
1304 |
+
$keywordEnglish = array_filter(array_map(sfsi_plus_returningElement($element), $keywordEnglish));
|
1305 |
+
return $keywordEnglish;
|
1306 |
}
|
1307 |
|
1308 |
|
1309 |
+
add_action('wp_ajax_sfsiplusbannerOption', 'sfsi_plus_bannerOption');
|
1310 |
|
1311 |
+
function sfsi_plus_bannerOption()
|
1312 |
+
{
|
1313 |
|
1314 |
error_reporting(1);
|
1315 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_sfsiplusbannerOption")) {
|
1316 |
+
echo json_encode(array("wrong_nonce"));
|
1317 |
+
exit;
|
1318 |
+
}
|
1319 |
+
if (!current_user_can('manage_options')) {
|
1320 |
+
echo json_encode(array('res' => 'not allowed'));
|
1321 |
+
die();
|
1322 |
+
}
|
1323 |
+
try {
|
1324 |
+
if (get_option("sfsi_plus_new_show_notification") == "yes") {
|
1325 |
+
|
1326 |
+
$objThemeCheck = new sfsi_plus_ThemeCheck();
|
1327 |
+
|
1328 |
+
$domainname = $objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1329 |
|
1330 |
+
// Get all themes data which incudes nobrainer
|
1331 |
+
$themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
|
1332 |
+
$matchFound = false;
|
1333 |
+
foreach ($themeDataArr as $themeDataObj) :
|
1334 |
+
if (isset($themeDataObj->themeName) && strlen($themeDataObj->themeName) > 0) {
|
1335 |
+
$themeName = $themeDataObj->themeName;
|
1336 |
+
$noBrainerKeywords = $themeDataObj->noBrainerKeywords;
|
1337 |
+
$separateKeywords = $themeDataObj->separateKeywords;
|
1338 |
+
$negativeKeywords = $themeDataObj->negativeKeywords;
|
1339 |
+
$noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords, $separateKeywords);
|
1340 |
+
if ($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName, $noBrainerKeywords, $separateKeywords, $noBrainerAndSeparateKeywords, $negativeKeywords, $domainname) == $themeName) {
|
1341 |
+
$matchFound = true;
|
1342 |
+
|
1343 |
+
$themeName = strtolower($themeName);
|
1344 |
+
|
1345 |
+
$objThemeCheck->sfsi_plus_bannereHtml(
|
1346 |
+
$themeDataObj->headline,
|
1347 |
+
$themeDataObj->themeLink,
|
1348 |
+
(SFSI_PLUS_PLUGURL) . 'images/website_theme/' . $themeName . '.png',
|
1349 |
+
$themeDataObj->bottomtext
|
1350 |
+
);
|
1351 |
+
|
1352 |
+
break;
|
1353 |
+
}
|
1354 |
+
}
|
1355 |
+
|
1356 |
+
endforeach;
|
1357 |
+
if (!$matchFound) {
|
1358 |
+
foreach ($themeDataArr as $themeDataObj) {
|
1359 |
+
|
1360 |
+
if (isset($themeDataObj->themeName) && strlen($themeDataObj->themeName) > 0) {
|
1361 |
+
|
1362 |
+
$themeName = $themeDataObj->themeName;
|
1363 |
+
$noBrainerKeywords = $themeDataObj->noBrainerKeywords;
|
1364 |
+
$separateKeywords = $themeDataObj->separateKeywords;
|
1365 |
+
$negativeKeywords = $themeDataObj->negativeKeywords;
|
1366 |
+
$noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords, $separateKeywords);
|
1367 |
+
|
1368 |
+
|
1369 |
+
if ($objThemeCheck->sfsi_plus_check_type_of_metaTitleWithNoBrainerAndSeparateAndNegativeKeywords($themeName, $noBrainerKeywords, $separateKeywords, $noBrainerAndSeparateKeywords, $negativeKeywords, $domainname) == $themeName) {
|
1370 |
+
$matchFound = true;
|
1371 |
+
|
1372 |
+
$themeName = strtolower($themeName);
|
1373 |
+
|
1374 |
+
$objThemeCheck->sfsi_plus_bannereHtml(
|
1375 |
+
$themeDataObj->headline,
|
1376 |
+
$themeDataObj->themeLink,
|
1377 |
+
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1378 |
+
$themeDataObj->bottomtext
|
1379 |
+
);
|
1380 |
+
|
1381 |
+
break;
|
1382 |
+
}
|
1383 |
+
}
|
1384 |
+
}
|
1385 |
+
}
|
1386 |
+
if (!$matchFound) {
|
1387 |
+
foreach ($themeDataArr as $themeDataObj) {
|
1388 |
+
|
1389 |
+
if (isset($themeDataObj->themeName) && strlen($themeDataObj->themeName) > 0) {
|
1390 |
+
|
1391 |
+
$themeName = $themeDataObj->themeName;
|
1392 |
+
$noBrainerKeywords = $themeDataObj->noBrainerKeywords;
|
1393 |
+
$separateKeywords = $themeDataObj->separateKeywords;
|
1394 |
+
$negativeKeywords = $themeDataObj->negativeKeywords;
|
1395 |
+
$noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords, $separateKeywords);
|
1396 |
+
|
1397 |
+
|
1398 |
+
if ($objThemeCheck->sfsi_plus_check_type_of_metaKeywordsWithNoBrainerAndSeparateAndNegativeKeywords($themeName, $noBrainerKeywords, $separateKeywords, $noBrainerAndSeparateKeywords, $negativeKeywords, $domainname) == $themeName) {
|
1399 |
+
$matchFound = true;
|
1400 |
+
|
1401 |
+
$themeName = strtolower($themeName);
|
1402 |
+
|
1403 |
+
$objThemeCheck->sfsi_plus_bannereHtml(
|
1404 |
+
$themeDataObj->headline,
|
1405 |
+
$themeDataObj->themeLink,
|
1406 |
+
SFSI_PLUS_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1407 |
+
$themeDataObj->bottomtext
|
1408 |
+
);
|
1409 |
+
|
1410 |
+
break;
|
1411 |
+
}
|
1412 |
+
}
|
1413 |
+
}
|
1414 |
+
}
|
1415 |
+
if (!$matchFound) {
|
1416 |
+
foreach ($themeDataArr as $themeDataObj) {
|
1417 |
+
|
1418 |
+
if (isset($themeDataObj->themeName) && strlen($themeDataObj->themeName) > 0) {
|
1419 |
+
|
1420 |
+
$themeName = $themeDataObj->themeName;
|
1421 |
+
$noBrainerKeywords = $themeDataObj->noBrainerKeywords;
|
1422 |
+
$separateKeywords = $themeDataObj->separateKeywords;
|
1423 |
+
$negativeKeywords = $themeDataObj->negativeKeywords;
|
1424 |
+
$noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords, $separateKeywords);
|
1425 |
+
|
1426 |
+
|
1427 |
+
if ($objThemeCheck->sfsi_plus_check_type_of_metaDescriptionWithNoBrainerAndSeparateAndNegativeKeywords($themeName, $noBrainerKeywords, $separateKeywords, $noBrainerAndSeparateKeywords, $negativeKeywords, $domainname) == $themeName) {
|
1428 |
+
$matchFound = true;
|
1429 |
+
|
1430 |
+
$themeName = strtolower($themeName);
|
1431 |
+
|
1432 |
+
$objThemeCheck->sfsi_plus_bannereHtml(
|
1433 |
+
$themeDataObj->headline,
|
1434 |
+
$themeDataObj->themeLink,
|
1435 |
+
SFSI_PLUGURL . 'images/website_theme/' . $themeName . '.png',
|
1436 |
+
$themeDataObj->bottomtext
|
1437 |
+
);
|
1438 |
+
|
1439 |
+
break;
|
1440 |
+
}
|
1441 |
+
}
|
1442 |
+
}
|
1443 |
+
}
|
1444 |
+
echo '<script>
|
1445 |
jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
|
1446 |
SFSI.ajax({
|
1447 |
url:sfsi_plus_ajax_object.ajax_url,
|
1448 |
type:"post",
|
1449 |
+
data: {action: "sfsiPlus_new_notification_read",nonce:"' . (wp_create_nonce('plus_new_notification_read')) . '"},
|
1450 |
success:function(msg){
|
1451 |
if(jQuery.trim(msg) == "success")
|
1452 |
{
|
1456 |
});
|
1457 |
});
|
1458 |
</script>';
|
1459 |
+
}
|
1460 |
+
} catch (Exception $e) {
|
1461 |
+
// var_dump($e);die();
|
1462 |
}
|
1463 |
die;
|
1464 |
}
|
1465 |
|
1466 |
+
add_action('wp_ajax_sfsiplusOfflineChatMessage', 'sfsi_plus_OfflineChatMessage');
|
1467 |
|
1468 |
+
function sfsi_plus_OfflineChatMessage()
|
1469 |
+
{
|
1470 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_sfsiplusOfflineChatMessage")) {
|
1471 |
+
echo json_encode(array("wrong_nonce"));
|
1472 |
+
exit;
|
1473 |
+
}
|
1474 |
+
if (!current_user_can('manage_options')) {
|
1475 |
+
echo json_encode(array('res' => 'not allowed'));
|
1476 |
+
die();
|
1477 |
+
}
|
1478 |
error_reporting(0);
|
1479 |
// extract($_POST);
|
1480 |
$email = isset($_POST) && isset($_POST['email']) ? sanitize_text_field($_POST['email']) : '';
|
1481 |
+
$message = isset($_POST) && isset($_POST['message']) ? sanitize_textarea_field($_POST['message']) : '';
|
1482 |
+
$body = "<table><tr><th>Site:</th><td>" . home_url() . "</td></tr><tr><th>Email:</th><td>" . $email . "</td></tr><tr><th>Message:</th><td>" . $message . "</td></tr></table>";
|
1483 |
+
$sent = wp_mail('help@ultimatelysocial.com', "New question from user", $body, array('Content-Type: text/html; charset=UTF-8'));
|
1484 |
+
if (isset($sent) && (true === $sent)) {
|
1485 |
echo "success";
|
1486 |
+
} else {
|
1487 |
echo "failure";
|
1488 |
}
|
1489 |
die();
|
1490 |
}
|
1491 |
|
1492 |
+
add_action('wp_ajax_worker_plugin', 'sfsi_plus_worker_plugin');
|
1493 |
+
// define('usmpw_PLUS_worker_plugin','usm_premium_worker.php');
|
1494 |
+
|
1495 |
+
|
1496 |
?>
|
libs/controllers/sfsi_frontpopUp.php
CHANGED
@@ -138,7 +138,7 @@ function sfsi_plus_FrontPopupDiv()
|
|
138 |
/* get all settings for icons saved in admin */
|
139 |
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options',false));
|
140 |
$custom_i = unserialize($sfsi_plus_section1_options['sfsi_custom_files']);
|
141 |
-
if($sfsi_plus_section1_options['sfsi_plus_rss_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_email_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_facebook_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_twitter_display']=='no' && $sfsi_plus_section1_options['
|
142 |
{
|
143 |
$icons='';
|
144 |
return $icons;
|
138 |
/* get all settings for icons saved in admin */
|
139 |
$sfsi_plus_section1_options = unserialize(get_option('sfsi_plus_section1_options',false));
|
140 |
$custom_i = unserialize($sfsi_plus_section1_options['sfsi_custom_files']);
|
141 |
+
if($sfsi_plus_section1_options['sfsi_plus_rss_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_email_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_facebook_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_twitter_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_youtube_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_pinterest_display']=='no' && $sfsi_plus_section1_options['sfsi_plus_linkedin_display']=='no' && empty($custom_i))
|
142 |
{
|
143 |
$icons='';
|
144 |
return $icons;
|
libs/controllers/sfsi_iconsUpload_contoller.php
CHANGED
@@ -112,7 +112,6 @@ function sfsi_plus_DeleteSkin()
|
|
112 |
{
|
113 |
unlink($_SERVER['DOCUMENT_ROOT'] . $path);
|
114 |
}
|
115 |
-
|
116 |
delete_option( sanitize_text_field($_POST['iconname']) );
|
117 |
die(json_encode(array('res'=>'success')));
|
118 |
}
|
@@ -557,4 +556,3 @@ function sfsi_plus_feedbackForm()
|
|
557 |
}
|
558 |
die;
|
559 |
}
|
560 |
-
?>
|
112 |
{
|
113 |
unlink($_SERVER['DOCUMENT_ROOT'] . $path);
|
114 |
}
|
|
|
115 |
delete_option( sanitize_text_field($_POST['iconname']) );
|
116 |
die(json_encode(array('res'=>'success')));
|
117 |
}
|
556 |
}
|
557 |
die;
|
558 |
}
|
|
libs/controllers/sfsi_socialhelper.php
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
/* social helper class include all function which are used to intract with */
|
3 |
class sfsi_plus_SocialHelper
|
4 |
{
|
5 |
-
|
6 |
private $url,$timeout=10;
|
7 |
|
8 |
/* get twitter followers */
|
@@ -118,7 +117,7 @@ class sfsi_plus_SocialHelper
|
|
118 |
/* get pinit counts */
|
119 |
function sfsi_get_pinterest($url)
|
120 |
{
|
121 |
-
$return_data = $this->file_get_contents_curl('
|
122 |
$json_string = preg_replace('/^receiveCount\((.*)\)$/', "\\1", $return_data);
|
123 |
$json = json_decode($json_string, true);
|
124 |
return isset($json['count'])?intval($json['count']):0;
|
@@ -128,10 +127,10 @@ class sfsi_plus_SocialHelper
|
|
128 |
function get_UsersPins($user_name,$board)
|
129 |
{
|
130 |
$query=$user_name.'/'.$board;
|
131 |
-
$url_respon=$this->sfsi_get_http_response_code('
|
132 |
if($url_respon!=404)
|
133 |
{
|
134 |
-
$return_data = $this->file_get_contents_curl('
|
135 |
$json_string = preg_replace('/^receiveCount\((.*)\)$/', "\\1", $return_data);
|
136 |
$json = json_decode($json_string, true);
|
137 |
}
|
2 |
/* social helper class include all function which are used to intract with */
|
3 |
class sfsi_plus_SocialHelper
|
4 |
{
|
|
|
5 |
private $url,$timeout=10;
|
6 |
|
7 |
/* get twitter followers */
|
117 |
/* get pinit counts */
|
118 |
function sfsi_get_pinterest($url)
|
119 |
{
|
120 |
+
$return_data = $this->file_get_contents_curl('https://api.pinterest.com/v1/urls/count.json?callback=receiveCount&url='.$url);
|
121 |
$json_string = preg_replace('/^receiveCount\((.*)\)$/', "\\1", $return_data);
|
122 |
$json = json_decode($json_string, true);
|
123 |
return isset($json['count'])?intval($json['count']):0;
|
127 |
function get_UsersPins($user_name,$board)
|
128 |
{
|
129 |
$query=$user_name.'/'.$board;
|
130 |
+
$url_respon=$this->sfsi_get_http_response_code('https://api.pinterest.com/v3/pidgets/boards/'.$query.'/pins/');
|
131 |
if($url_respon!=404)
|
132 |
{
|
133 |
+
$return_data = $this->file_get_contents_curl('https://api.pinterest.com/v3/pidgets/boards/'.$query.'/pins/');
|
134 |
$json_string = preg_replace('/^receiveCount\((.*)\)$/', "\\1", $return_data);
|
135 |
$json = json_decode($json_string, true);
|
136 |
}
|
libs/controllers/sfsiocns_OnPosts.php
CHANGED
@@ -56,6 +56,7 @@ function sfsi_plus_social_buttons_below($content)
|
|
56 |
{
|
57 |
$show_count=0;
|
58 |
}
|
|
|
59 |
|
60 |
//$txt=(isset($sfsi_section6['sfsi_plus_textBefor_icons']))? $sfsi_section6['sfsi_plus_textBefor_icons'] : "Share this Post with :" ;
|
61 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
@@ -71,12 +72,12 @@ function sfsi_plus_social_buttons_below($content)
|
|
71 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
72 |
$icons.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
73 |
}
|
74 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes')
|
75 |
{
|
76 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
77 |
}
|
78 |
|
79 |
-
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
80 |
{
|
81 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
82 |
}
|
@@ -218,6 +219,7 @@ function sfsi_plus_FBshare($permalink,$show_count){
|
|
218 |
|
219 |
}
|
220 |
/* create pinit button */
|
|
|
221 |
function sfsi_plus_pinitpinterest($permalink,$show_count)
|
222 |
{
|
223 |
$pinit_html = '<a href="https://www.pinterest.com/pin/create/button/?url=&media=&description=" data-pin-do="buttonPin" data-pin-save="true"';
|
@@ -242,6 +244,8 @@ function sfsi_plus_footer_script()
|
|
242 |
$sfsi_section1= unserialize(get_option('sfsi_plus_section1_options',false));
|
243 |
$sfsi_section6= unserialize(get_option('sfsi_plus_section6_options',false));
|
244 |
$sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
|
|
|
|
|
245 |
|
246 |
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options',false));
|
247 |
|
@@ -273,45 +277,79 @@ function sfsi_plus_footer_script()
|
|
273 |
{
|
274 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
275 |
}
|
|
|
276 |
if(!isset($sfsi_section8['sfsi_plus_rectfbshare']))
|
277 |
{
|
278 |
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
279 |
}
|
280 |
-
|
281 |
-
if($sfsi_section1['sfsi_plus_facebook_display']=="yes"
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
}
|
294 |
if($sfsi_section1['sfsi_plus_linkedin_display']=="yes")
|
295 |
{
|
296 |
-
if($
|
297 |
-
|
298 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
299 |
}
|
300 |
-
|
301 |
-
<!-- linkedIn share and follow js -->
|
302 |
-
|
303 |
-
<script src="//platform.linkedin.com/in.js">lang: <?php echo $icons_language;?></script>
|
304 |
-
<?php
|
305 |
}
|
306 |
-
if($sfsi_section1['sfsi_plus_pinterest_display']=="yes"
|
307 |
-
|
308 |
-
|
309 |
-
|
|
|
|
|
|
|
|
|
310 |
}
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
|
|
|
|
|
|
|
|
315 |
}
|
316 |
|
317 |
/* activate footer credit link */
|
@@ -347,4 +385,146 @@ if(is_admin())
|
|
347 |
add_action('in_admin_footer', 'sfsi_plus_footer_script');
|
348 |
}
|
349 |
/* ping to vendor site on updation of new post */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
?>
|
56 |
{
|
57 |
$show_count=0;
|
58 |
}
|
59 |
+
$common_options_check = (($sfsi_section8['sfsi_plus_show_via_widget'] == "yes") || ($sfsi_section8['sfsi_plus_float_on_page'] == "yes") && (isset($sfsi_section8['sfsi_plus_float_page_position'])) || ($sfsi_section8['sfsi_plus_place_item_manually'] == "yes") || ($sfsi_section8['sfsi_plus_place_item_gutenberg'] == "yes"));
|
60 |
|
61 |
//$txt=(isset($sfsi_section6['sfsi_plus_textBefor_icons']))? $sfsi_section6['sfsi_plus_textBefor_icons'] : "Share this Post with :" ;
|
62 |
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:" ;
|
72 |
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
73 |
$icons.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
74 |
}
|
75 |
+
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $common_options_check)
|
76 |
{
|
77 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
78 |
}
|
79 |
|
80 |
+
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes' || $common_options_check )
|
81 |
{
|
82 |
$icons.="<div class='sf_fb' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
83 |
}
|
219 |
|
220 |
}
|
221 |
/* create pinit button */
|
222 |
+
|
223 |
function sfsi_plus_pinitpinterest($permalink,$show_count)
|
224 |
{
|
225 |
$pinit_html = '<a href="https://www.pinterest.com/pin/create/button/?url=&media=&description=" data-pin-do="buttonPin" data-pin-save="true"';
|
244 |
$sfsi_section1= unserialize(get_option('sfsi_plus_section1_options',false));
|
245 |
$sfsi_section6= unserialize(get_option('sfsi_plus_section6_options',false));
|
246 |
$sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
|
247 |
+
$sfsi_section2= unserialize(get_option('sfsi_plus_section2_options',false));
|
248 |
+
|
249 |
|
250 |
$sfsi_plus_section5_options = unserialize(get_option('sfsi_plus_section5_options',false));
|
251 |
|
277 |
{
|
278 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
279 |
}
|
280 |
+
|
281 |
if(!isset($sfsi_section8['sfsi_plus_rectfbshare']))
|
282 |
{
|
283 |
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
284 |
}
|
285 |
+
$common_options_check = (($sfsi_section8['sfsi_plus_show_via_widget'] == "yes") || ($sfsi_section8['sfsi_plus_float_on_page'] == "yes") && (isset($sfsi_section8['sfsi_plus_float_page_position'])) || ($sfsi_section8['sfsi_plus_place_item_manually'] == "yes") || ($sfsi_section8['sfsi_plus_place_item_gutenberg'] == "yes"));
|
286 |
+
if($sfsi_section1['sfsi_plus_facebook_display']=="yes"){
|
287 |
+
if( ($sfsi_section8['sfsi_plus_rectfb'] == "yes" && $sfsi_section8['sfsi_plus_show_item_onposts'] == "yes" && $sfsi_section8['sfsi_plus_display_button_type'] == "standard_buttons" ) || ($sfsi_section8['sfsi_plus_rectfbshare'] == "yes" && $sfsi_section8['sfsi_plus_show_item_onposts'] == "yes" && $sfsi_section8['sfsi_plus_display_button_type'] == "standard_buttons") || $common_options_check)
|
288 |
+
{?>
|
289 |
+
<!--facebook like and share js -->
|
290 |
+
<div id="fb-root"></div>
|
291 |
+
|
292 |
+
<script>
|
293 |
+
(function(d, s, id) {
|
294 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
295 |
+
if (d.getElementById(id)) return;
|
296 |
+
js = d.createElement(s); js.id = id;
|
297 |
+
js.src = "//connect.facebook.net/<?php echo $icons_language;?>/sdk.js#xfbml=1&version=v2.5";
|
298 |
+
fjs.parentNode.insertBefore(js, fjs);
|
299 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
300 |
+
<?php
|
301 |
+
}
|
302 |
+
}
|
303 |
+
if( $sfsi_section1['sfsi_plus_youtube_display']=="yes") {
|
304 |
+
if( $sfsi_section2['sfsi_plus_youtube_page']=="yes" || $sfsi_section2['sfsi_plus_youtube_follow']=="yes") {
|
305 |
+
?>
|
306 |
+
|
307 |
+
<!-- youtube share -->
|
308 |
+
<script type="text/javascript">
|
309 |
+
(function() {
|
310 |
+
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
311 |
+
po.src = 'https://apis.google.com/js/platform.js';
|
312 |
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
313 |
+
})();
|
314 |
+
</script>
|
315 |
+
<?php
|
316 |
+
}
|
317 |
}
|
318 |
if($sfsi_section1['sfsi_plus_linkedin_display']=="yes")
|
319 |
{
|
320 |
+
if($sfsi_section2['sfsi_plus_linkedin_follow'] == "yes" || $sfsi_section2['sfsi_plus_linkedin_recommendBusines'] == "yes" || $sfsi_section2['sfsi_plus_linkedin_SharePage'] == "yes" ){
|
321 |
+
if($icons_language == 'ar_AR')
|
322 |
+
{
|
323 |
+
$icons_language = 'ar_AE';
|
324 |
+
}
|
325 |
+
if($common_options_check)
|
326 |
+
{
|
327 |
+
|
328 |
+
?>
|
329 |
+
<!-- linkedIn share and follow js -->
|
330 |
+
<script src="//platform.linkedin.com/in.js">lang: <?php echo $icons_language;?></script>
|
331 |
+
<?php
|
332 |
+
}
|
333 |
}
|
334 |
+
|
|
|
|
|
|
|
|
|
335 |
}
|
336 |
+
if($sfsi_section1['sfsi_plus_pinterest_display']=="yes" && ($sfsi_section2['sfsi_plus_pinterest_pingBlog'] == "yes")){
|
337 |
+
if( ($sfsi_section8['sfsi_plus_rectpinit'] == "yes" && $sfsi_section8['sfsi_plus_show_item_onposts'] == "yes" && $sfsi_section8['sfsi_plus_display_button_type'] == "standard_buttons") || $common_options_check) {?>
|
338 |
+
<!--pinit js -->
|
339 |
+
|
340 |
+
<script src="//assets.pinterest.com/js/pinit.js">
|
341 |
+
</script>
|
342 |
+
<?php
|
343 |
+
}
|
344 |
}
|
345 |
+
|
346 |
+
if($sfsi_section1['sfsi_plus_twitter_display']=="yes"){
|
347 |
+
if( ($sfsi_section8['sfsi_plus_recttwtr'] == "yes" && $sfsi_section8['sfsi_plus_show_item_onposts'] == "yes" && $sfsi_section8['sfsi_plus_display_button_type'] == "standard_buttons") || $common_options_check) {?>
|
348 |
+
<!-- twitter JS End -->
|
349 |
+
<script>
|
350 |
+
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
351 |
+
<?php
|
352 |
+
}
|
353 |
}
|
354 |
|
355 |
/* activate footer credit link */
|
385 |
add_action('in_admin_footer', 'sfsi_plus_footer_script');
|
386 |
}
|
387 |
/* ping to vendor site on updation of new post */
|
388 |
+
|
389 |
+
|
390 |
+
//<---------------------* Responsive icons *----------------->
|
391 |
+
function sfsi_plus_social_responsive_buttons($content,$option8,$server_side=false)
|
392 |
+
{
|
393 |
+
|
394 |
+
if( (isset($option8["sfsi_plus_show_item_onposts"])&& $option8["sfsi_plus_show_item_onposts"]=="yes" && isset($option8["sfsi_plus_display_button_type"]) && $option8["sfsi_plus_display_button_type"]=="responsive_button") || $server_side ):
|
395 |
+
$option2 = unserialize(get_option('sfsi_plus_section2_options',false));
|
396 |
+
$option4 = unserialize(get_option('sfsi_plus_section4_options',false));
|
397 |
+
$icons= "";
|
398 |
+
$sfsi_plus_responsive_icons = (isset($option8["sfsi_plus_responsive_icons"])?$option8["sfsi_plus_responsive_icons"]:null);
|
399 |
+
|
400 |
+
if(is_null($sfsi_plus_responsive_icons) ){
|
401 |
+
return ""; // dont return anything if options not set;
|
402 |
+
}
|
403 |
+
$icon_width_type = $sfsi_plus_responsive_icons["settings"]["icon_width_type"];
|
404 |
+
if($option4['sfsi_plus_display_counts']=='yes' &&isset($sfsi_plus_responsive_icons["settings"]['show_count'])&&$sfsi_plus_responsive_icons["settings"]['show_count']=="yes"):
|
405 |
+
|
406 |
+
$counter_class="sfsi_plus_responsive_with_counter_icons";
|
407 |
+
$couter_display="inline-block";
|
408 |
+
|
409 |
+
else:
|
410 |
+
$counter_class="sfsi_plus_responsive_without_counter_icons";
|
411 |
+
$couter_display="none";
|
412 |
+
endif;
|
413 |
+
$counts = sfsi_plus_getCounts(true);
|
414 |
+
$count = 0;
|
415 |
+
if(isset($counts['email_count'])){
|
416 |
+
$count = (int)($counts['email_count'])+$count;
|
417 |
+
}
|
418 |
+
if(isset($counts['fb_count'])){
|
419 |
+
$count = (int)($counts['fb_count'])+$count;
|
420 |
+
}
|
421 |
+
if(isset($counts['twitter_count'])){
|
422 |
+
$count = (int)($counts['twitter_count'])+$count;
|
423 |
+
}else{
|
424 |
+
$count = 0;
|
425 |
+
}
|
426 |
+
$icons .= "<div class='sfsi_plus_responsive_icons' style='display:inline-block; ".($icon_width_type=="Fully Responsive"?"width:100%;display:flex; ":'width:100%')."' data-icon-width-type='".$icon_width_type."' data-icon-width-size='".$sfsi_plus_responsive_icons["settings"]['icon_width_size']."' data-edge-type='".$sfsi_plus_responsive_icons["settings"]['edge_type']."' data-edge-radius='".$sfsi_plus_responsive_icons["settings"]['edge_radius']."' >";
|
427 |
+
$sfsi_plus_anchor_div_style="";
|
428 |
+
if($sfsi_plus_responsive_icons["settings"]["edge_type"]==="Round"){
|
429 |
+
$sfsi_plus_anchor_div_style.=" border-radius:";
|
430 |
+
if($sfsi_plus_responsive_icons["settings"]["edge_radius"]!==""){
|
431 |
+
$sfsi_plus_anchor_div_style.=$sfsi_plus_responsive_icons["settings"]["edge_radius"].'px; ';
|
432 |
+
}else{
|
433 |
+
$sfsi_plus_anchor_div_style.='0px; ';
|
434 |
+
}
|
435 |
+
}
|
436 |
+
|
437 |
+
ob_start();?>
|
438 |
+
<div class="sfsi_plus_responsive_icons_count sfsi_plus_<?php echo ($icon_width_type=="Fully responsive"?'responsive':'fixed'); ?>_count_container sfsi_plus_<?php echo strtolower($sfsi_plus_responsive_icons['settings']['icon_size']); ?>_button" style='display:<?php echo $couter_display; ?>;text-align:center; background-color:<?php echo $sfsi_plus_responsive_icons['settings']['counter_bg_color'] ;?>;color:<?php echo $sfsi_plus_responsive_icons['settings']['counter_color'] ;?>; <?php echo $sfsi_plus_anchor_div_style; ?>;' >
|
439 |
+
<h3 style="color:<?php echo $sfsi_plus_responsive_icons['settings']['counter_color'] ;?>; " ><?php echo $count; ?></h3>
|
440 |
+
<h6 style="color:<?php echo $sfsi_plus_responsive_icons['settings']['counter_color'] ;?>;" ><?php echo $sfsi_plus_responsive_icons['settings']["share_count_text"]; ?></h6>
|
441 |
+
</div>
|
442 |
+
<?php
|
443 |
+
$icons.= ob_get_contents();
|
444 |
+
ob_end_clean();
|
445 |
+
$icons .= "\t<div class='sfsi_plus_icons_container ".$counter_class." sfsi_plus_".strtolower($sfsi_plus_responsive_icons['settings']['icon_size'])."_button_container sfsi_plus_icons_container_box_".($icon_width_type!=="Fixed icon width"?"fully":'fixed')."_container ' style='".($icon_width_type!=="Fixed icon width"?"width:100%;display:flex; ":'width:auto')."; text-align:center;' >";
|
446 |
+
$socialObj = new sfsi_plus_SocialHelper();
|
447 |
+
//styles
|
448 |
+
$sfsi_plus_anchor_style="";
|
449 |
+
if($sfsi_plus_responsive_icons["settings"]["text_align"]=="Centered"){
|
450 |
+
$sfsi_plus_anchor_style.='text-align:center;';
|
451 |
+
}
|
452 |
+
if($sfsi_plus_responsive_icons["settings"]["margin"]!==""){
|
453 |
+
$sfsi_plus_anchor_style.='margin-left:'.$sfsi_plus_responsive_icons["settings"]["margin"]."px; ";
|
454 |
+
// $sfsi_plus_anchor_style.='margin-bottom:'.$sfsi_plus_responsive_icons["settings"]["margin"]."px; ";
|
455 |
+
}
|
456 |
+
//styles
|
457 |
+
|
458 |
+
if($sfsi_plus_responsive_icons['settings']['icon_width_type']==="Fixed icon width")
|
459 |
+
{
|
460 |
+
$sfsi_plus_anchor_div_style.='width:'.$sfsi_plus_responsive_icons['settings']['icon_width_size'].'px;';
|
461 |
+
}
|
462 |
+
else{
|
463 |
+
$sfsi_plus_anchor_style.=" flex-basis:100%;";
|
464 |
+
$sfsi_plus_anchor_div_style.=" width:100%;";
|
465 |
+
}
|
466 |
+
// var_dump($sfsi_plus_anchor_style,$sfsi_plus_anchor_div_style);
|
467 |
+
foreach($sfsi_plus_responsive_icons['default_icons'] as $icon=>$icon_config){
|
468 |
+
// var_dump($icon_config);
|
469 |
+
// $current_url = $socialObj->sfsi_get_custom_share_link(strtolower($icon));
|
470 |
+
switch($icon){
|
471 |
+
case "facebook":$share_url="https://www.facebook.com/sharer/sharer.php?u=".get_permalink(); break;
|
472 |
+
case "Twitter":$twitter_text = $share_url = "https://twitter.com/intent/tweet?text=".get_the_title()."&url=".get_permalink();break;
|
473 |
+
case "Follow":
|
474 |
+
if(isset($option2['sfsi_plus_email_icons_functions']) && $option2['sfsi_plus_email_icons_functions'] == 'sf')
|
475 |
+
{
|
476 |
+
$share_url = (isset($option2['sfsi_plus_email_url']))
|
477 |
+
? $option2['sfsi_plus_email_url']
|
478 |
+
: 'javascript:';
|
479 |
+
}
|
480 |
+
elseif(isset($option2['sfsi_plus_email_icons_functions']) && $option2['sfsi_plus_email_icons_functions'] == 'contact')
|
481 |
+
{
|
482 |
+
$share_url = (isset($option2['sfsi_plus_email_icons_contact']) && !empty($option2['sfsi_plus_email_icons_contact']))
|
483 |
+
? "mailto:".$option2['sfsi_plus_email_icons_contact']
|
484 |
+
: 'javascript:';
|
485 |
+
}
|
486 |
+
elseif(isset($option2['sfsi_plus_email_icons_functions']) && $option2['sfsi_plus_email_icons_functions'] == 'page')
|
487 |
+
{
|
488 |
+
$share_url = (isset($option2['sfsi_plus_email_icons_pageurl']) && !empty($option2['sfsi_plus_email_icons_pageurl']))
|
489 |
+
? $option2['sfsi_plus_email_icons_pageurl']
|
490 |
+
: 'javascript:';
|
491 |
+
}
|
492 |
+
elseif(isset($option2['sfsi_plus_email_icons_functions']) && $option2['sfsi_plus_email_icons_functions'] == 'share_email')
|
493 |
+
{
|
494 |
+
$subject = stripslashes($option2['sfsi_plus_email_icons_subject_line']);
|
495 |
+
$subject = str_replace('${title}', $socialObj->sfsi_get_the_title(), $subject);
|
496 |
+
$subject = str_replace('"', '', str_replace("'", '', $subject));
|
497 |
+
$subject = html_entity_decode(strip_tags($subject), ENT_QUOTES,'UTF-8');
|
498 |
+
$subject = str_replace("%26%238230%3B", "...", $subject);
|
499 |
+
$subject = rawurlencode($subject);
|
500 |
+
|
501 |
+
$body = stripslashes($option2['sfsi_plus_email_icons_email_content']);
|
502 |
+
$body = str_replace('${title}', $socialObj->sfsi_get_the_title(), $body);
|
503 |
+
$body = str_replace('${link}', trailingslashit($socialObj->sfsi_get_custom_share_link('email')), $body);
|
504 |
+
$body = str_replace('"', '', str_replace("'", '', $body));
|
505 |
+
$body = html_entity_decode(strip_tags($body), ENT_QUOTES,'UTF-8');
|
506 |
+
$body = str_replace("%26%238230%3B", "...", $body);
|
507 |
+
$body = rawurlencode($body);
|
508 |
+
$share_url = "mailto:?subject=$subject&body=$body";
|
509 |
+
}
|
510 |
+
else
|
511 |
+
{
|
512 |
+
$share_url = (isset($option2['sfsi_plus_email_url']))
|
513 |
+
? $option2['sfsi_plus_email_url']
|
514 |
+
: 'javascript:';
|
515 |
+
}
|
516 |
+
break;
|
517 |
+
|
518 |
+
}
|
519 |
+
$icons.="\t\t"."<a ".sfsi_plus_checkNewWindow()." href='".($icon_config['url']==""?$share_url:$icon_config['url'])."' style='".($icon_config['active']=='yes'?($sfsi_plus_responsive_icons['settings']['icon_width_type']==="Fixed icon width"?'display:inline-flex':'display:block'):'display:none').";".$sfsi_plus_anchor_style."' class=".($sfsi_plus_responsive_icons['settings']['icon_width_type']==="Fixed icon width"?'sfsi_plus_responsive_fixed_width':'sfsi_plus_responsive_fluid')." >"."\n";
|
520 |
+
$icons.="\t\t\t<div class='sfsi_plus_responsive_icon_item_container sfsi_plus_responsive_icon_".strtolower($icon)."_container sfsi_plus_".strtolower($sfsi_plus_responsive_icons['settings']['icon_size'])."_button ".($sfsi_plus_responsive_icons['settings']['style']=="Gradient"?'sfsi_plus_responsive_icon_gradient':'').( " sfsi_plus_".(strtolower($sfsi_plus_responsive_icons['settings']['text_align'])=="centered"?'centered':'left-align')."_icon")."' style='".$sfsi_plus_anchor_div_style." ' >"."\n";
|
521 |
+
$icons.="\t\t\t\t<img style='max-height: 25px;display:unset;margin:0' src='".SFSI_PLUS_PLUGURL."images/responsive-icon/".$icon.('Follow'===$icon?'.png':'.svg')."'>"."\n";
|
522 |
+
$icons.="\t\t\t\t<span style='color:#fff' >".($icon_config["text"])."</span>"."\n";
|
523 |
+
$icons.="\t\t\t</div>"."\n";
|
524 |
+
$icons.="\t\t</a>"."\n\n";
|
525 |
+
}
|
526 |
+
$icons.="</div></div><!--end responsive_icons-->";
|
527 |
+
return $icons;
|
528 |
+
endif;
|
529 |
+
}
|
530 |
?>
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_plus_pluginVersion", "3.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -43,6 +43,14 @@ function sfsi_plus_update_plugin()
|
|
43 |
add_option("sfsi_plus_new_show_notification", "no");
|
44 |
}
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
add_option('sfsi_plus_footer_sec','no');
|
47 |
|
48 |
/* subscription form */
|
@@ -133,9 +141,6 @@ function sfsi_plus_update_plugin()
|
|
133 |
if(!isset($option5['sfsi_plus_twitter_icons_language'])){
|
134 |
$option5['sfsi_plus_twitter_icons_language'] = 'Visit_us_en_US';
|
135 |
}
|
136 |
-
if(!isset($option5['sfsi_plus_google_icons_language'])){
|
137 |
-
$option5['sfsi_plus_google_icons_language'] = 'Visit_us_en_US';
|
138 |
-
}
|
139 |
if(!isset($option5['sfsi_plus_icons_language'])){
|
140 |
$option5['sfsi_plus_icons_language'] = 'en_US';
|
141 |
}
|
@@ -190,6 +195,7 @@ function sfsi_plus_update_plugin()
|
|
190 |
if(!isset($option1['sfsi_plus_wechat_display'])){
|
191 |
$option1['sfsi_plus_wechat_display'] = 'no';
|
192 |
}
|
|
|
193 |
|
194 |
update_option('sfsi_plus_section1_options', serialize($option1));
|
195 |
}
|
@@ -200,7 +206,6 @@ function sfsi_plus_update_plugin()
|
|
200 |
$option2['sfsi_plus_premium_email_box'] = 'no';
|
201 |
$option2['sfsi_plus_premium_facebook_box'] = 'no';
|
202 |
$option2['sfsi_plus_premium_twitter_box'] = 'no';
|
203 |
-
$option2['sfsi_plus_premium_google_box'] = 'no';
|
204 |
|
205 |
if(!isset($option2['sfsi_plus_mouseover_effect_type'])){
|
206 |
$option2['sfsi_plus_mouseover_effect_type'] = 'no';
|
@@ -320,6 +325,9 @@ function sfsi_plus_update_plugin()
|
|
320 |
$option4['sfsi_plus_instagram_token'] = '';
|
321 |
update_option('sfsi_plus_section4_options', serialize($option4));
|
322 |
}
|
|
|
|
|
|
|
323 |
sfsi_plus_remove_google();
|
324 |
// Add this removed in version 2.9.3, removing values from section 1 & section 6 & setting notice display value
|
325 |
sfsi_plus_was_displaying_addthis();
|
@@ -339,7 +347,12 @@ function sfsi_plus_activate_plugin()
|
|
339 |
{
|
340 |
add_option("sfsi_plus_show_premium_cumulative_count_notification", "yes");
|
341 |
}
|
|
|
342 |
|
|
|
|
|
|
|
|
|
343 |
|
344 |
$options1=array('sfsi_plus_rss_display'=>'yes',
|
345 |
'sfsi_plus_email_display'=>'yes',
|
@@ -355,7 +368,6 @@ function sfsi_plus_activate_plugin()
|
|
355 |
'sfsi_plus_vk_display'=>'no',
|
356 |
'sfsi_plus_weibo_display'=>'no',
|
357 |
'sfsi_plus_wechat_display'=>'no',
|
358 |
-
'sfsi_plus_google_display'=>'no',
|
359 |
'sfsi_custom_display'=>'',
|
360 |
'sfsi_custom_files'=>'',
|
361 |
'sfsi_plus_premium_icons_box' =>'yes',
|
@@ -387,10 +399,6 @@ function sfsi_plus_activate_plugin()
|
|
387 |
'sfsi_plus_twitter_page'=>'no',
|
388 |
'sfsi_plus_twitter_pageURL'=>'',
|
389 |
'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name',
|
390 |
-
'sfsi_plus_google_page'=>'no',
|
391 |
-
'sfsi_plus_google_pageURL'=>'',
|
392 |
-
'sfsi_plus_googleLike_option'=>'no',
|
393 |
-
'sfsi_plus_googleShare_option'=>'yes',
|
394 |
'sfsi_plus_youtube_pageUrl'=>'',
|
395 |
'sfsi_plus_youtube_page'=>'no',
|
396 |
'sfsi_plus_youtube_follow'=>'no',
|
@@ -427,7 +435,6 @@ function sfsi_plus_activate_plugin()
|
|
427 |
'sfsi_plus_premium_email_box'=>'yes',
|
428 |
'sfsi_plus_premium_facebook_box'=>'yes',
|
429 |
'sfsi_plus_premium_twitter_box'=>'yes',
|
430 |
-
'sfsi_plus_premium_google_box'=>'yes',
|
431 |
);
|
432 |
add_option('sfsi_plus_section2_options', serialize($options2));
|
433 |
|
@@ -462,9 +469,6 @@ function sfsi_plus_activate_plugin()
|
|
462 |
'sfsi_plus_twitter_countsFrom'=>'manual',
|
463 |
'sfsi_plus_twitter_manualCounts'=>'20',
|
464 |
'sfsi_plus_google_api_key'=>'',
|
465 |
-
'sfsi_plus_google_countsDisplay'=>'no',
|
466 |
-
'sfsi_plus_google_countsFrom'=>'manual',
|
467 |
-
'sfsi_plus_google_manualCounts'=>'20',
|
468 |
'sfsi_plus_linkedIn_countsDisplay'=>'no',
|
469 |
'sfsi_plus_linkedIn_countsFrom'=>'manual',
|
470 |
'sfsi_plus_linkedIn_manualCounts'=>'20',
|
@@ -511,7 +515,6 @@ function sfsi_plus_activate_plugin()
|
|
511 |
'sfsi_plus_follow_icons_language'=>'Follow_en_US',
|
512 |
'sfsi_plus_facebook_icons_language'=>'Visit_us_en_US',
|
513 |
'sfsi_plus_twitter_icons_language'=>'Visit_us_en_US',
|
514 |
-
'sfsi_plus_google_icons_language'=>'Visit_us_en_US',
|
515 |
'sfsi_plus_icons_language'=>'en_US',
|
516 |
'sfsi_plus_icons_ClickPageOpen'=>'yes',
|
517 |
'sfsi_plus_icons_float'=>'no',
|
@@ -528,7 +531,6 @@ function sfsi_plus_activate_plugin()
|
|
528 |
'sfsi_plus_linkedinIcon_order'=>'8',
|
529 |
'sfsi_plus_instagramIcon_order'=>'9',
|
530 |
'sfsi_plus_houzzIcon_order'=>'10',
|
531 |
-
'sfsi_plus_googleIcon_order'=>'11',
|
532 |
'sfsi_plus_telegramIcon_order'=>'22',
|
533 |
'sfsi_plus_vkIcon_order'=>'23',
|
534 |
'sfsi_plus_okIcon_order'=>'24',
|
@@ -632,6 +634,7 @@ function sfsi_plus_activate_plugin()
|
|
632 |
'sfsi_plus_display_after_blogposts'=>'no',
|
633 |
'sfsi_plus_rectsub'=>'yes',
|
634 |
'sfsi_plus_rectfb'=>'yes',
|
|
|
635 |
'sfsi_plus_recttwtr'=>'yes',
|
636 |
'sfsi_plus_rectpinit'=>'yes',
|
637 |
'sfsi_plus_rectfbshare'=>'yes',
|
@@ -731,12 +734,6 @@ function sfsi_plus_remove_google(){
|
|
731 |
unset($option5['sfsi_plus_google_MouseOverText']);
|
732 |
}
|
733 |
update_option('sfsi_plus_section5_options', serialize($option5));
|
734 |
-
|
735 |
-
$option8 = unserialize(get_option('sfsi_plus_section8_options',false));
|
736 |
-
if(isset($option8['sfsi_plus_rectgp'])){
|
737 |
-
unset($option8['sfsi_plus_rectgp']);
|
738 |
-
}
|
739 |
-
update_option('sfsi_plus_section8_options', serialize($option8));
|
740 |
|
741 |
}
|
742 |
function sfsi_plus_updateFeedPing($status,$feed_id)
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "3.18");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
43 |
add_option("sfsi_plus_new_show_notification", "no");
|
44 |
}
|
45 |
|
46 |
+
|
47 |
+
// var_dump(get_option('sfsi_plus_custom_icons'),'yes');
|
48 |
+
// die();
|
49 |
+
|
50 |
+
if(!get_option('sfsi_plus_custom_icons'))
|
51 |
+
{
|
52 |
+
update_option("sfsi_plus_custom_icons", "yes");
|
53 |
+
}
|
54 |
add_option('sfsi_plus_footer_sec','no');
|
55 |
|
56 |
/* subscription form */
|
141 |
if(!isset($option5['sfsi_plus_twitter_icons_language'])){
|
142 |
$option5['sfsi_plus_twitter_icons_language'] = 'Visit_us_en_US';
|
143 |
}
|
|
|
|
|
|
|
144 |
if(!isset($option5['sfsi_plus_icons_language'])){
|
145 |
$option5['sfsi_plus_icons_language'] = 'en_US';
|
146 |
}
|
195 |
if(!isset($option1['sfsi_plus_wechat_display'])){
|
196 |
$option1['sfsi_plus_wechat_display'] = 'no';
|
197 |
}
|
198 |
+
|
199 |
|
200 |
update_option('sfsi_plus_section1_options', serialize($option1));
|
201 |
}
|
206 |
$option2['sfsi_plus_premium_email_box'] = 'no';
|
207 |
$option2['sfsi_plus_premium_facebook_box'] = 'no';
|
208 |
$option2['sfsi_plus_premium_twitter_box'] = 'no';
|
|
|
209 |
|
210 |
if(!isset($option2['sfsi_plus_mouseover_effect_type'])){
|
211 |
$option2['sfsi_plus_mouseover_effect_type'] = 'no';
|
325 |
$option4['sfsi_plus_instagram_token'] = '';
|
326 |
update_option('sfsi_plus_section4_options', serialize($option4));
|
327 |
}
|
328 |
+
if(isset($option8["sfsi_plus_display_button_type"]) && (""==$option8["sfsi_plus_display_button_type"] || "yes"==$option8["sfsi_plus_display_button_type"]) ) {
|
329 |
+
$option8["sfsi_plus_display_button_type"] = "standard_buttons";
|
330 |
+
}
|
331 |
sfsi_plus_remove_google();
|
332 |
// Add this removed in version 2.9.3, removing values from section 1 & section 6 & setting notice display value
|
333 |
sfsi_plus_was_displaying_addthis();
|
347 |
{
|
348 |
add_option("sfsi_plus_show_premium_cumulative_count_notification", "yes");
|
349 |
}
|
350 |
+
// var_dump(get_option('sfsi_plus_custom_icons'),'no');
|
351 |
|
352 |
+
if(!get_option('sfsi_plus_custom_icons'))
|
353 |
+
{
|
354 |
+
add_option("sfsi_plus_custom_icons", "no");
|
355 |
+
}
|
356 |
|
357 |
$options1=array('sfsi_plus_rss_display'=>'yes',
|
358 |
'sfsi_plus_email_display'=>'yes',
|
368 |
'sfsi_plus_vk_display'=>'no',
|
369 |
'sfsi_plus_weibo_display'=>'no',
|
370 |
'sfsi_plus_wechat_display'=>'no',
|
|
|
371 |
'sfsi_custom_display'=>'',
|
372 |
'sfsi_custom_files'=>'',
|
373 |
'sfsi_plus_premium_icons_box' =>'yes',
|
399 |
'sfsi_plus_twitter_page'=>'no',
|
400 |
'sfsi_plus_twitter_pageURL'=>'',
|
401 |
'sfsi_plus_twitter_aboutPageText'=>'Hey, check out this cool site I found: www.yourname.com #Topic via@my_twitter_name',
|
|
|
|
|
|
|
|
|
402 |
'sfsi_plus_youtube_pageUrl'=>'',
|
403 |
'sfsi_plus_youtube_page'=>'no',
|
404 |
'sfsi_plus_youtube_follow'=>'no',
|
435 |
'sfsi_plus_premium_email_box'=>'yes',
|
436 |
'sfsi_plus_premium_facebook_box'=>'yes',
|
437 |
'sfsi_plus_premium_twitter_box'=>'yes',
|
|
|
438 |
);
|
439 |
add_option('sfsi_plus_section2_options', serialize($options2));
|
440 |
|
469 |
'sfsi_plus_twitter_countsFrom'=>'manual',
|
470 |
'sfsi_plus_twitter_manualCounts'=>'20',
|
471 |
'sfsi_plus_google_api_key'=>'',
|
|
|
|
|
|
|
472 |
'sfsi_plus_linkedIn_countsDisplay'=>'no',
|
473 |
'sfsi_plus_linkedIn_countsFrom'=>'manual',
|
474 |
'sfsi_plus_linkedIn_manualCounts'=>'20',
|
515 |
'sfsi_plus_follow_icons_language'=>'Follow_en_US',
|
516 |
'sfsi_plus_facebook_icons_language'=>'Visit_us_en_US',
|
517 |
'sfsi_plus_twitter_icons_language'=>'Visit_us_en_US',
|
|
|
518 |
'sfsi_plus_icons_language'=>'en_US',
|
519 |
'sfsi_plus_icons_ClickPageOpen'=>'yes',
|
520 |
'sfsi_plus_icons_float'=>'no',
|
531 |
'sfsi_plus_linkedinIcon_order'=>'8',
|
532 |
'sfsi_plus_instagramIcon_order'=>'9',
|
533 |
'sfsi_plus_houzzIcon_order'=>'10',
|
|
|
534 |
'sfsi_plus_telegramIcon_order'=>'22',
|
535 |
'sfsi_plus_vkIcon_order'=>'23',
|
536 |
'sfsi_plus_okIcon_order'=>'24',
|
634 |
'sfsi_plus_display_after_blogposts'=>'no',
|
635 |
'sfsi_plus_rectsub'=>'yes',
|
636 |
'sfsi_plus_rectfb'=>'yes',
|
637 |
+
'sfsi_plus_rectgp'=>'no',
|
638 |
'sfsi_plus_recttwtr'=>'yes',
|
639 |
'sfsi_plus_rectpinit'=>'yes',
|
640 |
'sfsi_plus_rectfbshare'=>'yes',
|
734 |
unset($option5['sfsi_plus_google_MouseOverText']);
|
735 |
}
|
736 |
update_option('sfsi_plus_section5_options', serialize($option5));
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
|
738 |
}
|
739 |
function sfsi_plus_updateFeedPing($status,$feed_id)
|
libs/sfsi_plus_subscribe_widget.php
CHANGED
@@ -221,9 +221,9 @@ class sfsiPlus_subscriber_widget extends WP_Widget {
|
|
221 |
// Register and load the widget
|
222 |
function sfsiPlus_subscriber_load_widget()
|
223 |
{
|
224 |
-
register_widget( 'sfsiPlus_subscriber_widget'
|
225 |
}
|
226 |
-
add_action( 'widgets_init', 'sfsiPlus_subscriber_load_widget'
|
227 |
?>
|
228 |
<?php
|
229 |
add_shortcode("USM_plus_form", "sfsi_plus_get_subscriberForm");
|
221 |
// Register and load the widget
|
222 |
function sfsiPlus_subscriber_load_widget()
|
223 |
{
|
224 |
+
register_widget( 'sfsiPlus_subscriber_widget');
|
225 |
}
|
226 |
+
add_action( 'widgets_init', 'sfsiPlus_subscriber_load_widget');
|
227 |
?>
|
228 |
<?php
|
229 |
add_shortcode("USM_plus_form", "sfsi_plus_get_subscriberForm");
|
libs/sfsi_widget.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/* create SFSI widget */
|
3 |
-
class Sfsi_Plus_Widget extends WP_Widget
|
4 |
{
|
5 |
function __construct()
|
6 |
{
|
@@ -1548,7 +1548,7 @@ function sfsi_plus_prepairIcons($icon_name,$is_front=0, $onpost="no", $fromPost
|
|
1548 |
{
|
1549 |
//$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.'" style="width:'.$width.'px ;opacity:0;z-index:-1;margin-left:-'.$twt_margin.'px;" id="sfsiplusid_'.$icon_name.'">';
|
1550 |
|
1551 |
-
$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.' sfsiplusid_'.$icon_name.'" style="'.(isset($width)?'width:'.$width.'px':'').';opacity:0;z-index:-1;">';
|
1552 |
$icons.= '<span class="bot_arow '.$arsfsiplus_row_class.'"></span>';
|
1553 |
$icons.= '<div class="sfsi_plus_inside">'.$hoverdiv."</div>";
|
1554 |
$icons.= "</div>";
|
@@ -1613,7 +1613,6 @@ function sfsi_plus_check_posts_visiblity($isFloter=0 , $fromPost = NULL)
|
|
1613 |
? $sfsi_section5['sfsi_plus_houzzIcon_order']
|
1614 |
: 12 => 'houzz'
|
1615 |
);
|
1616 |
-
|
1617 |
if(is_array($custom_icons_order) )
|
1618 |
{
|
1619 |
foreach($custom_icons_order as $data)
|
1 |
<?php
|
2 |
/* create SFSI widget */
|
3 |
+
class Sfsi_Plus_Widget extends WP_Widget
|
4 |
{
|
5 |
function __construct()
|
6 |
{
|
1548 |
{
|
1549 |
//$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.'" style="width:'.$width.'px ;opacity:0;z-index:-1;margin-left:-'.$twt_margin.'px;" id="sfsiplusid_'.$icon_name.'">';
|
1550 |
|
1551 |
+
$icons.= '<div class="sfsi_plus_tool_tip_2 '.$toolClass.' '.$toolT_cls.' sfsiplusid_'.$icon_name.'" style="display:block;'.(isset($width)?'width:'.$width.'px':'').';opacity:0;z-index:-1;">';
|
1552 |
$icons.= '<span class="bot_arow '.$arsfsiplus_row_class.'"></span>';
|
1553 |
$icons.= '<div class="sfsi_plus_inside">'.$hoverdiv."</div>";
|
1554 |
$icons.= "</div>";
|
1613 |
? $sfsi_section5['sfsi_plus_houzzIcon_order']
|
1614 |
: 12 => 'houzz'
|
1615 |
);
|
|
|
1616 |
if(is_array($custom_icons_order) )
|
1617 |
{
|
1618 |
foreach($custom_icons_order as $data)
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
|
2 |
-
Contributors: socialsharepro
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 3.1.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -446,13 +446,18 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
446 |
|
447 |
|
448 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
449 |
|
450 |
= 3.1.7 =
|
451 |
-
* Feedback system added
|
452 |
|
453 |
= 3.1.6 =
|
454 |
-
* Update: Removed
|
455 |
-
* Update: Nonce error in Q6 preview language icons
|
456 |
|
457 |
= 3.1.5 =
|
458 |
* Update: Corrected typos
|
@@ -882,5 +887,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
882 |
|
883 |
== Upgrade Notice ==
|
884 |
|
885 |
-
= 3.1.
|
886 |
* Please update
|
1 |
+
=== Social Share Icons & Social Share Buttons ===
|
2 |
+
Contributors: socialsharepro
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 3.1.8
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
446 |
|
447 |
|
448 |
== Changelog ==
|
449 |
+
= 3.1.8 =
|
450 |
+
* New Feature: Responsive icons in the plugin.
|
451 |
+
* Solved: Icons not rendering on woocomerce product page.
|
452 |
+
* Solved: Stop loading unused external library code for faster load.
|
453 |
+
* Solved: Updated feedback system to next version.
|
454 |
|
455 |
= 3.1.7 =
|
456 |
+
* Update: Feedback system added
|
457 |
|
458 |
= 3.1.6 =
|
459 |
+
* Update: Removed google icon.
|
460 |
+
* Update: Nonce error in Q6 preview language icons
|
461 |
|
462 |
= 3.1.5 =
|
463 |
* Update: Corrected typos
|
887 |
|
888 |
== Upgrade Notice ==
|
889 |
|
890 |
+
= 3.1.8 =
|
891 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,49 +7,50 @@ Author: social share pro
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
-
Version: 3.1.
|
11 |
License: GPLv2
|
12 |
*/
|
|
|
|
|
|
|
13 |
require_once 'analyst/main.php';
|
14 |
|
15 |
-
analyst_init(
|
16 |
'client-id' => 'w6l8b75dy5qkv9ze',
|
17 |
'client-secret' => '39db55426579986bb6c79c6d94aa6ab82b67f9f5',
|
18 |
'base-dir' => __FILE__
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
sfsi_plus_error_reporting();
|
23 |
|
24 |
global $wpdb;
|
25 |
/* define the Root for URL and Document */
|
26 |
|
27 |
|
28 |
// Create a helper function for easy SDK access.
|
29 |
-
function sfsi_plus_freemius()
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
53 |
}
|
54 |
|
55 |
// Init Freemius.
|
@@ -61,116 +62,114 @@ function sfsi_plus_freemius() {
|
|
61 |
|
62 |
define('SFSI_PLUS_DOCROOT', dirname(__FILE__));
|
63 |
// define('SFSI_PLUS_PLUGURL', plugin_dir_url(__FILE__));
|
64 |
-
define('SFSI_PLUS_PLUGURL', site_url().'/wp-content/plugins/ultimate-social-media-plus/');
|
65 |
define('SFSI_PLUS_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
|
66 |
define('SFSI_PLUS_DOMAIN', 'ultimate-social-media-plus');
|
67 |
-
define('SFSI_PLUS_SUPPORT_FORM','https://goo.gl/jySrSF');
|
68 |
|
69 |
$wp_upload_dir = wp_upload_dir();
|
70 |
define('SFSI_PLUS_UPLOAD_DIR_BASEURL', trailingslashit($wp_upload_dir['baseurl']));
|
71 |
|
72 |
|
73 |
-
define('SFSI_PLUS_ALLICONS',serialize(array(
|
74 |
-
"
|
|
|
|
|
75 |
|
76 |
function sfsi_plus_get_current_url()
|
77 |
{
|
78 |
global $post, $wp;
|
79 |
|
80 |
if (!empty($wp)) {
|
81 |
-
return home_url(add_query_arg(array()
|
82 |
-
}
|
83 |
-
elseif(!empty($post))
|
84 |
-
{
|
85 |
return get_permalink($post->ID);
|
86 |
-
}
|
87 |
-
else
|
88 |
-
{
|
89 |
return site_url();
|
90 |
}
|
91 |
}
|
92 |
|
93 |
/* load all files */
|
94 |
-
include(SFSI_PLUS_DOCROOT.'/helpers/common_helper.php');
|
95 |
-
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
96 |
-
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
97 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_install_uninstall.php');
|
98 |
-
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_buttons_controller.php');
|
99 |
-
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_iconsUpload_contoller.php');
|
100 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_Init_JqueryCss.php');
|
101 |
-
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_floater_icons.php');
|
102 |
-
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsiocns_OnPosts.php');
|
103 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_widget.php');
|
104 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_plus_subscribe_widget.php');
|
105 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_custom_social_sharing_data.php');
|
106 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_ajax_social_sharing_settings_updater.php');
|
107 |
-
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_gutenberg_block.php');
|
108 |
-
|
109 |
-
/* plugin install and uninstall hooks */
|
110 |
-
register_activation_hook(__FILE__, 'sfsi_plus_activate_plugin'
|
111 |
register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
112 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
113 |
|
114 |
/*Plugin version setup*/
|
115 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.
|
116 |
-
{
|
117 |
add_action("init", "sfsi_plus_update_plugin");
|
118 |
}
|
119 |
|
120 |
-
|
121 |
//************************************** Setting error reporting STARTS ****************************************//
|
122 |
|
123 |
-
function sfsi_plus_error_reporting()
|
|
|
124 |
|
125 |
-
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
126 |
|
127 |
-
if(
|
|
|
128 |
|
129 |
&& !empty($option5['sfsi_pplus_icons_suppress_errors'])
|
130 |
|
131 |
-
&& "yes" == $option5['sfsi_pplus_icons_suppress_errors']
|
132 |
-
|
133 |
-
|
134 |
-
|
|
|
135 |
}
|
136 |
|
137 |
//************************************** Setting error reporting CLOSES ****************************************//
|
138 |
|
139 |
//shortcode for the ultimate social icons {Monad}
|
140 |
add_shortcode("DISPLAY_ULTIMATE_PLUS", "DISPLAY_ULTIMATE_PLUS");
|
141 |
-
function DISPLAY_ULTIMATE_PLUS($args = null, $content = null
|
142 |
{
|
143 |
-
if("DISPLAY_ULTIMATE_PLUS"
|
144 |
$share_url = null;
|
145 |
}
|
146 |
$instance = array("showf" => 1, "title" => '');
|
147 |
$sfsi_plus_section8_options = get_option("sfsi_plus_section8_options");
|
148 |
$sfsi_plus_section8_options = unserialize($sfsi_plus_section8_options);
|
149 |
$sfsi_plus_place_item_manually = $sfsi_plus_section8_options['sfsi_plus_place_item_manually'];
|
150 |
-
if($sfsi_plus_place_item_manually == "yes")
|
151 |
-
{
|
152 |
$return = '';
|
153 |
-
if(!isset($before_widget)): $before_widget ='';
|
154 |
-
|
155 |
-
|
|
|
|
|
156 |
/*Our variables from the widget settings. */
|
157 |
-
$title = apply_filters('widget_title', $instance['title']
|
158 |
-
$show_info = isset(
|
159 |
-
global $is_floter;
|
160 |
-
$return.= $before_widget;
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
$return .= $after_widget;
|
170 |
return $return;
|
171 |
-
}
|
172 |
-
else
|
173 |
-
{
|
174 |
return __('Kindly go to setting page and check the option "Place them manually"', SFSI_PLUS_DOMAIN);
|
175 |
}
|
176 |
}
|
@@ -179,19 +178,17 @@ function sfsi_plus_checkmetas()
|
|
179 |
{
|
180 |
$adding_plustags = "yes";
|
181 |
|
182 |
-
if (
|
183 |
-
{
|
184 |
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
185 |
}
|
186 |
-
|
187 |
$all_plugins = get_plugins();
|
188 |
|
189 |
-
foreach($all_plugins as $key => $plugin):
|
190 |
-
|
191 |
-
if(is_plugin_active($key)):
|
192 |
-
|
193 |
-
if(preg_match("/(seo|search engine optimization|meta tag|open graph|opengraph|og tag|ogtag)/im", $plugin['Name']) || preg_match("/(seo|search engine optimization|meta tag|open graph|opengraph|og tag|ogtag)/im", $plugin['Description']))
|
194 |
-
{
|
195 |
$adding_plustags = "no";
|
196 |
break;
|
197 |
}
|
@@ -200,11 +197,10 @@ function sfsi_plus_checkmetas()
|
|
200 |
|
201 |
endforeach;
|
202 |
|
203 |
-
update_option('adding_plustags'
|
204 |
}
|
205 |
|
206 |
-
if (
|
207 |
-
{
|
208 |
// sfsi_plus_checkmetas();
|
209 |
add_action('after_setup_theme', 'sfsi_plus_checkmetas');
|
210 |
}
|
@@ -214,101 +210,77 @@ function ultimateplusfbmetatags()
|
|
214 |
{
|
215 |
$metarequest = get_option("adding_plustags");
|
216 |
$post_id = get_the_ID();
|
217 |
-
|
218 |
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
|
219 |
$verification_code = get_option('sfsi_plus_verificatiom_code');
|
220 |
-
if(!empty($feed_id) && !empty($verification_code) && $verification_code != "no"
|
221 |
-
|
222 |
-
echo '<meta name="specificfeeds-verification-code-'.$feed_id.'" content="'.$verification_code.'"/>';
|
223 |
}
|
224 |
-
|
225 |
-
if($metarequest == 'yes' && !empty($post_id))
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
//checking for disabling viewport meta tag
|
235 |
-
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
236 |
-
if(isset($option5['sfsi_plus_disable_viewport']))
|
237 |
-
|
238 |
-
|
239 |
-
}
|
240 |
-
else
|
241 |
-
{
|
242 |
$sfsi_plus_disable_viewport = 'no';
|
243 |
}
|
244 |
-
if($sfsi_plus_disable_viewport == 'no')
|
245 |
-
|
246 |
-
echo ' <meta name="viewport" content="width=device-width, initial-scale=1">';
|
247 |
}
|
248 |
//checking for disabling viewport meta tag
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
}
|
261 |
-
$metadata = wp_get_attachment_metadata( $attachment_id );
|
262 |
-
if(isset($metadata) && !empty($metadata))
|
263 |
-
{
|
264 |
-
if(isset($metadata['sizes']['post-thumbnail']))
|
265 |
-
{
|
266 |
$image_type = $metadata['sizes']['post-thumbnail']['mime-type'];
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
}
|
272 |
-
if(isset($metadata['width']))
|
273 |
-
{
|
274 |
$width = $metadata['width'];
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
}
|
280 |
-
if(isset($metadata['height']))
|
281 |
-
{
|
282 |
$height = $metadata['height'];
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
}
|
288 |
-
}
|
289 |
-
else
|
290 |
-
{
|
291 |
$image_type = '';
|
292 |
$width = '';
|
293 |
-
$height = '';
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
}
|
303 |
}
|
304 |
|
305 |
//Get verification code
|
306 |
-
if(is_admin())
|
307 |
-
{
|
308 |
$code = sanitize_text_field(get_option('sfsi_plus_verificatiom_code'));
|
309 |
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
|
310 |
-
if(empty($code) && !empty($feed_id))
|
311 |
-
{
|
312 |
add_action("init", "sfsi_plus_getverification_code");
|
313 |
}
|
314 |
}
|
@@ -316,7 +288,7 @@ function sfsi_plus_getverification_code()
|
|
316 |
{
|
317 |
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
|
318 |
$url = $http_url = 'https://www.specificfeeds.com/wordpress/getVerifiedCode_plugin';
|
319 |
-
|
320 |
$args = array(
|
321 |
'timeout' => 15,
|
322 |
'body' => array(
|
@@ -324,268 +296,280 @@ function sfsi_plus_getverification_code()
|
|
324 |
)
|
325 |
);
|
326 |
|
327 |
-
$request = wp_remote_post(
|
328 |
|
329 |
-
if (
|
330 |
// var_dump($request);
|
331 |
// update_option("sfsi_plus_curlErrorNotices", "yes");
|
332 |
// update_option("sfsi_plus_curlErrorMessage", $request->get_error_message());
|
333 |
-
}else{
|
334 |
$resp = json_decode($request['body']);
|
335 |
update_option('sfsi_plus_verificatiom_code', $resp->code);
|
336 |
}
|
337 |
}
|
338 |
|
339 |
//functionality for before and after single posts
|
340 |
-
add_filter(
|
341 |
-
function sfsi_plus_beforaftereposts(
|
342 |
{
|
343 |
$org_content = $content;
|
344 |
$icons_before = '';
|
345 |
$icons_after = '';
|
346 |
-
if(is_single())
|
347 |
-
|
348 |
-
$option8
|
349 |
$lineheight = $option8['sfsi_plus_post_icons_size'];
|
350 |
$lineheight = sfsi_plus_getlinhght($lineheight);
|
351 |
$sfsi_plus_display_button_type = $option8['sfsi_plus_display_button_type'];
|
352 |
-
$txt=(isset($option8['sfsi_plus_textBefor_icons']))? $option8['sfsi_plus_textBefor_icons'] : "Please follow and like us:"
|
353 |
$float = $option8['sfsi_plus_icons_alignment'];
|
354 |
-
if($float == "center")
|
355 |
-
|
356 |
-
$style_parent= 'text-align: center;';
|
357 |
$style = 'float:none; display: inline-block;';
|
|
|
|
|
|
|
358 |
}
|
359 |
-
|
360 |
-
|
361 |
-
$
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
$icons_before .= '<div class="sfsibeforpstwpr" style="'.$style_parent.'">';
|
367 |
-
if($sfsi_plus_display_button_type == 'standard_buttons')
|
368 |
-
{
|
369 |
-
$icons_before .= sfsi_plus_social_buttons_below($content = null);
|
370 |
-
}
|
371 |
-
else
|
372 |
-
{
|
373 |
-
$icons_before .= "<div class='sfsi_plus_Sicons' style='".$style."'>";
|
374 |
-
$icons_before .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
375 |
-
$icons_before .= sfsi_plus_check_posts_visiblity(0 , "yes");
|
376 |
-
$icons_before .= "</div>";
|
377 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
$icons_before .= '</div>';
|
379 |
/*$icons_before .= '</br>';*/
|
380 |
}
|
381 |
-
if($option8['sfsi_plus_display_after_posts'] == "yes" && $option8['sfsi_plus_show_item_onposts'] == "yes")
|
382 |
-
{
|
383 |
/*$icons_after .= '</br>';*/
|
384 |
-
$icons_after .= '<div class="sfsiaftrpstwpr" style="'
|
385 |
-
if($sfsi_plus_display_button_type == 'standard_buttons')
|
386 |
-
{
|
387 |
$icons_after .= sfsi_plus_social_buttons_below($content = null);
|
388 |
-
}
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
|
|
|
|
394 |
$icons_after .= "</div>";
|
395 |
}
|
|
|
396 |
$icons_after .= '</div>';
|
397 |
}
|
398 |
}
|
399 |
-
$content = $icons_before
|
400 |
return $content;
|
401 |
}
|
402 |
|
403 |
//showing before and after blog posts
|
404 |
-
add_filter(
|
405 |
-
add_filter(
|
406 |
-
function sfsi_plus_beforeafterblogposts(
|
407 |
{
|
408 |
-
if (
|
409 |
-
{
|
410 |
$icons_before = '';
|
411 |
$icons_after = '';
|
412 |
-
$sfsi_section8= unserialize(get_option('sfsi_plus_section8_options',false));
|
413 |
$lineheight = $sfsi_section8['sfsi_plus_post_icons_size'];
|
414 |
$lineheight = sfsi_plus_getlinhght($lineheight);
|
415 |
-
|
416 |
global $id, $post;
|
417 |
$sfsi_plus_display_button_type = $sfsi_section8['sfsi_plus_display_button_type'];
|
418 |
$sfsi_plus_show_item_onposts = $sfsi_section8['sfsi_plus_show_item_onposts'];
|
419 |
$permalink = get_permalink($post->ID);
|
420 |
$post_title = $post->post_title;
|
421 |
-
$sfsiLikeWith="45px;";
|
422 |
-
if($sfsi_section8['sfsi_plus_icons_DisplayCounts']=="yes")
|
423 |
-
|
424 |
-
$
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
$show_count=0;
|
430 |
-
}
|
431 |
-
|
432 |
//checking for standard icons
|
433 |
-
if(!isset($sfsi_section8['sfsi_plus_rectsub']))
|
434 |
-
{
|
435 |
$sfsi_section8['sfsi_plus_rectsub'] = 'no';
|
436 |
}
|
437 |
-
if(!isset($sfsi_section8['sfsi_plus_recttwtr']))
|
438 |
-
{
|
439 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
440 |
}
|
441 |
-
if(!isset($sfsi_section8['sfsi_plus_rectpinit']))
|
442 |
-
{
|
443 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
444 |
}
|
445 |
-
if(!isset($sfsi_section8['sfsi_plus_rectfbshare']))
|
446 |
-
{
|
447 |
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
448 |
}
|
449 |
-
|
450 |
//checking for standard icons
|
451 |
-
$txt=(isset($sfsi_section8['sfsi_plus_textBefor_icons']))? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:"
|
452 |
$float = $sfsi_section8['sfsi_plus_icons_alignment'];
|
453 |
-
if($float == "center")
|
454 |
-
|
455 |
-
$style_parent= 'text-align: center;';
|
456 |
$style = 'float:none; display: inline-block;';
|
|
|
|
|
|
|
457 |
}
|
458 |
-
|
459 |
-
|
460 |
-
$style_parent= '';
|
461 |
-
$style = 'float:'.$float;
|
462 |
-
}
|
463 |
-
|
464 |
-
if(
|
465 |
$sfsi_section8['sfsi_plus_display_before_blogposts'] == "yes" &&
|
466 |
$sfsi_section8['sfsi_plus_show_item_onposts'] == "yes"
|
467 |
-
)
|
468 |
-
{
|
469 |
//icon selection
|
470 |
-
$icons_before .= "<div class='sfsibeforpstwpr' style='"
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
488 |
-
$icons_before.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
489 |
-
}
|
490 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
491 |
-
{
|
492 |
-
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
493 |
-
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
494 |
-
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
495 |
-
}
|
496 |
-
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
497 |
-
{
|
498 |
-
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
499 |
-
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
500 |
-
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
501 |
-
}
|
502 |
-
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
503 |
-
{
|
504 |
-
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
505 |
-
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
506 |
-
$icons_before.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
507 |
-
}
|
508 |
-
if($sfsi_section8['sfsi_plus_rectpinit'] == 'yes')
|
509 |
-
{
|
510 |
-
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
511 |
-
$icons_before.="<div class='sf_pinit' style='display: inline-block;vertical-align: middle;text-align:left;width: ".$sfsiLikeWithpinit."'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
512 |
-
}
|
513 |
}
|
514 |
-
|
515 |
-
|
516 |
-
$icons_before .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
517 |
-
$icons_before .= sfsi_plus_check_posts_visiblity(0 , "yes");
|
518 |
}
|
519 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
$icons_before .= "</div>";
|
521 |
//icon selection
|
522 |
-
if(
|
523 |
-
|
524 |
-
|
525 |
-
}
|
526 |
-
else
|
527 |
-
{
|
528 |
$contnet = $content;
|
529 |
}
|
530 |
}
|
531 |
-
if($sfsi_section8['sfsi_plus_display_after_blogposts'] == "yes" && $sfsi_section8['sfsi_plus_show_item_onposts'] == "yes")
|
532 |
-
{
|
533 |
//icon selection
|
534 |
-
$icons_after .= "<div class='sfsiaftrpstwpr' style='"
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
if(!isset($sfsiLikeWithsub)){$sfsiLikeWithsub = $sfsiLikeWith;}
|
553 |
-
$icons_after.="<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle; width: auto;'>".sfsi_plus_Subscribelike($permalink,$show_count)."</div>";
|
554 |
-
}
|
555 |
-
if($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
556 |
-
{
|
557 |
-
if($show_count){}else{$sfsiLikeWithfb = "48px";}
|
558 |
-
if(!isset($sfsiLikeWithfb)){$sfsiLikeWithfb = $sfsiLikeWith;}
|
559 |
-
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBlike($permalink,$show_count)."</div>";
|
560 |
-
}
|
561 |
-
if($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes')
|
562 |
-
{
|
563 |
-
if($show_count){}else{$sfsiLikeWithfbshare = "48px";}
|
564 |
-
if(!isset($sfsiLikeWithfbshare)){$sfsiLikeWithfbshare = $sfsiLikeWith;}
|
565 |
-
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>".sfsi_plus_FBshare($permalink,$show_count)."</div>";
|
566 |
-
}
|
567 |
-
if($sfsi_section8['sfsi_plus_recttwtr'] == 'yes')
|
568 |
-
{
|
569 |
-
if($show_count){$sfsiLikeWithtwtr = "77px";}else{$sfsiLikeWithtwtr = "56px";}
|
570 |
-
if(!isset($sfsiLikeWithtwtr)){$sfsiLikeWithtwtr = $sfsiLikeWith;}
|
571 |
-
$icons_after.="<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>".sfsi_plus_twitterlike($permalink,$show_count)."</div>";
|
572 |
-
}
|
573 |
-
if($sfsi_section8['sfsi_plus_rectpinit'] == 'yes')
|
574 |
-
{
|
575 |
-
if($show_count){$sfsiLikeWithpinit = "100px";}else{$sfsiLikeWithpinit = "auto";}
|
576 |
-
$icons_after.="<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: middle;width: ".$sfsiLikeWithpinit."'>".sfsi_plus_pinitpinterest($permalink,$show_count)."</div>";
|
577 |
-
}
|
578 |
}
|
579 |
-
|
580 |
-
|
581 |
-
$icons_after .= "<div style='float:left;margin:0 0px; line-height:".$lineheight."px'><span>".$txt."</span></div>";
|
582 |
-
$icons_after .= sfsi_plus_check_posts_visiblity(0 , "yes");
|
583 |
}
|
584 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
$icons_after .= "</div>";
|
586 |
//icon selection
|
587 |
-
$content = $content
|
588 |
-
}
|
589 |
}
|
590 |
return $content;
|
591 |
}
|
@@ -593,81 +577,70 @@ function sfsi_plus_beforeafterblogposts( $content )
|
|
593 |
//getting line height for the icons
|
594 |
function sfsi_plus_getlinhght($lineheight)
|
595 |
{
|
596 |
-
if(
|
597 |
-
|
598 |
-
$lineheight = $lineheight*2;
|
599 |
return $lineheight;
|
600 |
-
}
|
601 |
-
|
602 |
-
{
|
603 |
-
$lineheight = $lineheight+10;
|
604 |
return $lineheight;
|
605 |
-
}
|
606 |
-
|
607 |
-
{
|
608 |
-
$lineheight = $lineheight+3;
|
609 |
return $lineheight;
|
610 |
-
}
|
611 |
-
|
612 |
-
{
|
613 |
-
$lineheight = $lineheight+4;
|
614 |
return $lineheight;
|
615 |
-
}
|
616 |
-
|
617 |
-
{
|
618 |
-
$lineheight = $lineheight+5;
|
619 |
return $lineheight;
|
620 |
}
|
621 |
-
$lineheight = $lineheight+6;
|
622 |
return $lineheight;
|
623 |
}
|
624 |
|
625 |
//sanitizing values
|
626 |
-
function sfsi_plus_string_sanitize($s)
|
627 |
-
|
628 |
-
|
|
|
629 |
}
|
630 |
|
631 |
add_action('admin_notices', 'sfsi_plus_admin_notice', 10);
|
632 |
function sfsi_plus_admin_notice()
|
633 |
{
|
634 |
-
if(isset($_GET['page']) && $_GET['page'] == "sfsi-plus-options")
|
635 |
-
{
|
636 |
$style = "overflow: hidden; margin:12px 3px 0px;";
|
637 |
-
}
|
638 |
-
|
639 |
-
{
|
640 |
-
$style = "overflow: hidden;";
|
641 |
}
|
642 |
?>
|
643 |
<?php
|
644 |
-
|
645 |
-
if(get_option("sfsi_plus_show_premium_notification") == "yes")
|
646 |
-
{
|
647 |
?>
|
648 |
-
<style
|
649 |
-
.sfsi_plus_show_prem_notification a{
|
650 |
-
|
651 |
-
|
652 |
}
|
|
|
653 |
form.sfsi_plus_premiumNoticeDismiss {
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
}
|
658 |
-
|
|
|
659 |
background-color: transparent;
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
}
|
666 |
-
|
667 |
</style>
|
668 |
-
|
669 |
<div class="alignleft" style="margin: 9px 0;">
|
670 |
-
|
671 |
</div>
|
672 |
<div class="alignright">
|
673 |
<form method="post" class="sfsi_plus_premiumNoticeDismiss">
|
@@ -675,48 +648,48 @@ function sfsi_plus_admin_notice()
|
|
675 |
<input type="submit" name="dismiss" value="Dismiss" />
|
676 |
</form>
|
677 |
</div>
|
678 |
-
</div>
|
679 |
-
|
680 |
-
}
|
681 |
|
682 |
|
683 |
-
if(is_ssl()){
|
684 |
|
685 |
// Check if banner is displayed by free plugin
|
686 |
-
|
687 |
|
688 |
-
if(!get_option("show_premium_cumulative_count_notification") && get_option("show_premium_cumulative_count_notification")=="yes"){
|
689 |
-
$isshowingFreePluginBanner = true;
|
690 |
}
|
691 |
|
692 |
|
693 |
-
if(get_option("sfsi_plus_show_premium_cumulative_count_notification") == "yes" && !$isshowingFreePluginBanner)
|
694 |
-
{
|
695 |
?>
|
696 |
-
<style
|
697 |
-
.sfsi_plus_show_premium_cumulative_count_notification a{
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
}
|
|
|
702 |
form.sfsi_plus_premiumNoticeCumulativeCountDismiss {
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
}
|
707 |
-
|
|
|
708 |
background-color: transparent;
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
}
|
715 |
-
|
716 |
</style>
|
717 |
-
|
718 |
<div class="alignleft" style="margin: 9px 0;">
|
719 |
-
|
720 |
</div>
|
721 |
<div class="alignright">
|
722 |
<form method="post" class="sfsi_plus_premiumNoticeCumulativeCountDismiss">
|
@@ -724,31 +697,30 @@ function sfsi_plus_admin_notice()
|
|
724 |
<input type="submit" name="dismiss" value="Dismiss" />
|
725 |
</form>
|
726 |
</div>
|
727 |
-
</div>
|
728 |
-
|
729 |
}
|
730 |
-
|
731 |
}
|
732 |
|
733 |
-
if(get_option("sfsi_plus_show_Setting_mobile_notification") == "yes")
|
734 |
-
{
|
735 |
$sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
|
736 |
-
$sfsi_plus_future_date = strtotime(
|
737 |
$sfsi_plus_past_date = strtotime("now");
|
738 |
-
if($sfsi_plus_past_date >= $sfsi_plus_future_date)
|
739 |
-
{
|
740 |
?>
|
741 |
-
<style
|
742 |
-
.sfsi_plus_show_mobile_setting_notification a{
|
743 |
color: #fff;
|
744 |
text-decoration: underline;
|
745 |
}
|
|
|
746 |
form.sfsi_plus_mobileNoticeDismiss {
|
747 |
display: inline-block;
|
748 |
margin: 5px 0 0;
|
749 |
vertical-align: middle;
|
750 |
}
|
751 |
-
|
|
|
752 |
background-color: transparent;
|
753 |
border: medium none;
|
754 |
color: #fff;
|
@@ -756,144 +728,147 @@ function sfsi_plus_admin_notice()
|
|
756 |
padding: 0;
|
757 |
cursor: pointer;
|
758 |
}
|
759 |
-
|
760 |
</style>
|
761 |
-
|
762 |
-
<!-- <div class="updated sfsi_plus_show_mobile_setting_notification" style="<?php //echo $style;
|
763 |
-
|
764 |
-
|
765 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
766 |
</div>
|
767 |
<div class="alignright">
|
768 |
-
<form method="post" class="
|
769 |
-
<input type="hidden" name="sfsi-plus_dismiss-
|
770 |
<input type="submit" name="dismiss" value="Dismiss" />
|
771 |
</form>
|
772 |
</div>
|
773 |
-
</div> -->
|
774 |
-
<?php
|
775 |
-
}
|
776 |
-
}
|
777 |
-
|
778 |
-
$phpVersion = phpVersion();
|
779 |
-
if($phpVersion <= '5.4')
|
780 |
-
{
|
781 |
-
if(get_option("sfsi_plus_serverphpVersionnotification") == "yes")
|
782 |
-
{
|
783 |
-
|
784 |
-
?>
|
785 |
-
<style >
|
786 |
-
.sfsi_plus_show_phperror_notification {
|
787 |
-
color: #fff;
|
788 |
-
text-decoration: underline;
|
789 |
-
}
|
790 |
-
form.sfsi_plus_phperrorNoticeDismiss {
|
791 |
-
display: inline-block;
|
792 |
-
margin: 5px 0 0;
|
793 |
-
vertical-align: middle;
|
794 |
-
}
|
795 |
-
.sfsi_plus_phperrorNoticeDismiss input[type='submit']
|
796 |
-
{
|
797 |
-
background-color: transparent;
|
798 |
-
border: medium none;
|
799 |
-
color: #fff;
|
800 |
-
margin: 0;
|
801 |
-
padding: 0;
|
802 |
-
cursor: pointer;
|
803 |
-
}
|
804 |
-
.sfsi_plus_show_phperror_notification p{line-height: 22px;}
|
805 |
-
p.sfsi_plus_show_notifictaionpragraph{padding: 0 !important;font-size: 18px;}
|
806 |
-
|
807 |
-
</style>
|
808 |
-
<div class="updated sfsi_plus_show_phperror_notification" style="<?php echo $style; ?>background-color: #D22B2F; color: #fff; font-size: 18px; border-left-color: #D22B2F;">
|
809 |
-
<div class="alignleft" style="margin: 9px 0;">
|
810 |
-
<p class="sfsi_plus_show_notifictaionpragraph">
|
811 |
-
<?php _e( 'We noticed you are running your site on a PHP version older than 5.6. Please upgrade to a more recent version. This is not only important for running the Ultimate Social Media Plugin, but also for security reasons in general.', SFSI_PLUS_DOMAIN); ?>
|
812 |
-
<br>
|
813 |
-
<?php _e('If you do not know how to do the upgrade, please ask your server team or hosting company to do it for you.', SFSI_PLUS_DOMAIN); ?>
|
814 |
-
</p>
|
815 |
-
|
816 |
-
</div>
|
817 |
-
<div class="alignright">
|
818 |
-
<form method="post" class="sfsi_plus_phperrorNoticeDismiss">
|
819 |
-
<input type="hidden" name="sfsi-plus_dismiss-phperrorNotice" value="true">
|
820 |
-
<input type="submit" name="dismiss" value="Dismiss" />
|
821 |
-
</form>
|
822 |
</div>
|
823 |
-
|
824 |
-
|
825 |
<?php
|
826 |
}
|
827 |
}
|
828 |
|
829 |
-
sfsi_plus_error_reporting_notice();
|
830 |
}
|
831 |
|
832 |
|
833 |
add_action('admin_init', 'sfsi_plus_dismiss_admin_notice');
|
834 |
function sfsi_plus_dismiss_admin_notice()
|
835 |
{
|
836 |
-
if (
|
837 |
-
|
838 |
-
update_option( 'sfsi_plus_show_premium_notification', "no" );
|
839 |
//header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
|
840 |
}
|
841 |
-
|
842 |
-
if (
|
843 |
-
|
844 |
-
update_option( 'sfsi_plus_show_premium_cumulative_count_notification', "no" );
|
845 |
}
|
846 |
|
847 |
-
if (
|
848 |
-
|
849 |
-
update_option( 'sfsi_plus_show_Setting_mobile_notification', "no" );
|
850 |
//header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
|
851 |
}
|
852 |
-
if (
|
853 |
-
|
854 |
-
update_option( 'sfsi_plus_serverphpVersionnotification', "no" );
|
855 |
}
|
856 |
}
|
857 |
|
858 |
add_action('plugins_loaded', 'sfsi_plus_load_domain');
|
859 |
-
function sfsi_plus_load_domain()
|
860 |
{
|
861 |
-
$plugin_dir = basename(dirname(__FILE__)).'/languages';
|
862 |
-
load_plugin_textdomain(
|
863 |
}
|
864 |
|
865 |
function sfsi_plus_get_bloginfo($url)
|
866 |
{
|
867 |
$web_url = get_bloginfo($url);
|
868 |
-
|
869 |
//Block to use feedburner url
|
870 |
-
if (preg_match("/(feedburner)/im", $web_url, $match))
|
871 |
-
|
872 |
-
$web_url = site_url()."/feed";
|
873 |
}
|
874 |
return $web_url;
|
875 |
}
|
876 |
/* plugin action link*/
|
877 |
-
add_filter(
|
878 |
-
function sfsi_plus_action_links
|
879 |
{
|
880 |
-
$linkQuestion = '<a target="_blank" href="https://goo.gl/MU6pTN#new-topic-0" style="color:#FF0000;"><b>Need help?</b></a>';
|
881 |
$linkProVersion = '<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" style="color:#38B54A;"><b>Check out pro version</b></a>';
|
882 |
|
883 |
-
if(isset($mylinks['edit']) && !empty($mylinks['edit'])){
|
884 |
-
$mylinks[] = @$mylinks['edit'];
|
885 |
}
|
886 |
|
887 |
//array_unshift($mylinks, $linkProVersion);
|
888 |
-
|
889 |
|
890 |
$slug = plugin_basename(dirname(__FILE__));
|
891 |
|
892 |
//$mylinks[$slug] = @$mylinks["deactivate"].'<i class="sfsi-plus-deactivate-slug"></i>';
|
893 |
|
894 |
-
$mylinks[] = '<a href="'.admin_url("/admin.php?page=sfsi-plus-options").'">Settings</a>';
|
895 |
|
896 |
-
unset
|
897 |
//unset ($mylinks['deactivate']);
|
898 |
|
899 |
return $mylinks;
|
@@ -901,46 +876,45 @@ function sfsi_plus_action_links ( $mylinks )
|
|
901 |
|
902 |
global $pagenow;
|
903 |
|
904 |
-
if(
|
905 |
|
906 |
-
add_action(
|
907 |
|
908 |
-
function _sfsi_plus_add_deactivation_feedback_dialog_box()
|
909 |
-
|
910 |
-
include_once(SFSI_PLUS_DOCROOT.'/views/deactivation/sfsi_deactivation_popup.php'); ?>
|
911 |
|
912 |
-
|
913 |
-
|
914 |
-
jQuery(document).ready(function($){
|
915 |
|
916 |
-
|
|
|
917 |
|
918 |
-
_plus_deactivationLink.
|
919 |
|
920 |
-
|
921 |
|
922 |
-
|
923 |
-
e.preventDefault();
|
924 |
-
$('[data-popup="plus-popup-1"]').fadeIn(350);
|
925 |
-
});
|
926 |
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
$('[data-popup="' + targeted_popup_class + '"]').fadeOut(350);
|
932 |
-
});
|
933 |
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
|
941 |
-
|
|
|
|
|
|
|
|
|
|
|
942 |
|
943 |
-
|
|
|
944 |
|
945 |
<?php }
|
946 |
}
|
@@ -957,15 +931,17 @@ function sfsi_plus_getdomain($url)
|
|
957 |
}
|
958 |
|
959 |
// create a scheduled event (if it does not exist already)
|
960 |
-
function sfsi_plus_sf_instagram_count_fetcher()
|
961 |
-
|
962 |
-
$
|
|
|
963 |
return $sfsi_plus_SocialHelper->SFSI_getFeedSubscriberFetch();
|
964 |
}
|
965 |
-
function sfsi_plus_cronstarter_activation()
|
|
|
966 |
// sfsi_plus_write_log(wp_next_scheduled( 'sfsi_plus_sf_instagram_count_fetcher' ));
|
967 |
-
if(
|
968 |
-
|
969 |
}
|
970 |
}
|
971 |
// and make sure it's called whenever WordPress loads
|
@@ -975,249 +951,270 @@ add_action('wp', 'sfsi_plus_cronstarter_activation');
|
|
975 |
add_action('admin_init', 'sfsi_plus_plugin_redirect');
|
976 |
function sfsi_plus_plugin_redirect()
|
977 |
{
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
}
|
983 |
}
|
984 |
function sfsi_plus_curl_error_notification()
|
985 |
-
{
|
986 |
-
if(get_option("sfsi_plus_curlErrorNotices") == "yes")
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
|
|
|
|
|
|
1002 |
});
|
1003 |
});
|
1004 |
-
});
|
1005 |
</script>
|
1006 |
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
<?php _e('www.ultimatelysocial.com/faq', SFSI_PLUS_DOMAIN
|
1013 |
</a>
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
}
|
1019 |
|
1020 |
// ********************************* Link to support forum for different languages STARTS *******************************//
|
1021 |
|
1022 |
-
function sfsi_plus_get_language_notice_text()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1023 |
|
1024 |
-
|
1025 |
-
|
1026 |
|
1027 |
-
|
|
|
|
|
1028 |
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
$text = "hal tatakalam alearabia? 'iidha kanat ladayk 'asyilat hawl almukawan al'iidafii l Ultimate Social Media , aitruh sualik fi muntadaa aldaem , sanuhawil alrada biallughat alearabiat: <a target='_blank' href='https://goo.gl/o42Beq'><b>'unqur huna</b></a>";
|
1033 |
-
break;
|
1034 |
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
$text = "你会说中文吗?如果您有关于Ultimate Social Media插件的问题,请在支持论坛中提出您的问题,我们将尝试用中文回复:<a target='_blank' href='https://goo.gl/o42Beq'><b>点击此处</b></a>";
|
1039 |
-
break;
|
1040 |
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
$text = "你會說中文嗎?如果您有關於Ultimate Social Media插件的問題,請在支持論壇中提出您的問題,我們將嘗試用中文回复:<a target='_blank' href='https://goo.gl/o42Beq'><b>點擊此處</b></a>";
|
1045 |
-
break;
|
1046 |
|
1047 |
-
|
1048 |
-
|
1049 |
-
$text = "Jij spreekt Nederlands? Als je vragen hebt over de Ultimate Social Media-plug-in, stel je vraag in het ondersteuningsforum, we zullen proberen in het Nederlands te antwoorden: <a target='_blank' href='https://goo.gl/o42Beq'>klik hier</a>";
|
1050 |
-
break;
|
1051 |
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
$text = "Vous parlez français? Si vous avez des questions sur le plugin Ultimate Social Media, posez votre question sur le forum de support, nous essaierons de répondre en français: <a target='_blank' href='https://goo.gl/o42Beq'>Cliquez ici</a>";
|
1056 |
-
break;
|
1057 |
|
1058 |
-
|
1059 |
-
|
1060 |
|
1061 |
-
|
1062 |
-
|
1063 |
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
$text = "Μιλάτε Ελληνικά? Αν έχετε ερωτήσεις σχετικά με το plugin Ultimate Social Media, ρωτήστε την ερώτησή σας στο φόρουμ υποστήριξης, θα προσπαθήσουμε να απαντήσουμε στα ελληνικά: <a target='_blank' href='https://goo.gl/o42Beq'>Κάντε κλικ εδώ</a>";
|
1068 |
-
break;
|
1069 |
|
1070 |
-
|
1071 |
-
case 'he_IL':
|
1072 |
-
|
1073 |
-
$text = "אתה מדבר עברית? אם יש לך שאלות על תוסף המדיה החברתית האולטימטיבית, שאל את השאלה שלך בפורום התמיכה, ננסה לענות בעברית: <a target='_blank' href='https://goo.gl/o42Beq'>לחץ כאן</a>";
|
1074 |
-
break;
|
1075 |
|
1076 |
-
|
1077 |
-
case 'hi_IN':
|
1078 |
-
|
1079 |
-
$text = "आप हिंदी बोलते हो? यदि आपके पास अल्टीमेट सोशल मीडिया प्लगइन के बारे में कोई प्रश्न है, तो समर्थन फोरम में अपना प्रश्न पूछें, हम हिंदी में जवाब देने का प्रयास करेंगे: <a target='_blank' href='https://goo.gl/o42Beq'>यहां क्लिक करें</a>";
|
1080 |
-
break;
|
1081 |
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
$text = "Anda berbicara bahasa Indonesia? Jika Anda memiliki pertanyaan tentang plugin Ultimate Social Media, ajukan pertanyaan Anda di Forum Dukungan, kami akan mencoba menjawab dalam Bahasa Indonesia: <a target='_blank' href='https://goo.gl/o42Beq'>Klik di sini</a>";
|
1086 |
|
1087 |
-
|
1088 |
|
1089 |
-
|
1090 |
-
case 'it_IT':
|
1091 |
-
|
1092 |
-
$text = "Tu parli italiano? Se hai domande sul plugin Ultimate Social Media, fai la tua domanda nel Forum di supporto, cercheremo di rispondere in italiano: <a target='_blank' href='https://goo.gl/o42Beq'>clicca qui</a>";
|
1093 |
-
|
1094 |
-
break;
|
1095 |
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
$text = "あなたは日本語を話しますか?アルティメットソーシャルメディアのプラグインに関する質問がある場合は、サポートフォーラムで質問してください。日本語で対応しようと思っています:<a target='_blank' href='https://goo.gl/o42Beq'>ここをクリック</a>";
|
1100 |
|
1101 |
-
|
1102 |
|
1103 |
-
|
1104 |
-
case 'ko_KR ':
|
1105 |
|
1106 |
-
|
|
|
1107 |
|
1108 |
-
|
1109 |
|
1110 |
-
|
1111 |
-
case 'fa_IR':case 'fa_AF':
|
1112 |
-
|
1113 |
-
$text = "شما فارسی صحبت می کنید؟ اگر سوالی در مورد پلاگین رسانه Ultimate Social دارید، سوال خود را در انجمن پشتیبانی بپرسید، سعی خواهیم کرد به فارسی پاسخ دهید: <a target='_blank' href='https://goo.gl/o42Beq'>اینجا را کلیک کنید</a>";
|
1114 |
-
|
1115 |
-
break;
|
1116 |
|
1117 |
-
|
|
|
|
|
1118 |
|
1119 |
-
|
1120 |
-
$text = "Mówisz po polsku? Jeśli masz pytania dotyczące wtyczki Ultimate Social Media, zadaj pytanie na Forum pomocy technicznej, postaramy się odpowiedzieć po polsku: <a target='_blank' href='https://goo.gl/o42Beq'>Kliknij tutaj</a>";
|
1121 |
-
break;
|
1122 |
|
1123 |
-
|
1124 |
|
1125 |
-
|
1126 |
|
1127 |
-
|
|
|
|
|
1128 |
|
1129 |
-
|
1130 |
-
|
1131 |
-
// Russian, Russian (Ukraine)
|
1132 |
-
case 'ru_RU': case 'ru_UA':
|
1133 |
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1139 |
Spanish (Peru), Spanish (Puerto Rico), Spanish (Spain), Spanish (Venezuela) */
|
1140 |
|
1141 |
-
|
1142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1143 |
|
1144 |
-
|
1145 |
-
|
1146 |
|
1147 |
-
|
1148 |
|
1149 |
-
|
1150 |
-
|
1151 |
-
$text = "Pratar du svenska? Om du har frågor om programmet Ultimate Social Media, fråga din fråga i supportforumet, vi försöker svara på svenska: <a target='_blank' href='https://goo.gl/o42Beq'>Klicka här</a>";
|
1152 |
-
break;
|
1153 |
|
1154 |
-
|
|
|
1155 |
|
1156 |
-
|
1157 |
-
$text = "Sen Türkçe konuş? Nihai Sosyal Medya eklentisi hakkında sorularınız varsa, sorunuza Destek Forumu'nda sorun, Türkçe olarak cevap vermeye çalışacağız: <a target='_blank' href='https://goo.gl/o42Beq'>Tıklayın</a>";
|
1158 |
-
break;
|
1159 |
|
1160 |
-
|
|
|
|
|
1161 |
|
1162 |
-
|
1163 |
-
$text = "Ви говорите по-українськи? Якщо у вас є запитання про плагін Ultimate Social Media, задайте своє питання на Форумі підтримки, ми спробуємо відповісти українською: <a target='_blank' href='https://goo.gl/o42Beq'>натисніть тут</a>";
|
1164 |
-
break;
|
1165 |
|
1166 |
-
|
|
|
|
|
1167 |
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
|
|
|
|
1172 |
|
1173 |
-
|
1174 |
}
|
1175 |
|
1176 |
-
function sfsi_plus_language_notice()
|
|
|
|
|
|
|
1177 |
|
1178 |
-
|
|
|
1179 |
|
1180 |
-
|
1181 |
-
$isDismissed = get_option('sfsi_plus_lang_notice_dismissed');
|
1182 |
|
1183 |
-
|
1184 |
-
|
1185 |
-
<div id="sfsi_plus_langnotice" class="notice notice-info">
|
1186 |
|
1187 |
-
|
1188 |
|
1189 |
-
|
1190 |
|
1191 |
-
|
1192 |
|
1193 |
-
|
1194 |
|
1195 |
-
|
1196 |
}
|
1197 |
|
1198 |
|
1199 |
-
function sfsi_plus_dismiss_lang_notice()
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
|
|
|
|
|
|
|
|
|
|
1205 |
die;
|
1206 |
}
|
1207 |
|
1208 |
-
add_action(
|
1209 |
|
1210 |
// ********************************* Link to support forum for different languages CLOSES *******************************//
|
1211 |
|
1212 |
|
1213 |
// ********************************* Link to support forum left of every Save button STARTS *******************************//
|
1214 |
|
1215 |
-
function sfsi_plus_ask_for_help($viewNumber)
|
|
|
|
|
|
|
|
|
|
|
1216 |
|
1217 |
-
<div class="sfsi_plus_askforhelp askhelpInview<?php echo $viewNumber; ?>">
|
1218 |
-
|
1219 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL."images/questionmark.png"?>"/>
|
1220 |
-
|
1221 |
<span>Questions? <a target="_blank" href="#" onclick="event.preventDefault();sfsi_plus_open_chat(event)"><b>Ask us</b></a></span>
|
1222 |
|
1223 |
</div>
|
@@ -1229,108 +1226,121 @@ function sfsi_plus_ask_for_help($viewNumber){ ?>
|
|
1229 |
|
1230 |
// ********************************* Notice for error reporting STARTS *******************************//
|
1231 |
|
1232 |
-
function sfsi_plus_error_reporting_notice()
|
|
|
1233 |
|
1234 |
-
|
1235 |
-
|
1236 |
-
$sfsi_error_reporting_notice_txt = 'We noticed that you have set error reporting to "yes" in wp-config. Our plugin (Ultimate Social Media Plus) switches this to "off" so that no errors are displayed (which may also impact error messages from your theme or other plugins). If you don\'t want that, please select the respective option under question 6 (at the bottom).';
|
1237 |
|
1238 |
-
|
1239 |
|
1240 |
-
|
1241 |
|
1242 |
-
$
|
1243 |
|
1244 |
-
|
1245 |
-
|
1246 |
-
<div style="padding: 10px;margin-left: 0px;position: relative;" id="sfsi_error_reporting_notice" class="error notice">
|
1247 |
|
1248 |
-
|
1249 |
|
1250 |
-
|
1251 |
|
1252 |
-
|
1253 |
|
1254 |
-
|
1255 |
|
1256 |
-
|
1257 |
|
1258 |
-
|
1259 |
-
|
1260 |
-
var btnClass = "."+btnClass;
|
1261 |
|
1262 |
-
|
1263 |
|
1264 |
-
|
1265 |
-
|
1266 |
-
jQuery.ajax({
|
1267 |
-
url:ajaxurl,
|
1268 |
-
type:"post",
|
1269 |
-
data:{action: ajaxAction,nonce:nonce},
|
1270 |
-
success:function(e) {
|
1271 |
-
if(false != e){
|
1272 |
-
jQuery(btnClass).parent().remove();
|
1273 |
-
}
|
1274 |
-
}
|
1275 |
-
});
|
1276 |
|
1277 |
-
|
1278 |
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1282 |
|
1283 |
-
|
1284 |
|
1285 |
-
|
1286 |
}
|
1287 |
|
1288 |
-
function sfsi_pplus_dismiss_error_reporting_notice()
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
|
|
|
|
|
|
|
|
|
|
1294 |
die;
|
1295 |
}
|
1296 |
-
add_action(
|
1297 |
|
1298 |
// ********************************* Notice for error reporting CLOSE *******************************//
|
1299 |
|
1300 |
// ********************************* Notice for removal of AddThis option STARTS *******************************//
|
1301 |
-
function sfsi_plus_addThis_removal_notice()
|
|
|
|
|
|
|
1302 |
|
1303 |
-
|
1304 |
-
|
1305 |
-
$sfsi_plus_addThis_removalText = __("We removed Addthis from the plugin due to issues with GDPR, the new EU data protection regulation.", SFSI_PLUS_DOMAIN);
|
1306 |
|
1307 |
-
|
1308 |
|
1309 |
-
|
1310 |
-
|
1311 |
-
<div id="sfsi_plus_addThis_removal_notice" class="notice notice-info">
|
1312 |
|
1313 |
-
|
1314 |
|
1315 |
-
|
1316 |
|
1317 |
-
|
|
|
|
|
1318 |
|
1319 |
-
|
1320 |
|
1321 |
-
|
1322 |
}
|
1323 |
|
1324 |
-
function sfsi_plus_dismiss_addthhis_removal_notice()
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
|
|
|
|
|
|
|
|
1332 |
}
|
1333 |
|
1334 |
-
add_action(
|
1335 |
|
1336 |
// ********************************* Notice for removal of AddThis option CLOSES *******************************//
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 3.1.8
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
+
|
14 |
+
sfsi_plus_error_reporting();
|
15 |
+
|
16 |
require_once 'analyst/main.php';
|
17 |
|
18 |
+
analyst_init(array(
|
19 |
'client-id' => 'w6l8b75dy5qkv9ze',
|
20 |
'client-secret' => '39db55426579986bb6c79c6d94aa6ab82b67f9f5',
|
21 |
'base-dir' => __FILE__
|
22 |
+
));
|
|
|
|
|
|
|
23 |
|
24 |
global $wpdb;
|
25 |
/* define the Root for URL and Document */
|
26 |
|
27 |
|
28 |
// Create a helper function for easy SDK access.
|
29 |
+
function sfsi_plus_freemius()
|
30 |
+
{
|
31 |
+
global $usmp_fs;
|
32 |
+
|
33 |
+
if (!isset($usmp_fs)) {
|
34 |
+
// Include Freemius SDK.
|
35 |
+
require_once dirname(__FILE__) . '/freemius/start.php';
|
36 |
+
|
37 |
+
$usmp_fs = fs_dynamic_init(array(
|
38 |
+
'id' => '1046',
|
39 |
+
'slug' => 'ultimate-social-media-plus',
|
40 |
+
'type' => 'plugin',
|
41 |
+
'public_key' => 'pk_716f722d8ecd3d70a5c60177306c1',
|
42 |
+
'is_premium' => false,
|
43 |
+
'has_addons' => false,
|
44 |
+
'has_paid_plans' => false,
|
45 |
+
'menu' => array(
|
46 |
+
'slug' => 'sfsi-plus-options',
|
47 |
+
'account' => false,
|
48 |
+
'support' => false,
|
49 |
+
),
|
50 |
+
));
|
51 |
+
}
|
52 |
+
|
53 |
+
return $usmp_fs;
|
54 |
}
|
55 |
|
56 |
// Init Freemius.
|
62 |
|
63 |
define('SFSI_PLUS_DOCROOT', dirname(__FILE__));
|
64 |
// define('SFSI_PLUS_PLUGURL', plugin_dir_url(__FILE__));
|
65 |
+
define('SFSI_PLUS_PLUGURL', site_url() . '/wp-content/plugins/ultimate-social-media-plus/');
|
66 |
define('SFSI_PLUS_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE__)));
|
67 |
define('SFSI_PLUS_DOMAIN', 'ultimate-social-media-plus');
|
68 |
+
define('SFSI_PLUS_SUPPORT_FORM', 'https://goo.gl/jySrSF');
|
69 |
|
70 |
$wp_upload_dir = wp_upload_dir();
|
71 |
define('SFSI_PLUS_UPLOAD_DIR_BASEURL', trailingslashit($wp_upload_dir['baseurl']));
|
72 |
|
73 |
|
74 |
+
define('SFSI_PLUS_ALLICONS', serialize(array(
|
75 |
+
"rss", "email", "facebook", "twitter", "youtube", "linkedin",
|
76 |
+
"pinterest", "instagram", "houzz", "ok", "telegram", "vk", "weibo", "wechat"
|
77 |
+
)));
|
78 |
|
79 |
function sfsi_plus_get_current_url()
|
80 |
{
|
81 |
global $post, $wp;
|
82 |
|
83 |
if (!empty($wp)) {
|
84 |
+
return home_url(add_query_arg(array(), $wp->request));
|
85 |
+
} elseif (!empty($post)) {
|
|
|
|
|
86 |
return get_permalink($post->ID);
|
87 |
+
} else {
|
|
|
|
|
88 |
return site_url();
|
89 |
}
|
90 |
}
|
91 |
|
92 |
/* load all files */
|
93 |
+
include(SFSI_PLUS_DOCROOT . '/helpers/common_helper.php');
|
94 |
+
include(SFSI_PLUS_DOCROOT . '/libs/controllers/sfsi_socialhelper.php');
|
95 |
+
include(SFSI_PLUS_DOCROOT . '/libs/controllers/sfsi_class_theme_check.php');
|
96 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_install_uninstall.php');
|
97 |
+
include(SFSI_PLUS_DOCROOT . '/libs/controllers/sfsi_buttons_controller.php');
|
98 |
+
include(SFSI_PLUS_DOCROOT . '/libs/controllers/sfsi_iconsUpload_contoller.php');
|
99 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_Init_JqueryCss.php');
|
100 |
+
include(SFSI_PLUS_DOCROOT . '/libs/controllers/sfsi_floater_icons.php');
|
101 |
+
include(SFSI_PLUS_DOCROOT . '/libs/controllers/sfsiocns_OnPosts.php');
|
102 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_widget.php');
|
103 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_plus_subscribe_widget.php');
|
104 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_custom_social_sharing_data.php');
|
105 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_ajax_social_sharing_settings_updater.php');
|
106 |
+
include(SFSI_PLUS_DOCROOT . '/libs/sfsi_gutenberg_block.php');
|
107 |
+
|
108 |
+
/* plugin install and uninstall hooks */
|
109 |
+
register_activation_hook(__FILE__, 'sfsi_plus_activate_plugin');
|
110 |
register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
111 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
112 |
|
113 |
/*Plugin version setup*/
|
114 |
+
if (!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.18) {
|
|
|
115 |
add_action("init", "sfsi_plus_update_plugin");
|
116 |
}
|
117 |
|
|
|
118 |
//************************************** Setting error reporting STARTS ****************************************//
|
119 |
|
120 |
+
function sfsi_plus_error_reporting()
|
121 |
+
{
|
122 |
|
123 |
+
$option5 = unserialize(get_option('sfsi_plus_section5_options', false));
|
124 |
|
125 |
+
if (
|
126 |
+
isset($option5['sfsi_pplus_icons_suppress_errors'])
|
127 |
|
128 |
&& !empty($option5['sfsi_pplus_icons_suppress_errors'])
|
129 |
|
130 |
+
&& "yes" == $option5['sfsi_pplus_icons_suppress_errors']
|
131 |
+
) {
|
132 |
+
|
133 |
+
error_reporting(0);
|
134 |
+
}
|
135 |
}
|
136 |
|
137 |
//************************************** Setting error reporting CLOSES ****************************************//
|
138 |
|
139 |
//shortcode for the ultimate social icons {Monad}
|
140 |
add_shortcode("DISPLAY_ULTIMATE_PLUS", "DISPLAY_ULTIMATE_PLUS");
|
141 |
+
function DISPLAY_ULTIMATE_PLUS($args = null, $content = null, $share_url = null)
|
142 |
{
|
143 |
+
if ("DISPLAY_ULTIMATE_PLUS" === $share_url) {
|
144 |
$share_url = null;
|
145 |
}
|
146 |
$instance = array("showf" => 1, "title" => '');
|
147 |
$sfsi_plus_section8_options = get_option("sfsi_plus_section8_options");
|
148 |
$sfsi_plus_section8_options = unserialize($sfsi_plus_section8_options);
|
149 |
$sfsi_plus_place_item_manually = $sfsi_plus_section8_options['sfsi_plus_place_item_manually'];
|
150 |
+
if ($sfsi_plus_place_item_manually == "yes") {
|
|
|
151 |
$return = '';
|
152 |
+
if (!isset($before_widget)) : $before_widget = '';
|
153 |
+
endif;
|
154 |
+
if (!isset($after_widget)) : $after_widget = '';
|
155 |
+
endif;
|
156 |
+
|
157 |
/*Our variables from the widget settings. */
|
158 |
+
$title = apply_filters('widget_title', $instance['title']);
|
159 |
+
$show_info = isset($instance['show_info']) ? $instance['show_info'] : false;
|
160 |
+
global $is_floter;
|
161 |
+
$return .= $before_widget;
|
162 |
+
/* Display the widget title */
|
163 |
+
if ($title) $return .= $before_title . $title . $after_title;
|
164 |
+
$return .= '<div class="sfsi_plus_widget">';
|
165 |
+
$return .= '<div id="sfsi_plus_wDiv"></div>';
|
166 |
+
/* Link the main icons function */
|
167 |
+
$return .= sfsi_plus_check_visiblity(0, $share_url);
|
168 |
+
$return .= '<div style="clear: both;"></div>';
|
169 |
+
$return .= '</div>';
|
170 |
$return .= $after_widget;
|
171 |
return $return;
|
172 |
+
} else {
|
|
|
|
|
173 |
return __('Kindly go to setting page and check the option "Place them manually"', SFSI_PLUS_DOMAIN);
|
174 |
}
|
175 |
}
|
178 |
{
|
179 |
$adding_plustags = "yes";
|
180 |
|
181 |
+
if (!function_exists('get_plugins')) {
|
|
|
182 |
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
183 |
}
|
184 |
+
|
185 |
$all_plugins = get_plugins();
|
186 |
|
187 |
+
foreach ($all_plugins as $key => $plugin) :
|
188 |
+
|
189 |
+
if (is_plugin_active($key)) :
|
190 |
+
|
191 |
+
if (preg_match("/(seo|search engine optimization|meta tag|open graph|opengraph|og tag|ogtag)/im", $plugin['Name']) || preg_match("/(seo|search engine optimization|meta tag|open graph|opengraph|og tag|ogtag)/im", $plugin['Description'])) {
|
|
|
192 |
$adding_plustags = "no";
|
193 |
break;
|
194 |
}
|
197 |
|
198 |
endforeach;
|
199 |
|
200 |
+
update_option('adding_plustags', $adding_plustags);
|
201 |
}
|
202 |
|
203 |
+
if (is_admin()) {
|
|
|
204 |
// sfsi_plus_checkmetas();
|
205 |
add_action('after_setup_theme', 'sfsi_plus_checkmetas');
|
206 |
}
|
210 |
{
|
211 |
$metarequest = get_option("adding_plustags");
|
212 |
$post_id = get_the_ID();
|
213 |
+
|
214 |
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
|
215 |
$verification_code = get_option('sfsi_plus_verificatiom_code');
|
216 |
+
if (!empty($feed_id) && !empty($verification_code) && $verification_code != "no") {
|
217 |
+
echo '<meta name="specificfeeds-verification-code-' . $feed_id . '" content="' . $verification_code . '"/>';
|
|
|
218 |
}
|
219 |
+
|
220 |
+
if ($metarequest == 'yes' && !empty($post_id)) {
|
221 |
+
$post = get_post($post_id);
|
222 |
+
$attachment_id = get_post_thumbnail_id($post_id);
|
223 |
+
$title = str_replace('"', "", strip_tags(get_the_title($post_id)));
|
224 |
+
$description = $post->post_content;
|
225 |
+
$description = str_replace('"', "", strip_tags($description));
|
226 |
+
$url = get_permalink($post_id);
|
227 |
+
|
|
|
228 |
//checking for disabling viewport meta tag
|
229 |
+
$option5 = unserialize(get_option('sfsi_plus_section5_options', false));
|
230 |
+
if (isset($option5['sfsi_plus_disable_viewport'])) {
|
231 |
+
$sfsi_plus_disable_viewport = $option5['sfsi_plus_disable_viewport'];
|
232 |
+
} else {
|
|
|
|
|
|
|
233 |
$sfsi_plus_disable_viewport = 'no';
|
234 |
}
|
235 |
+
if ($sfsi_plus_disable_viewport == 'no') {
|
236 |
+
echo ' <meta name="viewport" content="width=device-width, initial-scale=1">';
|
|
|
237 |
}
|
238 |
//checking for disabling viewport meta tag
|
239 |
+
|
240 |
+
if ($attachment_id) {
|
241 |
+
$feat_image = wp_get_attachment_url($attachment_id);
|
242 |
+
if (preg_match('/https/', $feat_image)) {
|
243 |
+
echo '<meta property="og:image:secure_url" content="' . $feat_image . '" data-id="sfsi-plus"/>';
|
244 |
+
} else {
|
245 |
+
echo '<meta property="og:image" content="' . $feat_image . '" data-id="sfsi-plus"/>';
|
246 |
+
}
|
247 |
+
$metadata = wp_get_attachment_metadata($attachment_id);
|
248 |
+
if (isset($metadata) && !empty($metadata)) {
|
249 |
+
if (isset($metadata['sizes']['post-thumbnail'])) {
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
$image_type = $metadata['sizes']['post-thumbnail']['mime-type'];
|
251 |
+
} else {
|
252 |
+
$image_type = '';
|
253 |
+
}
|
254 |
+
if (isset($metadata['width'])) {
|
|
|
|
|
|
|
255 |
$width = $metadata['width'];
|
256 |
+
} else {
|
257 |
+
$width = '';
|
258 |
+
}
|
259 |
+
if (isset($metadata['height'])) {
|
|
|
|
|
|
|
260 |
$height = $metadata['height'];
|
261 |
+
} else {
|
262 |
+
$height = '';
|
263 |
+
}
|
264 |
+
} else {
|
|
|
|
|
|
|
|
|
265 |
$image_type = '';
|
266 |
$width = '';
|
267 |
+
$height = '';
|
268 |
+
}
|
269 |
+
echo '<meta property="og:image:type" content="' . $image_type . '" data-id="sfsi-plus"/>';
|
270 |
+
echo '<meta property="og:image:width" content="' . $width . '" data-id="sfsi-plus"/>';
|
271 |
+
echo '<meta property="og:image:height" content="' . $height . '" data-id="sfsi-plus"/>';
|
272 |
+
echo '<meta property="og:description" content="' . $description . '" data-id="sfsi-plus"/>';
|
273 |
+
echo '<meta property="og:url" content="' . $url . '" data-id="sfsi-plus"/>';
|
274 |
+
echo '<meta property="og:title" content="' . $title . '" data-id="sfsi-plus"/>';
|
275 |
+
}
|
276 |
}
|
277 |
}
|
278 |
|
279 |
//Get verification code
|
280 |
+
if (is_admin()) {
|
|
|
281 |
$code = sanitize_text_field(get_option('sfsi_plus_verificatiom_code'));
|
282 |
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
|
283 |
+
if (empty($code) && !empty($feed_id)) {
|
|
|
284 |
add_action("init", "sfsi_plus_getverification_code");
|
285 |
}
|
286 |
}
|
288 |
{
|
289 |
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id'));
|
290 |
$url = $http_url = 'https://www.specificfeeds.com/wordpress/getVerifiedCode_plugin';
|
291 |
+
|
292 |
$args = array(
|
293 |
'timeout' => 15,
|
294 |
'body' => array(
|
296 |
)
|
297 |
);
|
298 |
|
299 |
+
$request = wp_remote_post($url, $args);
|
300 |
|
301 |
+
if (is_wp_error($request)) {
|
302 |
// var_dump($request);
|
303 |
// update_option("sfsi_plus_curlErrorNotices", "yes");
|
304 |
// update_option("sfsi_plus_curlErrorMessage", $request->get_error_message());
|
305 |
+
} else {
|
306 |
$resp = json_decode($request['body']);
|
307 |
update_option('sfsi_plus_verificatiom_code', $resp->code);
|
308 |
}
|
309 |
}
|
310 |
|
311 |
//functionality for before and after single posts
|
312 |
+
add_filter('the_content', 'sfsi_plus_beforaftereposts');
|
313 |
+
function sfsi_plus_beforaftereposts($content)
|
314 |
{
|
315 |
$org_content = $content;
|
316 |
$icons_before = '';
|
317 |
$icons_after = '';
|
318 |
+
if (is_single()) {
|
319 |
+
$option8 = unserialize(get_option('sfsi_plus_section8_options', false));
|
320 |
+
// var_dump($option8);die();
|
321 |
$lineheight = $option8['sfsi_plus_post_icons_size'];
|
322 |
$lineheight = sfsi_plus_getlinhght($lineheight);
|
323 |
$sfsi_plus_display_button_type = $option8['sfsi_plus_display_button_type'];
|
324 |
+
$txt = (isset($option8['sfsi_plus_textBefor_icons'])) ? $option8['sfsi_plus_textBefor_icons'] : "Please follow and like us:";
|
325 |
$float = $option8['sfsi_plus_icons_alignment'];
|
326 |
+
if ($float == "center") {
|
327 |
+
$style_parent = 'text-align: center;';
|
|
|
328 |
$style = 'float:none; display: inline-block;';
|
329 |
+
} else {
|
330 |
+
$style_parent = '';
|
331 |
+
$style = 'float:' . $float;
|
332 |
}
|
333 |
+
if ($option8['sfsi_plus_display_before_posts'] == "yes" && $option8['sfsi_plus_show_item_onposts'] == "yes") {
|
334 |
+
$icons_before .= '<div class="sfsibeforpstwpr" style="' . $style_parent . '">';
|
335 |
+
if ($sfsi_plus_display_button_type == 'standard_buttons') {
|
336 |
+
$icons_before .= sfsi_plus_social_buttons_below($content = null);
|
337 |
+
}else if($option8['sfsi_plus_display_button_type'] == 'responsive_button'){
|
338 |
+
if (isset($option8['sfsi_plus_responsive_icons_end_post']) && $option8['sfsi_plus_responsive_icons_end_post'] == "yes") {
|
339 |
+
$icons_before .= sfsi_plus_social_responsive_buttons(null, $option8);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
}
|
341 |
+
} else {
|
342 |
+
$icons_before .= "<div class='sfsi_plus_Sicons' style='" . $style . "'>";
|
343 |
+
$icons_before .= "<div style='float:left;margin:0 0px; line-height:" . $lineheight . "px'><span>" . $txt . "</span></div>";
|
344 |
+
$icons_before .= sfsi_plus_check_posts_visiblity(0, "yes");
|
345 |
+
$icons_before .= "</div>";
|
346 |
+
}
|
347 |
$icons_before .= '</div>';
|
348 |
/*$icons_before .= '</br>';*/
|
349 |
}
|
350 |
+
if ($option8['sfsi_plus_display_after_posts'] == "yes" && $option8['sfsi_plus_show_item_onposts'] == "yes") {
|
|
|
351 |
/*$icons_after .= '</br>';*/
|
352 |
+
$icons_after .= '<div class="sfsiaftrpstwpr" style="' . $style_parent . '">';
|
353 |
+
if ($sfsi_plus_display_button_type == 'standard_buttons') {
|
|
|
354 |
$icons_after .= sfsi_plus_social_buttons_below($content = null);
|
355 |
+
}else if($option8['sfsi_plus_display_button_type'] == 'responsive_button'){
|
356 |
+
if (isset($option8['sfsi_plus_responsive_icons_end_post']) && $option8['sfsi_plus_responsive_icons_end_post'] == "yes") {
|
357 |
+
$icons_after .= sfsi_plus_social_responsive_buttons(null, $option8);
|
358 |
+
}
|
359 |
+
} else {
|
360 |
+
$icons_after .= "<div class='sfsi_plus_Sicons' style='" . $style . "'>";
|
361 |
+
$icons_after .= "<div style='float:left;margin:0 0px; line-height:" . $lineheight . "px'><span>" . $txt . "</span></div>";
|
362 |
+
$icons_after .= sfsi_plus_check_posts_visiblity(0, "yes");
|
363 |
$icons_after .= "</div>";
|
364 |
}
|
365 |
+
|
366 |
$icons_after .= '</div>';
|
367 |
}
|
368 |
}
|
369 |
+
$content = $icons_before . $org_content . $icons_after;
|
370 |
return $content;
|
371 |
}
|
372 |
|
373 |
//showing before and after blog posts
|
374 |
+
add_filter('the_excerpt', 'sfsi_plus_beforeafterblogposts');
|
375 |
+
add_filter('the_content', 'sfsi_plus_beforeafterblogposts');
|
376 |
+
function sfsi_plus_beforeafterblogposts($content)
|
377 |
{
|
378 |
+
if (is_home()) {
|
|
|
379 |
$icons_before = '';
|
380 |
$icons_after = '';
|
381 |
+
$sfsi_section8 = unserialize(get_option('sfsi_plus_section8_options', false));
|
382 |
$lineheight = $sfsi_section8['sfsi_plus_post_icons_size'];
|
383 |
$lineheight = sfsi_plus_getlinhght($lineheight);
|
384 |
+
|
385 |
global $id, $post;
|
386 |
$sfsi_plus_display_button_type = $sfsi_section8['sfsi_plus_display_button_type'];
|
387 |
$sfsi_plus_show_item_onposts = $sfsi_section8['sfsi_plus_show_item_onposts'];
|
388 |
$permalink = get_permalink($post->ID);
|
389 |
$post_title = $post->post_title;
|
390 |
+
$sfsiLikeWith = "45px;";
|
391 |
+
if ($sfsi_section8['sfsi_plus_icons_DisplayCounts'] == "yes") {
|
392 |
+
$show_count = 1;
|
393 |
+
$sfsiLikeWith = "75px;";
|
394 |
+
} else {
|
395 |
+
$show_count = 0;
|
396 |
+
}
|
397 |
+
|
|
|
|
|
|
|
398 |
//checking for standard icons
|
399 |
+
if (!isset($sfsi_section8['sfsi_plus_rectsub'])) {
|
|
|
400 |
$sfsi_section8['sfsi_plus_rectsub'] = 'no';
|
401 |
}
|
402 |
+
if (!isset($sfsi_section8['sfsi_plus_recttwtr'])) {
|
|
|
403 |
$sfsi_section8['sfsi_plus_recttwtr'] = 'no';
|
404 |
}
|
405 |
+
if (!isset($sfsi_section8['sfsi_plus_rectpinit'])) {
|
|
|
406 |
$sfsi_section8['sfsi_plus_rectpinit'] = 'no';
|
407 |
}
|
408 |
+
if (!isset($sfsi_section8['sfsi_plus_rectfbshare'])) {
|
|
|
409 |
$sfsi_section8['sfsi_plus_rectfbshare'] = 'no';
|
410 |
}
|
411 |
+
|
412 |
//checking for standard icons
|
413 |
+
$txt = (isset($sfsi_section8['sfsi_plus_textBefor_icons'])) ? $sfsi_section8['sfsi_plus_textBefor_icons'] : "Please follow and like us:";
|
414 |
$float = $sfsi_section8['sfsi_plus_icons_alignment'];
|
415 |
+
if ($float == "center") {
|
416 |
+
$style_parent = 'text-align: center;';
|
|
|
417 |
$style = 'float:none; display: inline-block;';
|
418 |
+
} else {
|
419 |
+
$style_parent = '';
|
420 |
+
$style = 'float:' . $float;
|
421 |
}
|
422 |
+
|
423 |
+
if (
|
|
|
|
|
|
|
|
|
|
|
424 |
$sfsi_section8['sfsi_plus_display_before_blogposts'] == "yes" &&
|
425 |
$sfsi_section8['sfsi_plus_show_item_onposts'] == "yes"
|
426 |
+
) {
|
|
|
427 |
//icon selection
|
428 |
+
$icons_before .= "<div class='sfsibeforpstwpr' style='" . $style_parent . "'>";
|
429 |
+
$icons_before .= "<div class='sfsi_plus_Sicons " . $float . "' style='" . $style . "'>";
|
430 |
+
if ($sfsi_plus_display_button_type == 'standard_buttons') {
|
431 |
+
if (
|
432 |
+
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
433 |
+
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
434 |
+
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
435 |
+
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
436 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
437 |
+
) {
|
438 |
+
$icons_before .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>" . $txt . "</span></div>";
|
439 |
+
}
|
440 |
+
if ($sfsi_section8['sfsi_plus_rectsub'] == 'yes') {
|
441 |
+
if ($show_count) {
|
442 |
+
$sfsiLikeWithsub = "93px";
|
443 |
+
} else {
|
444 |
+
$sfsiLikeWithsub = "64px";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
}
|
446 |
+
if (!isset($sfsiLikeWithsub)) {
|
447 |
+
$sfsiLikeWithsub = $sfsiLikeWith;
|
|
|
|
|
448 |
}
|
449 |
+
$icons_before .= "<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle;width: auto;'>" . sfsi_plus_Subscribelike($permalink, $show_count) . "</div>";
|
450 |
+
}
|
451 |
+
if ($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes') {
|
452 |
+
if ($show_count) { } else {
|
453 |
+
$sfsiLikeWithfb = "48px";
|
454 |
+
}
|
455 |
+
if (!isset($sfsiLikeWithfb)) {
|
456 |
+
$sfsiLikeWithfb = $sfsiLikeWith;
|
457 |
+
}
|
458 |
+
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>" . sfsi_plus_FBlike($permalink, $show_count) . "</div>";
|
459 |
+
}
|
460 |
+
if ($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes') {
|
461 |
+
if ($show_count) { } else {
|
462 |
+
$sfsiLikeWithfbshare = "48px";
|
463 |
+
}
|
464 |
+
if (!isset($sfsiLikeWithfbshare)) {
|
465 |
+
$sfsiLikeWithfbshare = $sfsiLikeWith;
|
466 |
+
}
|
467 |
+
$icons_before .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>" . sfsi_plus_FBshare($permalink, $show_count) . "</div>";
|
468 |
+
}
|
469 |
+
if ($sfsi_section8['sfsi_plus_recttwtr'] == 'yes') {
|
470 |
+
if ($show_count) {
|
471 |
+
$sfsiLikeWithtwtr = "77px";
|
472 |
+
} else {
|
473 |
+
$sfsiLikeWithtwtr = "56px";
|
474 |
+
}
|
475 |
+
if (!isset($sfsiLikeWithtwtr)) {
|
476 |
+
$sfsiLikeWithtwtr = $sfsiLikeWith;
|
477 |
+
}
|
478 |
+
$icons_before .= "<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>" . sfsi_plus_twitterlike($permalink, $show_count) . "</div>";
|
479 |
+
}
|
480 |
+
if ($sfsi_section8['sfsi_plus_rectpinit'] == 'yes') {
|
481 |
+
if ($show_count) {
|
482 |
+
$sfsiLikeWithpinit = "100px";
|
483 |
+
} else {
|
484 |
+
$sfsiLikeWithpinit = "auto";
|
485 |
+
}
|
486 |
+
$icons_before .= "<div class='sf_pinit' style='display: inline-block;vertical-align: middle;text-align:left;width: " . $sfsiLikeWithpinit . "'>" . sfsi_plus_pinitpinterest($permalink, $show_count) . "</div>";
|
487 |
+
}
|
488 |
+
} else {
|
489 |
+
$icons_before .= "<div style='float:left;margin:0 0px; line-height:" . $lineheight . "px'><span>" . $txt . "</span></div>";
|
490 |
+
$icons_before .= sfsi_plus_check_posts_visiblity(0, "yes");
|
491 |
+
}
|
492 |
+
$icons_before .= "</div>";
|
493 |
$icons_before .= "</div>";
|
494 |
//icon selection
|
495 |
+
if ($id && $post && $post->post_type == 'post') {
|
496 |
+
$content = $icons_before . $content;
|
497 |
+
} else {
|
|
|
|
|
|
|
498 |
$contnet = $content;
|
499 |
}
|
500 |
}
|
501 |
+
if ($sfsi_section8['sfsi_plus_display_after_blogposts'] == "yes" && $sfsi_section8['sfsi_plus_show_item_onposts'] == "yes") {
|
|
|
502 |
//icon selection
|
503 |
+
$icons_after .= "<div class='sfsiaftrpstwpr' style='" . $style_parent . "'>";
|
504 |
+
$icons_after .= "<div class='sfsi_plus_Sicons " . $float . "' style='" . $style . "'>";
|
505 |
+
|
506 |
+
if ($sfsi_plus_display_button_type == 'standard_buttons') {
|
507 |
+
if (
|
508 |
+
$sfsi_section8['sfsi_plus_rectsub'] == 'yes' ||
|
509 |
+
$sfsi_section8['sfsi_plus_rectfb'] == 'yes' ||
|
510 |
+
$sfsi_section8['sfsi_plus_recttwtr'] == 'yes' ||
|
511 |
+
$sfsi_section8['sfsi_plus_rectpinit'] == 'yes' ||
|
512 |
+
$sfsi_section8['sfsi_plus_rectfbshare'] == 'yes'
|
513 |
+
) {
|
514 |
+
$icons_after .= "<div style='display: inline-block;margin-bottom: 0; margin-left: 0; margin-right: 8px; margin-top: 0; vertical-align: middle;width: auto;'><span>" . $txt . "</span></div>";
|
515 |
+
}
|
516 |
+
if ($sfsi_section8['sfsi_plus_rectsub'] == 'yes') {
|
517 |
+
if ($show_count) {
|
518 |
+
$sfsiLikeWithsub = "93px";
|
519 |
+
} else {
|
520 |
+
$sfsiLikeWithsub = "64px";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
}
|
522 |
+
if (!isset($sfsiLikeWithsub)) {
|
523 |
+
$sfsiLikeWithsub = $sfsiLikeWith;
|
|
|
|
|
524 |
}
|
525 |
+
$icons_after .= "<div class='sf_subscrbe' style='display: inline-block;vertical-align: middle; width: auto;'>" . sfsi_plus_Subscribelike($permalink, $show_count) . "</div>";
|
526 |
+
}
|
527 |
+
if ($sfsi_section8['sfsi_plus_rectfb'] == 'yes' || $sfsi_section8['sfsi_plus_rectfbshare'] == 'yes') {
|
528 |
+
if ($show_count) { } else {
|
529 |
+
$sfsiLikeWithfb = "48px";
|
530 |
+
}
|
531 |
+
if (!isset($sfsiLikeWithfb)) {
|
532 |
+
$sfsiLikeWithfb = $sfsiLikeWith;
|
533 |
+
}
|
534 |
+
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>" . sfsi_plus_FBlike($permalink, $show_count) . "</div>";
|
535 |
+
}
|
536 |
+
if ($sfsi_section8['sfsi_plus_rectfbshare'] == 'yes') {
|
537 |
+
if ($show_count) { } else {
|
538 |
+
$sfsiLikeWithfbshare = "48px";
|
539 |
+
}
|
540 |
+
if (!isset($sfsiLikeWithfbshare)) {
|
541 |
+
$sfsiLikeWithfbshare = $sfsiLikeWith;
|
542 |
+
}
|
543 |
+
$icons_after .= "<div class='sf_fb' style='display: inline-block; vertical-align: middle;width: auto;'>" . sfsi_plus_FBshare($permalink, $show_count) . "</div>";
|
544 |
+
}
|
545 |
+
if ($sfsi_section8['sfsi_plus_recttwtr'] == 'yes') {
|
546 |
+
if ($show_count) {
|
547 |
+
$sfsiLikeWithtwtr = "77px";
|
548 |
+
} else {
|
549 |
+
$sfsiLikeWithtwtr = "56px";
|
550 |
+
}
|
551 |
+
if (!isset($sfsiLikeWithtwtr)) {
|
552 |
+
$sfsiLikeWithtwtr = $sfsiLikeWith;
|
553 |
+
}
|
554 |
+
$icons_after .= "<div class='sf_twiter' style='display: inline-block;vertical-align: middle;width: auto;'>" . sfsi_plus_twitterlike($permalink, $show_count) . "</div>";
|
555 |
+
}
|
556 |
+
if ($sfsi_section8['sfsi_plus_rectpinit'] == 'yes') {
|
557 |
+
if ($show_count) {
|
558 |
+
$sfsiLikeWithpinit = "100px";
|
559 |
+
} else {
|
560 |
+
$sfsiLikeWithpinit = "auto";
|
561 |
+
}
|
562 |
+
$icons_after .= "<div class='sf_pinit' style='display: inline-block;text-align:left;vertical-align: middle;width: " . $sfsiLikeWithpinit . "'>" . sfsi_plus_pinitpinterest($permalink, $show_count) . "</div>";
|
563 |
+
}
|
564 |
+
} else {
|
565 |
+
$icons_after .= "<div style='float:left;margin:0 0px; line-height:" . $lineheight . "px'><span>" . $txt . "</span></div>";
|
566 |
+
$icons_after .= sfsi_plus_check_posts_visiblity(0, "yes");
|
567 |
+
}
|
568 |
+
$icons_after .= "</div>";
|
569 |
$icons_after .= "</div>";
|
570 |
//icon selection
|
571 |
+
$content = $content . $icons_after;
|
572 |
+
}
|
573 |
}
|
574 |
return $content;
|
575 |
}
|
577 |
//getting line height for the icons
|
578 |
function sfsi_plus_getlinhght($lineheight)
|
579 |
{
|
580 |
+
if ($lineheight < 16) {
|
581 |
+
$lineheight = $lineheight * 2;
|
|
|
582 |
return $lineheight;
|
583 |
+
} elseif ($lineheight >= 16 && $lineheight < 20) {
|
584 |
+
$lineheight = $lineheight + 10;
|
|
|
|
|
585 |
return $lineheight;
|
586 |
+
} elseif ($lineheight >= 20 && $lineheight < 28) {
|
587 |
+
$lineheight = $lineheight + 3;
|
|
|
|
|
588 |
return $lineheight;
|
589 |
+
} elseif ($lineheight >= 28 && $lineheight < 40) {
|
590 |
+
$lineheight = $lineheight + 4;
|
|
|
|
|
591 |
return $lineheight;
|
592 |
+
} elseif ($lineheight >= 40 && $lineheight < 50) {
|
593 |
+
$lineheight = $lineheight + 5;
|
|
|
|
|
594 |
return $lineheight;
|
595 |
}
|
596 |
+
$lineheight = $lineheight + 6;
|
597 |
return $lineheight;
|
598 |
}
|
599 |
|
600 |
//sanitizing values
|
601 |
+
function sfsi_plus_string_sanitize($s)
|
602 |
+
{
|
603 |
+
$result = preg_replace("/[^a-zA-Z0-9]+/", " ", html_entity_decode($s, ENT_QUOTES));
|
604 |
+
return $result;
|
605 |
}
|
606 |
|
607 |
add_action('admin_notices', 'sfsi_plus_admin_notice', 10);
|
608 |
function sfsi_plus_admin_notice()
|
609 |
{
|
610 |
+
if (isset($_GET['page']) && $_GET['page'] == "sfsi-plus-options") {
|
|
|
611 |
$style = "overflow: hidden; margin:12px 3px 0px;";
|
612 |
+
} else {
|
613 |
+
$style = "overflow: hidden;";
|
|
|
|
|
614 |
}
|
615 |
?>
|
616 |
<?php
|
617 |
+
|
618 |
+
if (get_option("sfsi_plus_show_premium_notification") == "yes") {
|
|
|
619 |
?>
|
620 |
+
<style>
|
621 |
+
.sfsi_plus_show_prem_notification a {
|
622 |
+
color: #fff;
|
623 |
+
text-decoration: underline;
|
624 |
}
|
625 |
+
|
626 |
form.sfsi_plus_premiumNoticeDismiss {
|
627 |
+
display: inline-block;
|
628 |
+
margin: 5px 0 0;
|
629 |
+
vertical-align: middle;
|
630 |
}
|
631 |
+
|
632 |
+
.sfsi_plus_premiumNoticeDismiss input[type='submit'] {
|
633 |
background-color: transparent;
|
634 |
+
border: medium none;
|
635 |
+
color: #fff;
|
636 |
+
margin: 0;
|
637 |
+
padding: 0;
|
638 |
+
cursor: pointer;
|
639 |
}
|
|
|
640 |
</style>
|
641 |
+
<div class="updated sfsi_plus_show_prem_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
|
642 |
<div class="alignleft" style="margin: 9px 0;">
|
643 |
+
<?php _e('BIG NEWS : There is now a Premium Ultimate Social Media Plugin available with many more cool features: ', SFSI_PLUS_DOMAIN); ?><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=notification_banner&utm_medium=banner" target="_blank"><?php _e('Check it out', SFSI_PLUS_DOMAIN); ?></a>
|
644 |
</div>
|
645 |
<div class="alignright">
|
646 |
<form method="post" class="sfsi_plus_premiumNoticeDismiss">
|
648 |
<input type="submit" name="dismiss" value="Dismiss" />
|
649 |
</form>
|
650 |
</div>
|
651 |
+
</div>
|
652 |
+
<?php
|
653 |
+
}
|
654 |
|
655 |
|
656 |
+
if (is_ssl()) {
|
657 |
|
658 |
// Check if banner is displayed by free plugin
|
659 |
+
$isshowingFreePluginBanner = false;
|
660 |
|
661 |
+
if (!get_option("show_premium_cumulative_count_notification") && get_option("show_premium_cumulative_count_notification") == "yes") {
|
662 |
+
$isshowingFreePluginBanner = true;
|
663 |
}
|
664 |
|
665 |
|
666 |
+
if (get_option("sfsi_plus_show_premium_cumulative_count_notification") == "yes" && !$isshowingFreePluginBanner) {
|
|
|
667 |
?>
|
668 |
+
<style>
|
669 |
+
.sfsi_plus_show_premium_cumulative_count_notification a {
|
670 |
+
color: #fff;
|
671 |
+
text-decoration: underline;
|
672 |
+
cursor: pointer;
|
673 |
}
|
674 |
+
|
675 |
form.sfsi_plus_premiumNoticeCumulativeCountDismiss {
|
676 |
+
display: inline-block;
|
677 |
+
margin: 5px 0 0;
|
678 |
+
vertical-align: middle;
|
679 |
}
|
680 |
+
|
681 |
+
.sfsi_plus_premiumNoticeCumulativeCountDismiss input[type='submit'] {
|
682 |
background-color: transparent;
|
683 |
+
border: medium none;
|
684 |
+
color: #fff;
|
685 |
+
margin: 0;
|
686 |
+
padding: 0;
|
687 |
+
cursor: pointer;
|
688 |
}
|
|
|
689 |
</style>
|
690 |
+
<div class="updated sfsi_plus_show_premium_cumulative_count_notification" style="<?php echo $style; ?>background-color: #38B54A; color: #fff; font-size: 18px;">
|
691 |
<div class="alignleft" style="margin: 9px 0;">
|
692 |
+
<b><?php _e('Recently switched to https?', SFSI_PLUS_DOMAIN); ?></b> <?php _e('If you don’t want to lose the Facebook share & like counts', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=https_share_counts&utm_medium=banner" target="_blank"><?php _e('have a look at our Premium Plugin', SFSI_PLUS_DOMAIN); ?></a><?php _e(', we found a fix for that:', SFSI_PLUS_DOMAIN); ?> <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=https_share_counts&utm_medium=banner" target="_blank"><?php _e('Check it out', SFSI_PLUS_DOMAIN); ?></a>
|
693 |
</div>
|
694 |
<div class="alignright">
|
695 |
<form method="post" class="sfsi_plus_premiumNoticeCumulativeCountDismiss">
|
697 |
<input type="submit" name="dismiss" value="Dismiss" />
|
698 |
</form>
|
699 |
</div>
|
700 |
+
</div>
|
701 |
+
<?php
|
702 |
}
|
|
|
703 |
}
|
704 |
|
705 |
+
if (get_option("sfsi_plus_show_Setting_mobile_notification") == "yes") {
|
|
|
706 |
$sfsi_plus_install_date = strtotime(get_option('sfsi_plus_installDate'));
|
707 |
+
$sfsi_plus_future_date = strtotime('14 days', $sfsi_plus_install_date);
|
708 |
$sfsi_plus_past_date = strtotime("now");
|
709 |
+
if ($sfsi_plus_past_date >= $sfsi_plus_future_date) {
|
|
|
710 |
?>
|
711 |
+
<style>
|
712 |
+
.sfsi_plus_show_mobile_setting_notification a {
|
713 |
color: #fff;
|
714 |
text-decoration: underline;
|
715 |
}
|
716 |
+
|
717 |
form.sfsi_plus_mobileNoticeDismiss {
|
718 |
display: inline-block;
|
719 |
margin: 5px 0 0;
|
720 |
vertical-align: middle;
|
721 |
}
|
722 |
+
|
723 |
+
.sfsi_plus_mobileNoticeDismiss input[type='submit'] {
|
724 |
background-color: transparent;
|
725 |
border: medium none;
|
726 |
color: #fff;
|
728 |
padding: 0;
|
729 |
cursor: pointer;
|
730 |
}
|
|
|
731 |
</style>
|
732 |
+
|
733 |
+
<!-- <div class="updated sfsi_plus_show_mobile_setting_notification" style="<?php //echo $style;
|
734 |
+
?>background-color: #38B54A; color: #fff; font-size: 18px;">
|
735 |
+
<div class="alignleft" style="margin: 9px 0; width: 95%; line-height: 25px;">
|
736 |
+
<b><?php //_e( 'Over 50% of visitors are mobile visitors:', SFSI_PLUS_DOMAIN);
|
737 |
+
?></b>
|
738 |
+
<?php //_e( ' Make sure your social media icons look good on mobile too, so that people like & share your site. With the premium plugin you can define the location of the icons separately on mobile: ', SFSI_PLUS_DOMAIN);
|
739 |
+
?><a href="https://www.ultimatelysocial.com/usmpremium/?utm_expid=92383224-1.TfahStjhTrSpmi_nxkXt1w.1&utm_source=usmplus_settings_page&utm_campaign=check_mobile&utm_medium=banner" target="_blank"><?php //_e( 'Check it out', SFSI_PLUS_DOMAIN);
|
740 |
+
?></a>
|
741 |
+
</div>
|
742 |
+
<div class="alignright">
|
743 |
+
<form method="post" class="sfsi_plus_mobileNoticeDismiss">
|
744 |
+
<input type="hidden" name="sfsi-plus_dismiss-settingmobileNotice" value="true">
|
745 |
+
<input type="submit" name="dismiss" value="Dismiss" />
|
746 |
+
</form>
|
747 |
+
</div>
|
748 |
+
</div> -->
|
749 |
+
<?php
|
750 |
+
}
|
751 |
+
}
|
752 |
+
|
753 |
+
$phpVersion = phpVersion();
|
754 |
+
if ($phpVersion <= '5.4') {
|
755 |
+
if (get_option("sfsi_plus_serverphpVersionnotification") == "yes") {
|
756 |
+
|
757 |
+
?>
|
758 |
+
<style>
|
759 |
+
.sfsi_plus_show_phperror_notification {
|
760 |
+
color: #fff;
|
761 |
+
text-decoration: underline;
|
762 |
+
}
|
763 |
+
|
764 |
+
form.sfsi_plus_phperrorNoticeDismiss {
|
765 |
+
display: inline-block;
|
766 |
+
margin: 5px 0 0;
|
767 |
+
vertical-align: middle;
|
768 |
+
}
|
769 |
+
|
770 |
+
.sfsi_plus_phperrorNoticeDismiss input[type='submit'] {
|
771 |
+
background-color: transparent;
|
772 |
+
border: medium none;
|
773 |
+
color: #fff;
|
774 |
+
margin: 0;
|
775 |
+
padding: 0;
|
776 |
+
cursor: pointer;
|
777 |
+
}
|
778 |
+
|
779 |
+
.sfsi_plus_show_phperror_notification p {
|
780 |
+
line-height: 22px;
|
781 |
+
}
|
782 |
+
|
783 |
+
p.sfsi_plus_show_notifictaionpragraph {
|
784 |
+
padding: 0 !important;
|
785 |
+
font-size: 18px;
|
786 |
+
}
|
787 |
+
</style>
|
788 |
+
<div class="updated sfsi_plus_show_phperror_notification" style="<?php echo $style; ?>background-color: #D22B2F; color: #fff; font-size: 18px; border-left-color: #D22B2F;">
|
789 |
+
<div class="alignleft" style="margin: 9px 0;">
|
790 |
+
<p class="sfsi_plus_show_notifictaionpragraph">
|
791 |
+
<?php _e('We noticed you are running your site on a PHP version older than 5.6. Please upgrade to a more recent version. This is not only important for running the Ultimate Social Media Plugin, but also for security reasons in general.', SFSI_PLUS_DOMAIN); ?>
|
792 |
+
<br>
|
793 |
+
<?php _e('If you do not know how to do the upgrade, please ask your server team or hosting company to do it for you.', SFSI_PLUS_DOMAIN); ?>
|
794 |
+
</p>
|
795 |
+
|
796 |
</div>
|
797 |
<div class="alignright">
|
798 |
+
<form method="post" class="sfsi_plus_phperrorNoticeDismiss">
|
799 |
+
<input type="hidden" name="sfsi-plus_dismiss-phperrorNotice" value="true">
|
800 |
<input type="submit" name="dismiss" value="Dismiss" />
|
801 |
</form>
|
802 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
803 |
</div>
|
804 |
+
|
|
|
805 |
<?php
|
806 |
}
|
807 |
}
|
808 |
|
809 |
+
sfsi_plus_error_reporting_notice();
|
810 |
}
|
811 |
|
812 |
|
813 |
add_action('admin_init', 'sfsi_plus_dismiss_admin_notice');
|
814 |
function sfsi_plus_dismiss_admin_notice()
|
815 |
{
|
816 |
+
if (isset($_REQUEST['sfsi-plus_dismiss-premiumNotice']) && $_REQUEST['sfsi-plus_dismiss-premiumNotice'] == 'true') {
|
817 |
+
update_option('sfsi_plus_show_premium_notification', "no");
|
|
|
818 |
//header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
|
819 |
}
|
820 |
+
|
821 |
+
if (isset($_REQUEST['sfsi-plus_dismiss-premiumCumulativeCountNotice']) && $_REQUEST['sfsi-plus_dismiss-premiumCumulativeCountNotice'] == 'true') {
|
822 |
+
update_option('sfsi_plus_show_premium_cumulative_count_notification', "no");
|
|
|
823 |
}
|
824 |
|
825 |
+
if (isset($_REQUEST['sfsi-plus_dismiss-settingmobileNotice']) && $_REQUEST['sfsi-plus_dismiss-settingmobileNotice'] == 'true') {
|
826 |
+
update_option('sfsi_plus_show_Setting_mobile_notification', "no");
|
|
|
827 |
//header("Location: ".site_url()."/wp-admin/admin.php?page=sfsi-options");die;
|
828 |
}
|
829 |
+
if (isset($_REQUEST['sfsi-plus_dismiss-phperrorNotice']) && $_REQUEST['sfsi-plus_dismiss-phperrorNotice'] == 'true') {
|
830 |
+
update_option('sfsi_plus_serverphpVersionnotification', "no");
|
|
|
831 |
}
|
832 |
}
|
833 |
|
834 |
add_action('plugins_loaded', 'sfsi_plus_load_domain');
|
835 |
+
function sfsi_plus_load_domain()
|
836 |
{
|
837 |
+
$plugin_dir = basename(dirname(__FILE__)) . '/languages';
|
838 |
+
load_plugin_textdomain('ultimate-social-media-plus', false, $plugin_dir);
|
839 |
}
|
840 |
|
841 |
function sfsi_plus_get_bloginfo($url)
|
842 |
{
|
843 |
$web_url = get_bloginfo($url);
|
844 |
+
|
845 |
//Block to use feedburner url
|
846 |
+
if (preg_match("/(feedburner)/im", $web_url, $match)) {
|
847 |
+
$web_url = site_url() . "/feed";
|
|
|
848 |
}
|
849 |
return $web_url;
|
850 |
}
|
851 |
/* plugin action link*/
|
852 |
+
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'sfsi_plus_action_links', 3);
|
853 |
+
function sfsi_plus_action_links($mylinks)
|
854 |
{
|
855 |
+
$linkQuestion = '<a target="_blank" href="https://goo.gl/MU6pTN#new-topic-0" style="color:#FF0000;"><b>Need help?</b></a>';
|
856 |
$linkProVersion = '<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_manage_plugin_page&utm_campaign=check_out_pro_version&utm_medium=banner" style="color:#38B54A;"><b>Check out pro version</b></a>';
|
857 |
|
858 |
+
if (isset($mylinks['edit']) && !empty($mylinks['edit'])) {
|
859 |
+
$mylinks[] = @$mylinks['edit'];
|
860 |
}
|
861 |
|
862 |
//array_unshift($mylinks, $linkProVersion);
|
863 |
+
array_unshift($mylinks, $linkQuestion);
|
864 |
|
865 |
$slug = plugin_basename(dirname(__FILE__));
|
866 |
|
867 |
//$mylinks[$slug] = @$mylinks["deactivate"].'<i class="sfsi-plus-deactivate-slug"></i>';
|
868 |
|
869 |
+
$mylinks[] = '<a href="' . admin_url("/admin.php?page=sfsi-plus-options") . '">Settings</a>';
|
870 |
|
871 |
+
unset($mylinks['edit']);
|
872 |
//unset ($mylinks['deactivate']);
|
873 |
|
874 |
return $mylinks;
|
876 |
|
877 |
global $pagenow;
|
878 |
|
879 |
+
if ('plugins.php' === $pagenow) {
|
880 |
|
881 |
+
add_action('admin_footer', '_sfsi_plus_add_deactivation_feedback_dialog_box');
|
882 |
|
883 |
+
function _sfsi_plus_add_deactivation_feedback_dialog_box()
|
884 |
+
{
|
|
|
885 |
|
886 |
+
include_once(SFSI_PLUS_DOCROOT . '/views/deactivation/sfsi_deactivation_popup.php'); ?>
|
|
|
|
|
887 |
|
888 |
+
<script>
|
889 |
+
jQuery(document).ready(function($) {
|
890 |
|
891 |
+
var _plus_deactivationLink = $('.sfsi-plus-deactivate-slug').prev();
|
892 |
|
893 |
+
_plus_deactivationLink.parent().prev().remove();
|
894 |
|
895 |
+
$('.sfsi-plus-deactivation-reason-link').find('a').attr('href', _plus_deactivationLink.attr('href'));
|
|
|
|
|
|
|
896 |
|
897 |
+
_plus_deactivationLink.on('click', function(e) {
|
898 |
+
e.preventDefault();
|
899 |
+
$('[data-popup="plus-popup-1"]').fadeIn(350);
|
900 |
+
});
|
|
|
|
|
901 |
|
902 |
+
//----- CLOSE
|
903 |
+
$('[data-popup-close]').on('click', function(e) {
|
904 |
+
e.preventDefault();
|
905 |
+
var targeted_popup_class = jQuery(this).attr('data-popup-close');
|
906 |
+
$('[data-popup="' + targeted_popup_class + '"]').fadeOut(350);
|
907 |
+
});
|
908 |
|
909 |
+
//----- OPEN
|
910 |
+
$('[data-popup-open]').on('click', function(e) {
|
911 |
+
e.preventDefault();
|
912 |
+
var targeted_popup_class = jQuery(this).attr('data-popup-open');
|
913 |
+
$('[data-popup="' + targeted_popup_class + '"]').fadeIn(350);
|
914 |
+
});
|
915 |
|
916 |
+
});
|
917 |
+
</script>
|
918 |
|
919 |
<?php }
|
920 |
}
|
931 |
}
|
932 |
|
933 |
// create a scheduled event (if it does not exist already)
|
934 |
+
function sfsi_plus_sf_instagram_count_fetcher()
|
935 |
+
{
|
936 |
+
$sfsi_plus_SocialHelper = new sfsi_plus_SocialHelper();
|
937 |
+
$feed_id = sanitize_text_field(get_option('sfsi_plus_feed_id', false));
|
938 |
return $sfsi_plus_SocialHelper->SFSI_getFeedSubscriberFetch();
|
939 |
}
|
940 |
+
function sfsi_plus_cronstarter_activation()
|
941 |
+
{
|
942 |
// sfsi_plus_write_log(wp_next_scheduled( 'sfsi_plus_sf_instagram_count_fetcher' ));
|
943 |
+
if (!wp_next_scheduled('sfsi_plus_sf_instagram_count_fetcher')) {
|
944 |
+
wp_schedule_event(time(), 'daily', 'sfsi_plus_sf_instagram_count_fetcher');
|
945 |
}
|
946 |
}
|
947 |
// and make sure it's called whenever WordPress loads
|
951 |
add_action('admin_init', 'sfsi_plus_plugin_redirect');
|
952 |
function sfsi_plus_plugin_redirect()
|
953 |
{
|
954 |
+
if (get_option('sfsi_plus_plugin_do_activation_redirect', false)) {
|
955 |
+
delete_option('sfsi_plus_plugin_do_activation_redirect');
|
956 |
+
wp_redirect(admin_url('admin.php?page=sfsi-plus-options'));
|
957 |
+
}
|
|
|
958 |
}
|
959 |
function sfsi_plus_curl_error_notification()
|
960 |
+
{
|
961 |
+
if (get_option("sfsi_plus_curlErrorNotices") == "yes") {
|
962 |
+
|
963 |
+
?>
|
964 |
+
<script>
|
965 |
+
jQuery(document).ready(function(e) {
|
966 |
+
jQuery(".sfsi_plus_curlerror_cross").click(function() {
|
967 |
+
SFSI.ajax({
|
968 |
+
url: sfsi_plus_ajax_object.ajax_url,
|
969 |
+
type: "post",
|
970 |
+
data: {
|
971 |
+
action: "sfsiplus_curlerrornotification",
|
972 |
+
nonce: '<?php echo wp_create_nonce('
|
973 |
+
plus_curlerrornotification '); ?>'
|
974 |
+
},
|
975 |
+
success: function(msg) {
|
976 |
+
jQuery(".sfsiplus_curlerror").hide("fast");
|
977 |
+
|
978 |
+
}
|
979 |
+
});
|
980 |
});
|
981 |
});
|
|
|
982 |
</script>
|
983 |
|
984 |
+
<div class="sfsiplus_curlerror">
|
985 |
+
<?php _e('We noticed that your site returns a cURL error («Error: ', SFSI_PLUS_DOMAIN); ?>
|
986 |
+
<?php echo ucfirst(get_option("sfsi_plus_curlErrorMessage")); ?>
|
987 |
+
<?php _e('»). This means that it cannot send a notification to SpecificFeeds.com when a new post is published. Therefore this email-feature doesn’t work. However there are several solutions for this, please visit our FAQ to see the solutions («Perceived bugs» => «cURL error messages»): ', SFSI_PLUS_DOMAIN); ?>
|
988 |
+
<a href="https://www.ultimatelysocial.com/faq/" target="_new">
|
989 |
+
<?php _e('www.ultimatelysocial.com/faq', SFSI_PLUS_DOMAIN); ?>
|
990 |
</a>
|
991 |
+
<div class="sfsi_plus_curlerror_cross"><?php _e('Dismiss', SFSI_PLUS_DOMAIN); ?></div>
|
992 |
+
</div>
|
993 |
+
<?php
|
994 |
+
}
|
995 |
}
|
996 |
|
997 |
// ********************************* Link to support forum for different languages STARTS *******************************//
|
998 |
|
999 |
+
function sfsi_plus_get_language_notice_text()
|
1000 |
+
{
|
1001 |
+
|
1002 |
+
$currLang = get_locale();
|
1003 |
+
$text = '';
|
1004 |
+
|
1005 |
+
switch ($currLang) {
|
1006 |
+
|
1007 |
+
// Arabic
|
1008 |
+
case 'ar':
|
1009 |
+
|
1010 |
+
$text = "hal tatakalam alearabia? 'iidha kanat ladayk 'asyilat hawl almukawan al'iidafii l Ultimate Social Media , aitruh sualik fi muntadaa aldaem , sanuhawil alrada biallughat alearabiat: <a target='_blank' href='https://goo.gl/o42Beq'><b>'unqur huna</b></a>";
|
1011 |
+
break;
|
1012 |
+
|
1013 |
+
// Chinese - simplified
|
1014 |
+
case 'zh-Hans':
|
1015 |
+
|
1016 |
+
$text = "你会说中文吗?如果您有关于Ultimate Social Media插件的问题,请在支持论坛中提出您的问题,我们将尝试用中文回复:<a target='_blank' href='https://goo.gl/o42Beq'><b>点击此处</b></a>";
|
1017 |
+
break;
|
1018 |
+
|
1019 |
+
// Chinese - traditional
|
1020 |
+
case 'zh-Hant':
|
1021 |
+
|
1022 |
+
$text = "你會說中文嗎?如果您有關於Ultimate Social Media插件的問題,請在支持論壇中提出您的問題,我們將嘗試用中文回复:<a target='_blank' href='https://goo.gl/o42Beq'><b>點擊此處</b></a>";
|
1023 |
+
break;
|
1024 |
+
|
1025 |
+
// Dutch, Dutch (Belgium)
|
1026 |
+
case 'nl_NL':
|
1027 |
+
case 'nl_BE':
|
1028 |
+
$text = "Jij spreekt Nederlands? Als je vragen hebt over de Ultimate Social Media-plug-in, stel je vraag in het ondersteuningsforum, we zullen proberen in het Nederlands te antwoorden: <a target='_blank' href='https://goo.gl/o42Beq'>klik hier</a>";
|
1029 |
+
break;
|
1030 |
+
|
1031 |
+
// French (Belgium), French (France)
|
1032 |
+
case 'fr_BE':
|
1033 |
+
case 'fr_FR':
|
1034 |
|
1035 |
+
$text = "Vous parlez français? Si vous avez des questions sur le plugin Ultimate Social Media, posez votre question sur le forum de support, nous essaierons de répondre en français: <a target='_blank' href='https://goo.gl/o42Beq'>Cliquez ici</a>";
|
1036 |
+
break;
|
1037 |
|
1038 |
+
// German, German (Switzerland)
|
1039 |
+
case 'de':
|
1040 |
+
case 'de_CH':
|
1041 |
|
1042 |
+
$text = "Du sprichst Deutsch? Wenn Du Fragen zum Ultimate Social Media-Plugins hast, einfach im Support Forum fragen. Wir antworten auch auf Deutsch! <a target='_blank' href='https://goo.gl/o42Beq'>Klicke hier</a>";
|
1043 |
+
break;
|
|
|
|
|
|
|
1044 |
|
1045 |
+
// Greek
|
1046 |
+
case 'el':
|
|
|
|
|
|
|
1047 |
|
1048 |
+
$text = "Μιλάτε Ελληνικά? Αν έχετε ερωτήσεις σχετικά με το plugin Ultimate Social Media, ρωτήστε την ερώτησή σας στο φόρουμ υποστήριξης, θα προσπαθήσουμε να απαντήσουμε στα ελληνικά: <a target='_blank' href='https://goo.gl/o42Beq'>Κάντε κλικ εδώ</a>";
|
1049 |
+
break;
|
|
|
|
|
|
|
1050 |
|
1051 |
+
// Hebrew
|
1052 |
+
case 'he_IL':
|
|
|
|
|
1053 |
|
1054 |
+
$text = "אתה מדבר עברית? אם יש לך שאלות על תוסף המדיה החברתית האולטימטיבית, שאל את השאלה שלך בפורום התמיכה, ננסה לענות בעברית: <a target='_blank' href='https://goo.gl/o42Beq'>לחץ כאן</a>";
|
1055 |
+
break;
|
|
|
|
|
|
|
1056 |
|
1057 |
+
// Hindi
|
1058 |
+
case 'hi_IN':
|
1059 |
|
1060 |
+
$text = "आप हिंदी बोलते हो? यदि आपके पास अल्टीमेट सोशल मीडिया प्लगइन के बारे में कोई प्रश्न है, तो समर्थन फोरम में अपना प्रश्न पूछें, हम हिंदी में जवाब देने का प्रयास करेंगे: <a target='_blank' href='https://goo.gl/o42Beq'>यहां क्लिक करें</a>";
|
1061 |
+
break;
|
1062 |
|
1063 |
+
// Indonesian
|
1064 |
+
case 'id':
|
|
|
|
|
|
|
1065 |
|
1066 |
+
$text = "Anda berbicara bahasa Indonesia? Jika Anda memiliki pertanyaan tentang plugin Ultimate Social Media, ajukan pertanyaan Anda di Forum Dukungan, kami akan mencoba menjawab dalam Bahasa Indonesia: <a target='_blank' href='https://goo.gl/o42Beq'>Klik di sini</a>";
|
|
|
|
|
|
|
|
|
1067 |
|
1068 |
+
break;
|
|
|
|
|
|
|
|
|
1069 |
|
1070 |
+
// Italian
|
1071 |
+
case 'it_IT':
|
|
|
|
|
1072 |
|
1073 |
+
$text = "Tu parli italiano? Se hai domande sul plugin Ultimate Social Media, fai la tua domanda nel Forum di supporto, cercheremo di rispondere in italiano: <a target='_blank' href='https://goo.gl/o42Beq'>clicca qui</a>";
|
1074 |
|
1075 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
1076 |
|
1077 |
+
// Japanese
|
1078 |
+
case 'ja':
|
|
|
|
|
1079 |
|
1080 |
+
$text = "あなたは日本語を話しますか?アルティメットソーシャルメディアのプラグインに関する質問がある場合は、サポートフォーラムで質問してください。日本語で対応しようと思っています:<a target='_blank' href='https://goo.gl/o42Beq'>ここをクリック</a>";
|
1081 |
|
1082 |
+
break;
|
|
|
1083 |
|
1084 |
+
// Korean
|
1085 |
+
case 'ko_KR ':
|
1086 |
|
1087 |
+
$text = "한국어를 할 줄 아세요? 궁극적 인 소셜 미디어 플러그인에 대해 궁금한 점이 있으면 지원 포럼에서 질문하십시오. 한국어로 답변하려고합니다 : <a target='_blank' href='https://goo.gl/o42Beq'>여기를 클릭하십시오.</a>";
|
1088 |
|
1089 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
1090 |
|
1091 |
+
// Persian, Persian (Afghanistan)
|
1092 |
+
case 'fa_IR':
|
1093 |
+
case 'fa_AF':
|
1094 |
|
1095 |
+
$text = "شما فارسی صحبت می کنید؟ اگر سوالی در مورد پلاگین رسانه Ultimate Social دارید، سوال خود را در انجمن پشتیبانی بپرسید، سعی خواهیم کرد به فارسی پاسخ دهید: <a target='_blank' href='https://goo.gl/o42Beq'>اینجا را کلیک کنید</a>";
|
|
|
|
|
1096 |
|
1097 |
+
break;
|
1098 |
|
1099 |
+
// Polish
|
1100 |
|
1101 |
+
case 'pl_PL':
|
1102 |
+
$text = "Mówisz po polsku? Jeśli masz pytania dotyczące wtyczki Ultimate Social Media, zadaj pytanie na Forum pomocy technicznej, postaramy się odpowiedzieć po polsku: <a target='_blank' href='https://goo.gl/o42Beq'>Kliknij tutaj</a>";
|
1103 |
+
break;
|
1104 |
|
1105 |
+
//Portuguese (Brazil), Portuguese (Portugal)
|
|
|
|
|
|
|
1106 |
|
1107 |
+
case 'pt_BR':
|
1108 |
+
case 'pt_PT':
|
1109 |
+
|
1110 |
+
$text = "Você fala português? Se você tiver dúvidas sobre o plug-in Ultimate Social Media, faça sua pergunta no Fórum de suporte, tentaremos responder em português: <a target='_blank' href='https://goo.gl/o42Beq'>Clique aqui</a>";
|
1111 |
+
|
1112 |
+
break;
|
1113 |
+
|
1114 |
+
// Russian, Russian (Ukraine)
|
1115 |
+
case 'ru_RU':
|
1116 |
+
case 'ru_UA':
|
1117 |
+
|
1118 |
+
$text = "Ты говоришь по-русски? Если у вас есть вопросы о плагине Ultimate Social Media, задайте свой вопрос в форуме поддержки, мы постараемся ответить на русский: <a target='_blank' href='https://goo.gl/o42Beq'>Нажмите здесь</a>";
|
1119 |
+
|
1120 |
+
break;
|
1121 |
+
|
1122 |
+
/* Spanish (Argentina), Spanish (Chile), Spanish (Colombia), Spanish (Mexico),
|
1123 |
Spanish (Peru), Spanish (Puerto Rico), Spanish (Spain), Spanish (Venezuela) */
|
1124 |
|
1125 |
+
case 'es_AR':
|
1126 |
+
case 'es_CL':
|
1127 |
+
case 'es_CO':
|
1128 |
+
case 'es_MX':
|
1129 |
+
case 'es_PE':
|
1130 |
+
case 'es_PR':
|
1131 |
+
case 'es_ES':
|
1132 |
+
case 'es_VE':
|
1133 |
|
1134 |
+
$text = "¿Tu hablas español? Si tiene alguna pregunta sobre el complemento Ultimate Social Media, formule su pregunta en el foro de soporte, intentaremos responder en español: <a target='_blank' href='https://goo.gl/o42Beq'>haga clic aquí</a>";
|
1135 |
+
break;
|
1136 |
|
1137 |
+
// Swedish
|
1138 |
|
1139 |
+
case 'sv_SE':
|
|
|
|
|
|
|
1140 |
|
1141 |
+
$text = "Pratar du svenska? Om du har frågor om programmet Ultimate Social Media, fråga din fråga i supportforumet, vi försöker svara på svenska: <a target='_blank' href='https://goo.gl/o42Beq'>Klicka här</a>";
|
1142 |
+
break;
|
1143 |
|
1144 |
+
// Turkish
|
|
|
|
|
1145 |
|
1146 |
+
case 'tr_TR':
|
1147 |
+
$text = "Sen Türkçe konuş? Nihai Sosyal Medya eklentisi hakkında sorularınız varsa, sorunuza Destek Forumu'nda sorun, Türkçe olarak cevap vermeye çalışacağız: <a target='_blank' href='https://goo.gl/o42Beq'>Tıklayın</a>";
|
1148 |
+
break;
|
1149 |
|
1150 |
+
// Ukrainian
|
|
|
|
|
1151 |
|
1152 |
+
case 'uk':
|
1153 |
+
$text = "Ви говорите по-українськи? Якщо у вас є запитання про плагін Ultimate Social Media, задайте своє питання на Форумі підтримки, ми спробуємо відповісти українською: <a target='_blank' href='https://goo.gl/o42Beq'>натисніть тут</a>";
|
1154 |
+
break;
|
1155 |
|
1156 |
+
// Vietnamese
|
1157 |
+
|
1158 |
+
case 'vi':
|
1159 |
+
$text = "Bạn nói tiếng việt không Nếu bạn có câu hỏi về plugin Ultimate Social Media, hãy đặt câu hỏi của bạn trong Diễn đàn hỗ trợ, chúng tôi sẽ cố gắng trả lời bằng tiếng Việt: <a target='_blank' href='https://goo.gl/o42Beq'>Nhấp vào đây</a>";
|
1160 |
+
break;
|
1161 |
+
}
|
1162 |
|
1163 |
+
return $text;
|
1164 |
}
|
1165 |
|
1166 |
+
function sfsi_plus_language_notice()
|
1167 |
+
{
|
1168 |
+
|
1169 |
+
if (isset($_GET['page']) && "sfsi-plus-options" == $_GET['page']) :
|
1170 |
|
1171 |
+
$langText = sfsi_plus_get_language_notice_text();
|
1172 |
+
$isDismissed = get_option('sfsi_plus_lang_notice_dismissed');
|
1173 |
|
1174 |
+
if (!empty($langText) && false == $isDismissed) { ?>
|
|
|
1175 |
|
1176 |
+
<div id="sfsi_plus_langnotice" class="notice notice-info">
|
|
|
|
|
1177 |
|
1178 |
+
<p><?php _e($langText, SFSI_PLUS_DOMAIN); ?></p>
|
1179 |
|
1180 |
+
<button type="button" class="sfsi-notice-dismiss notice-dismiss"></button>
|
1181 |
|
1182 |
+
</div>
|
1183 |
|
1184 |
+
<?php } ?>
|
1185 |
|
1186 |
+
<?php endif;
|
1187 |
}
|
1188 |
|
1189 |
|
1190 |
+
function sfsi_plus_dismiss_lang_notice()
|
1191 |
+
{
|
1192 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_dismiss_lang_notice")) {
|
1193 |
+
echo json_encode(array('res' => "error"));
|
1194 |
+
exit;
|
1195 |
+
}
|
1196 |
+
if (!current_user_can('manage_options')) {
|
1197 |
+
echo json_encode(array('res' => 'not allowed'));
|
1198 |
+
die();
|
1199 |
+
}
|
1200 |
+
echo update_option('sfsi_plus_lang_notice_dismissed', true) ? "true" : "false";
|
1201 |
die;
|
1202 |
}
|
1203 |
|
1204 |
+
add_action('wp_ajax_sfsi_plus_dismiss_lang_notice', 'sfsi_plus_dismiss_lang_notice');
|
1205 |
|
1206 |
// ********************************* Link to support forum for different languages CLOSES *******************************//
|
1207 |
|
1208 |
|
1209 |
// ********************************* Link to support forum left of every Save button STARTS *******************************//
|
1210 |
|
1211 |
+
function sfsi_plus_ask_for_help($viewNumber)
|
1212 |
+
{ ?>
|
1213 |
+
|
1214 |
+
<div class="sfsi_plus_askforhelp askhelpInview<?php echo $viewNumber; ?>">
|
1215 |
+
|
1216 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . "images/questionmark.png" ?>" />
|
1217 |
|
|
|
|
|
|
|
|
|
1218 |
<span>Questions? <a target="_blank" href="#" onclick="event.preventDefault();sfsi_plus_open_chat(event)"><b>Ask us</b></a></span>
|
1219 |
|
1220 |
</div>
|
1226 |
|
1227 |
// ********************************* Notice for error reporting STARTS *******************************//
|
1228 |
|
1229 |
+
function sfsi_plus_error_reporting_notice()
|
1230 |
+
{
|
1231 |
|
1232 |
+
if (is_admin()) :
|
|
|
|
|
1233 |
|
1234 |
+
$sfsi_error_reporting_notice_txt = 'We noticed that you have set error reporting to "yes" in wp-config. Our plugin (Ultimate Social Media Plus) switches this to "off" so that no errors are displayed (which may also impact error messages from your theme or other plugins). If you don\'t want that, please select the respective option under question 6 (at the bottom).';
|
1235 |
|
1236 |
+
$isDismissed = get_option('sfsi_pplus_error_reporting_notice_dismissed', false);
|
1237 |
|
1238 |
+
$option5 = unserialize(get_option('sfsi_plus_section5_options', false));
|
1239 |
|
1240 |
+
$sfsi_pplus_icons_suppress_errors = isset($option5['sfsi_pplus_icons_suppress_errors']) && !empty($option5['sfsi_pplus_icons_suppress_errors']) ? $option5['sfsi_pplus_icons_suppress_errors'] : false;
|
|
|
|
|
1241 |
|
1242 |
+
if (isset($isDismissed) && false == $isDismissed && defined('WP_DEBUG') && false != WP_DEBUG && "yes" == $sfsi_pplus_icons_suppress_errors) { ?>
|
1243 |
|
1244 |
+
<div style="padding: 10px;margin-left: 0px;position: relative;" id="sfsi_error_reporting_notice" class="error notice">
|
1245 |
|
1246 |
+
<p><?php echo $sfsi_error_reporting_notice_txt; ?></p>
|
1247 |
|
1248 |
+
<button type="button" class="sfsi_pplus_error_reporting_notice-dismiss notice-dismiss"></button>
|
1249 |
|
1250 |
+
</div>
|
1251 |
|
1252 |
+
<script>
|
1253 |
+
if (typeof jQuery != 'undefined') {
|
|
|
1254 |
|
1255 |
+
(function sfsi_dismiss_notice(btnClass, ajaxAction, nonce) {
|
1256 |
|
1257 |
+
var btnClass = "." + btnClass;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1258 |
|
1259 |
+
var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>";
|
1260 |
|
1261 |
+
jQuery(document).on("click", btnClass, function() {
|
1262 |
+
|
1263 |
+
jQuery.ajax({
|
1264 |
+
url: ajaxurl,
|
1265 |
+
type: "post",
|
1266 |
+
data: {
|
1267 |
+
action: ajaxAction,
|
1268 |
+
nonce: nonce
|
1269 |
+
},
|
1270 |
+
success: function(e) {
|
1271 |
+
if (false != e) {
|
1272 |
+
jQuery(btnClass).parent().remove();
|
1273 |
+
}
|
1274 |
+
}
|
1275 |
+
});
|
1276 |
+
|
1277 |
+
});
|
1278 |
+
|
1279 |
+
}("sfsi_pplus_error_reporting_notice-dismiss", "sfsi_pplus_dismiss_error_reporting_notice", "<?php echo wp_create_nonce('plus_dismiss_error_reporting_notice'); ?>"));
|
1280 |
+
}
|
1281 |
+
</script>
|
1282 |
|
1283 |
+
<?php } ?>
|
1284 |
|
1285 |
+
<?php endif;
|
1286 |
}
|
1287 |
|
1288 |
+
function sfsi_pplus_dismiss_error_reporting_notice()
|
1289 |
+
{
|
1290 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_dismiss_error_reporting_notice")) {
|
1291 |
+
echo json_encode(array('res' => "error"));
|
1292 |
+
exit;
|
1293 |
+
}
|
1294 |
+
if (!current_user_can('manage_options')) {
|
1295 |
+
echo json_encode(array('res' => 'not allowed'));
|
1296 |
+
die();
|
1297 |
+
}
|
1298 |
+
echo (string) update_option('sfsi_pplus_error_reporting_notice_dismissed', true);
|
1299 |
die;
|
1300 |
}
|
1301 |
+
add_action('wp_ajax_sfsi_pplus_dismiss_error_reporting_notice', 'sfsi_pplus_dismiss_error_reporting_notice');
|
1302 |
|
1303 |
// ********************************* Notice for error reporting CLOSE *******************************//
|
1304 |
|
1305 |
// ********************************* Notice for removal of AddThis option STARTS *******************************//
|
1306 |
+
function sfsi_plus_addThis_removal_notice()
|
1307 |
+
{
|
1308 |
+
|
1309 |
+
if (isset($_GET['page']) && "sfsi-plus-options" == $_GET['page']) :
|
1310 |
|
1311 |
+
$sfsi_plus_addThis_removalText = __("We removed Addthis from the plugin due to issues with GDPR, the new EU data protection regulation.", SFSI_PLUS_DOMAIN);
|
|
|
|
|
1312 |
|
1313 |
+
$isDismissed = get_option('sfsi_plus_addThis_icon_removal_notice_dismissed', false);
|
1314 |
|
1315 |
+
if (false == $isDismissed) { ?>
|
|
|
|
|
1316 |
|
1317 |
+
<div id="sfsi_plus_addThis_removal_notice" class="notice notice-info">
|
1318 |
|
1319 |
+
<p><?php echo $sfsi_plus_addThis_removalText; ?></p>
|
1320 |
|
1321 |
+
<button type="button" class="sfsi_plus-AddThis-notice-dismiss notice-dismiss"></button>
|
1322 |
+
|
1323 |
+
</div>
|
1324 |
|
1325 |
+
<?php } ?>
|
1326 |
|
1327 |
+
<?php endif;
|
1328 |
}
|
1329 |
|
1330 |
+
function sfsi_plus_dismiss_addthhis_removal_notice()
|
1331 |
+
{
|
1332 |
+
if (!wp_verify_nonce($_POST['nonce'], "plus_dismiss_addthhis_removal_notice")) {
|
1333 |
+
echo json_encode(array('res' => "error"));
|
1334 |
+
exit;
|
1335 |
+
}
|
1336 |
+
if (!current_user_can('manage_options')) {
|
1337 |
+
echo json_encode(array('res' => 'not allowed'));
|
1338 |
+
die();
|
1339 |
+
}
|
1340 |
+
echo update_option('sfsi_plus_addThis_icon_removal_notice_dismissed', true) ? get_option('sfsi_plus_addThis_icon_removal_notice_dismissed', false) : "false";
|
1341 |
+
die;
|
1342 |
}
|
1343 |
|
1344 |
+
add_action('wp_ajax_sfsi_plus_dismiss_addThis_icon_notice', 'sfsi_plus_dismiss_addthhis_removal_notice');
|
1345 |
|
1346 |
// ********************************* Notice for removal of AddThis option CLOSES *******************************//
|
views/sfsi_option_view1.php
CHANGED
@@ -1,583 +1,690 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
39 |
//MZ CODE START
|
40 |
-
$option1['sfsi_plus_ok_display'] = (isset($option1['sfsi_plus_ok_display']))? sanitize_text_field($option1['sfsi_plus_ok_display']): 'no';
|
41 |
-
$option1['sfsi_plus_telegram_display'] =
|
42 |
-
? sanitize_text_field($option1['sfsi_plus_telegram_display']): 'no';
|
43 |
$option1['sfsi_plus_vk_display'] = (isset($option1['sfsi_plus_vk_display']))
|
44 |
-
? sanitize_text_field($option1['sfsi_plus_vk_display']): 'no';
|
45 |
-
$option1['sfsi_plus_wechat_display'] =
|
46 |
-
$option1['sfsi_plus_weibo_display'] =
|
47 |
//MZ CODE ENd
|
48 |
|
49 |
?>
|
50 |
|
51 |
<!-- Section 1 "Which icons do you want to show on your site? " main div Start -->
|
52 |
-
<div class="tab1"
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
</p>
|
58 |
-
|
59 |
<!-- RSS ICON -->
|
60 |
<li class="gary_bg">
|
61 |
-
|
62 |
-
|
63 |
</div>
|
64 |
<span class="sfsicls_rs_s">
|
65 |
-
|
66 |
-
</span>
|
67 |
<div class="sfsiplus_right_info">
|
68 |
<p>
|
69 |
<span>
|
70 |
-
<?php
|
71 |
-
</span>
|
72 |
-
|
73 |
-
<?php
|
74 |
-
|
75 |
-
<label class="expanded-area"
|
76 |
-
<?php
|
77 |
-
|
78 |
-
<?php
|
79 |
</a>.
|
80 |
</label>
|
81 |
</p>
|
82 |
-
<a href="javascript:;" class="expand-area"
|
83 |
</div>
|
84 |
</li>
|
85 |
<!-- END RSS ICON -->
|
86 |
-
|
87 |
<!-- EMAIL ICON -->
|
88 |
<li class="gary_bg">
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
91 |
</div>
|
92 |
-
|
93 |
-
Email
|
94 |
-
</span>
|
95 |
<div class="sfsiplus_right_info">
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
116 |
</div>
|
117 |
</li>
|
118 |
<!-- EMAIL ICON -->
|
119 |
-
|
120 |
<!-- FACEBOOK ICON -->
|
121 |
<li class="gary_bg">
|
122 |
-
|
123 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
</div>
|
125 |
-
|
126 |
-
Facebook
|
127 |
-
</span>
|
128 |
<div class="sfsiplus_right_info">
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
<label class="expanded-area"
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
</div>
|
139 |
</li>
|
140 |
<!-- END FACEBOOK ICON -->
|
141 |
-
|
142 |
<!-- TWITTER ICON -->
|
143 |
<li class="gary_bg">
|
144 |
-
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
</div>
|
147 |
-
<span class="sfsicls_twt">
|
148 |
-
Twitter
|
149 |
-
</span>
|
150 |
<div class="sfsiplus_right_info">
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
<label class="expanded-area"
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
<a href="javascript:;" class="expand-area"
|
161 |
</div>
|
162 |
</li>
|
163 |
<!-- END TWITTER ICON -->
|
164 |
|
165 |
-
|
166 |
<!-- YOUTUBE ICON -->
|
167 |
-
<li>
|
168 |
-
<div
|
169 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
</div>
|
171 |
-
<span class="sfsicls_utube">
|
172 |
-
Youtube
|
173 |
-
</span>
|
174 |
<div class="sfsiplus_right_info">
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
</div>
|
180 |
-
|
181 |
<!-- END YOUTUBE ICON -->
|
182 |
-
|
183 |
<!-- LINKEDIN ICON -->
|
184 |
-
<li>
|
185 |
-
<div
|
186 |
-
|
|
|
|
|
|
|
|
|
|
|
187 |
</div>
|
188 |
-
<span class="sfsicls_linkdin">
|
189 |
-
LinkedIn
|
190 |
-
</span>
|
191 |
<div class="sfsiplus_right_info">
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
</div>
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
<div class="radio_section tb_4_ck">
|
203 |
-
<input name="sfsi_plus_pinterest_display" <?php echo ($option1['sfsi_plus_pinterest_display']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_pinterest_display" type="checkbox" value="yes" class="styled" />
|
204 |
</div>
|
205 |
-
|
206 |
-
Pinterest
|
207 |
-
</span>
|
208 |
-
<div class="sfsiplus_right_info">
|
209 |
-
<p>
|
210 |
-
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
211 |
-
<?php _e('Show this icon if you have a Pinterest account (and you should set up one if you publish new pictures regularly – that can increase your traffic significantly).', SFSI_PLUS_DOMAIN); ?>
|
212 |
-
</p>
|
213 |
-
</div>
|
214 |
-
</li>
|
215 |
<!-- END PINTEREST ICON -->
|
216 |
-
|
217 |
<!-- INSTAGRAM ICON -->
|
218 |
-
<li>
|
219 |
-
<div
|
220 |
-
|
221 |
-
|
222 |
-
|
|
|
|
|
223 |
<div class="sfsiplus_right_info">
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
</div>
|
229 |
</li>
|
230 |
<!-- END INSTAGRAM ICON -->
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
<div
|
236 |
-
|
|
|
|
|
|
|
|
|
|
|
237 |
</div>
|
238 |
-
<span class="sfsicls_houzz">
|
239 |
-
Houzz
|
240 |
-
</span>
|
241 |
<div class="sfsiplus_right_info">
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
</a>
|
250 |
-
|
251 |
</div>
|
252 |
-
|
253 |
|
254 |
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
<div
|
262 |
-
|
|
|
|
|
|
|
263 |
</div>
|
264 |
-
<span class="sfsicls_ok">OK</span>
|
265 |
<div class="sfsiplus_right_info">
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
</div>
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
<div
|
277 |
-
|
|
|
|
|
|
|
278 |
</div>
|
279 |
-
|
280 |
-
<span class="sfsicls_telegram">Telegram</span>
|
281 |
<div class="sfsiplus_right_info">
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
</div>
|
287 |
-
|
288 |
-
|
289 |
|
290 |
-
|
291 |
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
<span><?php _e( 'It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
301 |
-
<?php _e('Show this icon if you have a VK account.', SFSI_PLUS_DOMAIN); ?>
|
302 |
-
</p>
|
303 |
-
</div>
|
304 |
-
</li>
|
305 |
-
<!-- END VK ICON -->
|
306 |
-
|
307 |
-
<!-- WeChat ICON -->
|
308 |
-
<li>
|
309 |
-
<div class="radio_section tb_4_ck">
|
310 |
-
<input name="sfsi_plus_wechat_display" <?php echo (isset($option1['sfsi_plus_wechat_display']) && $option1['sfsi_plus_wechat_display']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_wechat_display" type="checkbox" value="yes" class="styled" />
|
311 |
</div>
|
312 |
-
<span class="sfsicls_wechat">WeChat</span>
|
313 |
<div class="sfsiplus_right_info">
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
</div>
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
<div
|
325 |
-
|
|
|
|
|
|
|
326 |
</div>
|
327 |
-
<span class="sfsicls_weibo">Weibo</span>
|
328 |
<div class="sfsiplus_right_info">
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
</div>
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
<!--
|
338 |
-
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
<!-- Custom icon section start here -->
|
343 |
-
<?php
|
344 |
-
$icons= (isset($option1['sfsi_custom_files'])) ? unserialize($option1['sfsi_custom_files']) : array() ;
|
345 |
-
if(!is_array($icons)){
|
346 |
-
$icons=array();
|
347 |
-
}
|
348 |
-
$total_icons=count($icons);
|
349 |
-
end($icons);
|
350 |
-
$endkey=key($icons);
|
351 |
-
$endkey = (isset($endkey)) ? $endkey :0;
|
352 |
-
reset($icons);
|
353 |
-
$first_key = key($icons);
|
354 |
-
$first_key = (isset($first_key)) ? $first_key :0;
|
355 |
-
$new_element=0;
|
356 |
-
|
357 |
-
if($total_icons>0)
|
358 |
-
{
|
359 |
-
$new_element=$endkey+1;
|
360 |
-
}
|
361 |
-
?>
|
362 |
-
<!-- Display all custom icons -->
|
363 |
-
<?php $count=1; for($i=$first_key; $i<=$endkey; $i++) : ?>
|
364 |
-
<?php if(!empty( $icons[$i])) : ?>
|
365 |
-
<li id="plus_c<?php echo $i; ?>" class="plus_custom">
|
366 |
<div class="radio_section tb_4_ck">
|
367 |
-
|
368 |
-
</div>
|
369 |
-
<input type="hidden" name="nonce" value="<?php echo wp_create_nonce('plus_deleteIcons'); ?>">
|
370 |
-
<span class="plus_custom-img">
|
371 |
-
<img class="plus_sfcm" src="<?php echo (!empty($icons[$i]))? esc_url($icons[$i]) : SFSI_PLUS_PLUGURL.'images/custom.png';?>" id="plus_CImg_<?php echo $i;?>"/>
|
372 |
-
</span>
|
373 |
-
<span class="custom sfsiplus_custom-txt">
|
374 |
-
<?php _e( 'Custom', SFSI_PLUS_DOMAIN); ?>
|
375 |
-
<?php echo $count;?>
|
376 |
-
</span>
|
377 |
-
<div class="sfsiplus_right_info">
|
378 |
-
<p>
|
379 |
-
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
380 |
-
<?php _e('Upload a custom icon if you have other accounts/websites you want to link to.', SFSI_PLUS_DOMAIN); ?>
|
381 |
-
</p>
|
382 |
</div>
|
383 |
-
|
384 |
-
<?php $count++; endif; endfor; ?>
|
385 |
-
|
386 |
-
<!-- Create a custom icon if total uploaded icons are less than 5 -->
|
387 |
-
<?php if($count <=5) : ?>
|
388 |
-
<li id="plus_c<?php echo $new_element; ?>" class="plus_custom bdr_btm_non">
|
389 |
-
<div class="radio_section tb_4_ck">
|
390 |
-
<input name="plussfsiICON_<?php echo $new_element;?>" type="checkbox" value="yes" class="styled" element-type="sfsiplus-cusotm-icon" ele-type='new'/>
|
391 |
</div>
|
392 |
-
|
393 |
-
<span class="plus_custom-img">
|
394 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL.'images/custom.png';?>" id="plus_CImg_<?php echo $new_element; ?>" />
|
395 |
-
</span>
|
396 |
-
|
397 |
-
<span class="custom sfsiplus_custom-txt">
|
398 |
-
<?php _e( 'Custom', SFSI_PLUS_DOMAIN); ?>
|
399 |
-
<?php echo $count; ?>
|
400 |
-
</span>
|
401 |
-
|
402 |
<div class="sfsiplus_right_info">
|
403 |
<p>
|
404 |
-
|
405 |
-
|
406 |
</p>
|
407 |
</div>
|
408 |
</li>
|
409 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
410 |
<!-- END Custom icon section here -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
</ul>
|
412 |
<ul>
|
413 |
<li class="sfsi_plus_premium_brdr_box">
|
414 |
<div class="sfsi_plus_prem_icons_added">
|
415 |
-
<div class="sf_si_plus_prmium_head"
|
|
|
|
|
416 |
<div class="sfsi_plus_premium_row">
|
417 |
-
<div class
|
418 |
<span>
|
419 |
-
<img src="<?php
|
420 |
</span>
|
421 |
-
<span class="sfsicls_plus_prem_text"><?php
|
422 |
</div>
|
423 |
-
|
424 |
-
<div class
|
425 |
<span>
|
426 |
-
<img src="<?php
|
427 |
</span>
|
428 |
-
<span class="sfsicls_plus_prem_text"><?php
|
429 |
</div>
|
430 |
-
|
431 |
-
<div class
|
432 |
<span>
|
433 |
-
<img src="<?php
|
434 |
</span>
|
435 |
-
<span class="sfsicls_plus_prem_text"><?php
|
436 |
</div>
|
437 |
-
<div class
|
438 |
<span>
|
439 |
-
<img src="<?php
|
440 |
</span>
|
441 |
-
<span class="sfsicls_plus_prem_text"><?php
|
442 |
</div>
|
443 |
-
|
444 |
<span>
|
445 |
-
<img src="<?php
|
446 |
</span>
|
447 |
-
<span class="sfsicls_plus_prem_text"><?php
|
448 |
</div>
|
449 |
</div>
|
450 |
<div class="sfsi_plus_premium_row">
|
451 |
-
<div class
|
452 |
<span>
|
453 |
-
<img src="<?php
|
454 |
</span>
|
455 |
-
<span class="sfsicls_plus_prem_text"><?php
|
456 |
</div>
|
457 |
-
|
458 |
-
<div class
|
459 |
<span>
|
460 |
-
<img src="<?php
|
461 |
</span>
|
462 |
-
<span class="sfsicls_plus_prem_text"><?php
|
463 |
</div>
|
464 |
-
<div class
|
465 |
<span>
|
466 |
-
<img src="<?php
|
467 |
</span>
|
468 |
-
<span class="sfsicls_plus_prem_text"><?php
|
469 |
</div>
|
470 |
-
|
471 |
-
<div class
|
472 |
<span>
|
473 |
-
<img src="<?php
|
474 |
</span>
|
475 |
-
<span class="sfsicls_plus_prem_text"><?php
|
476 |
</div>
|
477 |
-
|
478 |
-
<div class
|
479 |
<span>
|
480 |
-
<img src="<?php
|
481 |
</span>
|
482 |
-
<span class="sfsicls_plus_prem_text"><?php
|
483 |
</div>
|
484 |
</div>
|
485 |
-
<div class="sfsi_plus_premium_row">
|
486 |
-
<div class
|
487 |
<span>
|
488 |
-
<img src="<?php
|
489 |
</span>
|
490 |
-
<span class="sfsicls_plus_prem_text"><?php
|
491 |
</div>
|
492 |
-
|
493 |
-
<div class
|
494 |
<span>
|
495 |
-
<img src="<?php
|
496 |
</span>
|
497 |
-
<span class="sfsicls_plus_prem_text"><?php
|
498 |
</div>
|
499 |
-
<div class
|
500 |
<span>
|
501 |
-
<img src="<?php
|
502 |
</span>
|
503 |
-
<span class="sfsicls_plus_prem_text"><?php
|
504 |
</div>
|
505 |
-
<div class
|
506 |
<span>
|
507 |
-
<img src="<?php
|
508 |
</span>
|
509 |
-
<span class="sfsicls_plus_prem_text"><?php
|
510 |
</div>
|
511 |
-
|
512 |
-
<div class
|
513 |
<span>
|
514 |
-
<img src="<?php
|
515 |
</span>
|
516 |
-
<span class="sfsicls_plus_prem_text"><?php
|
517 |
</div>
|
518 |
</div>
|
519 |
-
<div class="sfsi_plus_premium_row">
|
520 |
-
<div class
|
521 |
<span>
|
522 |
-
<img src="<?php
|
523 |
</span>
|
524 |
-
<span class="sfsicls_plus_prem_text"><?php
|
525 |
</div>
|
526 |
-
|
527 |
-
<div class
|
528 |
<span>
|
529 |
-
<img src="<?php
|
530 |
</span>
|
531 |
-
<span class="sfsicls_plus_prem_text"><?php
|
532 |
</div>
|
533 |
-
<div class
|
534 |
<span>
|
535 |
-
<img src="<?php
|
536 |
</span>
|
537 |
-
<span class="sfsicls_plus_prem_text"><?php
|
538 |
</div>
|
539 |
-
<div class
|
540 |
<span>
|
541 |
-
<img src="<?php
|
542 |
</span>
|
543 |
-
<span class="sfsicls_plus_prem_text"><?php
|
544 |
</div>
|
545 |
</div>
|
546 |
<div class="sfsi_plus_need_another_one_link">
|
547 |
-
<!-- <p><?php
|
548 |
</div>
|
549 |
<div class="sfsi_plus_need_another_tell_us">
|
550 |
-
<a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank"><?php
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
<!-- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank"><?php
|
555 |
-
-->
|
|
|
556 |
</div>
|
557 |
</li>
|
558 |
</ul>
|
559 |
<input type="hidden" value="<?php echo SFSI_PLUS_PLUGURL ?>" id="plugin_url" />
|
560 |
-
|
561 |
-
|
562 |
<?php sfsi_plus_ask_for_help(1); ?>
|
563 |
|
564 |
<!-- SAVE BUTTON SECTION -->
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
</a>
|
571 |
-
|
572 |
<!-- END SAVE BUTTON SECTION -->
|
573 |
-
|
574 |
-
<a class="sfsiColbtn closeSec" href="javascript:;"
|
575 |
-
|
576 |
</a>
|
577 |
-
|
578 |
<!-- ERROR AND SUCCESS MESSAGE AREA-->
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
</div>
|
583 |
-
<!-- END Section 1 "Which icons do you want to show on your site? " main div-->
|
1 |
<?php
|
2 |
+
|
3 |
+
$option1 = unserialize(get_option('sfsi_plus_section1_options', false));
|
4 |
+
// var_dump($option1);
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Sanitize, escape and validate values
|
8 |
+
*/
|
9 |
+
$option1['sfsi_plus_rss_display'] = (isset($option1['sfsi_plus_rss_display']))
|
10 |
+
? sanitize_text_field($option1['sfsi_plus_rss_display'])
|
11 |
+
: '';
|
12 |
+
$option1['sfsi_plus_email_display'] = (isset($option1['sfsi_plus_email_display']))
|
13 |
+
? sanitize_text_field($option1['sfsi_plus_email_display'])
|
14 |
+
: '';
|
15 |
+
$option1['sfsi_plus_facebook_display'] = (isset($option1['sfsi_plus_facebook_display']))
|
16 |
+
? sanitize_text_field($option1['sfsi_plus_facebook_display'])
|
17 |
+
: '';
|
18 |
+
$option1['sfsi_plus_twitter_display'] = (isset($option1['sfsi_plus_twitter_display']))
|
19 |
+
? sanitize_text_field($option1['sfsi_plus_twitter_display'])
|
20 |
+
: '';
|
21 |
+
$option1['sfsi_plus_youtube_display'] = (isset($option1['sfsi_plus_youtube_display']))
|
22 |
+
? sanitize_text_field($option1['sfsi_plus_youtube_display'])
|
23 |
+
: '';
|
24 |
+
$option1['sfsi_plus_pinterest_display'] = (isset($option1['sfsi_plus_pinterest_display']))
|
25 |
+
? sanitize_text_field($option1['sfsi_plus_pinterest_display'])
|
26 |
+
: '';
|
27 |
+
$option1['sfsi_plus_linkedin_display'] = (isset($option1['sfsi_plus_linkedin_display']))
|
28 |
+
? sanitize_text_field($option1['sfsi_plus_linkedin_display'])
|
29 |
+
: '';
|
30 |
+
$option1['sfsi_plus_instagram_display'] = (isset($option1['sfsi_plus_instagram_display']))
|
31 |
+
? sanitize_text_field($option1['sfsi_plus_instagram_display'])
|
32 |
+
: '';
|
33 |
+
$option1['sfsi_plus_houzz_display'] = (isset($option1['sfsi_plus_houzz_display']))
|
34 |
+
? sanitize_text_field($option1['sfsi_plus_houzz_display'])
|
35 |
+
: '';
|
36 |
+
$option1['sfsi_plus_premium_icons_box'] = (isset($option1['sfsi_plus_premium_icons_box']))
|
37 |
+
? sanitize_text_field($option1['sfsi_plus_premium_icons_box'])
|
38 |
+
: 'yes';
|
39 |
+
// var_dump(get_option('sfsi_plus_custom_icons'));
|
40 |
//MZ CODE START
|
41 |
+
$option1['sfsi_plus_ok_display'] = (isset($option1['sfsi_plus_ok_display'])) ? sanitize_text_field($option1['sfsi_plus_ok_display']) : 'no';
|
42 |
+
$option1['sfsi_plus_telegram_display'] = (isset($option1['sfsi_plus_telegram_display']))
|
43 |
+
? sanitize_text_field($option1['sfsi_plus_telegram_display']) : 'no';
|
44 |
$option1['sfsi_plus_vk_display'] = (isset($option1['sfsi_plus_vk_display']))
|
45 |
+
? sanitize_text_field($option1['sfsi_plus_vk_display']) : 'no';
|
46 |
+
$option1['sfsi_plus_wechat_display'] = (isset($option1['sfsi_plus_wechat_display'])) ? sanitize_text_field($option1['sfsi_plus_wechat_display']) : 'no';
|
47 |
+
$option1['sfsi_plus_weibo_display'] = (isset($option1['sfsi_plus_weibo_display'])) ? sanitize_text_field($option1['sfsi_plus_weibo_display']) : 'no';
|
48 |
//MZ CODE ENd
|
49 |
|
50 |
?>
|
51 |
|
52 |
<!-- Section 1 "Which icons do you want to show on your site? " main div Start -->
|
53 |
+
<div class="tab1">
|
54 |
+
<p class="top_txt">
|
55 |
+
<?php
|
56 |
+
_e('In general, the more icons you offer the better because people have different preferences, and more options means that there’s something for everybody, increasing the chances that you get followed and/or shared.', SFSI_PLUS_DOMAIN);
|
57 |
+
?>
|
58 |
+
</p>
|
59 |
+
<ul class="plus_icn_listing">
|
60 |
<!-- RSS ICON -->
|
61 |
<li class="gary_bg">
|
62 |
+
<div class="radio_section tb_4_ck">
|
63 |
+
<input name="sfsi_plus_rss_display" <?php echo ($option1['sfsi_plus_rss_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_rss_display" type="checkbox" value="yes" class="styled" />
|
64 |
</div>
|
65 |
<span class="sfsicls_rs_s">
|
66 |
+
RSS
|
67 |
+
</span>
|
68 |
<div class="sfsiplus_right_info">
|
69 |
<p>
|
70 |
<span>
|
71 |
+
<?php _e('Strongly recommended:', SFSI_PLUS_DOMAIN); ?>
|
72 |
+
</span>
|
73 |
+
|
74 |
+
<?php _e('RSS is still popular, esp. among the tech-savvy crowd.', SFSI_PLUS_DOMAIN); ?>
|
75 |
+
|
76 |
+
<label class="expanded-area">
|
77 |
+
<?php _e('RSS stands for Really Simply Syndication and is an easy way for people to read your content. ', SFSI_PLUS_DOMAIN); ?>
|
78 |
+
<a href="http://en.wikipedia.org/wiki/RSS" target="_new" title="Syndication">
|
79 |
+
<?php _e('Learn more about RSS', SFSI_PLUS_DOMAIN); ?>
|
80 |
</a>.
|
81 |
</label>
|
82 |
</p>
|
83 |
+
<a href="javascript:;" class="expand-area"><?php _e('Read more', SFSI_PLUS_DOMAIN); ?></a>
|
84 |
</div>
|
85 |
</li>
|
86 |
<!-- END RSS ICON -->
|
87 |
+
|
88 |
<!-- EMAIL ICON -->
|
89 |
<li class="gary_bg">
|
90 |
+
<div>
|
91 |
+
<div class="radio_section tb_4_ck">
|
92 |
+
<input name="sfsi_plus_email_display" <?php echo ($option1['sfsi_plus_email_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_email_display" type="checkbox" value="yes" class="styled" />
|
93 |
+
</div>
|
94 |
+
<span class="sfsicls_email">
|
95 |
+
Email
|
96 |
+
</span>
|
97 |
</div>
|
98 |
+
|
|
|
|
|
99 |
<div class="sfsiplus_right_info">
|
100 |
+
<p>
|
101 |
+
<span>
|
102 |
+
<?php _e('Strongly recommended:', SFSI_PLUS_DOMAIN); ?>
|
103 |
+
</span>
|
104 |
+
|
105 |
+
<?php _e('Email is the most effective tool to build up a followership.', SFSI_PLUS_DOMAIN); ?>
|
106 |
+
|
107 |
+
<span style="float: right;margin-right: 13px; margin-top: -3px;">
|
108 |
+
<?php if (get_option('sfsi_plus_footer_sec') == "yes") {
|
109 |
+
$nonce = wp_create_nonce("remove_plusfooter"); ?> <a style="font-size:13px;margin-left:30px;color:#777777;" href="javascript:;" class="sfsiplus_removeFooter" data-nonce="<?php echo $nonce; ?>"><?php _e('Remove credit link', SFSI_PLUS_DOMAIN); ?></a>
|
110 |
+
<?php } ?>
|
111 |
+
</span>
|
112 |
+
<label class="expanded-area">
|
113 |
+
<?php _e('Everybody uses email – that’s why it’s much more effective than social media to make people follow you', SFSI_PLUS_DOMAIN); ?>
|
114 |
+
(<a href="http://www.entrepreneur.com/article/230949" target="_new">
|
115 |
+
<?php _e('learn more', SFSI_PLUS_DOMAIN); ?>
|
116 |
+
</a>)
|
117 |
+
<?php _e('Not offering an email subscription option means losing out on future traffic to your site.', SFSI_PLUS_DOMAIN); ?>
|
118 |
+
</label>
|
119 |
+
</p>
|
120 |
+
<a href="javascript:;" class="expand-area"><?php _e('Read more', SFSI_PLUS_DOMAIN); ?></a>
|
121 |
</div>
|
122 |
</li>
|
123 |
<!-- EMAIL ICON -->
|
124 |
+
|
125 |
<!-- FACEBOOK ICON -->
|
126 |
<li class="gary_bg">
|
127 |
+
<div>
|
128 |
+
|
129 |
+
<div class="radio_section tb_4_ck">
|
130 |
+
<input name="sfsi_plus_facebook_display" <?php echo ($option1['sfsi_plus_facebook_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_facebook_display" type="checkbox" value="yes" class="styled" />
|
131 |
+
</div>
|
132 |
+
<span class="sfsicls_facebook">
|
133 |
+
Facebook
|
134 |
+
</span>
|
135 |
</div>
|
136 |
+
|
|
|
|
|
137 |
<div class="sfsiplus_right_info">
|
138 |
+
<p>
|
139 |
+
<span><?php _e('Strongly recommended:', SFSI_PLUS_DOMAIN); ?></span>
|
140 |
+
<?php _e('Facebook is crucial, esp. for sharing.', SFSI_PLUS_DOMAIN); ?>
|
141 |
+
|
142 |
+
<label class="expanded-area">
|
143 |
+
<?php _e('Facebook is the giant in the social media world, and even if you don’t have a Facebook account yourself you should display this icon, so that Facebook users can share your site on Facebook.', SFSI_PLUS_DOMAIN); ?>
|
144 |
+
</label>
|
145 |
+
</p>
|
146 |
+
<a href="javascript:;" class="expand-area"><?php _e('Read more', SFSI_PLUS_DOMAIN); ?></a>
|
147 |
</div>
|
148 |
</li>
|
149 |
<!-- END FACEBOOK ICON -->
|
150 |
+
|
151 |
<!-- TWITTER ICON -->
|
152 |
<li class="gary_bg">
|
153 |
+
<div>
|
154 |
+
|
155 |
+
<div class="radio_section tb_4_ck">
|
156 |
+
<input name="sfsi_plus_twitter_display" <?php echo ($option1['sfsi_plus_twitter_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_twitter_display" type="checkbox" value="yes" class="styled" />
|
157 |
+
</div>
|
158 |
+
<span class="sfsicls_twt">
|
159 |
+
Twitter
|
160 |
+
</span>
|
161 |
</div>
|
|
|
|
|
|
|
162 |
<div class="sfsiplus_right_info">
|
163 |
+
<p>
|
164 |
+
<span><?php _e('Strongly recommended:', SFSI_PLUS_DOMAIN); ?></span>
|
165 |
+
<?php _e('Can have a strong promotional effect.', SFSI_PLUS_DOMAIN); ?>
|
166 |
+
|
167 |
+
<label class="expanded-area">
|
168 |
+
<?php _e('If you have a Twitter-account then adding this icon is a no-brainer. However, similar as with facebook, even if you don’t have one you should still show this icon so that Twitter-users can share your site.', SFSI_PLUS_DOMAIN); ?>
|
169 |
+
</label>
|
170 |
+
</p>
|
171 |
+
|
172 |
+
<a href="javascript:;" class="expand-area"><?php _e('Read more', SFSI_PLUS_DOMAIN); ?></a>
|
173 |
</div>
|
174 |
</li>
|
175 |
<!-- END TWITTER ICON -->
|
176 |
|
177 |
+
|
178 |
<!-- YOUTUBE ICON -->
|
179 |
+
<li class="vertical-align">
|
180 |
+
<div>
|
181 |
+
|
182 |
+
<div class="radio_section tb_4_ck">
|
183 |
+
<input name="sfsi_plus_youtube_display" <?php echo ($option1['sfsi_plus_youtube_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_youtube_display" type="checkbox" value="yes" class="styled" />
|
184 |
+
</div>
|
185 |
+
<span class="sfsicls_utube">
|
186 |
+
Youtube
|
187 |
+
</span>
|
188 |
</div>
|
|
|
|
|
|
|
189 |
<div class="sfsiplus_right_info">
|
190 |
+
<p>
|
191 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
192 |
+
<?php _e('Show this icon if you have a youtube account (and you should set up one if you have video content – that can increase your traffic significantly).', SFSI_PLUS_DOMAIN); ?>
|
193 |
+
</p>
|
194 |
</div>
|
195 |
+
</li>
|
196 |
<!-- END YOUTUBE ICON -->
|
197 |
+
|
198 |
<!-- LINKEDIN ICON -->
|
199 |
+
<li class="vertical-align">
|
200 |
+
<div>
|
201 |
+
<div class="radio_section tb_4_ck">
|
202 |
+
<input name="sfsi_plus_linkedin_display" <?php echo ($option1['sfsi_plus_linkedin_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_linkedin_display" type="checkbox" value="yes" class="styled" />
|
203 |
+
</div>
|
204 |
+
<span class="sfsicls_linkdin">
|
205 |
+
LinkedIn
|
206 |
+
</span>
|
207 |
</div>
|
|
|
|
|
|
|
208 |
<div class="sfsiplus_right_info">
|
209 |
+
<p>
|
210 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
211 |
+
<?php _e('No.1 network for business purposes. Use this icon if you’re a LinkedInner.', SFSI_PLUS_DOMAIN); ?>
|
212 |
+
</p>
|
213 |
+
</div>
|
214 |
+
</li>
|
215 |
+
<!-- END LINKEDIN ICON -->
|
216 |
+
|
217 |
+
<!-- PINTEREST ICON -->
|
218 |
+
<li class="vertical-align">
|
219 |
+
<div>
|
220 |
+
<div class="radio_section tb_4_ck">
|
221 |
+
<input name="sfsi_plus_pinterest_display" <?php echo ($option1['sfsi_plus_pinterest_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_pinterest_display" type="checkbox" value="yes" class="styled" />
|
222 |
+
</div>
|
223 |
+
<span class="sfsicls_pinterest">
|
224 |
+
Pinterest
|
225 |
+
</span>
|
226 |
</div>
|
227 |
+
<div class="sfsiplus_right_info">
|
228 |
+
<p>
|
229 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
230 |
+
<?php _e('Show this icon if you have a Pinterest account (and you should set up one if you publish new pictures regularly – that can increase your traffic significantly).', SFSI_PLUS_DOMAIN); ?>
|
231 |
+
</p>
|
|
|
|
|
232 |
</div>
|
233 |
+
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
<!-- END PINTEREST ICON -->
|
235 |
+
|
236 |
<!-- INSTAGRAM ICON -->
|
237 |
+
<li class="vertical-align">
|
238 |
+
<div>
|
239 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_instagram_display" <?php echo ($option1['sfsi_plus_instagram_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_instagram_display" type="checkbox" value="yes" class="styled" /></div>
|
240 |
+
<span class="sfsicls_instagram">
|
241 |
+
Instagram
|
242 |
+
</span>
|
243 |
+
</div>
|
244 |
<div class="sfsiplus_right_info">
|
245 |
+
<p>
|
246 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
247 |
+
<?php _e('Show this icon if you have a Instagram account.', SFSI_PLUS_DOMAIN); ?>
|
248 |
+
</p>
|
249 |
</div>
|
250 |
</li>
|
251 |
<!-- END INSTAGRAM ICON -->
|
252 |
+
|
253 |
+
|
254 |
+
<!-- Houzz ICON -->
|
255 |
+
<li class="vertical-align">
|
256 |
+
<div>
|
257 |
+
<div class="radio_section tb_4_ck">
|
258 |
+
<input name="sfsi_plus_houzz_display" <?php echo (isset($option1['sfsi_plus_houzz_display']) && $option1['sfsi_plus_houzz_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_houzz_display" type="checkbox" value="yes" class="styled" />
|
259 |
+
</div>
|
260 |
+
<span class="sfsicls_houzz">
|
261 |
+
Houzz
|
262 |
+
</span>
|
263 |
</div>
|
|
|
|
|
|
|
264 |
<div class="sfsiplus_right_info">
|
265 |
+
<p>
|
266 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
267 |
+
<?php _e('Show this icon if you have a Houzz account.', SFSI_PLUS_DOMAIN); ?>
|
268 |
+
|
269 |
+
<?php _e('Houzz is the No.1 site & community in the world of architecture and interior design.', SFSI_PLUS_DOMAIN); ?>
|
270 |
+
<a href="http://www.houzz.com/" target="_blank">
|
271 |
+
<?php _e('Visit Houzz', SFSI_PLUS_DOMAIN); ?>
|
272 |
</a>
|
273 |
+
</p>
|
274 |
</div>
|
275 |
+
</li>
|
276 |
|
277 |
|
278 |
+
<!-- END Houzz ICON -->
|
279 |
+
|
280 |
+
<!--MZ CODE-->
|
281 |
+
|
282 |
+
<!-- OK ICON -->
|
283 |
+
<li class="vertical-align">
|
284 |
+
<div>
|
285 |
+
<div class="radio_section tb_4_ck">
|
286 |
+
<input name="sfsi_plus_ok_display" <?php echo (isset($option1['sfsi_plus_ok_display']) && $option1['sfsi_plus_ok_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_ok_display" type="checkbox" value="yes" class="styled" />
|
287 |
+
</div>
|
288 |
+
<span class="sfsicls_ok">OK</span>
|
289 |
</div>
|
|
|
290 |
<div class="sfsiplus_right_info">
|
291 |
+
<p>
|
292 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
293 |
+
<?php _e('Show this icon if you have a OK account.', SFSI_PLUS_DOMAIN); ?>
|
294 |
+
</p>
|
295 |
</div>
|
296 |
+
</li>
|
297 |
+
<!-- END OK ICON -->
|
298 |
+
|
299 |
+
<!-- Telegram ICON -->
|
300 |
+
<li class="vertical-align">
|
301 |
+
<div>
|
302 |
+
<div class="radio_section tb_4_ck">
|
303 |
+
<input name="sfsi_plus_telegram_display" <?php echo (isset($option1['sfsi_plus_telegram_display']) && $option1['sfsi_plus_telegram_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_telegram_display" type="checkbox" value="yes" class="styled" />
|
304 |
+
</div>
|
305 |
+
<span class="sfsicls_telegram">Telegram</span>
|
306 |
</div>
|
|
|
|
|
307 |
<div class="sfsiplus_right_info">
|
308 |
+
<p>
|
309 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
310 |
+
<?php _e('Show this icon if you have a Telegram account.', SFSI_PLUS_DOMAIN); ?>
|
311 |
+
</p>
|
312 |
</div>
|
313 |
+
</li>
|
314 |
+
<!-- END Telegram ICON -->
|
315 |
|
|
|
316 |
|
317 |
+
|
318 |
+
<!-- VK ICON -->
|
319 |
+
<li class="vertical-align">
|
320 |
+
<div>
|
321 |
+
<div class="radio_section tb_4_ck">
|
322 |
+
<input name="sfsi_plus_vk_display" <?php echo (isset($option1['sfsi_plus_vk_display']) && $option1['sfsi_plus_vk_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_vk_display" type="checkbox" value="yes" class="styled" />
|
323 |
+
</div>
|
324 |
+
<span class="sfsicls_vk">VK</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
</div>
|
|
|
326 |
<div class="sfsiplus_right_info">
|
327 |
+
<p>
|
328 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
329 |
+
<?php _e('Show this icon if you have a VK account.', SFSI_PLUS_DOMAIN); ?>
|
330 |
+
</p>
|
331 |
</div>
|
332 |
+
</li>
|
333 |
+
<!-- END VK ICON -->
|
334 |
+
|
335 |
+
<!-- WeChat ICON -->
|
336 |
+
<li class="vertical-align">
|
337 |
+
<div>
|
338 |
+
<div class="radio_section tb_4_ck">
|
339 |
+
<input name="sfsi_plus_wechat_display" <?php echo (isset($option1['sfsi_plus_wechat_display']) && $option1['sfsi_plus_wechat_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_wechat_display" type="checkbox" value="yes" class="styled" />
|
340 |
+
</div>
|
341 |
+
<span class="sfsicls_wechat">WeChat</span>
|
342 |
</div>
|
|
|
343 |
<div class="sfsiplus_right_info">
|
344 |
+
<p>
|
345 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
346 |
+
<?php _e('Show this icon if you have a WeChat account.', SFSI_PLUS_DOMAIN); ?>
|
347 |
+
</p>
|
348 |
</div>
|
349 |
+
</li>
|
350 |
+
<!-- END WeChat ICON -->
|
351 |
+
|
352 |
+
<!-- Weibo ICON -->
|
353 |
+
<li class="vertical-align">
|
354 |
+
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
<div class="radio_section tb_4_ck">
|
356 |
+
<input name="sfsi_plus_weibo_display" <?php echo (isset($option1['sfsi_plus_weibo_display']) && $option1['sfsi_plus_weibo_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_weibo_display" type="checkbox" value="yes" class="styled" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
</div>
|
358 |
+
<span class="sfsicls_weibo">Weibo</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
</div>
|
360 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
<div class="sfsiplus_right_info">
|
362 |
<p>
|
363 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
364 |
+
<?php _e('Show this icon if you have a Weibo account.', SFSI_PLUS_DOMAIN); ?>
|
365 |
</p>
|
366 |
</div>
|
367 |
</li>
|
368 |
+
<!-- END Weibo ICON -->
|
369 |
+
|
370 |
+
<!--MZ CODE END-->
|
371 |
+
|
372 |
+
<!-- Custom icon section start here -->
|
373 |
+
|
374 |
+
<?php
|
375 |
+
if (get_option('sfsi_plus_custom_icons') == 'no') {
|
376 |
+
$icons = (isset($option1['sfsi_custom_files'])) ? unserialize($option1['sfsi_custom_files']) : array();
|
377 |
+
if (!is_array($icons)) {
|
378 |
+
$icons = array();
|
379 |
+
}
|
380 |
+
$total_icons = count($icons);
|
381 |
+
end($icons);
|
382 |
+
$endkey = key($icons);
|
383 |
+
$endkey = (isset($endkey)) ? $endkey : 0;
|
384 |
+
reset($icons);
|
385 |
+
$first_key = key($icons);
|
386 |
+
$first_key = (isset($first_key)) ? $first_key : 0;
|
387 |
+
$new_element = 0;
|
388 |
+
|
389 |
+
if ($total_icons > 0) {
|
390 |
+
$new_element = $endkey + 1;
|
391 |
+
}
|
392 |
+
}
|
393 |
+
|
394 |
+
?>
|
395 |
+
<!-- Display all custom icons -->
|
396 |
+
<?php if (get_option('sfsi_plus_custom_icons') == 'no') { ?>
|
397 |
+
<?php $count = 1;
|
398 |
+
for ($i = $first_key; $i <= $endkey; $i++) : ?>
|
399 |
+
<?php if (!empty($icons[$i])) : ?>
|
400 |
+
|
401 |
+
<?php $count++;
|
402 |
+
endif;
|
403 |
+
endfor; ?>
|
404 |
+
|
405 |
+
<!-- Create a custom icon if total uploaded icons are less than 5 -->
|
406 |
+
<?php if ($count <= 5) : ?>
|
407 |
+
<li id="plus_c<?php echo $new_element; ?>" class="plus_custom bdr_btm_non">
|
408 |
+
<a class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" target="_blank">
|
409 |
+
|
410 |
+
<div class="radio_section tb_4_ck" style="opacity:0.5">
|
411 |
+
<input type="checkbox" onclick="return false; value=" yes" class="styled" disabled="true" />
|
412 |
+
</div>
|
413 |
+
|
414 |
+
<span class="plus_custom-img" style="opacity:0.5">
|
415 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/custom.png'; ?>" id="plus_CImg_<?php echo $new_element; ?>" />
|
416 |
+
</span>
|
417 |
+
|
418 |
+
<span class="custom sfsiplus_custom-txt" style="font-weight:normal;opacity:0.5;margin-left:2px">
|
419 |
+
<?php _e('Custom icon', SFSI_PLUS_DOMAIN); ?>
|
420 |
+
</span>
|
421 |
+
</a>
|
422 |
+
|
423 |
+
<div class="sfsiplus_right_info ">
|
424 |
+
<p>
|
425 |
+
<a style="color: #12a252 !important;font-weight: bold; border-bottom:none;text-decoration: none;">
|
426 |
+
<?php _e('Premium Feature:', SFSI_PLUS_DOMAIN); ?>
|
427 |
+
</a>
|
428 |
+
<?php _e('Upload a custom icon if you have other accounts/websites you want to link to.', SFSI_PLUS_DOMAIN); ?>
|
429 |
+
<a class="pop-up" style="cursor:pointer; color: #12a252 !important;border-bottom: 1px solid #12a252;text-decoration: none;" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" target="_blank">
|
430 |
+
<?php _e('Get it now.', SFSI_PLUS_DOMAIN); ?>
|
431 |
+
</a>
|
432 |
+
</p>
|
433 |
+
</div>
|
434 |
+
</li>
|
435 |
+
<?php endif; ?>
|
436 |
+
<?php } ?>
|
437 |
<!-- END Custom icon section here -->
|
438 |
+
<?php if (get_option('sfsi_plus_custom_icons') == 'yes') { ?>
|
439 |
+
<!-- Custom icon section start here -->
|
440 |
+
<?php
|
441 |
+
$icons = (isset($option1['sfsi_custom_files'])) ? unserialize($option1['sfsi_custom_files']) : array();
|
442 |
+
if (!is_array($icons)) {
|
443 |
+
$icons = array();
|
444 |
+
}
|
445 |
+
$total_icons = count($icons);
|
446 |
+
end($icons);
|
447 |
+
$endkey = key($icons);
|
448 |
+
$endkey = (isset($endkey)) ? $endkey : 0;
|
449 |
+
reset($icons);
|
450 |
+
$first_key = key($icons);
|
451 |
+
$first_key = (isset($first_key)) ? $first_key : 0;
|
452 |
+
$new_element = 0;
|
453 |
+
|
454 |
+
if ($total_icons > 0) {
|
455 |
+
$new_element = $endkey + 1;
|
456 |
+
}
|
457 |
+
?>
|
458 |
+
<!-- Display all custom icons -->
|
459 |
+
<?php $count = 1;
|
460 |
+
for ($i = $first_key; $i <= $endkey; $i++) : ?>
|
461 |
+
<?php if (!empty($icons[$i])) : ?>
|
462 |
+
<li id="plus_c<?php echo $i; ?>" class="plus_custom">
|
463 |
+
<div class="radio_section tb_4_ck">
|
464 |
+
<input name="plussfsiICON_<?php echo $i; ?>" checked="true" type="checkbox" value="yes" class="styled" element-type="sfsiplus-cusotm-icon" />
|
465 |
+
</div>
|
466 |
+
<input type="hidden" name="nonce" value="<?php echo wp_create_nonce('plus_deleteIcons'); ?>">
|
467 |
+
<span class="plus_custom-img">
|
468 |
+
<img class="plus_sfcm" src="<?php echo (!empty($icons[$i])) ? esc_url($icons[$i]) : SFSI_PLUS_PLUGURL . 'images/custom.png'; ?>" id="plus_CImg_<?php echo $i; ?>" />
|
469 |
+
</span>
|
470 |
+
<span class="custom sfsiplus_custom-txt">
|
471 |
+
<?php _e('Custom', SFSI_PLUS_DOMAIN); ?>
|
472 |
+
<?php echo $count; ?>
|
473 |
+
</span>
|
474 |
+
<div class="sfsiplus_right_info">
|
475 |
+
<p>
|
476 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
477 |
+
<?php _e('Upload a custom icon if you have other accounts/websites you want to link to.', SFSI_PLUS_DOMAIN); ?>
|
478 |
+
</p>
|
479 |
+
</div>
|
480 |
+
</li>
|
481 |
+
<?php $count++;
|
482 |
+
endif;
|
483 |
+
endfor; ?>
|
484 |
+
|
485 |
+
<!-- Create a custom icon if total uploaded icons are less than 5 -->
|
486 |
+
<?php if ($count <= 5) : ?>
|
487 |
+
<li id="plus_c<?php echo $new_element; ?>" class="plus_custom bdr_btm_non vertical-align">
|
488 |
+
<div>
|
489 |
+
<div class="radio_section tb_4_ck">
|
490 |
+
<input name="plussfsiICON_<?php echo $new_element; ?>" type="checkbox" value="yes" class="styled" element-type="sfsiplus-cusotm-icon" ele-type='new' />
|
491 |
+
</div>
|
492 |
+
|
493 |
+
<span class="plus_custom-img">
|
494 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/custom.png'; ?>" id="plus_CImg_<?php echo $new_element; ?>" />
|
495 |
+
</span>
|
496 |
+
|
497 |
+
<span class="custom sfsiplus_custom-txt">
|
498 |
+
<?php _e('Custom', SFSI_PLUS_DOMAIN); ?>
|
499 |
+
<?php echo $count; ?>
|
500 |
+
</span>
|
501 |
+
</div>
|
502 |
+
|
503 |
+
<div class="sfsiplus_right_info">
|
504 |
+
<p>
|
505 |
+
<span><?php _e('It depends:', SFSI_PLUS_DOMAIN); ?></span>
|
506 |
+
<?php _e('Upload a custom icon if you have other accounts/websites you want to link to.', SFSI_PLUS_DOMAIN); ?>
|
507 |
+
</p>
|
508 |
+
</div>
|
509 |
+
</li>
|
510 |
+
<?php endif; ?>
|
511 |
+
<!-- END Custom icon section here -->
|
512 |
+
<?php } ?>
|
513 |
+
|
514 |
+
|
515 |
</ul>
|
516 |
<ul>
|
517 |
<li class="sfsi_plus_premium_brdr_box">
|
518 |
<div class="sfsi_plus_prem_icons_added">
|
519 |
+
<div class="sf_si_plus_prmium_head">
|
520 |
+
<h2><?php _e('New: ', SFSI_PLUS_DOMAIN); ?><span> <?php _e('In our Premium Plugin we added icons for:', SFSI_PLUS_DOMAIN); ?></span></h2>
|
521 |
+
</div>
|
522 |
<div class="sfsi_plus_premium_row">
|
523 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
524 |
<span>
|
525 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/snapchat.png'; ?>" id="CImg" />
|
526 |
</span>
|
527 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Snapchat', SFSI_PLUS_DOMAIN); ?></span>
|
528 |
</div>
|
529 |
+
|
530 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
531 |
<span>
|
532 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/whatsapp.png'; ?>" id="CImg" />
|
533 |
</span>
|
534 |
+
<span class="sfsicls_plus_prem_text"><?php _e('WhatsApp or Phone', SFSI_PLUS_DOMAIN); ?></span>
|
535 |
</div>
|
536 |
+
|
537 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
538 |
<span>
|
539 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/yummly.png'; ?>" id="CImg" />
|
540 |
</span>
|
541 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Yummly', SFSI_PLUS_DOMAIN); ?></span>
|
542 |
</div>
|
543 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
544 |
<span>
|
545 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/yelp.png'; ?>" id="CImg" />
|
546 |
</span>
|
547 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Yelp', SFSI_PLUS_DOMAIN); ?></span>
|
548 |
</div>
|
549 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
550 |
<span>
|
551 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/print.png'; ?>" id="CImg" />
|
552 |
</span>
|
553 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Print', SFSI_PLUS_DOMAIN); ?></span>
|
554 |
</div>
|
555 |
</div>
|
556 |
<div class="sfsi_plus_premium_row">
|
557 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
558 |
<span>
|
559 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/soundcloud.png'; ?>" id="CImg" />
|
560 |
</span>
|
561 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Soundcloud', SFSI_PLUS_DOMAIN); ?></span>
|
562 |
</div>
|
563 |
+
|
564 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
565 |
<span>
|
566 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/skype.png'; ?>" id="CImg" />
|
567 |
</span>
|
568 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Skype', SFSI_PLUS_DOMAIN); ?></span>
|
569 |
</div>
|
570 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
571 |
<span>
|
572 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/flickr.png'; ?>" id="CImg" />
|
573 |
</span>
|
574 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Flickr', SFSI_PLUS_DOMAIN); ?></span>
|
575 |
</div>
|
576 |
+
|
577 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
578 |
<span>
|
579 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/angieslist.png'; ?>" id="CImg" />
|
580 |
</span>
|
581 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Angie’s List', SFSI_PLUS_DOMAIN); ?></span>
|
582 |
</div>
|
583 |
+
|
584 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
585 |
<span>
|
586 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/reddit.png'; ?>" id="CImg" />
|
587 |
</span>
|
588 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Reddit', SFSI_PLUS_DOMAIN); ?></span>
|
589 |
</div>
|
590 |
</div>
|
591 |
+
<div class="sfsi_plus_premium_row">
|
592 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
593 |
<span>
|
594 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/vimeo.png'; ?>" id="CImg" />
|
595 |
</span>
|
596 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Vimeo', SFSI_PLUS_DOMAIN); ?></span>
|
597 |
</div>
|
598 |
+
|
599 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
600 |
<span>
|
601 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/tumblr.png'; ?>" id="CImg" />
|
602 |
</span>
|
603 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Tumblr', SFSI_PLUS_DOMAIN); ?></span>
|
604 |
</div>
|
605 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
606 |
<span>
|
607 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/buffer.png'; ?>" id="CImg" />
|
608 |
</span>
|
609 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Buffer', SFSI_PLUS_DOMAIN); ?></span>
|
610 |
</div>
|
611 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
612 |
<span>
|
613 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/blogger.png'; ?>" id="CImg" />
|
614 |
</span>
|
615 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Blogger', SFSI_PLUS_DOMAIN); ?></span>
|
616 |
</div>
|
617 |
+
|
618 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
619 |
<span>
|
620 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/steam.png'; ?>" id="CImg" />
|
621 |
</span>
|
622 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Steam', SFSI_PLUS_DOMAIN); ?></span>
|
623 |
</div>
|
624 |
</div>
|
625 |
+
<div class="sfsi_plus_premium_row">
|
626 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
627 |
<span>
|
628 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/xing.png'; ?>" id="CImg" />
|
629 |
</span>
|
630 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Xing', SFSI_PLUS_DOMAIN); ?></span>
|
631 |
</div>
|
632 |
+
|
633 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
634 |
<span>
|
635 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/amazon.png'; ?>" id="CImg" />
|
636 |
</span>
|
637 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Amazon', SFSI_PLUS_DOMAIN); ?></span>
|
638 |
</div>
|
639 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
640 |
<span>
|
641 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/twitch.png'; ?>" id="CImg" />
|
642 |
</span>
|
643 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Twitch', SFSI_PLUS_DOMAIN); ?></span>
|
644 |
</div>
|
645 |
+
<div class="sfsi_plus_prem_cmn_rowlisting">
|
646 |
<span>
|
647 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL . 'images/messenger.png'; ?>" id="CImg" />
|
648 |
</span>
|
649 |
+
<span class="sfsicls_plus_prem_text"><?php _e('Messenger', SFSI_PLUS_DOMAIN); ?></span>
|
650 |
</div>
|
651 |
</div>
|
652 |
<div class="sfsi_plus_need_another_one_link">
|
653 |
+
<!-- <p><?php _e('Need another one?', SFSI_PLUS_DOMAIN); ?><a href="mailto:biz@ultimatelysocial.com" target="_blank"> <?php _e('Tell us', SFSI_PLUS_DOMAIN); ?></a></p> -->
|
654 |
</div>
|
655 |
<div class="sfsi_plus_need_another_tell_us">
|
656 |
+
<a href="https://www.ultimatelysocial.com/all-platforms/" target="_blank"><?php _e('...and many more!', SFSI_PLUS_DOMAIN); ?></a>
|
657 |
+
<a class="pop-up" style="cursor:pointer" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" target="_blank">
|
658 |
+
<?php _e(' Go premium now', SFSI_PLUS_DOMAIN); ?>
|
659 |
+
</a>
|
660 |
+
<!-- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_platforms&utm_medium=banner" target="_blank"><?php _e('See all features Premium Plugin', SFSI_PLUS_DOMAIN); ?></a>
|
661 |
+
-->
|
662 |
+
</div>
|
663 |
</div>
|
664 |
</li>
|
665 |
</ul>
|
666 |
<input type="hidden" value="<?php echo SFSI_PLUS_PLUGURL ?>" id="plugin_url" />
|
667 |
+
<input type="hidden" value="" id="upload_id" />
|
668 |
+
|
669 |
<?php sfsi_plus_ask_for_help(1); ?>
|
670 |
|
671 |
<!-- SAVE BUTTON SECTION -->
|
672 |
+
<div class="save_button tab_1_sav">
|
673 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
|
674 |
+
<?php $nonce = wp_create_nonce("update_plus_step1"); ?>
|
675 |
+
<a href="javascript:;" id="sfsi_plus_save1" title="Save" data-nonce="<?php echo $nonce; ?>">
|
676 |
+
<?php _e('Save', SFSI_PLUS_DOMAIN); ?>
|
677 |
</a>
|
678 |
+
</div>
|
679 |
<!-- END SAVE BUTTON SECTION -->
|
680 |
+
|
681 |
+
<a class="sfsiColbtn closeSec" href="javascript:;">
|
682 |
+
<?php _e('Collapse area', SFSI_PLUS_DOMAIN); ?>
|
683 |
</a>
|
684 |
+
|
685 |
<!-- ERROR AND SUCCESS MESSAGE AREA-->
|
686 |
+
<p class="red_txt errorMsg" style="display:none"> </p>
|
687 |
+
<p class="green_txt sucMsg" style="display:none"> </p>
|
688 |
+
|
689 |
</div>
|
690 |
+
<!-- END Section 1 "Which icons do you want to show on your site? " main div-->
|
views/sfsi_option_view3.php
CHANGED
@@ -170,7 +170,7 @@
|
|
170 |
<input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='shaded_dark') ? 'checked="true"' : '' ;?> type="radio" value="shaded_dark" class="styled" />
|
171 |
<label><?php _e( 'Shaded Dark', SFSI_PLUS_DOMAIN ); ?></label>
|
172 |
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_14_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_14_2 sfsiplus_email_section"></span><span class="sfsiplus_row_14_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_14_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_14_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_14_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_14_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_14_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_14_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_14_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_14_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_14_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_14_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_14_25 sfsiplus_weibo_section"></span> <!--<span class="sfsiplus_row_14_11 sf_section"></span>-->
|
173 |
-
</div>
|
174 |
</li>
|
175 |
|
176 |
<li>
|
@@ -188,160 +188,193 @@
|
|
188 |
<div class="sfsiplus_icns_tab_3 trans_bg" style="padding-left: 6px;"><span class="sfsiplus_row_16_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_16_2 sfsiplus_email_section"></span><span class="sfsiplus_row_16_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_16_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_16_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_16_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_16_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_16_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_16_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_16_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_16_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_16_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_16_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_16_25 sfsiplus_weibo_section"></span> <!--<span class="sfsiplus_row_16_11 sf_section"></span>--></div>
|
189 |
</li>
|
190 |
|
191 |
-
|
192 |
-
|
193 |
-
<
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
|
|
289 |
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
|
344 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
345 |
<li>
|
346 |
<?php include_once(SFSI_PLUS_DOCROOT.'/views/subviews/que4/banner.php'); ?>
|
347 |
|
170 |
<input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='shaded_dark') ? 'checked="true"' : '' ;?> type="radio" value="shaded_dark" class="styled" />
|
171 |
<label><?php _e( 'Shaded Dark', SFSI_PLUS_DOMAIN ); ?></label>
|
172 |
<div class="sfsiplus_icns_tab_3"><span class="sfsiplus_row_14_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_14_2 sfsiplus_email_section"></span><span class="sfsiplus_row_14_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_14_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_14_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_14_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_14_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_14_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_14_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_14_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_14_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_14_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_14_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_14_25 sfsiplus_weibo_section"></span> <!--<span class="sfsiplus_row_14_11 sf_section"></span>-->
|
173 |
+
</div>
|
174 |
</li>
|
175 |
|
176 |
<li>
|
188 |
<div class="sfsiplus_icns_tab_3 trans_bg" style="padding-left: 6px;"><span class="sfsiplus_row_16_1 sfsiplus_rss_section"></span><span class="sfsiplus_row_16_2 sfsiplus_email_section"></span><span class="sfsiplus_row_16_3 sfsiplus_facebook_section"></span><span class="sfsiplus_row_16_5 sfsiplus_twitter_section"></span><span class="sfsiplus_row_16_7 sfsiplus_youtube_section"></span><span class="sfsiplus_row_16_8 sfsiplus_pinterest_section"></span><span class="sfsiplus_row_16_9 sfsiplus_linkedin_section"></span><span class="sfsiplus_row_16_10 sfsiplus_instagram_section"></span><span class="sfsiplus_row_16_11 sfsiplus_houzz_section"></span><span class="sfsiplus_row_16_22 sfsiplus_telegram_section"></span><span class="sfsiplus_row_16_23 sfsiplus_vk_section"></span> <span class="sfsiplus_row_16_24 sfsiplus_ok_section"></span><span class="sfsiplus_row_16_26 sfsiplus_wechat_section"></span><span class="sfsiplus_row_16_25 sfsiplus_weibo_section"></span> <!--<span class="sfsiplus_row_16_11 sf_section"></span>--></div>
|
189 |
</li>
|
190 |
|
191 |
+
<?php if(get_option('sfsi_plus_custom_icons') == 'yes'){?>
|
192 |
+
<!--Custom Icon Support {Monad}-->
|
193 |
+
<li class="cstomskins_upload">
|
194 |
+
<input name="sfsi_plus_actvite_theme" <?php echo ( $option3['sfsi_plus_actvite_theme']=='custom_support') ? 'checked="true"' : '' ;?> type="radio" value="custom_support" class="styled" />
|
195 |
+
<label style="line-height:20px !important;margin-top:15px; ">
|
196 |
+
<?php _e( 'Custom Icons', SFSI_PLUS_DOMAIN ); ?>
|
197 |
+
<br/>
|
198 |
+
</label>
|
199 |
+
<div class="sfsiplus_icns_tab_3" style="padding-left: 6px;">
|
200 |
+
<?php
|
201 |
+
if(get_option("plus_rss_skin"))
|
202 |
+
{
|
203 |
+
$icon = get_option("plus_rss_skin");
|
204 |
+
echo '<span class="sfsiplus_row_17_1 sfsiplus_rss_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;">
|
205 |
+
</span>';
|
206 |
+
}
|
207 |
+
else
|
208 |
+
{
|
209 |
+
echo '<span class="sfsiplus_row_17_1 sfsiplus_rss_section" style="background-position:-1px 0;"></span>';
|
210 |
+
}
|
211 |
+
|
212 |
+
if(get_option("plus_email_skin"))
|
213 |
+
{
|
214 |
+
$icon = get_option("plus_email_skin");
|
215 |
+
echo '<span class="sfsiplus_row_17_2 sfsiplus_email_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
216 |
+
}
|
217 |
+
else
|
218 |
+
{
|
219 |
+
echo '<span class="sfsiplus_row_17_2 sfsiplus_email_section" style="background-position:-58px 0;"></span>';
|
220 |
+
}
|
221 |
+
|
222 |
+
if(get_option("plus_facebook_skin"))
|
223 |
+
{
|
224 |
+
$icon = get_option("plus_facebook_skin");
|
225 |
+
echo '<span class="sfsiplus_row_17_3 sfsiplus_facebook_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
226 |
+
}
|
227 |
+
else
|
228 |
+
{
|
229 |
+
echo '<span class="sfsiplus_row_17_3 sfsiplus_facebook_section" style="background-position:-118px 0;"></span>';
|
230 |
+
}
|
231 |
+
|
232 |
+
if(get_option("plus_twitter_skin"))
|
233 |
+
{
|
234 |
+
$icon = get_option("plus_twitter_skin");
|
235 |
+
echo '<span class="sfsiplus_row_17_5 sfsiplus_twitter_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
236 |
+
}
|
237 |
+
else
|
238 |
+
{
|
239 |
+
echo '<span class="sfsiplus_row_17_5 sfsiplus_twitter_section" style="background-position:-235px 0;"></span>';
|
240 |
+
}
|
241 |
+
|
242 |
+
if(get_option("plus_youtube_skin"))
|
243 |
+
{
|
244 |
+
$icon = get_option("plus_youtube_skin");
|
245 |
+
echo '<span class="sfsiplus_row_17_7 sfsiplus_youtube_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
246 |
+
}
|
247 |
+
else
|
248 |
+
{
|
249 |
+
echo '<span class="sfsiplus_row_17_7 sfsiplus_youtube_section" style="background-position:-350px 0;"></span>';
|
250 |
+
}
|
251 |
+
|
252 |
+
if(get_option("plus_pintrest_skin"))
|
253 |
+
{
|
254 |
+
$icon = get_option("plus_pintrest_skin");
|
255 |
+
echo '<span class="sfsiplus_row_17_8 sfsiplus_pinterest_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
256 |
+
}
|
257 |
+
else
|
258 |
+
{
|
259 |
+
echo '<span class="sfsiplus_row_17_8 sfsiplus_pinterest_section" style="background-position:-409px 0;"></span>';
|
260 |
+
}
|
261 |
+
|
262 |
+
if(get_option("plus_linkedin_skin"))
|
263 |
+
{
|
264 |
+
$icon = get_option("plus_linkedin_skin");
|
265 |
+
echo '<span class="sfsiplus_row_17_9 sfsiplus_linkedin_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
266 |
+
}
|
267 |
+
else
|
268 |
+
{
|
269 |
+
echo '<span class="sfsiplus_row_17_9 sfsiplus_linkedin_section" style="background-position:-467px 0;"></span>';
|
270 |
+
}
|
271 |
+
|
272 |
+
if(get_option("plus_instagram_skin"))
|
273 |
+
{
|
274 |
+
$icon = get_option("plus_instagram_skin");
|
275 |
+
echo '<span class="sfsiplus_row_17_10 sfsiplus_instagram_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
276 |
+
}
|
277 |
+
else
|
278 |
+
{
|
279 |
+
echo '<span class="sfsiplus_row_17_10 sfsiplus_instagram_section" style="background-position:-526px 0;"></span>';
|
280 |
+
}
|
281 |
+
if(get_option("plus_houzz_skin"))
|
282 |
+
{
|
283 |
+
$icon = get_option("plus_houzz_skin");
|
284 |
+
echo '<span class="sfsiplus_row_17_11 sfsiplus_houzz_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
285 |
+
}
|
286 |
+
else
|
287 |
+
{
|
288 |
+
echo '<span class="sfsiplus_row_17_11 sfsiplus_houzz_section" style="background-position:-711px 0;"></span>';
|
289 |
+
}
|
290 |
|
291 |
+
if(get_option("plus_telegram_skin"))
|
292 |
+
{
|
293 |
+
$icon = get_option("plus_telegram_skin");
|
294 |
+
echo '<span class="sfsiplus_row_17_22 sfsiplus_telegram_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;"></span>';
|
295 |
+
}
|
296 |
+
else
|
297 |
+
{
|
298 |
+
echo '<span class="sfsiplus_row_17_22 sfsiplus_telegram_section" style="background-position:-769px 0;"></span>';
|
299 |
+
}
|
300 |
+
if(get_option("plus_vk_skin"))
|
301 |
+
{
|
302 |
+
$icon = get_option("plus_vk_skin");
|
303 |
+
echo '<span class="sfsiplus_row_17_23 sfsiplus_vk_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;margin-top:6px;"></span>';
|
304 |
+
}
|
305 |
+
else
|
306 |
+
{
|
307 |
+
echo '<span class="sfsiplus_row_17_23 sfsiplus_vk_section" style="background-position:-839px 0;"></span>';
|
308 |
+
}
|
309 |
+
|
310 |
+
if(get_option("plus_ok_skin"))
|
311 |
+
{
|
312 |
+
$icon = get_option("plus_ok_skin");
|
313 |
+
echo '<span class="sfsiplus_row_17_24 sfsiplus_ok_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;margin-top:6px;"></span>';
|
314 |
+
}
|
315 |
+
else
|
316 |
+
{
|
317 |
+
echo '<span class="sfsiplus_row_17_24 sfsiplus_ok_section" style="background-position:-909px 0;"></span>';
|
318 |
+
}
|
319 |
|
320 |
+
if(get_option("plus_wechat_skin"))
|
321 |
+
{
|
322 |
+
$icon = get_option("plus_wechat_skin");
|
323 |
+
echo '<span class="sfsiplus_row_17_25 sfsiplus_wechat_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;margin-top:6px;"></span>';
|
324 |
+
}
|
325 |
+
else
|
326 |
+
{
|
327 |
+
echo '<span class="sfsiplus_row_17_26 sfsiplus_wechat_section" style="background-position:-1045px 0;"></span>';
|
328 |
+
}
|
329 |
+
if(get_option("plus_weibo_skin"))
|
330 |
+
{
|
331 |
+
$icon = get_option("plus_weibo_skin");
|
332 |
+
echo '<span class="sfsiplus_row_17_25 sfsiplus_weibo_section sfsi_plus-bgimage" style="background: url('.$icon.') no-repeat;margin-top:6px;"></span>';
|
333 |
+
}
|
334 |
+
else
|
335 |
+
{
|
336 |
+
echo '<span class="sfsiplus_row_17_25 sfsiplus_weibo_section" style="background-position:-979px 0;"></span>';
|
337 |
+
}
|
338 |
|
339 |
+
|
340 |
+
?>
|
341 |
+
|
342 |
+
</div>
|
343 |
+
</li>
|
344 |
+
<?php
|
345 |
+
}
|
346 |
+
?>
|
347 |
+
<?php if(get_option('sfsi_plus_custom_icons') == 'no'){?>
|
348 |
+
|
349 |
+
<li style="display: flex;align-items: center;">
|
350 |
+
<a class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" target="_blank" style="display: flex;">
|
351 |
+
|
352 |
+
<input name="sfsi_plus_actvite_theme" type="radio" value="custom_support" class="styled"/>
|
353 |
+
<label style="line-height:20px !important;margin-top:15px;opacity:0.5;font-weight:normal;">
|
354 |
+
<?php _e( 'Custom Icons -', SFSI_PLUS_DOMAIN ); ?>
|
355 |
+
<br/>
|
356 |
+
</label>
|
357 |
+
</a>
|
358 |
+
|
359 |
+
<div class="sfsiplus_icns_tab_3" style="padding-left: 6px;">
|
360 |
+
<p>
|
361 |
+
<a style="color: #12a252 !important;font-weight: bold; border-bottom:none;text-decoration: none;">
|
362 |
+
<?php _e('Premium Feature:',SFSI_PLUS_DOMAIN); ?>
|
363 |
+
</a>
|
364 |
+
<?php _e('Upload a custom design for the social media platforms implemented in the plugin under question number 1 -', SFSI_PLUS_DOMAIN); ?>
|
365 |
+
<a class="pop-up" style="cursor:pointer; color: #12a252 !important;border-bottom: 1px solid #12a252;text-decoration: none;" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" target="_blank">
|
366 |
+
<?php _e('Get it now.',SFSI_PLUS_DOMAIN); ?>
|
367 |
+
</a>
|
368 |
+
</p>
|
369 |
+
</div>
|
370 |
+
</li>
|
371 |
|
372 |
+
<?php
|
373 |
+
}
|
374 |
+
?>
|
375 |
+
<?php
|
376 |
+
|
377 |
+
if($option3['sfsi_plus_premium_icons_design_box'] =='yes'){ ?>
|
378 |
<li>
|
379 |
<?php include_once(SFSI_PLUS_DOCROOT.'/views/subviews/que4/banner.php'); ?>
|
380 |
|
views/sfsi_option_view4.php
CHANGED
@@ -459,7 +459,7 @@
|
|
459 |
</li>
|
460 |
<li class="tw_follow_options" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
461 |
1: <?php _e( 'Go to', SFSI_PLUS_DOMAIN ); ?>
|
462 |
-
<a href="
|
463 |
apps.twitter.com
|
464 |
</a>
|
465 |
</li>
|
459 |
</li>
|
460 |
<li class="tw_follow_options" style="<?php echo ($option4['sfsi_plus_twitter_countsFrom']=='manual') ? 'display:none;' : '' ;?>">
|
461 |
1: <?php _e( 'Go to', SFSI_PLUS_DOMAIN ); ?>
|
462 |
+
<a href="https://apps.twitter.com" target="_blank">
|
463 |
apps.twitter.com
|
464 |
</a>
|
465 |
</li>
|
views/sfsi_option_view8.php
CHANGED
@@ -1,571 +1,788 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
?>
|
96 |
<div class="tab8">
|
97 |
<ul class="sfsiplus_icn_listing8">
|
98 |
-
|
99 |
<li class="">
|
100 |
-
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_show_via_widget" <?php echo ($option8['sfsi_plus_show_via_widget']=='yes') ? 'checked="true"' : ''
|
101 |
<div class="sfsiplus_right_info">
|
102 |
<p>
|
103 |
<span class="sfsiplus_toglepstpgspn">
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
{
|
109 |
$label_style = 'style="display:block; font-size: 16px;"';
|
110 |
-
}
|
111 |
-
else
|
112 |
-
{
|
113 |
$label_style = 'style="font-size: 16px;"';
|
114 |
}
|
115 |
?>
|
116 |
-
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
</p>
|
123 |
</div>
|
124 |
</li>
|
125 |
-
|
126 |
-
|
127 |
<li class="">
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
<div class="sfsiplus_right_info">
|
132 |
<p>
|
133 |
<span class="sfsiplus_toglepstpgspn">
|
134 |
-
|
135 |
-
|
136 |
</p>
|
137 |
-
|
138 |
-
|
139 |
-
{
|
140 |
$style = 'display: block;';
|
141 |
-
}
|
142 |
-
|
143 |
-
{
|
144 |
-
$style ="display: none;";
|
145 |
}
|
146 |
?>
|
147 |
-
|
148 |
<ul class="sfsiplus_tab_3_icns flthmonpg">
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
</div>
|
237 |
</li>
|
238 |
-
|
239 |
-
|
240 |
<li class="sfsiplusplacethemanulywpr">
|
241 |
-
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_place_item_manually" <?php echo ($option8['sfsi_plus_place_item_manually']=='yes') ? 'checked="true"' : ''
|
242 |
<div class="sfsiplus_right_info">
|
243 |
<p>
|
244 |
<span class="sfsiplus_toglepstpgspn">
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
{
|
250 |
$label_style = 'style="display:block; font-size: 15px;"';
|
251 |
-
}
|
252 |
-
else
|
253 |
-
{
|
254 |
$label_style = 'style="font-size: 15px;"';
|
255 |
}
|
256 |
?>
|
257 |
-
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
<?php _e('Or use the shortcode [DISPLAY_ULTIMATE_PLUS] to display them wherever you want.',SFSI_PLUS_DOMAIN); ?>
|
263 |
|
264 |
-
<?php _e('
|
265 |
|
266 |
-
|
|
|
|
|
267 |
</p>
|
268 |
</div>
|
269 |
</li>
|
270 |
-
|
271 |
-
|
272 |
<li class="sfsiplusbeforeafterpostselector">
|
273 |
-
<div class="radio_section tb_4_ck" onclick="sfsiplus_toggleflotpage(this);"><input name="sfsi_plus_show_item_onposts" <?php echo ($option8['sfsi_plus_show_item_onposts']=='yes') ? 'checked="true"' : ''
|
274 |
<div class="sfsiplus_right_info">
|
275 |
<p>
|
276 |
<span class="sfsiplus_toglepstpgspn">
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
if($option8['sfsi_plus_show_item_onposts'] != "yes")
|
282 |
-
{
|
283 |
$style_float = "style='font-size: 15px; display: none;'";
|
284 |
-
}
|
285 |
-
else
|
286 |
-
{
|
287 |
$style_float = "style='font-size: 15px;'";
|
288 |
}
|
289 |
?>
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
</p>
|
294 |
-
|
295 |
-
<ul class="sfsiplus_tab_3_icns sfsiplus_shwthmbfraftr" <?php echo ($option8['sfsi_plus_show_item_onposts'] != "yes")? 'style="display: none";' : ''
|
296 |
-
<li onclick="sfsiplus_togglbtmsection('sfsiplus_toggleonlystndrshrng', 'sfsiplus_toggledsplyitemslctn', this);" class="clckbltglcls">
|
297 |
-
<input name="sfsi_plus_display_button_type" <?php echo (
|
298 |
<label class="labelhdng4">
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
<input name="sfsi_plus_display_button_type" <?php echo (
|
304 |
<label class="labelhdng4">
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
<div class="radiodisplaysection" style="<?php echo $display; ?>">
|
311 |
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
<p class="cstmdisplaysharingtxt">
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
<li>
|
321 |
-
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectsub" <?php echo ($option8['sfsi_plus_rectsub']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_rectsub" type="checkbox" value="yes" class="styled" /></div>
|
322 |
-
<a href="#" title="Subscribe Follow" class="cstmdsplsub">
|
323 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/follow_subscribe.png" alt="Subscribe Follow" /><span style="display: none;">18k</span>
|
324 |
-
</a>
|
325 |
-
</li>
|
326 |
<li>
|
327 |
-
<div class="radio_section tb_4_ck"><input name="
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
<li>
|
333 |
-
<div class="radio_section tb_4_ck"><input name="
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
<li>
|
339 |
-
<div class="radio_section tb_4_ck"><input name="sfsi_plus_recttwtr" <?php echo ($option8['sfsi_plus_recttwtr']=='yes') ? 'checked="true"' : '' ;?> id="sfsi_plus_recttwtr" type="checkbox" value="yes" class="styled" /></div>
|
340 |
-
<a href="#" title="twitter" class="cstmdspltwtr">
|
341 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/twiiter.png" alt="Twitter like" /><span style="display: none;">18k</span>
|
342 |
-
</a>
|
343 |
-
</li>
|
344 |
<li>
|
345 |
-
<div class="radio_section tb_4_ck"><input name="
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
<h4>
|
381 |
-
|
382 |
-
|
383 |
<div class="icons_size">
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
393 |
</div>
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
497 |
</div>
|
498 |
</li>
|
499 |
-
|
500 |
-
|
501 |
<li class="sfsiplusplaceusinggutenberg">
|
502 |
-
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_place_item_gutenberg" <?php echo ($option8['sfsi_plus_place_item_gutenberg']=='yes') ? 'checked="true"' : ''
|
503 |
<div class="sfsiplus_right_info">
|
504 |
<p>
|
505 |
<span class="sfsiplus_toglepstpgspn">
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
{
|
511 |
$label_style = 'style="display:block; font-size: 15px;"';
|
512 |
-
}
|
513 |
-
else
|
514 |
-
{
|
515 |
$label_style = 'style="font-size: 15px;"';
|
516 |
}
|
517 |
?>
|
518 |
-
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style
|
519 |
-
|
520 |
|
521 |
-
|
522 |
</p>
|
523 |
-
</div>
|
524 |
</li>
|
525 |
<!-- pinterest on image over icon -->
|
526 |
-
|
527 |
-
|
528 |
<div class="radio_section tb_4_ck">
|
529 |
<span class="checkbox" style="background-position:0px 0px!important;width:31px"></span>
|
530 |
-
<input name="" type="checkbox" disable value="" class="hide" style="display:none;"
|
531 |
-
|
532 |
<div class="sfsiplus_right_info">
|
533 |
-
|
534 |
-
|
535 |
-
<span class="sfsiplus_toglepstpgspn" style="width:50%;display:inline-block"
|
536 |
</p>
|
537 |
-
|
538 |
</div>
|
539 |
</li>
|
540 |
</ul>
|
541 |
-
<?php if($option8['sfsi_plus_show_premium_placement_box'] == 'yes'){ ?>
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
</p>
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
<?php sfsi_plus_ask_for_help(8); ?>
|
550 |
|
551 |
-
<!-- SAVE BUTTON SECTION -->
|
552 |
<div class="save_button">
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
<label class="closeSec"></label>
|
565 |
-
|
566 |
<!-- ERROR AND SUCCESS MESSAGE AREA-->
|
567 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
568 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
569 |
<div class="clear"></div>
|
570 |
-
|
571 |
-
</div>
|
1 |
<?php
|
2 |
+
/* unserialize all saved option for Eight options */
|
3 |
+
$option8 = unserialize(get_option('sfsi_plus_section8_options', false));
|
4 |
+
if (!isset($option8['sfsi_plus_rectsub'])) {
|
5 |
+
$option8['sfsi_plus_rectsub'] = 'no';
|
6 |
+
}
|
7 |
+
if (!isset($option8['sfsi_plus_rectfb'])) {
|
8 |
+
$option8['sfsi_plus_rectfb'] = 'yes';
|
9 |
+
}
|
10 |
+
if (!isset($option8['sfsi_plus_recttwtr'])) {
|
11 |
+
$option8['sfsi_plus_recttwtr'] = 'no';
|
12 |
+
}
|
13 |
+
if (!isset($option8['sfsi_plus_rectpinit'])) {
|
14 |
+
$option8['sfsi_plus_rectpinit'] = 'no';
|
15 |
+
}
|
16 |
+
if (!isset($option8['sfsi_plus_rectfbshare'])) {
|
17 |
+
$option8['sfsi_plus_rectfbshare'] = 'no';
|
18 |
+
}
|
19 |
+
if (!isset($option4)) {
|
20 |
+
$option4 = unserialize(get_option('sfsi_plus_section4_options', false));
|
21 |
+
}
|
22 |
+
$sfsi_plus_responsive_icons_default = array(
|
23 |
+
"default_icons" => array(
|
24 |
+
"facebook" => array("active" => "yes", "text" => "Share on Facebook", "url" => ""),
|
25 |
+
"Twitter" => array("active" => "yes", "text" => "Tweet", "url" => ""),
|
26 |
+
"Follow" => array("active" => "yes", "text" => "Follow us", "url" => ""),
|
27 |
+
),
|
28 |
+
"settings" => array(
|
29 |
+
"icon_size" => "Medium",
|
30 |
+
"icon_width_type" => "Fully responsive",
|
31 |
+
"icon_width_size" => 240,
|
32 |
+
"edge_type" => "Round",
|
33 |
+
"edge_radius" => 5,
|
34 |
+
"style" => "Gradient",
|
35 |
+
"margin" => 10,
|
36 |
+
"text_align" => "Centered",
|
37 |
+
"show_count" => "no",
|
38 |
+
"counter_color" => "#aaaaaa",
|
39 |
+
"counter_bg_color" => "#fff",
|
40 |
+
"share_count_text" => "SHARES"
|
41 |
+
)
|
42 |
+
);
|
43 |
+
$sfsi_plus_responsive_icons = (isset($option8["sfsi_plus_responsive_icons"]) ? $option8["sfsi_plus_responsive_icons"] : $sfsi_plus_responsive_icons_default);
|
44 |
+
|
45 |
+
/**
|
46 |
+
* Sanitize, escape and validate values
|
47 |
+
*/
|
48 |
+
|
49 |
+
$option8['sfsi_plus_show_via_widget'] = (isset($option8['sfsi_plus_show_via_widget']))
|
50 |
+
? sanitize_text_field($option8['sfsi_plus_show_via_widget'])
|
51 |
+
: '';
|
52 |
+
$option8['sfsi_plus_float_on_page'] = (isset($option8['sfsi_plus_float_on_page']))
|
53 |
+
? sanitize_text_field($option8['sfsi_plus_float_on_page'])
|
54 |
+
: '';
|
55 |
+
$option8['sfsi_plus_float_page_position'] = (isset($option8['sfsi_plus_float_page_position']))
|
56 |
+
? sanitize_text_field($option8['sfsi_plus_float_page_position'])
|
57 |
+
: '';
|
58 |
+
$option8['sfsi_plus_icons_floatMargin_top'] = (isset($option8['sfsi_plus_icons_floatMargin_top']))
|
59 |
+
? intval($option8['sfsi_plus_icons_floatMargin_top'])
|
60 |
+
: '';
|
61 |
+
$option8['sfsi_plus_icons_floatMargin_bottom'] = (isset($option8['sfsi_plus_icons_floatMargin_bottom']))
|
62 |
+
? intval($option8['sfsi_plus_icons_floatMargin_bottom'])
|
63 |
+
: '';
|
64 |
+
$option8['sfsi_plus_icons_floatMargin_left'] = (isset($option8['sfsi_plus_icons_floatMargin_left']))
|
65 |
+
? intval($option8['sfsi_plus_icons_floatMargin_left'])
|
66 |
+
: '';
|
67 |
+
$option8['sfsi_plus_icons_floatMargin_right'] = (isset($option8['sfsi_plus_icons_floatMargin_right']))
|
68 |
+
? intval($option8['sfsi_plus_icons_floatMargin_right'])
|
69 |
+
: '';
|
70 |
+
$option8['sfsi_plus_place_item_manually'] = (isset($option8['sfsi_plus_place_item_manually']))
|
71 |
+
? sanitize_text_field($option8['sfsi_plus_place_item_manually'])
|
72 |
+
: '';
|
73 |
+
$option8['sfsi_plus_place_item_gutenberg'] = (isset($option8['sfsi_plus_place_item_gutenberg']))
|
74 |
+
? sanitize_text_field($option8['sfsi_plus_place_item_gutenberg'])
|
75 |
+
: 'yes';
|
76 |
+
$option8['sfsi_plus_display_button_type'] = (isset($option8['sfsi_plus_display_button_type']))
|
77 |
+
? sanitize_text_field($option8['sfsi_plus_display_button_type'])
|
78 |
+
: '';
|
79 |
+
$option8['sfsi_plus_post_icons_size'] = (isset($option8['sfsi_plus_post_icons_size']))
|
80 |
+
? intval($option8['sfsi_plus_post_icons_size'])
|
81 |
+
: '';
|
82 |
+
$option8['sfsi_plus_post_icons_spacing'] = (isset($option8['sfsi_plus_post_icons_spacing']))
|
83 |
+
? intval($option8['sfsi_plus_post_icons_spacing'])
|
84 |
+
: '';
|
85 |
+
|
86 |
+
$option8['sfsi_plus_show_item_onposts'] = (isset($option8['sfsi_plus_show_item_onposts']))
|
87 |
+
? sanitize_text_field($option8['sfsi_plus_show_item_onposts'])
|
88 |
+
: '';
|
89 |
+
$option8['sfsi_plus_icons_alignment'] = (isset($option8['sfsi_plus_icons_alignment']))
|
90 |
+
? sanitize_text_field($option8['sfsi_plus_icons_alignment'])
|
91 |
+
: '';
|
92 |
+
$option8['sfsi_plus_textBefor_icons'] = (isset($option8['sfsi_plus_textBefor_icons']))
|
93 |
+
? sanitize_text_field($option8['sfsi_plus_textBefor_icons'])
|
94 |
+
: '';
|
95 |
+
$option8['sfsi_plus_icons_DisplayCounts'] = (isset($option8['sfsi_plus_icons_DisplayCounts']))
|
96 |
+
? sanitize_text_field($option8['sfsi_plus_icons_DisplayCounts'])
|
97 |
+
: '';
|
98 |
+
$option8['sfsi_plus_rectsub'] = (isset($option8['sfsi_plus_rectsub']))
|
99 |
+
? sanitize_text_field($option8['sfsi_plus_rectsub'])
|
100 |
+
: '';
|
101 |
+
$option8['sfsi_plus_rectfb'] = (isset($option8['sfsi_plus_rectfb']))
|
102 |
+
? sanitize_text_field($option8['sfsi_plus_rectfb'])
|
103 |
+
: '';
|
104 |
+
$option8['sfsi_plus_recttwtr'] = (isset($option8['sfsi_plus_recttwtr']))
|
105 |
+
? sanitize_text_field($option8['sfsi_plus_recttwtr'])
|
106 |
+
: '';
|
107 |
+
$option8['sfsi_plus_rectpinit'] = (isset($option8['sfsi_plus_rectpinit']))
|
108 |
+
? sanitize_text_field($option8['sfsi_plus_rectpinit'])
|
109 |
+
: '';
|
110 |
+
$option8['sfsi_plus_rectfbshare'] = (isset($option8['sfsi_plus_rectfbshare']))
|
111 |
+
? sanitize_text_field($option8['sfsi_plus_rectfbshare'])
|
112 |
+
: '';
|
113 |
+
$option8['sfsi_plus_show_premium_placement_box'] = (isset($option8['sfsi_plus_show_premium_placement_box']))
|
114 |
+
? sanitize_text_field($option8['sfsi_plus_show_premium_placement_box'])
|
115 |
+
: 'yes';
|
116 |
+
$option8['sfsi_plus_responsive_icons_end_post'] = (isset($option8['sfsi_plus_responsive_icons_end_post']))
|
117 |
+
? sanitize_text_field($option8['sfsi_plus_responsive_icons_end_post'])
|
118 |
+
: '';
|
119 |
?>
|
120 |
<div class="tab8">
|
121 |
<ul class="sfsiplus_icn_listing8">
|
122 |
+
<!--First Section-->
|
123 |
<li class="">
|
124 |
+
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_show_via_widget" <?php echo ($option8['sfsi_plus_show_via_widget'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_show_via_widget" type="checkbox" value="yes" class="styled" /></div>
|
125 |
<div class="sfsiplus_right_info">
|
126 |
<p>
|
127 |
<span class="sfsiplus_toglepstpgspn">
|
128 |
+
<?php _e('Show them via a widget', SFSI_PLUS_DOMAIN); ?>
|
129 |
+
</span><br>
|
130 |
+
<?php
|
131 |
+
if ($option8['sfsi_plus_show_via_widget'] == 'yes') {
|
|
|
132 |
$label_style = 'style="display:block; font-size: 16px;"';
|
133 |
+
} else {
|
|
|
|
|
134 |
$label_style = 'style="font-size: 16px;"';
|
135 |
}
|
136 |
?>
|
137 |
+
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style; ?>>
|
138 |
+
<?php _e('Go to the widget area and drag & drop it where you want to have it!', SFSI_PLUS_DOMAIN); ?>
|
139 |
+
<a href="<?php echo admin_url('widgets.php'); ?>">
|
140 |
+
<?php _e('Click here', SFSI_PLUS_DOMAIN); ?>
|
141 |
+
</a>
|
142 |
+
</label>
|
143 |
</p>
|
144 |
</div>
|
145 |
</li>
|
146 |
+
|
147 |
+
<!--Second Section-->
|
148 |
<li class="">
|
149 |
+
<div class="radio_section tb_4_ck cstmfltonpgstck" onclick="sfsiplus_toggleflotpage(this);">
|
150 |
+
<input name="sfsi_plus_float_on_page" <?php echo ($option8['sfsi_plus_float_on_page'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_float_on_page" type="checkbox" value="yes" class="styled" />
|
151 |
+
</div>
|
152 |
<div class="sfsiplus_right_info">
|
153 |
<p>
|
154 |
<span class="sfsiplus_toglepstpgspn">
|
155 |
+
<?php _e('Float them on the page', SFSI_PLUS_DOMAIN); ?>
|
156 |
+
</span>
|
157 |
</p>
|
158 |
+
<?php
|
159 |
+
if ($option8['sfsi_plus_float_on_page'] == "yes") {
|
|
|
160 |
$style = 'display: block;';
|
161 |
+
} else {
|
162 |
+
$style = "display: none;";
|
|
|
|
|
163 |
}
|
164 |
?>
|
165 |
+
<div class="sfsiplus_tab_3_icns" <?php echo 'style="' . $style . '"'; ?>>
|
166 |
<ul class="sfsiplus_tab_3_icns flthmonpg">
|
167 |
+
<li>
|
168 |
+
<input name="sfsi_plus_float_page_position" <?php echo ($option8['sfsi_plus_float_page_position'] == 'top-left') ? 'checked="true"' : ''; ?> type="radio" value="top-left" class="styled" />
|
169 |
+
<span class="sfsi_flicnsoptn3 sfsioptntl">
|
170 |
+
<?php _e('Top left', SFSI_PLUS_DOMAIN); ?>
|
171 |
+
</span>
|
172 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/top_left.png" /></label>
|
173 |
+
</li>
|
174 |
+
<li>
|
175 |
+
<input name="sfsi_plus_float_page_position" <?php echo ($option8['sfsi_plus_float_page_position'] == 'top-right') ? 'checked="true"' : ''; ?> type="radio" value="top-right" class="styled" />
|
176 |
+
<span class="sfsi_flicnsoptn3 sfsioptntr">
|
177 |
+
<?php _e('Top right', SFSI_PLUS_DOMAIN); ?>
|
178 |
+
</span>
|
179 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/top_right.png" /></label>
|
180 |
+
</li>
|
181 |
+
<li>
|
182 |
+
<input name="sfsi_plus_float_page_position" <?php echo ($option8['sfsi_plus_float_page_position'] == 'center-left') ? 'checked="true"' : ''; ?> type="radio" value="center-left" class="styled" />
|
183 |
+
<span class="sfsi_flicnsoptn3 sfsioptncl">
|
184 |
+
<?php _e('Center left', SFSI_PLUS_DOMAIN); ?>
|
185 |
+
</span>
|
186 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/center_left.png" /></label>
|
187 |
+
</li>
|
188 |
+
<li>
|
189 |
+
<input name="sfsi_plus_float_page_position" <?php echo ($option8['sfsi_plus_float_page_position'] == 'center-right') ? 'checked="true"' : ''; ?> type="radio" value="center-right" class="styled" />
|
190 |
+
<span class="sfsi_flicnsoptn3 sfsioptncr">
|
191 |
+
<?php _e('Center right', SFSI_PLUS_DOMAIN); ?>
|
192 |
+
</span>
|
193 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/center_right.png" /></label>
|
194 |
+
</li>
|
195 |
+
<li>
|
196 |
+
<input name="sfsi_plus_float_page_position" <?php echo ($option8['sfsi_plus_float_page_position'] == 'bottom-left') ? 'checked="true"' : ''; ?> type="radio" value="bottom-left" class="styled" />
|
197 |
+
<span class="sfsi_flicnsoptn3 sfsioptnbl">
|
198 |
+
<?php _e('Bottom left', SFSI_PLUS_DOMAIN); ?>
|
199 |
+
</span>
|
200 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/bottom_left.png" /></label>
|
201 |
+
</li>
|
202 |
+
<li>
|
203 |
+
<input name="sfsi_plus_float_page_position" <?php echo ($option8['sfsi_plus_float_page_position'] == 'bottom-right') ? 'checked="true"' : ''; ?> type="radio" value="bottom-right" class="styled" />
|
204 |
+
<span class="sfsi_flicnsoptn3 sfsioptnbr">
|
205 |
+
<?php _e('Bottom right', SFSI_PLUS_DOMAIN); ?>
|
206 |
+
</span>
|
207 |
+
<label><img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/bottom_right.png" /></label>
|
208 |
+
</li>
|
209 |
+
</ul>
|
210 |
+
<div style="width: 88%; float: left; margin:25px 0 0 47px">
|
211 |
+
<h4>
|
212 |
+
<?php _e('Margin From:', SFSI_PLUS_DOMAIN); ?>
|
213 |
+
</h4>
|
214 |
+
<ul class="sfsi_plus_floaticon_margin_sec">
|
215 |
+
<li>
|
216 |
+
<label>
|
217 |
+
<?php _e('Top:', SFSI_PLUS_DOMAIN); ?>
|
218 |
+
</label>
|
219 |
+
<input name="sfsi_plus_icons_floatMargin_top" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_top'] != '') ? $option8['sfsi_plus_icons_floatMargin_top'] : ''; ?>" />
|
220 |
+
<ins>
|
221 |
+
<?php _e('Pixels', SFSI_PLUS_DOMAIN); ?>
|
222 |
+
</ins>
|
223 |
+
</li>
|
224 |
+
<li>
|
225 |
+
<label>
|
226 |
+
<?php _e('Bottom:', SFSI_PLUS_DOMAIN); ?>
|
227 |
+
</label>
|
228 |
+
<input name="sfsi_plus_icons_floatMargin_bottom" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_bottom'] != '') ? $option8['sfsi_plus_icons_floatMargin_bottom'] : ''; ?>" />
|
229 |
+
<ins>
|
230 |
+
<?php _e('Pixels', SFSI_PLUS_DOMAIN); ?>
|
231 |
+
</ins>
|
232 |
+
</li>
|
233 |
+
<li>
|
234 |
+
<label>
|
235 |
+
<?php _e('Left:', SFSI_PLUS_DOMAIN); ?>
|
236 |
+
</label>
|
237 |
+
<input name="sfsi_plus_icons_floatMargin_left" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_left'] != '') ? $option8['sfsi_plus_icons_floatMargin_left'] : ''; ?>" />
|
238 |
+
<ins>
|
239 |
+
<?php _e('Pixels', SFSI_PLUS_DOMAIN); ?>
|
240 |
+
</ins>
|
241 |
+
</li>
|
242 |
+
<li>
|
243 |
+
<label>
|
244 |
+
<?php _e('Right:', SFSI_PLUS_DOMAIN); ?>
|
245 |
+
</label>
|
246 |
+
<input name="sfsi_plus_icons_floatMargin_right" type="text" value="<?php echo ($option8['sfsi_plus_icons_floatMargin_right'] != '') ? $option8['sfsi_plus_icons_floatMargin_right'] : ''; ?>" />
|
247 |
+
<ins>
|
248 |
+
<?php _e('Pixels', SFSI_PLUS_DOMAIN); ?>
|
249 |
+
</ins>
|
250 |
+
</li>
|
251 |
+
</ul>
|
252 |
+
</div>
|
253 |
+
</div>
|
254 |
</div>
|
255 |
</li>
|
256 |
+
|
257 |
+
<!--Third Section-->
|
258 |
<li class="sfsiplusplacethemanulywpr">
|
259 |
+
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_place_item_manually" <?php echo ($option8['sfsi_plus_place_item_manually'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_place_item_manually" type="checkbox" value="yes" class="styled" /></div>
|
260 |
<div class="sfsiplus_right_info">
|
261 |
<p>
|
262 |
<span class="sfsiplus_toglepstpgspn">
|
263 |
+
<?php _e('Place them manually', SFSI_PLUS_DOMAIN); ?>
|
264 |
+
</span><br>
|
265 |
+
<?php
|
266 |
+
if ($option8['sfsi_plus_place_item_manually'] == 'yes') {
|
|
|
267 |
$label_style = 'style="display:block; font-size: 15px;"';
|
268 |
+
} else {
|
|
|
|
|
269 |
$label_style = 'style="font-size: 15px;"';
|
270 |
}
|
271 |
?>
|
272 |
+
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style; ?>>
|
273 |
+
<?php _e('Place the following string into your theme codes: ', SFSI_PLUS_DOMAIN); ?>
|
274 |
+
|
275 |
+
<?php echo DISPLAY_ULTIMATE_PLUS(); ?>
|
|
|
|
|
276 |
|
277 |
+
<?php _e('Or use the shortcode [DISPLAY_ULTIMATE_PLUS] to display them wherever you want.', SFSI_PLUS_DOMAIN); ?>
|
278 |
|
279 |
+
<?php _e('Need help with that? Ask us! <a style="color:#5a6570 !important; font-size:16px;" target="_blank" href="https://wordpress.org/support/plugin/ultimate-social-media-plus#no-topic-0">Click here</a>', SFSI_PLUS_DOMAIN); ?>
|
280 |
+
|
281 |
+
</label>
|
282 |
</p>
|
283 |
</div>
|
284 |
</li>
|
285 |
+
|
286 |
+
<!--Fourth Section-->
|
287 |
<li class="sfsiplusbeforeafterpostselector">
|
288 |
+
<div class="radio_section tb_4_ck" onclick="sfsiplus_toggleflotpage(this);"><input name="sfsi_plus_show_item_onposts" <?php echo ($option8['sfsi_plus_show_item_onposts'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_show_item_onposts" type="checkbox" value="yes" class="styled" /></div>
|
289 |
<div class="sfsiplus_right_info">
|
290 |
<p>
|
291 |
<span class="sfsiplus_toglepstpgspn">
|
292 |
+
<?php _e('Show them before or after posts', SFSI_PLUS_DOMAIN); ?>
|
293 |
+
</span>
|
294 |
+
<br>
|
295 |
+
<?php
|
296 |
+
if ($option8['sfsi_plus_show_item_onposts'] != "yes") {
|
|
|
297 |
$style_float = "style='font-size: 15px; display: none;'";
|
298 |
+
} else {
|
|
|
|
|
299 |
$style_float = "style='font-size: 15px;'";
|
300 |
}
|
301 |
?>
|
302 |
+
<label class="sfsiplus_sub-subtitle sfsiplus_toglpstpgsbttl" <?php echo $style_float; ?>>
|
303 |
+
<?php _e('Here you have two options:', SFSI_PLUS_DOMAIN); ?>
|
304 |
+
</label>
|
305 |
</p>
|
306 |
+
|
307 |
+
<ul class="sfsiplus_tab_3_icns sfsiplus_shwthmbfraftr" <?php echo ($option8['sfsi_plus_show_item_onposts'] != "yes") ? 'style="display: none";' : ''; ?>>
|
308 |
+
<li onclick="sfsiplus_togglbtmsection('sfsiplus_toggleonlystndrshrng, .sfsiplus_responsive_hide', 'sfsiplus_toggledsplyitemslctn, .sfsiplus_toggleonlyrspvshrng, .sfsiplus_responsive_show', this);" class="clckbltglcls sfsi_plus_border_left_0">
|
309 |
+
<input name="sfsi_plus_display_button_type" <?php echo ($option8['sfsi_plus_display_button_type'] == 'standard_buttons') ? 'checked="true"' : ''; ?> type="radio" value="standard_buttons" class="styled" />
|
310 |
<label class="labelhdng4">
|
311 |
+
<?php _e('Original icons', SFSI_PLUS_DOMAIN); ?>
|
312 |
+
</label>
|
313 |
+
</li>
|
314 |
+
<li onclick="sfsiplus_togglbtmsection('sfsiplus_toggledsplyitemslctn, .sfsiplus_responsive_hide', 'sfsiplus_toggleonlystndrshrng, .sfsiplus_toggleonlyrspvshrng, .sfsiplus_responsive_show', this);" class="clckbltglcls sfsi_plus_border_left_0">
|
315 |
+
<input name="sfsi_plus_display_button_type" <?php echo ($option8['sfsi_plus_display_button_type'] == 'normal_button') ? 'checked="true"' : ''; ?> type="radio" value="normal_button" class="styled" />
|
316 |
<label class="labelhdng4">
|
317 |
+
<?php _e('Icons I selected above', SFSI_PLUS_DOMAIN); ?>
|
318 |
+
</label>
|
319 |
+
<li onclick="sfsiplus_togglbtmsection('sfsiplus_toggleonlyrspvshrng, .sfsiplus_responsive_show', 'sfsiplus_toggleonlystndrshrng, .sfsiplus_toggledsplyitemslctn, .sfsiplus_responsive_hide', this);" class="clckbltglcls sfsi_plus_border_left_0">
|
320 |
+
<input name="sfsi_plus_display_button_type" <?php echo ($option8['sfsi_plus_display_button_type'] == 'responsive_button') ? 'checked="true"' : ''; ?> type="radio" value="responsive_button" class="styled" />
|
321 |
+
<label class="labelhdng4">
|
322 |
+
<?php _e('Responsive iocns', SFSI_PLUS_DOMAIN); ?>
|
323 |
+
</label>
|
324 |
+
</li>
|
325 |
+
<li class="sfsiplus_toggleonlystndrshrng sfsi_plus_border_left_0">
|
326 |
+
<?php if ($option8['sfsi_plus_display_button_type'] == 'standard_buttons') : $display = "display:block";
|
327 |
+
else : $display = "display:none";
|
328 |
+
endif; ?>
|
329 |
<div class="radiodisplaysection" style="<?php echo $display; ?>">
|
330 |
|
331 |
+
<p class="cstmdisplaysharingtxt cstmdisextrpdng">
|
332 |
+
<?php _e('Rectangle icons spell out the «call to action» which increases chances that visitors do it.', SFSI_PLUS_DOMAIN); ?>
|
333 |
+
</p>
|
334 |
<p class="cstmdisplaysharingtxt">
|
335 |
+
<?php _e('Select the icons you want to show:', SFSI_PLUS_DOMAIN); ?>
|
336 |
+
</p>
|
337 |
+
<div class="social_icon_like1 cstmdsplyulwpr">
|
338 |
+
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
<li>
|
340 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectsub" <?php echo ($option8['sfsi_plus_rectsub'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_rectsub" type="checkbox" value="yes" class="styled" /></div>
|
341 |
+
<a href="#" title="Subscribe Follow" class="cstmdsplsub">
|
342 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/follow_subscribe.png" alt="Subscribe Follow" /><span style="display: none;">18k</span>
|
343 |
+
</a>
|
344 |
+
</li>
|
345 |
<li>
|
346 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectfb" <?php echo ($option8['sfsi_plus_rectfb'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_rectfb" type="checkbox" value="yes" class="styled" /></div>
|
347 |
+
<a href="#" title="Facebook Like" class="cstmdspllke">
|
348 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/like.jpg" alt="Facebook Like" /><span style="display: none;">18k</span>
|
349 |
+
</a>
|
350 |
+
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
<li>
|
352 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectfbshare" <?php echo ($option8['sfsi_plus_rectfbshare'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_rectfbshare" type="checkbox" value="yes" class="styled" /></div>
|
353 |
+
<a href="#" title="Facebook Share" class="cstmdsplfbshare">
|
354 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/fbshare.png" alt="Facebook Share" /><span style="display: none;">18k</span>
|
355 |
+
</a>
|
356 |
+
</li>
|
357 |
+
<li>
|
358 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_recttwtr" <?php echo ($option8['sfsi_plus_recttwtr'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_recttwtr" type="checkbox" value="yes" class="styled" /></div>
|
359 |
+
<a href="#" title="twitter" class="cstmdspltwtr">
|
360 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/twiiter.png" alt="Twitter like" /><span style="display: none;">18k</span>
|
361 |
+
</a>
|
362 |
+
</li>
|
363 |
+
<li>
|
364 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_rectpinit" <?php echo ($option8['sfsi_plus_rectpinit'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_rectpinit" type="checkbox" value="yes" class="styled" /></div>
|
365 |
+
<a href="#" title="Pinit" class="cstmdsplpinit">
|
366 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/pinit.png" alt="Pinit" /><span style="display: none;">18k</span>
|
367 |
+
</a>
|
368 |
+
</li>
|
369 |
+
|
370 |
+
|
371 |
+
</ul>
|
372 |
+
</div>
|
373 |
+
<?php if ($option8['sfsi_plus_show_premium_placement_box'] == 'yes') { ?>
|
374 |
+
<p class="sfsi_plus_prem_plu_desc">
|
375 |
+
<b><?php _e('New: ', SFSI_PLUS_DOMAIN); ?></b><?php _e('We also added a Linkedin share-icon in the Premium Plugin.', SFSI_PLUS_DOMAIN); ?> <a class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" class="sfisi_plus_font_bold" style="border-bottom: 1px solid #12a252;color: #12a252 !important;cursor:pointer;" target="_blank"><?php _e('Go premium now', SFSI_PLUS_DOMAIN); ?></a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=linkedin_icon&utm_medium=banner" class="sfsi_plus_font_inherit" style="color: #12a252 !important" target="_blank"><?php _e(' or learn more', SFSI_PLUS_DOMAIN); ?></a>
|
376 |
+
</p>
|
377 |
+
<?php } ?>
|
378 |
+
<div class="options">
|
379 |
+
<label>
|
380 |
+
<?php _e('Do you want to display the counts?', SFSI_PLUS_DOMAIN); ?>
|
381 |
+
</label>
|
382 |
+
<div class="field">
|
383 |
+
<select name="sfsi_plus_icons_DisplayCounts" id="sfsi_plus_icons_DisplayCounts" class="styled">
|
384 |
+
<option value="yes" <?php echo ($option8['sfsi_plus_icons_DisplayCounts'] == 'yes') ? 'selected="true"' : ''; ?>>
|
385 |
+
<?php _e('YES', SFSI_PLUS_DOMAIN); ?>
|
386 |
+
</option>
|
387 |
+
<option value="no" <?php echo ($option8['sfsi_plus_icons_DisplayCounts'] == 'no') ? 'selected="true"' : ''; ?>>
|
388 |
+
<?php _e('NO', SFSI_PLUS_DOMAIN); ?>
|
389 |
+
</option>
|
390 |
+
</select></div>
|
391 |
+
</div>
|
392 |
+
</div>
|
393 |
+
</li>
|
394 |
+
<?php
|
395 |
+
if ($option8['sfsi_plus_display_button_type'] == 'normal_button') : $display = "display:block";$sfsi_plus_display_normal_type = "display:block";$sfsi_plus_display_responsive_type = "display:none";
|
396 |
+
else : $display = "display:none";$sfsi_plus_display_normal_type = "display:none";$sfsi_plus_display_responsive_type = "display:block";
|
397 |
+
endif;
|
398 |
+
?>
|
399 |
+
<li class="sfsiplus_toggledsplyitemslctn sfsi_plus_border_left_0" style="max-width:1000px!important;<?php echo $display; ?>" >
|
400 |
+
|
401 |
+
<div class="row radiodisplaysection" >
|
402 |
<h4>
|
403 |
+
<?php _e('Size and spacing of your icons', SFSI_PLUS_DOMAIN); ?>
|
404 |
+
</h4>
|
405 |
<div class="icons_size">
|
406 |
+
<span>
|
407 |
+
<?php _e('Size:', SFSI_PLUS_DOMAIN); ?>
|
408 |
+
</span><input name="sfsi_plus_post_icons_size" value="<?php echo ($option8['sfsi_plus_post_icons_size'] != '') ? $option8['sfsi_plus_post_icons_size'] : ''; ?>" type="text" /><ins>
|
409 |
+
<?php _e('pixels wide and tall', SFSI_PLUS_DOMAIN); ?>
|
410 |
+
</ins> <span class="last">
|
411 |
+
<?php _e('Spacing between icons:', SFSI_PLUS_DOMAIN); ?>
|
412 |
+
</span><input name="sfsi_plus_post_icons_spacing" type="text" value="<?php echo ($option8['sfsi_plus_post_icons_spacing'] != '') ? $option8['sfsi_plus_post_icons_spacing'] : ''; ?>" /><ins>
|
413 |
+
<?php _e('Pixels', SFSI_PLUS_DOMAIN); ?>
|
414 |
+
</ins></div>
|
415 |
+
</div>
|
416 |
+
</li>
|
417 |
+
<li class="sfsiplus_toggleonlyrspvshrng" style="<?php echo ($sfsi_plus_display_responsive_type) ?>" >
|
418 |
+
|
419 |
+
<label style="width: 80%;width:calc( 100% - 102px );font-family: helveticaregular;font-size: 18px;color: #5c6267;"><?php _e('These are responsive & independent from the icons you selected elsewhere in the plugin. Preview:', SFSI_PLUS_DOMAIN); ?></label>
|
420 |
+
<div style="width: 80%; margin-left:5px; width:calc( 100% - 102px );">
|
421 |
+
<div class="sfsi_plus_responsive_icon_preview" style="width:calc( 100% - 50px )">
|
422 |
+
|
423 |
+
<?php echo sfsi_plus_social_responsive_buttons(null, $option8, true); ?>
|
424 |
+
</div> <!-- end sfsi_plus_responsive_icon_preview -->
|
425 |
+
</div>
|
426 |
+
<ul>
|
427 |
+
<li class="sfsi_plus_responsive_default_icon_container sfsi_plus_border_left_0 ">
|
428 |
+
<label class="heading-label select-icons">
|
429 |
+
<?php _e('Select Icons', SFSI_PLUS_DOMAIN); ?>
|
430 |
+
</label>
|
431 |
+
</li>
|
432 |
+
<?php foreach ($sfsi_plus_responsive_icons['default_icons'] as $icon => $icon_config) :
|
433 |
+
?>
|
434 |
+
<li class="sfsi_plus_responsive_default_icon_container sfsi_vertical_center sfsi_plus_border_left_0">
|
435 |
+
<div class="radio_section tb_4_ck">
|
436 |
+
<input name="sfsi_plus_responsive_<?php echo $icon; ?>_display" <?php echo ($icon_config['active'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_responsive_<?php echo $icon; ?>_display" type="checkbox" value="yes" class="styled" data-icon="<?php echo $icon; ?>" />
|
437 |
+
</div>
|
438 |
+
<span class="sfsi_plus_icon_container">
|
439 |
+
<div class="sfsi_plus_responsive_icon_item_container sfsi_plus_responsive_icon_<?php echo strtolower($icon); ?>_container" style="word-break:break-all;padding-left:0">
|
440 |
+
<div style="display: inline-block;height: 40px;width: 40px;text-align: center;vertical-align: middle!important;float: left;">
|
441 |
+
<img style="float:none" src="<?php echo SFSI_PLUS_PLUGURL; ?>images/responsive-icon/<?php echo $icon; ?><?php echo 'Follow' === $icon ? '.png' : '.svg'; ?>"></div>
|
442 |
+
<span> <?php echo $icon_config["text"]; ?> </span>
|
443 |
+
</div>
|
444 |
+
</span>
|
445 |
+
<input type="text" class="sfsi_plus_responsive_input" name="sfsi_plus_responsive_<?php echo $icon ?>_input" value="<?php echo $icon_config["text"]; ?>" />
|
446 |
+
<a href="#" class="sfsi_plus_responsive_default_url_toggler" style="text-decoration: none;"><?php _e('Define url*', SFSI_PLUS_DOMAIN); ?></a>
|
447 |
+
<input style="display:none" class="sfsi_plus_responsive_url_input" type="text" placeholder="Enter url" name="sfsi_plus_responsive_<?php echo $icon ?>_url_input" value="<?php echo $icon_config["url"]; ?>" />
|
448 |
+
<a href="#" class="sfsi_plus_responsive_default_url_hide" style="display:none"><span class="sfsi_plus_cancel_text"><?php _e('Cancel', SFSI_PLUS_DOMAIN); ?></span><span class="sfsi_plus_cancel_icon">×</span></a>
|
449 |
+
</li>
|
450 |
+
|
451 |
+
<?php endforeach; ?>
|
452 |
+
</ul>
|
453 |
+
<?php if ($option8['sfsi_plus_show_premium_placement_box'] == 'yes') { ?>
|
454 |
+
<div class="sfsi_plus_new_prmium_follw" style="width: 82%;">
|
455 |
+
<p class="sfsi_plus_border_left_0" style="font-size:16px !important">
|
456 |
+
<b><?php _e('New: ', SFSI_PLUS_DOMAIN); ?></b><?php _e('In the Premium Plugin, we also added: Pinterest, Linkedin, WhatsApp, VK, OK, Telegram, Weibo, WeChat, Xing and the option to add custom iocns. There are more important options to add custom iocns. There are more placement options too, e.g. place the responsive icons before/after posts/pages, show them only on desktop/mobile, insert them manually (via shortcode).', SFSI_PLUS_DOMAIN); ?><a href="Links to: https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=responsive_icons&utm_medium=banner" class="sfsi_plus_font_inherit" target="_blank"><?php _e(' See all features', SFSI_PLUS_DOMAIN); ?></a>
|
457 |
+
</p>
|
458 |
+
</div>
|
459 |
+
<?php } ?>
|
460 |
+
|
461 |
+
<div class="options sfsi_plus_border_left_0">
|
462 |
+
<label class="heading-label" style="width:auto!important;margin-top: 11px;margin-right: 11px;">
|
463 |
+
<?php _e('So: do you want to display those at the end of every post?', SFSI_PLUS_DOMAIN); ?>
|
464 |
+
</label>
|
465 |
+
<ul style="display:flex">
|
466 |
+
<li style="min-width: 200px">
|
467 |
+
<input name="sfsi_plus_responsive_icons_end_post" type="radio" value="yes" class="styled" <?php echo (isset($option8['sfsi_plus_responsive_icons_end_post']) && $option8['sfsi_plus_responsive_icons_end_post']=="yes")?"checked='checked'":''; ?> />
|
468 |
+
<label class="labelhdng4">
|
469 |
+
<?php _e('Yes', SFSI_PLUS_DOMAIN); ?>
|
470 |
+
</label>
|
471 |
+
</li>
|
472 |
+
<li>
|
473 |
+
<input name="sfsi_plus_responsive_icons_end_post" type="radio" value="no" class="styled" <?php echo (!isset($option8['sfsi_plus_responsive_icons_end_post'])?true:$option8['sfsi_plus_responsive_icons_end_post']=="no")?"checked='checked'":""; ?> />
|
474 |
+
<label class="labelhdng4">
|
475 |
+
<?php _e('No', SFSI_PLUS_DOMAIN); ?>
|
476 |
+
</label>
|
477 |
+
</li>
|
478 |
+
|
479 |
</div>
|
480 |
+
</li>
|
481 |
+
|
482 |
+
<!-- sfsi_plus_responsive_icons_end_post -->
|
483 |
+
<li class="sfsi_plus_responsive_icon_option_li sfsiplus_responsive_show " style="<?php echo ($sfsi_plus_display_responsive_type) ?>" >
|
484 |
+
<label class="heading-label">
|
485 |
+
<?php _e('Design options', SFSI_PLUS_DOMAIN); ?>
|
486 |
+
</label>
|
487 |
+
<div class="options sfsi_plus_border_left_0 ">
|
488 |
+
<label class="first">
|
489 |
+
<?php _e('Icons size:', SFSI_PLUS_DOMAIN); ?>
|
490 |
+
</label>
|
491 |
+
<div class="field">
|
492 |
+
<div style="display:inline-block">
|
493 |
+
<select name="sfsi_plus_responsive_icons_settings_icon_size" class="styled">
|
494 |
+
<option value="Small" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["icon_size"]) && $sfsi_plus_responsive_icons["settings"]["icon_size"] === "Small") ? 'selected="selected"' : ""; ?>>
|
495 |
+
Small
|
496 |
+
</option>
|
497 |
+
<option value="Medium" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["icon_size"]) && $sfsi_plus_responsive_icons["settings"]["icon_size"] === "Medium") ? 'selected="selected"' : ""; ?>>
|
498 |
+
Medium
|
499 |
+
</option>
|
500 |
+
<option value="Large" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["icon_size"]) && $sfsi_plus_responsive_icons["settings"]["icon_size"] === "Large") ? 'selected="selected"' : ""; ?>>
|
501 |
+
Large
|
502 |
+
</option>
|
503 |
+
</select>
|
504 |
+
</div>
|
505 |
+
</div>
|
506 |
+
</div>
|
507 |
+
|
508 |
+
<div class="options sfsi_plus_border_left_0 ">
|
509 |
+
<label class="first">
|
510 |
+
<?php _e('Icons width:', SFSI_PLUS_DOMAIN); ?>
|
511 |
+
</label>
|
512 |
+
<div class="field">
|
513 |
+
<div style="display:inline-block">
|
514 |
+
<select name="sfsi_plus_responsive_icons_settings_icon_width_type" class="styled">
|
515 |
+
<option value="Fixed icon width" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["icon_width_type"]) && $sfsi_plus_responsive_icons["settings"]["icon_width_type"] === "Fixed icon width") ? 'selected="selected"' : ""; ?>>
|
516 |
+
<?php _e('Fixed icon width', SFSI_PLUS_DOMAIN); ?>
|
517 |
+
</option>
|
518 |
+
<option value="Fully responsive" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["icon_width_type"]) && $sfsi_plus_responsive_icons["settings"]["icon_width_type"] === "Fully responsive") ? 'selected="selected"' : ""; ?>>
|
519 |
+
<?php _e('Fully responsive', SFSI_PLUS_DOMAIN); ?>
|
520 |
+
</option>
|
521 |
+
</select>
|
522 |
+
</div>
|
523 |
+
<div class="sfsi_plus_responsive_icons_icon_width sfsi_plus_inputSec" style='display:<?php echo (isset($sfsi_plus_responsive_icons["settings"]["icon_width_type"]) && $sfsi_plus_responsive_icons["settings"]["icon_width_type"] == 'Fully responsive') ? 'none' : 'inline-block'; ?>'>
|
524 |
+
<span style="width:auto!important"><?php _e('of', SFSI_PLUS_DOMAIN); ?></span>
|
525 |
+
<input type="number" value="<?php echo isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["icon_width_size"]) ? $sfsi_plus_responsive_icons["settings"]["icon_width_size"] : 140; ?>" name="sfsi_plus_responsive_icons_sttings_icon_width_size" style="float:none" />
|
526 |
+
</select>
|
527 |
+
<span class="sfsi_plus_span_after_input"><?php _e('pixels', SFSI_PLUS_DOMAIN); ?></span>
|
528 |
+
</div>
|
529 |
+
</div>
|
530 |
+
</div>
|
531 |
+
|
532 |
+
<div class="options sfsi_plus_border_left_0">
|
533 |
+
<label class="first">
|
534 |
+
<?php _e('Edges:', SFSI_PLUS_DOMAIN); ?>
|
535 |
+
</label>
|
536 |
+
<div class="field">
|
537 |
+
<div style="display:inline-block">
|
538 |
+
<select name="sfsi_plus_responsive_icons_settings_edge_type" class="styled">
|
539 |
+
<option value="Round" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["edge_type"]) && $sfsi_plus_responsive_icons["settings"]["edge_type"] === "Round") ? 'selected="selected"' : ""; ?>>
|
540 |
+
<?php _e('Round', SFSI_PLUS_DOMAIN); ?>
|
541 |
+
</option>
|
542 |
+
<option value="Sharp" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["edge_type"]) && $sfsi_plus_responsive_icons["settings"]["edge_type"] === "Sharp") ? 'selected="selected"' : ""; ?>>
|
543 |
+
<?php _e('Sharp', SFSI_PLUS_DOMAIN); ?>
|
544 |
+
</option>
|
545 |
+
</select>
|
546 |
+
</div>
|
547 |
+
</div>
|
548 |
+
<span style="width:auto!important;font-size: 18px;color: #5A6570; <?php echo (isset($sfsi_plus_responsive_icons["settings"]["edge_type"]) && $sfsi_plus_responsive_icons["settings"]["edge_type"] == 'Sharp') ? 'display:none' : ''; ?>"><?php _e('with border radius', SFSI_PLUS_DOMAIN); ?></span>
|
549 |
+
<div style="position:absolute;<?php echo (isset($sfsi_plus_responsive_icons["settings"]["edge_type"]) && $sfsi_plus_responsive_icons["settings"]["edge_type"] == 'Sharp') ? 'display:none' : 'display:inline-block'; ?>">
|
550 |
+
<select name="sfsi_plus_responsive_icons_settings_edge_radius" id="sfsi_plus_icons_alignment" class="styled">
|
551 |
+
<?php for ($i = 1; $i <= 20; $i++) : ?>
|
552 |
+
<option value="<?php echo $i; ?>" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["edge_radius"]) && $sfsi_plus_responsive_icons["settings"]["edge_radius"] == $i) ? 'selected="selected"' : ''; ?>>
|
553 |
+
<?php echo $i; ?>
|
554 |
+
</option>
|
555 |
+
<?php endfor; ?>
|
556 |
+
</select>
|
557 |
+
</div>
|
558 |
+
<span style=" <?php echo (isset($sfsi_plus_responsive_icons["settings"]["edge_type"]) && $sfsi_plus_responsive_icons["settings"]["edge_type"] == 'Sharp') ? 'display:none' : ''; ?>"><?php _e('pixels', SFSI_PLUS_DOMAIN); ?></span>
|
559 |
+
|
560 |
+
</div>
|
561 |
+
|
562 |
+
<div class="options sfsi_plus_border_left_0">
|
563 |
+
<label class="first">
|
564 |
+
<?php _e('Style:', SFSI_PLUS_DOMAIN); ?>
|
565 |
+
</label>
|
566 |
+
<div class="field">
|
567 |
+
<div style="display:inline-block">
|
568 |
+
<select name="sfsi_plus_responsive_icons_settings_style" class="styled">
|
569 |
+
<option value="Flat" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["style"]) && $sfsi_plus_responsive_icons["settings"]["style"] === "Flat") ? 'selected="selected"' : ""; ?>>
|
570 |
+
<?php _e('Flat', SFSI_PLUS_DOMAIN); ?>
|
571 |
+
</option>
|
572 |
+
<option value="Gradient" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["style"]) && $sfsi_plus_responsive_icons["settings"]["style"] === "Gradient") ? 'selected="selected"' : ""; ?>>
|
573 |
+
<?php _e('Gradient', SFSI_PLUS_DOMAIN); ?>
|
574 |
+
</option>
|
575 |
+
</select>
|
576 |
+
</div>
|
577 |
+
</div>
|
578 |
+
</div>
|
579 |
+
|
580 |
+
<div class="options sfsi_plus_border_left_0 sfsi_plus_inputSec">
|
581 |
+
<label class="first">
|
582 |
+
<?php _e('Margin between icons:', SFSI_PLUS_DOMAIN); ?>
|
583 |
+
</label>
|
584 |
+
<div class="field">
|
585 |
+
<input type="number" value="<?php echo isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["margin"]) ? $sfsi_plus_responsive_icons["settings"]["margin"] : 0; ?>" name="sfsi_plus_responsive_icons_settings_margin" style="float:none" />
|
586 |
+
<span class="span_after_input"><?php _e('pixels', SFSI_PLUS_DOMAIN); ?></span>
|
587 |
+
</div>
|
588 |
+
</div>
|
589 |
+
|
590 |
+
<div class="options sfsi_plus_border_left_0">
|
591 |
+
<label class="first">
|
592 |
+
<?php _e('Text on icons:', SFSI_PLUS_DOMAIN); ?>
|
593 |
+
</label>
|
594 |
+
<div class="field">
|
595 |
+
<div style="display:inline-block">
|
596 |
+
<select name="sfsi_plus_responsive_icons_settings_text_align" class="styled">
|
597 |
+
<option value="Left aligned" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["text_align"]) && $sfsi_plus_responsive_icons["settings"]["text_align"] === "Left aligned") ? 'selected="selected"' : ""; ?>>
|
598 |
+
<?php _e('Left aligned', SFSI_PLUS_DOMAIN); ?>
|
599 |
+
</option>
|
600 |
+
<option value="Centered" <?php echo (isset($sfsi_plus_responsive_icons["settings"]) && isset($sfsi_plus_responsive_icons["settings"]["text_align"]) && $sfsi_plus_responsive_icons["settings"]["text_align"] === "Centered") ? 'selected="selected"' : ""; ?>>
|
601 |
+
<?php _e('Centered', SFSI_PLUS_DOMAIN); ?>
|
602 |
+
</option>
|
603 |
+
</select>
|
604 |
+
</div>
|
605 |
+
</div>
|
606 |
+
</div>
|
607 |
+
</li>
|
608 |
+
<li class="sfsi_plus_responsive_icon_option_li sfsiplus_responsive_show" style="<?php echo ($sfsi_plus_display_responsive_type) ?>" >
|
609 |
+
<label class="heading-label">
|
610 |
+
<?php _e('Share count', SFSI_PLUS_DOMAIN); ?>
|
611 |
+
</label>
|
612 |
+
<div class="options sfsi_plus_border_left_0">
|
613 |
+
<label style="width:auto!important;font-size: 16px;">
|
614 |
+
<?php _e('Show the total share count on the left of your icons. It will only be visible if the individual counts are set up under <a href="#" style="text-decoration: none;font-size: 16px;" onclick="event.preventDefault();sfsi_plus_scroll_to_div(\'ui-id-9\')" >question 5</a>.', SFSI_PLUS_DOMAIN); ?>
|
615 |
+
</label>
|
616 |
+
|
617 |
+
</div>
|
618 |
+
<ul class="sfsiplus_tab_3_icns sfsiplus_shwthmbfraftr " style="float:left">
|
619 |
+
<li class="clckbltglcls sfsi_plus_border_left_0">
|
620 |
+
<input name="sfsi_plus_responsive_icon_show_count" <?php echo (isset($sfsi_plus_responsive_icons["settings"]["show_count"]) && $sfsi_plus_responsive_icons["settings"]["show_count"]=="yes")?"checked='checked'":''; ?> type="radio" value="yes" class="styled" />
|
621 |
+
<label class="labelhdng4">
|
622 |
+
<?php _e('Yes', SFSI_PLUS_DOMAIN); ?>
|
623 |
+
</label>
|
624 |
+
</li>
|
625 |
+
<li class="clckbltglcls sfsi_plus_border_left_0">
|
626 |
+
<input name="sfsi_plus_responsive_icon_show_count" <?php echo (!isset($sfsi_plus_responsive_icons["settings"]["show_count"])?true:$sfsi_plus_responsive_icons["settings"]["show_count"]=="no")?"checked='checked'":""; ?> type="radio" value="no" class="styled" />
|
627 |
+
<label class="labelhdng4">
|
628 |
+
<?php _e('No', SFSI_PLUS_DOMAIN); ?>
|
629 |
+
</label>
|
630 |
+
</li>
|
631 |
+
</ul>
|
632 |
+
</li>
|
633 |
+
|
634 |
+
<li class="sfsi_plus_responsive_icon_option_li sfsiplus_responsive_hide" style="<?php echo ($sfsi_plus_display_normal_type) ?>" >
|
635 |
+
<ul class="sfsiplus_tab_3_icns sfsiplus_shwthmbfraftr ">
|
636 |
+
<li class="row sfsiplus_PostsSettings_section sfsi_plus_border_left_0" style="width: 100% !important;">
|
637 |
+
<div class="options sfsipluspstvwpr">
|
638 |
+
<label class="first chcklbl">
|
639 |
+
<?php _e('Display them:', SFSI_PLUS_DOMAIN); ?>
|
640 |
+
</label>
|
641 |
+
<label class="seconds chcklbl labelhdng4">
|
642 |
+
<?php _e('On Post Pages', SFSI_PLUS_DOMAIN); ?>
|
643 |
+
</label>
|
644 |
+
<div class="chckwpr">
|
645 |
+
<div class="snglchckcntr">
|
646 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_display_before_posts" <?php echo ($option8['sfsi_plus_display_before_posts'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_display_before_posts" type="checkbox" value="yes" class="styled" /></div>
|
647 |
+
<div class="sfsiplus_right_info">
|
648 |
+
<?php _e('Before posts', SFSI_PLUS_DOMAIN); ?>
|
649 |
+
</div>
|
650 |
+
</div>
|
651 |
+
<div class="snglchckcntr">
|
652 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_display_after_posts" <?php echo ($option8['sfsi_plus_display_after_posts'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_display_after_posts" type="checkbox" value="yes" class="styled" /></div>
|
653 |
+
<div class="sfsiplus_right_info">
|
654 |
+
<?php _e('After posts', SFSI_PLUS_DOMAIN); ?>
|
655 |
+
</div>
|
656 |
+
</div>
|
657 |
+
|
658 |
+
</div>
|
659 |
+
</div>
|
660 |
+
|
661 |
+
<div class="options sfsipluspstvwpr">
|
662 |
+
<label class="first chcklbl"> </label>
|
663 |
+
<label class="seconds chcklbl labelhdng4">
|
664 |
+
<?php _e('On Homepage', SFSI_PLUS_DOMAIN); ?>
|
665 |
+
</label>
|
666 |
+
<div class="chckwpr">
|
667 |
+
<div class="snglchckcntr">
|
668 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_display_before_blogposts" <?php echo ($option8['sfsi_plus_display_before_blogposts'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_display_before_blogposts" type="checkbox" value="yes" class="styled" /></div>
|
669 |
+
<div class="sfsiplus_right_info">
|
670 |
+
<?php _e('Before posts', SFSI_PLUS_DOMAIN); ?>
|
671 |
+
</div>
|
672 |
+
</div>
|
673 |
+
<div class="snglchckcntr">
|
674 |
+
<div class="radio_section tb_4_ck"><input name="sfsi_plus_display_after_blogposts" <?php echo ($option8['sfsi_plus_display_after_blogposts'] == 'no') ? 'checked="true"' : ''; ?> id="sfsi_plus_display_after_blogposts" type="checkbox" value="no" class="styled" /></div>
|
675 |
+
<div class="sfsiplus_right_info">
|
676 |
+
<?php _e('After posts', SFSI_PLUS_DOMAIN); ?>
|
677 |
+
</div>
|
678 |
+
</div>
|
679 |
+
|
680 |
+
</div>
|
681 |
+
</div>
|
682 |
+
|
683 |
+
<!--Display them options-->
|
684 |
+
<div class="options shareicontextfld">
|
685 |
+
<label class="first">
|
686 |
+
<?php _e('Text to appear before the sharing icons:', SFSI_PLUS_DOMAIN); ?>
|
687 |
+
</label><input name="sfsi_plus_textBefor_icons" type="text" value="<?php echo ($option8['sfsi_plus_textBefor_icons'] != '') ? $option8['sfsi_plus_textBefor_icons'] : ''; ?>" />
|
688 |
+
<?php if ($option8['sfsi_plus_show_premium_placement_box'] == 'yes') { ?>
|
689 |
+
<p class="sfsi_plus_prem_plu_desc_define">
|
690 |
+
<b><?php _e('New: ', SFSI_PLUS_DOMAIN); ?></b><?php _e(' In the Premium Plugin you can now also define the font size, type, and the margins below/above the icons. ', SFSI_PLUS_DOMAIN); ?><a class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" style="cursor:pointer;border-bottom: 1px solid #12a252;color: #12a252 !important" class="sfisi_plus_font_bold" target="_blank"><?php _e('Go premium now', SFSI_PLUS_DOMAIN); ?></a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_placement_options&utm_medium=banner" class="sfsi_plus_font_inherit" style="color: #12a252 !important" target="_blank"><?php _e(' or learn more', SFSI_PLUS_DOMAIN); ?></a>
|
691 |
+
</p>
|
692 |
+
<?php } ?>
|
693 |
+
</div>
|
694 |
+
|
695 |
+
<div class="options">
|
696 |
+
<label>
|
697 |
+
<?php _e('Alignment of share icons:', SFSI_PLUS_DOMAIN); ?>
|
698 |
+
</label>
|
699 |
+
<div class="field">
|
700 |
+
<select name="sfsi_plus_icons_alignment" id="sfsi_plus_icons_alignment" class="styled">
|
701 |
+
<option value="left" <?php echo ($option8['sfsi_plus_icons_alignment'] == 'left') ? 'selected="selected"' : ''; ?>>
|
702 |
+
<?php _e('Left', SFSI_PLUS_DOMAIN); ?>
|
703 |
+
</option>
|
704 |
+
<option value="right" <?php echo ($option8['sfsi_plus_icons_alignment'] == 'right') ? 'selected="selected"' : ''; ?>>
|
705 |
+
<?php _e('Right', SFSI_PLUS_DOMAIN); ?>
|
706 |
+
</option>
|
707 |
+
<option value="center" <?php echo ($option8['sfsi_plus_icons_alignment'] == 'center') ? 'selected="selected"' : ''; ?>>
|
708 |
+
<?php _e('Center', SFSI_PLUS_DOMAIN); ?>
|
709 |
+
</option>
|
710 |
+
</select>
|
711 |
+
</div>
|
712 |
+
</div>
|
713 |
+
</li>
|
714 |
+
</ul>
|
715 |
+
</li>
|
716 |
+
</ul>
|
717 |
</div>
|
718 |
</li>
|
719 |
+
|
720 |
+
<!--Fifth Section-->
|
721 |
<li class="sfsiplusplaceusinggutenberg">
|
722 |
+
<div class="radio_section tb_4_ck" onclick="checkforinfoslction(this);"><input name="sfsi_plus_place_item_gutenberg" <?php echo ($option8['sfsi_plus_place_item_gutenberg'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_plus_place_item_gutenberg" type="checkbox" value="yes" class="styled" /></div>
|
723 |
<div class="sfsiplus_right_info">
|
724 |
<p>
|
725 |
<span class="sfsiplus_toglepstpgspn">
|
726 |
+
<?php _e('Show them in the Gutenberg editor', SFSI_PLUS_DOMAIN); ?>
|
727 |
+
</span><br>
|
728 |
+
<?php
|
729 |
+
if ($option8['sfsi_plus_place_item_gutenberg'] == 'yes') {
|
|
|
730 |
$label_style = 'style="display:block; font-size: 15px;"';
|
731 |
+
} else {
|
|
|
|
|
732 |
$label_style = 'style="font-size: 15px;"';
|
733 |
}
|
734 |
?>
|
735 |
+
<label class="sfsiplus_sub-subtitle ckckslctn" <?php echo $label_style; ?>>
|
736 |
+
<?php _e('Look for this sign', SFSI_PLUS_DOMAIN); ?> <img style="margin-bottom:-4px" width="20" src="<?php echo SFSI_PLUS_PLUGURL ?>images/sfsi_block_icon.jpg"> <?php _e(' in your Gutenberg editor and click on it. Then a new block with the icons will be added.', SFSI_PLUS_DOMAIN); ?>
|
737 |
|
738 |
+
</label>
|
739 |
</p>
|
740 |
+
</div>
|
741 |
</li>
|
742 |
<!-- pinterest on image over icon -->
|
743 |
+
<li class="row sfsiplus_show_via_onhover disabled_checkbox">
|
744 |
+
|
745 |
<div class="radio_section tb_4_ck">
|
746 |
<span class="checkbox" style="background-position:0px 0px!important;width:31px"></span>
|
747 |
+
<input name="" type="checkbox" disable value="" class="hide" style="display:none;" /></div>
|
748 |
+
|
749 |
<div class="sfsiplus_right_info">
|
750 |
+
|
751 |
+
<p style="display:block">
|
752 |
+
<span class="sfsiplus_toglepstpgspn" style="width:50%;display:inline-block">Show a Pinterest icon over images on mouse-over </span> <span><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=pinterest_icon_mouse_over&utm_medium=link" target="_blank" style="font-weight:800;color:#777">Premium feature</a></span>
|
753 |
</p>
|
754 |
+
|
755 |
</div>
|
756 |
</li>
|
757 |
</ul>
|
758 |
+
<?php if ($option8['sfsi_plus_show_premium_placement_box'] == 'yes') { ?>
|
759 |
+
<div class="sfsi_plus_new_prmium_follw ">
|
760 |
+
<p>
|
761 |
+
<b><?php _e('New: ', SFSI_PLUS_DOMAIN); ?></b><?php _e('In our Premium Plugin you have many more placement options, e.g. place the icons statically on the page, optimize placement for mobile, don’t show them on certain pages, show them while user is scrolling down the page (or not) etc. ', SFSI_PLUS_DOMAIN); ?><a style="cursor:pointer" class="pop-up" data-id="sfsi_plus_quickpay-overlay" onclick="sfsi_plus_open_quick_checkout(event)" class="sfisi_plus_font_bold" target="_blank"><?php _e('Go premium now', SFSI_PLUS_DOMAIN); ?></a><a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_placement_options&utm_medium=banner" class="sfsi_plus_font_inherit" target="_blank"><?php _e(' or learn more', SFSI_PLUS_DOMAIN); ?></a>
|
762 |
</p>
|
763 |
+
</div>
|
764 |
+
<?php } ?>
|
765 |
+
|
766 |
<?php sfsi_plus_ask_for_help(8); ?>
|
767 |
|
768 |
+
<!-- SAVE BUTTON SECTION -->
|
769 |
<div class="save_button">
|
770 |
+
<img src="<?php echo SFSI_PLUS_PLUGURL ?>images/ajax-loader.gif" class="loader-img" />
|
771 |
+
<?php $nonce = wp_create_nonce("update_plus_step8"); ?>
|
772 |
+
<a href="javascript:;" id="sfsi_plus_save8" title="Save" data-nonce="<?php echo $nonce; ?>">
|
773 |
+
<?php _e('Save', SFSI_PLUS_DOMAIN); ?>
|
774 |
+
</a>
|
775 |
+
</div>
|
776 |
+
<!-- END SAVE BUTTON SECTION -->
|
777 |
+
|
778 |
+
<a class="sfsiColbtn closeSec" href="javascript:;">
|
779 |
+
<?php _e('Collapse area', SFSI_PLUS_DOMAIN); ?>
|
780 |
+
</a>
|
781 |
<label class="closeSec"></label>
|
782 |
+
|
783 |
<!-- ERROR AND SUCCESS MESSAGE AREA-->
|
784 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
785 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
786 |
<div class="clear"></div>
|
787 |
+
|
788 |
+
</div>
|
views/sfsi_options_view.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<!-- Loader Image section -->
|
2 |
-
<div id="sfpluspageLoad"
|
3 |
|
4 |
</div>
|
5 |
<!-- END Loader Image section -->
|
@@ -195,7 +195,8 @@
|
|
195 |
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
196 |
</a>
|
197 |
</p>
|
198 |
-
|
|
|
199 |
<!--<p class="bldtxtmsg">
|
200 |
<?php _e( 'Need top-notch Wordpress development work at a competitive price?', SFSI_PLUS_DOMAIN ); ?>
|
201 |
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=footer_credit&utm_medium=banner">
|
@@ -247,4 +248,5 @@
|
|
247 |
}
|
248 |
});
|
249 |
</script>
|
|
|
250 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_chat_on_admin_pannel.php'); ?>
|
1 |
<!-- Loader Image section -->
|
2 |
+
<div id="sfpluspageLoad">
|
3 |
|
4 |
</div>
|
5 |
<!-- END Loader Image section -->
|
195 |
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
196 |
</a>
|
197 |
</p>
|
198 |
+
|
199 |
+
|
200 |
<!--<p class="bldtxtmsg">
|
201 |
<?php _e( 'Need top-notch Wordpress development work at a competitive price?', SFSI_PLUS_DOMAIN ); ?>
|
202 |
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=footer_credit&utm_medium=banner">
|
248 |
}
|
249 |
});
|
250 |
</script>
|
251 |
+
|
252 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_chat_on_admin_pannel.php'); ?>
|
views/sfsi_pop_content.php
CHANGED
@@ -309,7 +309,8 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
309 |
</div>
|
310 |
</div>
|
311 |
</div>
|
312 |
-
</div>
|
|
|
313 |
|
314 |
<?php
|
315 |
$linnked_share=($option2['sfsi_plus_linkedin_pageURL']!='') ? $option2['sfsi_plus_linkedin_pageURL'] : 'https://www.linkedin.com/' ;
|
@@ -336,7 +337,8 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
336 |
</div>
|
337 |
</div>
|
338 |
</div>
|
339 |
-
</div>
|
|
|
340 |
|
341 |
|
342 |
<!-- email deactivate pop-ups -->
|
309 |
</div>
|
310 |
</div>
|
311 |
</div>
|
312 |
+
</div>
|
313 |
+
<!-- END Pinterest example pop up -->
|
314 |
|
315 |
<?php
|
316 |
$linnked_share=($option2['sfsi_plus_linkedin_pageURL']!='') ? $option2['sfsi_plus_linkedin_pageURL'] : 'https://www.linkedin.com/' ;
|
337 |
</div>
|
338 |
</div>
|
339 |
</div>
|
340 |
+
</div>
|
341 |
+
<!-- END LinkedIn example pop up -->
|
342 |
|
343 |
|
344 |
<!-- email deactivate pop-ups -->
|