Version Description
- Lightbox removed after click on de-activation of plugin
- Banner for animation section in Question 4 added
- Different icon for mouseover section pointing to premium in Question 4 added
- Removed theme icon banner if no match
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 2.9.5 |
Comparing to | |
See all releases |
Code changes from version 2.9.4 to 2.9.5
- css/sfsi-admin-style.css +189 -2
- css/sfsi-style.css +2 -13
- helpers/common_helper.php +199 -0
- images/banner/animated_facebook.gif +0 -0
- images/banner/animated_follow.gif +0 -0
- images/banner/animated_google.gif +0 -0
- images/banner/animated_instagram.gif +0 -0
- images/banner/animated_linkedin.gif +0 -0
- images/banner/animated_pinterest.gif +0 -0
- images/banner/animated_twitter.gif +0 -0
- images/banner/animated_whatsapp.gif +0 -0
- images/banner/animated_youtube.gif +0 -0
- images/banner/default1_facebook.png +0 -0
- images/banner/default1_google.png +0 -0
- images/banner/default1_twitter.png +0 -0
- images/banner/default2_facebook.png +0 -0
- images/banner/default2_google.png +0 -0
- images/banner/default2_twitter.png +0 -0
- images/banner/default3_facebook.png +0 -0
- images/banner/default3_google.png +0 -0
- images/banner/default3_twitter.png +0 -0
- images/banner/theme1_facebook.png +0 -0
- images/banner/theme1_google.png +0 -0
- images/banner/theme1_twitter.png +0 -0
- images/banner/theme2_facebook.png +0 -0
- images/banner/theme2_google.png +0 -0
- images/banner/theme2_twitter.png +0 -0
- images/banner/theme3_facebook.png +0 -0
- images/banner/theme3_google.png +0 -0
- images/banner/theme3_twitter.png +0 -0
- js/custom-admin.js +66 -10
- libs/controllers/sfsi_buttons_controller.php +41 -36
- libs/sfsi_Init_JqueryCss.php +3 -4
- libs/sfsi_install_uninstall.php +26 -13
- readme.txt +9 -3
- ultimate_social_media_icons.php +14 -6
- views/sfsi_option_view3.php +9 -148
- views/sfsi_options_view.php +21 -21
- views/sfsi_section_for_premium.php +2 -2
- views/subviews/que4/animatethem.php +182 -0
- views/subviews/que4/banner.php +143 -0
css/sfsi-admin-style.css
CHANGED
@@ -1270,7 +1270,7 @@ ul.sfsi_show_hide_section {float: right;width: 14%;}
|
|
1270 |
|
1271 |
/* Link to support forum left of every Save button */
|
1272 |
.ui-accordion .ui-accordion-content { position: relative; }
|
1273 |
-
.sfsi_plus_askforhelp { float: left;width:
|
1274 |
.sfsi_plus_askforhelp img { float: left;width: 35px;height: 35px;vertical-align: middle; }
|
1275 |
.sfsi_plus_askforhelp span{ float: left;margin-left: 6px;margin-top: 8px;}
|
1276 |
.askhelpInview2 { bottom: 25px; }
|
@@ -1280,4 +1280,191 @@ ul.sfsi_show_hide_section {float: right;width: 14%;}
|
|
1280 |
.ulSuppressErrors {margin-top: 20px !important;}
|
1281 |
.ulSuppressErrors li {float: left;}
|
1282 |
div#sfsi_plus_addThis_removal_notice {padding: 10px;margin-left: 0px; position: relative;}
|
1283 |
-
div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
|
1271 |
/* Link to support forum left of every Save button */
|
1272 |
.ui-accordion .ui-accordion-content { position: relative; }
|
1273 |
+
.sfsi_plus_askforhelp { float: left;width: auto;position: absolute;bottom: 30px;}
|
1274 |
.sfsi_plus_askforhelp img { float: left;width: 35px;height: 35px;vertical-align: middle; }
|
1275 |
.sfsi_plus_askforhelp span{ float: left;margin-left: 6px;margin-top: 8px;}
|
1276 |
.askhelpInview2 { bottom: 25px; }
|
1280 |
.ulSuppressErrors {margin-top: 20px !important;}
|
1281 |
.ulSuppressErrors li {float: left;}
|
1282 |
div#sfsi_plus_addThis_removal_notice {padding: 10px;margin-left: 0px; position: relative;}
|
1283 |
+
div#sfsi_plus_langnotice {padding: 10px;margin-left: 0px;position: relative;}
|
1284 |
+
|
1285 |
+
|
1286 |
+
.clear{clear: both;}
|
1287 |
+
.show{display: block;}
|
1288 |
+
.hide{display: none;}
|
1289 |
+
|
1290 |
+
.zeropadding{padding:0px !important;}
|
1291 |
+
.zerotoppadding{padding-top:0px !important;}
|
1292 |
+
.zerobottompadding{padding-bottom:0px !important;}
|
1293 |
+
.zerotopmargin{margin-top:0px !important;}
|
1294 |
+
|
1295 |
+
.rowpadding10{padding: 10px 0 !important; }
|
1296 |
+
.rowmarginleft15 {margin-left: 15px !important;}
|
1297 |
+
.rowmarginleft25 {margin-left: 25px !important;}
|
1298 |
+
.rowmarginleft45 {margin-left: 45px !important;}
|
1299 |
+
.bottommargin20 {margin-bottom: 20px !important;}
|
1300 |
+
.bottommargin30 {margin-bottom: 30px !important;}
|
1301 |
+
.bottommargin40 {margin-bottom: 40px !important;}
|
1302 |
+
.inactiveSection{opacity: 0.2;pointer-events: none;}
|
1303 |
+
|
1304 |
+
/* */
|
1305 |
+
.tab3 .sub_row{
|
1306 |
+
float: left;
|
1307 |
+
margin: 35px 0 0 4%;
|
1308 |
+
width: 80%;
|
1309 |
+
}
|
1310 |
+
.tab3 .sub_row label {
|
1311 |
+
float: left;
|
1312 |
+
margin: 0 0px 0 10px;
|
1313 |
+
line-height: 36px;
|
1314 |
+
font-size: 18px;
|
1315 |
+
}
|
1316 |
+
.tab3 .sub_row .effectContainer{
|
1317 |
+
float: left;
|
1318 |
+
width: 100%;
|
1319 |
+
margin-left: 45px;
|
1320 |
+
}
|
1321 |
+
.tab3 .sub_row .effectName{
|
1322 |
+
float: left;
|
1323 |
+
width: 25%;
|
1324 |
+
}
|
1325 |
+
.tab3 .tab_3_sav {
|
1326 |
+
padding-top: 0;
|
1327 |
+
margin: 0px auto 10px;
|
1328 |
+
position: relative;
|
1329 |
+
z-index: 9;
|
1330 |
+
}
|
1331 |
+
.tab3 .Shuffle_auto {
|
1332 |
+
float: left;
|
1333 |
+
width: 80%;
|
1334 |
+
clear: both;
|
1335 |
+
}
|
1336 |
+
.tab3 #animationSection label {font-family: 'helveticaneue-light';}
|
1337 |
+
|
1338 |
+
.tab3 select[name='mouseover_other_icons_transition_effect'] {
|
1339 |
+
margin-left: 10px;
|
1340 |
+
padding: 0px 11px;
|
1341 |
+
margin-top: 4px;
|
1342 |
+
font-size: 15px;
|
1343 |
+
border-radius: 5px;
|
1344 |
+
}
|
1345 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_label {
|
1346 |
+
float: left;
|
1347 |
+
width: 30%;
|
1348 |
+
font-size: 16px;
|
1349 |
+
}
|
1350 |
+
.tab3 .mouse-over-effects span.radio {
|
1351 |
+
float: left;
|
1352 |
+
display: inline-block;
|
1353 |
+
}
|
1354 |
+
.tab3 .same_icons_effects label span {
|
1355 |
+
float: left;
|
1356 |
+
clear: both;
|
1357 |
+
line-height: 20px;
|
1358 |
+
}
|
1359 |
+
.tab3 .same_icons_effects label span:nth-child(2) {
|
1360 |
+
font-size: 14px;
|
1361 |
+
}
|
1362 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_img {
|
1363 |
+
float: left;
|
1364 |
+
width: 40px;
|
1365 |
+
height: 40px;
|
1366 |
+
}
|
1367 |
+
.tab3 .other_icons_effects_options .mouseover_other_icon_change_link, .tab3 .other_icons_effects_options .mouseover_other_icon_revert_link {
|
1368 |
+
float: left;
|
1369 |
+
color: #337ab7;
|
1370 |
+
margin-left: 15px;
|
1371 |
+
padding: 5px 0px;
|
1372 |
+
font-size: 15px;
|
1373 |
+
text-decoration: underline;
|
1374 |
+
}
|
1375 |
+
.mouseover-premium-notice{
|
1376 |
+
}
|
1377 |
+
.mouseover-premium-notice label{
|
1378 |
+
width: auto !important;
|
1379 |
+
margin: 0 !important;
|
1380 |
+
}
|
1381 |
+
.mouseover-premium-notice a{
|
1382 |
+
float: left;
|
1383 |
+
color: #12a252 !important;
|
1384 |
+
padding-top: 5px;
|
1385 |
+
margin-left: 5px;
|
1386 |
+
font-size: 18px;
|
1387 |
+
}
|
1388 |
+
|
1389 |
+
@media (min-width:414px) and (max-width: 736px) and (orientation:portrait) {
|
1390 |
+
.tab3 .sub_row{
|
1391 |
+
width: 100%;
|
1392 |
+
}
|
1393 |
+
.tab3 .sub_row .effectContainer{
|
1394 |
+
margin-left: 25px;
|
1395 |
+
margin-bottom: 0px;
|
1396 |
+
clear: both;
|
1397 |
+
}
|
1398 |
+
.tab3 .sub_row .effectName{
|
1399 |
+
width: 100%;
|
1400 |
+
margin-bottom: 25px
|
1401 |
+
}
|
1402 |
+
.rowmarginleft45{
|
1403 |
+
margin-left: 0px !important;
|
1404 |
+
}
|
1405 |
+
.bottommargin40{
|
1406 |
+
margin-bottom:0px !important;
|
1407 |
+
}
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
@media (min-width:414px) and (max-width: 736px) and (orientation:landscape) {
|
1411 |
+
.tab3 .sub_row{
|
1412 |
+
width: 100%;
|
1413 |
+
}
|
1414 |
+
.tab3 .sub_row .effectContainer{
|
1415 |
+
margin-left: 25px;
|
1416 |
+
margin-bottom: 0px;
|
1417 |
+
clear: both;
|
1418 |
+
}
|
1419 |
+
.tab3 .sub_row .effectName{
|
1420 |
+
width: 50%;
|
1421 |
+
margin-bottom: 25px
|
1422 |
+
}
|
1423 |
+
.rowmarginleft45{
|
1424 |
+
margin-left: 25px !important;
|
1425 |
+
}
|
1426 |
+
.bottommargin40{
|
1427 |
+
margin-bottom:0px !important;
|
1428 |
+
}
|
1429 |
+
}
|
1430 |
+
|
1431 |
+
@media (min-width:1024px) and (max-width: 1366px) and (orientation:portrait) {
|
1432 |
+
|
1433 |
+
}
|
1434 |
+
|
1435 |
+
@media (min-width:1024px) and (max-width: 1366px) and (orientation:landscape) {
|
1436 |
+
.tab3 .sub_row .effectName{
|
1437 |
+
width:40%;
|
1438 |
+
}
|
1439 |
+
.tab3 .sub_row label{
|
1440 |
+
width: 75%;
|
1441 |
+
}
|
1442 |
+
}
|
1443 |
+
|
1444 |
+
@media (min-width:768px) and (max-width: 1024px) and (orientation:portrait) {
|
1445 |
+
.tab3 .sub_row{
|
1446 |
+
width: 100%;
|
1447 |
+
}
|
1448 |
+
.tab3 .sub_row .effectContainer{
|
1449 |
+
margin-bottom: 25px;
|
1450 |
+
clear: both;
|
1451 |
+
}
|
1452 |
+
.tab3 .sub_row .effectName{
|
1453 |
+
width: 50%;
|
1454 |
+
}
|
1455 |
+
.tab3 .sub_row label{
|
1456 |
+
width: 77%;
|
1457 |
+
}
|
1458 |
+
}
|
1459 |
+
|
1460 |
+
/* */
|
1461 |
+
|
1462 |
+
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
|
1463 |
+
position: relative;
|
1464 |
+
min-height: 1px;
|
1465 |
+
padding-right: 15px;
|
1466 |
+
padding-left: 15px;
|
1467 |
+
}
|
1468 |
+
@media (min-width: 992px){.col-md-3 {width: 25%;}.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {float: left;}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}
|
1469 |
+
@media (min-width:768px) {.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}
|
1470 |
+
@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}
|
css/sfsi-style.css
CHANGED
@@ -1177,16 +1177,11 @@ ul.sfsiplus_tab_3_icns li .sfsiplus_icns_tab_3, ul.sfsiplus_tab_3_icns li .radio
|
|
1177 |
.tab3 .sub_row {
|
1178 |
float: left;
|
1179 |
margin: 35px 0 0 4%;
|
1180 |
-
width: 90%
|
|
|
1181 |
.tab3 .sub_row h4 {
|
1182 |
color: #a4a9ad!important;
|
1183 |
}
|
1184 |
-
.tab3 .sub_row label {
|
1185 |
-
float: left;
|
1186 |
-
margin: 0 20px;
|
1187 |
-
line-height: 36px;
|
1188 |
-
font-size: 18px;
|
1189 |
-
}
|
1190 |
.tab3 .sub_row p {
|
1191 |
padding-top: 18px!important;
|
1192 |
clear: both;
|
@@ -1565,12 +1560,6 @@ ul.sfsiplus_icn_listing8 li .sfsiplus_right_info a {
|
|
1565 |
ul.tab_3_list li span {
|
1566 |
font-family: helveticabold;
|
1567 |
}
|
1568 |
-
.tab3 .Shuffle_auto {
|
1569 |
-
float: left;
|
1570 |
-
width: 80%;
|
1571 |
-
position: relative;
|
1572 |
-
top: -93px;
|
1573 |
-
}
|
1574 |
#accordion .tab4 h4, #accordion1 .tab4 h4 {
|
1575 |
|
1576 |
color: #414951;
|
1177 |
.tab3 .sub_row {
|
1178 |
float: left;
|
1179 |
margin: 35px 0 0 4%;
|
1180 |
+
width: 90%
|
1181 |
+
}
|
1182 |
.tab3 .sub_row h4 {
|
1183 |
color: #a4a9ad!important;
|
1184 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1185 |
.tab3 .sub_row p {
|
1186 |
padding-top: 18px!important;
|
1187 |
clear: both;
|
1560 |
ul.tab_3_list li span {
|
1561 |
font-family: helveticabold;
|
1562 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1563 |
#accordion .tab4 h4, #accordion1 .tab4 h4 {
|
1564 |
|
1565 |
color: #414951;
|
helpers/common_helper.php
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if(!function_exists('sfsi_plus_get_displayed_std_desktop_icons')){
|
3 |
+
|
4 |
+
function sfsi_plus_get_displayed_std_desktop_icons($option1=false){
|
5 |
+
|
6 |
+
$option1 = false !== $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_plus_section1_options',false));
|
7 |
+
|
8 |
+
$arrDisplay = array();
|
9 |
+
|
10 |
+
if(false !== $option1 && is_array($option1) ){
|
11 |
+
|
12 |
+
foreach ($option1 as $key => $value) {
|
13 |
+
|
14 |
+
if(strpos($key, '_display') !== false){
|
15 |
+
|
16 |
+
$arrDisplay[$key] = isset($option1[$key]) ? sanitize_text_field($option1[$key]) : '';
|
17 |
+
|
18 |
+
}
|
19 |
+
}
|
20 |
+
}
|
21 |
+
|
22 |
+
return $arrDisplay;
|
23 |
+
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
if(!function_exists('sfsi_plus_get_displayed_custom_desktop_icons')){
|
28 |
+
|
29 |
+
function sfsi_plus_get_displayed_custom_desktop_icons($option1=false){
|
30 |
+
|
31 |
+
$option1 = false != $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_plus_section1_options',false));
|
32 |
+
|
33 |
+
$arrDisplay = array();
|
34 |
+
|
35 |
+
if(!empty($option1) && is_array($option1) && isset($option1['sfsi_custom_files'])
|
36 |
+
&& !empty($option1['sfsi_custom_files']) ) :
|
37 |
+
|
38 |
+
$arrdbDisplay = unserialize($option1['sfsi_custom_files']);
|
39 |
+
|
40 |
+
if(is_array($arrdbDisplay)):
|
41 |
+
|
42 |
+
$arrDisplay = $arrdbDisplay;
|
43 |
+
|
44 |
+
endif;
|
45 |
+
|
46 |
+
endif;
|
47 |
+
|
48 |
+
return $arrDisplay;
|
49 |
+
}
|
50 |
+
|
51 |
+
}
|
52 |
+
|
53 |
+
if(!function_exists('sfsi_plus_get_icon_image')){
|
54 |
+
function sfsi_plus_get_icon_image($icon_name,$iconImgName=false){
|
55 |
+
|
56 |
+
$icon = false;
|
57 |
+
|
58 |
+
$option3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
59 |
+
|
60 |
+
if(isset($option3['sfsi_plus_actvite_theme']) && !empty($option3['sfsi_plus_actvite_theme'])){
|
61 |
+
|
62 |
+
$active_theme = $option3['sfsi_plus_actvite_theme'];
|
63 |
+
|
64 |
+
$icons_baseUrl = SFSI_PLUGURL."images/icons_theme/".$active_theme."/";
|
65 |
+
$visit_iconsUrl = SFSI_PLUGURL."images/visit_icons/";
|
66 |
+
|
67 |
+
if(isset($icon_name) && !empty($icon_name)):
|
68 |
+
|
69 |
+
if($active_theme == 'custom_support')
|
70 |
+
{
|
71 |
+
switch (strtolower($icon_name)) {
|
72 |
+
|
73 |
+
case 'facebook':
|
74 |
+
$custom_icon_name = "fb";
|
75 |
+
break;
|
76 |
+
|
77 |
+
case 'pinterest':
|
78 |
+
$custom_icon_name = "pintrest";
|
79 |
+
break;
|
80 |
+
|
81 |
+
default:
|
82 |
+
$custom_icon_name = $icon_name;
|
83 |
+
break;
|
84 |
+
}
|
85 |
+
|
86 |
+
$key = $custom_icon_name."_skin";
|
87 |
+
|
88 |
+
$skin = get_option($key,false);
|
89 |
+
|
90 |
+
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
|
91 |
+
|
92 |
+
if($skin)
|
93 |
+
{
|
94 |
+
$skin_url = parse_url($skin);
|
95 |
+
if($skin_url['scheme']==='http' && $scheme==='https'){
|
96 |
+
$icon = str_replace('http','https',$skin);
|
97 |
+
}else if($skin_url['scheme']==='https' && $scheme==='http'){
|
98 |
+
$icon = str_replace('https','http',$skin);
|
99 |
+
}else{
|
100 |
+
$icon = $skin;
|
101 |
+
}
|
102 |
+
}
|
103 |
+
else
|
104 |
+
{
|
105 |
+
$active_theme = 'default';
|
106 |
+
$icons_baseUrl = SFSI_PLUGURL."images/icons_theme/default/";
|
107 |
+
|
108 |
+
$iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
|
109 |
+
$icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
|
110 |
+
}
|
111 |
+
}
|
112 |
+
else
|
113 |
+
{
|
114 |
+
$iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
|
115 |
+
$icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
|
116 |
+
}
|
117 |
+
|
118 |
+
endif;
|
119 |
+
|
120 |
+
}
|
121 |
+
|
122 |
+
return $icon;
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
if(!function_exists('sfsi_plus_generate_other_icon_effect_admin_html')){
|
127 |
+
|
128 |
+
function sfsi_plus_generate_other_icon_effect_admin_html($iconName,$arrActiveDesktopIcons,$customIconIndex=-1,$customIconImgUrl=null,$customIconSrNo=null){
|
129 |
+
|
130 |
+
$iconImgVal = false;
|
131 |
+
$activeIconImgUrl = false;
|
132 |
+
|
133 |
+
$classForRevertLink = 'hide';
|
134 |
+
$defaultIconImgUrl = false;
|
135 |
+
|
136 |
+
$displayIconClass = "hide";
|
137 |
+
|
138 |
+
$arruploadDir = wp_upload_dir();
|
139 |
+
|
140 |
+
if( isset($iconName) && !empty($iconName)){
|
141 |
+
|
142 |
+
if("custom" == $iconName && $customIconIndex >-1){
|
143 |
+
|
144 |
+
if(null !== $customIconImgUrl){
|
145 |
+
|
146 |
+
$activeIconImgUrl = $customIconImgUrl;
|
147 |
+
$defaultIconImgUrl = $customIconImgUrl;
|
148 |
+
|
149 |
+
// Check if icon is selected under Question 1
|
150 |
+
if(in_array($customIconImgUrl, $arrActiveDesktopIcons)){
|
151 |
+
$displayIconClass = "show";
|
152 |
+
}
|
153 |
+
|
154 |
+
$iconNameStr = $iconName.$customIconSrNo;
|
155 |
+
|
156 |
+
}
|
157 |
+
|
158 |
+
}
|
159 |
+
|
160 |
+
else{
|
161 |
+
|
162 |
+
$dbKey = "sfsi_plus_".$iconName."_display";
|
163 |
+
|
164 |
+
if(isset($arrActiveDesktopIcons[$dbKey]) && !empty($arrActiveDesktopIcons[$dbKey])
|
165 |
+
&& "yes" == $arrActiveDesktopIcons[$dbKey]){
|
166 |
+
$displayIconClass = "show";
|
167 |
+
}
|
168 |
+
|
169 |
+
$activeIconImgUrl = sfsi_icon_get_icon_image($iconName);
|
170 |
+
|
171 |
+
$iconNameStr = $iconName;
|
172 |
+
}
|
173 |
+
|
174 |
+
$attrCustomIconSrNo = null !== $customIconSrNo ? 'data-customiconsrno="'.$customIconSrNo.'"': null;
|
175 |
+
$attrCustomIconIndex = -1 != $customIconIndex ? 'data-customiconindex="'.$customIconIndex.'"': null;
|
176 |
+
|
177 |
+
$attrIconName = 'data-iconname="'.$iconName.'"';
|
178 |
+
|
179 |
+
?>
|
180 |
+
<div <?php echo $attrCustomIconIndex;?> <?php echo $attrIconName; ?> class="col-md-3 bottommargin20 <?php echo $displayIconClass; ?>">
|
181 |
+
|
182 |
+
<label <?php echo $attrCustomIconSrNo; ?> class="mouseover_other_icon_label"><?php echo ucfirst($iconNameStr); ?> </label>
|
183 |
+
|
184 |
+
<img data-defaultImg="<?php echo $defaultIconImgUrl; ?>" class="mouseover_other_icon_img" src="<?php echo $activeIconImgUrl; ?>">
|
185 |
+
|
186 |
+
<input <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> type="hidden" value="<?php echo $iconImgVal; ?>" name="mouseover_other_icon_<?php echo $iconName; ?>">
|
187 |
+
|
188 |
+
<a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> id="btn_mouseover_other_icon_<?php echo $iconName; ?>" class="mouseover_other_icon_change_link" href="javascript:void(0)" class="mouseover_other_icon"><?php _e('Change',SFSI_PLUS_DOMAIN); ?></a>
|
189 |
+
|
190 |
+
<a <?php echo $attrCustomIconIndex; ?> <?php echo $attrIconName; ?> class="<?php echo $classForRevertLink; ?> mouseover_other_icon_revert_link" href="javascript:void(0)" class="mouseover_other_icon"><?php _e('Revert',SFSI_PLUS_DOMAIN); ?></a>
|
191 |
+
|
192 |
+
</div>
|
193 |
+
|
194 |
+
<?php
|
195 |
+
|
196 |
+
}
|
197 |
+
|
198 |
+
}
|
199 |
+
}
|
images/banner/animated_facebook.gif
ADDED
Binary file
|
images/banner/animated_follow.gif
ADDED
Binary file
|
images/banner/animated_google.gif
ADDED
Binary file
|
images/banner/animated_instagram.gif
ADDED
Binary file
|
images/banner/animated_linkedin.gif
ADDED
Binary file
|
images/banner/animated_pinterest.gif
ADDED
Binary file
|
images/banner/animated_twitter.gif
ADDED
Binary file
|
images/banner/animated_whatsapp.gif
ADDED
Binary file
|
images/banner/animated_youtube.gif
ADDED
Binary file
|
images/banner/default1_facebook.png
ADDED
Binary file
|
images/banner/default1_google.png
ADDED
Binary file
|
images/banner/default1_twitter.png
ADDED
Binary file
|
images/banner/default2_facebook.png
ADDED
Binary file
|
images/banner/default2_google.png
ADDED
Binary file
|
images/banner/default2_twitter.png
ADDED
Binary file
|
images/banner/default3_facebook.png
ADDED
Binary file
|
images/banner/default3_google.png
ADDED
Binary file
|
images/banner/default3_twitter.png
ADDED
Binary file
|
images/banner/theme1_facebook.png
ADDED
Binary file
|
images/banner/theme1_google.png
ADDED
Binary file
|
images/banner/theme1_twitter.png
ADDED
Binary file
|
images/banner/theme2_facebook.png
ADDED
Binary file
|
images/banner/theme2_google.png
ADDED
Binary file
|
images/banner/theme2_twitter.png
ADDED
Binary file
|
images/banner/theme3_facebook.png
ADDED
Binary file
|
images/banner/theme3_google.png
ADDED
Binary file
|
images/banner/theme3_twitter.png
ADDED
Binary file
|
js/custom-admin.js
CHANGED
@@ -360,16 +360,23 @@ function sfsi_plus_update_step2()
|
|
360 |
function sfsi_plus_update_step3()
|
361 |
{
|
362 |
var nonce = SFSI("#sfsi_plus_save3").attr("data-nonce");
|
363 |
-
var s
|
|
|
364 |
if (!s) return global_error = 1, !1;
|
365 |
sfsiplus_beForeLoad();
|
366 |
-
|
|
|
|
|
|
|
|
|
|
|
367 |
action:"plus_updateSrcn3",
|
368 |
sfsi_plus_actvite_theme:i,
|
369 |
sfsi_plus_mouseOver:e,
|
370 |
sfsi_plus_shuffle_icons:t,
|
371 |
sfsi_plus_shuffle_Firstload:n,
|
372 |
sfsi_plus_mouseOver_effect:o,
|
|
|
373 |
sfsi_plus_shuffle_interval:a,
|
374 |
sfsi_plus_shuffle_intervalTime:r,
|
375 |
sfsi_plus_specialIcon_animation:c,
|
@@ -1705,16 +1712,40 @@ SFSI(document).ready(function(s) {
|
|
1705 |
|
1706 |
SFSI(document).on("click", '.checkbox', function () {
|
1707 |
|
1708 |
-
|
1709 |
|
1710 |
-
|
1711 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1712 |
|
1713 |
-
var xPos = backgroundPos[0],
|
1714 |
-
yPos = backgroundPos[1];
|
1715 |
-
var val = (yPos=="0px") ? "no":"yes";
|
1716 |
-
SFSI('input[name="sfsi_plus_custom_social_hide"]').val(val);
|
1717 |
-
}
|
1718 |
});
|
1719 |
|
1720 |
//*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post CLOSES -------------------------------------//
|
@@ -2045,4 +2076,29 @@ SFSI("body").on("click", ".sfsi_plus_tokenGenerateButton a", function(){
|
|
2045 |
alert("Please enter client id and redirect url first");
|
2046 |
}
|
2047 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2048 |
});
|
360 |
function sfsi_plus_update_step3()
|
361 |
{
|
362 |
var nonce = SFSI("#sfsi_plus_save3").attr("data-nonce");
|
363 |
+
var s = sfsi_plus_validationStep3();
|
364 |
+
|
365 |
if (!s) return global_error = 1, !1;
|
366 |
sfsiplus_beForeLoad();
|
367 |
+
|
368 |
+
var i = SFSI("input[name='sfsi_plus_actvite_theme']:checked").val(), e = SFSI("input[name='sfsi_plus_mouseOver']:checked").val(), t = SFSI("input[name='sfsi_plus_shuffle_icons']:checked").val(), n = SFSI("input[name='sfsi_plus_shuffle_Firstload']:checked").val(),a = SFSI("input[name='sfsi_plus_shuffle_interval']:checked").val(), r = SFSI("input[name='sfsi_plus_shuffle_intervalTime']").val(), c = SFSI("input[name='sfsi_plus_specialIcon_animation']:checked").val(), p = SFSI("input[name='sfsi_plus_specialIcon_MouseOver']:checked").val(), _ = SFSI("input[name='sfsi_plus_specialIcon_Firstload']:checked").val(), l = SFSI("#sfsi_plus_specialIcon_Firstload_Icons option:selected").val(), S = SFSI("input[name='sfsi_plus_specialIcon_interval']:checked").val(), u = SFSI("input[name='sfsi_plus_specialIcon_intervalTime']").val(), f = SFSI("#sfsi_plus_specialIcon_intervalIcons option:selected").val(),o = SFSI("input[name='sfsi_plus_same_icons_mouseOver_effect']:checked").val();
|
369 |
+
|
370 |
+
var mouseover_effect_type = 'same_icons';//SFSI("input[name='sfsi_plus_mouseOver_effect_type']:checked").val();
|
371 |
+
|
372 |
+
var d = {
|
373 |
action:"plus_updateSrcn3",
|
374 |
sfsi_plus_actvite_theme:i,
|
375 |
sfsi_plus_mouseOver:e,
|
376 |
sfsi_plus_shuffle_icons:t,
|
377 |
sfsi_plus_shuffle_Firstload:n,
|
378 |
sfsi_plus_mouseOver_effect:o,
|
379 |
+
sfsi_plus_mouseover_effect_type: mouseover_effect_type,
|
380 |
sfsi_plus_shuffle_interval:a,
|
381 |
sfsi_plus_shuffle_intervalTime:r,
|
382 |
sfsi_plus_specialIcon_animation:c,
|
1712 |
|
1713 |
SFSI(document).on("click", '.checkbox', function () {
|
1714 |
|
1715 |
+
var s = SFSI(this).parent().find("input:checkbox:first");
|
1716 |
|
1717 |
+
var inputName = s.attr('name');
|
1718 |
+
var inputChecked = s.attr("checked");
|
1719 |
+
|
1720 |
+
switch(inputName){
|
1721 |
+
|
1722 |
+
case "sfsi_custom_social_hide":
|
1723 |
+
|
1724 |
+
var backgroundPos = jQuery(this).css('background-position').split(" ");
|
1725 |
+
|
1726 |
+
var xPos = backgroundPos[0],
|
1727 |
+
yPos = backgroundPos[1];
|
1728 |
+
var val = (yPos=="0px") ? "no":"yes";
|
1729 |
+
SFSI('input[name="sfsi_plus_custom_social_hide"]').val(val);
|
1730 |
+
|
1731 |
+
break;
|
1732 |
+
|
1733 |
+
case 'sfsi_plus_mouseOver':
|
1734 |
+
|
1735 |
+
var elem = SFSI('input[name="'+inputName+'"]');
|
1736 |
+
|
1737 |
+
var togglelem = SFSI('.mouse-over-effects');
|
1738 |
+
|
1739 |
+
if(inputChecked){
|
1740 |
+
togglelem.removeClass('hide').addClass('show');
|
1741 |
+
}
|
1742 |
+
else{
|
1743 |
+
togglelem.removeClass('show').addClass('hide');
|
1744 |
+
}
|
1745 |
+
|
1746 |
+
break;
|
1747 |
+
}
|
1748 |
|
|
|
|
|
|
|
|
|
|
|
1749 |
});
|
1750 |
|
1751 |
//*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post CLOSES -------------------------------------//
|
2076 |
alert("Please enter client id and redirect url first");
|
2077 |
}
|
2078 |
|
2079 |
+
});
|
2080 |
+
|
2081 |
+
SFSI(document).on("click", '.radio', function () {
|
2082 |
+
|
2083 |
+
var s = SFSI(this).parent().find("input:radio:first");
|
2084 |
+
|
2085 |
+
switch(s.attr("name")){
|
2086 |
+
|
2087 |
+
case 'sfsi_plus_mouseOver_effect_type':
|
2088 |
+
|
2089 |
+
var _val = s.val();
|
2090 |
+
var _name = s.attr("name");
|
2091 |
+
|
2092 |
+
if('same_icons' == _val){
|
2093 |
+
SFSI('.same_icons_effects').removeClass('hide').addClass('show');
|
2094 |
+
SFSI('.other_icons_effects_options').removeClass('show').addClass('hide');
|
2095 |
+
}
|
2096 |
+
else if('other_icons' == _val){
|
2097 |
+
SFSI('.same_icons_effects').removeClass('show').addClass('hide');
|
2098 |
+
SFSI('.other_icons_effects_options').removeClass('hide').addClass('show');
|
2099 |
+
}
|
2100 |
+
|
2101 |
+
break;
|
2102 |
+
}
|
2103 |
+
|
2104 |
});
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -195,7 +195,11 @@ function sfsi_plus_options_updater3()
|
|
195 |
}
|
196 |
$sfsi_plus_actvite_theme = isset($_POST["sfsi_plus_actvite_theme"]) ? $_POST["sfsi_plus_actvite_theme"] : 'no';
|
197 |
$sfsi_plus_mouseOver = isset($_POST["sfsi_plus_mouseOver"]) ? $_POST["sfsi_plus_mouseOver"] : 'no';
|
|
|
198 |
$sfsi_plus_mouseOver_effect = isset($_POST["sfsi_plus_mouseOver_effect"]) ? $_POST["sfsi_plus_mouseOver_effect"] : 'fade_in';
|
|
|
|
|
|
|
199 |
$sfsi_plus_shuffle_icons = isset($_POST["sfsi_plus_shuffle_icons"]) ? $_POST["sfsi_plus_shuffle_icons"] : 'no';
|
200 |
$sfsi_plus_shuffle_Firstload = isset($_POST["sfsi_plus_shuffle_Firstload"]) ? $_POST["sfsi_plus_shuffle_Firstload"] : 'no';
|
201 |
$sfsi_plus_shuffle_interval = isset($_POST["sfsi_plus_shuffle_interval"]) ? $_POST["sfsi_plus_shuffle_interval"] : 'no';
|
@@ -223,6 +227,7 @@ function sfsi_plus_options_updater3()
|
|
223 |
/* animations options */
|
224 |
'sfsi_plus_mouseOver' => sanitize_text_field($sfsi_plus_mouseOver),
|
225 |
'sfsi_plus_mouseOver_effect' => sanitize_text_field($sfsi_plus_mouseOver_effect),
|
|
|
226 |
'sfsi_plus_shuffle_icons' => sanitize_text_field($sfsi_plus_shuffle_icons),
|
227 |
'sfsi_plus_shuffle_Firstload' => sanitize_text_field($sfsi_plus_shuffle_Firstload),
|
228 |
'sfsi_plus_shuffle_interval' => sanitize_text_field($sfsi_plus_shuffle_interval),
|
@@ -1048,28 +1053,28 @@ function sfsi_plus_get_keywordEnglish(){
|
|
1048 |
add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
1049 |
|
1050 |
function sfsi_plus_bannerOption(){
|
|
|
1051 |
error_reporting(0);
|
1052 |
|
1053 |
if(get_option("sfsi_plus_new_show_notification") == "yes"){
|
1054 |
|
1055 |
-
$objThemeCheck
|
1056 |
|
1057 |
$domainname = $objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
|
1058 |
|
1059 |
// Get all themes data which incudes nobrainer
|
1060 |
-
$themeDataArr
|
1061 |
-
|
1062 |
-
$matchFound = false;
|
1063 |
|
1064 |
-
foreach ($themeDataArr as $themeDataObj)
|
1065 |
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
|
1074 |
if($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
|
1075 |
{
|
@@ -1087,32 +1092,32 @@ function sfsi_plus_bannerOption(){
|
|
1087 |
break;
|
1088 |
}
|
1089 |
}
|
1090 |
-
}
|
1091 |
|
|
|
1092 |
|
1093 |
-
if(!$matchFound){
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
}
|
1116 |
|
1117 |
echo '<script type="text/javascript">
|
1118 |
jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
|
195 |
}
|
196 |
$sfsi_plus_actvite_theme = isset($_POST["sfsi_plus_actvite_theme"]) ? $_POST["sfsi_plus_actvite_theme"] : 'no';
|
197 |
$sfsi_plus_mouseOver = isset($_POST["sfsi_plus_mouseOver"]) ? $_POST["sfsi_plus_mouseOver"] : 'no';
|
198 |
+
|
199 |
$sfsi_plus_mouseOver_effect = isset($_POST["sfsi_plus_mouseOver_effect"]) ? $_POST["sfsi_plus_mouseOver_effect"] : 'fade_in';
|
200 |
+
|
201 |
+
$sfsi_plus_mouseover_effect_type = isset($_POST["sfsi_plus_mouseover_effect_type"]) ? $_POST["sfsi_plus_mouseover_effect_type"] : 'same_icons';
|
202 |
+
|
203 |
$sfsi_plus_shuffle_icons = isset($_POST["sfsi_plus_shuffle_icons"]) ? $_POST["sfsi_plus_shuffle_icons"] : 'no';
|
204 |
$sfsi_plus_shuffle_Firstload = isset($_POST["sfsi_plus_shuffle_Firstload"]) ? $_POST["sfsi_plus_shuffle_Firstload"] : 'no';
|
205 |
$sfsi_plus_shuffle_interval = isset($_POST["sfsi_plus_shuffle_interval"]) ? $_POST["sfsi_plus_shuffle_interval"] : 'no';
|
227 |
/* animations options */
|
228 |
'sfsi_plus_mouseOver' => sanitize_text_field($sfsi_plus_mouseOver),
|
229 |
'sfsi_plus_mouseOver_effect' => sanitize_text_field($sfsi_plus_mouseOver_effect),
|
230 |
+
'sfsi_plus_mouseover_effect_type' => sanitize_text_field($sfsi_plus_mouseover_effect_type),
|
231 |
'sfsi_plus_shuffle_icons' => sanitize_text_field($sfsi_plus_shuffle_icons),
|
232 |
'sfsi_plus_shuffle_Firstload' => sanitize_text_field($sfsi_plus_shuffle_Firstload),
|
233 |
'sfsi_plus_shuffle_interval' => sanitize_text_field($sfsi_plus_shuffle_interval),
|
1053 |
add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
1054 |
|
1055 |
function sfsi_plus_bannerOption(){
|
1056 |
+
|
1057 |
error_reporting(0);
|
1058 |
|
1059 |
if(get_option("sfsi_plus_new_show_notification") == "yes"){
|
1060 |
|
1061 |
+
$objThemeCheck = new sfsi_plus_ThemeCheck();
|
1062 |
|
1063 |
$domainname = $objThemeCheck->sfsi_plus_getdomain(get_bloginfo('url'));
|
1064 |
|
1065 |
// Get all themes data which incudes nobrainer
|
1066 |
+
$themeDataArr = $objThemeCheck->sfsi_plus_get_themeData();
|
1067 |
+
$matchFound = false;
|
|
|
1068 |
|
1069 |
+
foreach ($themeDataArr as $themeDataObj):
|
1070 |
|
1071 |
+
if(isset($themeDataObj->themeName) && strlen($themeDataObj->themeName)>0)
|
1072 |
+
{
|
1073 |
+
$themeName = $themeDataObj->themeName;
|
1074 |
+
$noBrainerKeywords = $themeDataObj->noBrainerKeywords;
|
1075 |
+
$separateKeywords = $themeDataObj->separateKeywords;
|
1076 |
+
$negativeKeywords = $themeDataObj->negativeKeywords;
|
1077 |
+
$noBrainerAndSeparateKeywords = array_merge($noBrainerKeywords,$separateKeywords);
|
1078 |
|
1079 |
if($objThemeCheck->sfsi_plus_check_type_of_websiteWithNoBrainerAndSeparateAndNegativeKeywords($themeName,$noBrainerKeywords,$separateKeywords,$noBrainerAndSeparateKeywords,$negativeKeywords,$domainname)==$themeName)
|
1080 |
{
|
1092 |
break;
|
1093 |
}
|
1094 |
}
|
|
|
1095 |
|
1096 |
+
endforeach;
|
1097 |
|
1098 |
+
// if(!$matchFound){
|
1099 |
+
// echo '<div class="sfsi_plus_new_notification_cat">
|
1100 |
+
// <div class="sfsi_plus_new_notification_header_cat">
|
1101 |
+
// <h1>New feature: Tailored icons</h1>
|
1102 |
+
// <h3>The <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmplus_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">Premium Plugin</a> Includes these icons...</h3>
|
1103 |
+
// <div class="sfsi_plus_new_notification_cross_cat">X</div>
|
1104 |
+
// </div>
|
1105 |
+
// <div class="sfsi_plus_new_notification_body_link_cat">
|
1106 |
+
// <a class ="sfsi_plus_tailored_icons_img" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmplus_settings_page&utm_campaign=themed_icons_search&utm_medium=banner" target="_blank">
|
1107 |
+
// <div class="sfsi_plus_new_notification_body_cat">
|
1108 |
+
// <div class="sfsi_plus_new_notification_image_cat">
|
1109 |
+
// <img src="'.SFSI_PLUS_PLUGURL.'images/WPPlugin_V3.png" id="newImg" />
|
1110 |
+
// </div>
|
1111 |
+
// </div>
|
1112 |
+
// </a>
|
1113 |
+
// <div class="sfsiplus_bottom_text">
|
1114 |
+
// <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmplus_settings_page&utm_campaign=themed_icons_search&utm_medium=banner">
|
1115 |
+
// See more-themed-icons >
|
1116 |
+
// </a>
|
1117 |
+
// </div>
|
1118 |
+
// </div>
|
1119 |
+
// </div>';
|
1120 |
+
// }
|
1121 |
|
1122 |
echo '<script type="text/javascript">
|
1123 |
jQuery("body").on("click", ".sfsi_plus_new_notification_cross_cat", function(){
|
libs/sfsi_Init_JqueryCss.php
CHANGED
@@ -1,16 +1,15 @@
|
|
1 |
<?php
|
2 |
/* instalation of javascript and css */
|
3 |
function sfsiplus_plugin_back_enqueue_script()
|
4 |
-
{
|
5 |
-
/* include CSS for backend */
|
6 |
-
wp_enqueue_style("SFSIPLUSmainadminCss", SFSI_PLUS_PLUGURL . 'css/sfsi-admin-style.css' );
|
7 |
-
|
8 |
if(isset($_GET['page']))
|
9 |
{
|
10 |
if($_GET['page'] == 'sfsi-plus-options')
|
11 |
{
|
12 |
wp_enqueue_style('thickbox');
|
13 |
wp_enqueue_style("SFSIPLUSmainCss", SFSI_PLUS_PLUGURL . 'css/sfsi-style.css' );
|
|
|
|
|
14 |
|
15 |
wp_enqueue_style("SFSIPLUSJqueryCSS", SFSI_PLUS_PLUGURL . 'css/jquery-ui-1.10.4/jquery-ui-min.css' );
|
16 |
wp_enqueue_style("wp-color-picker");
|
1 |
<?php
|
2 |
/* instalation of javascript and css */
|
3 |
function sfsiplus_plugin_back_enqueue_script()
|
4 |
+
{
|
|
|
|
|
|
|
5 |
if(isset($_GET['page']))
|
6 |
{
|
7 |
if($_GET['page'] == 'sfsi-plus-options')
|
8 |
{
|
9 |
wp_enqueue_style('thickbox');
|
10 |
wp_enqueue_style("SFSIPLUSmainCss", SFSI_PLUS_PLUGURL . 'css/sfsi-style.css' );
|
11 |
+
/* include CSS for backend */
|
12 |
+
wp_enqueue_style("SFSIPLUSmainadminCss", SFSI_PLUS_PLUGURL . 'css/sfsi-admin-style.css' );
|
13 |
|
14 |
wp_enqueue_style("SFSIPLUSJqueryCSS", SFSI_PLUS_PLUGURL . 'css/jquery-ui-1.10.4/jquery-ui-min.css' );
|
15 |
wp_enqueue_style("wp-color-picker");
|
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", "2.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -179,9 +179,19 @@ function sfsi_plus_update_plugin()
|
|
179 |
}
|
180 |
/* section3 */
|
181 |
$option3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
182 |
-
if(isset($option3) && !empty($option3)
|
183 |
-
{
|
184 |
-
$option3['
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
update_option('sfsi_plus_section3_options', serialize($option3));
|
186 |
}
|
187 |
/* section4 */
|
@@ -308,16 +318,19 @@ function sfsi_plus_activate_plugin()
|
|
308 |
add_option('sfsi_plus_section2_options', serialize($options2));
|
309 |
|
310 |
/* Design and animation option */
|
311 |
-
$options3=array(
|
312 |
-
|
313 |
-
'
|
314 |
-
|
315 |
-
|
316 |
-
'
|
317 |
-
'
|
318 |
-
'
|
319 |
-
|
|
|
|
|
320 |
);
|
|
|
321 |
add_option('sfsi_plus_section3_options', serialize($options3));
|
322 |
|
323 |
/* display counts options */
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "2.95");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
179 |
}
|
180 |
/* section3 */
|
181 |
$option3 = unserialize(get_option('sfsi_plus_section3_options',false));
|
182 |
+
if(isset($option3) && !empty($option3))
|
183 |
+
{
|
184 |
+
if(!isset($option3['sfsi_plus_mouseover_effect_type'])){
|
185 |
+
$option3['sfsi_plus_mouseover_effect_type'] = 'same_icons';
|
186 |
+
}
|
187 |
+
if(!isset($option3['mouseover_other_icons_transition_effect'])){
|
188 |
+
$option3['mouseover_other_icons_transition_effect'] = 'flip';
|
189 |
+
}
|
190 |
+
|
191 |
+
if(!isset($option3['sfsi_plus_premium_icons_design_box'])){
|
192 |
+
$option3['sfsi_plus_premium_icons_design_box'] = 'no';
|
193 |
+
}
|
194 |
+
|
195 |
update_option('sfsi_plus_section3_options', serialize($option3));
|
196 |
}
|
197 |
/* section4 */
|
318 |
add_option('sfsi_plus_section2_options', serialize($options2));
|
319 |
|
320 |
/* Design and animation option */
|
321 |
+
$options3= array(
|
322 |
+
'sfsi_plus_mouseOver' =>'no',
|
323 |
+
'sfsi_plus_mouseOver_effect' =>'fade_in',
|
324 |
+
'sfsi_plus_mouseover_effect_type' => 'same_icons',
|
325 |
+
'mouseover_other_icons_transition_effect' => 'flip',
|
326 |
+
'sfsi_plus_shuffle_icons' =>'no',
|
327 |
+
'sfsi_plus_shuffle_Firstload' =>'no',
|
328 |
+
'sfsi_plus_shuffle_interval' =>'no',
|
329 |
+
'sfsi_plus_shuffle_intervalTime' =>'',
|
330 |
+
'sfsi_plus_actvite_theme' =>'default',
|
331 |
+
'sfsi_plus_premium_icons_design_box'=>'yes',
|
332 |
);
|
333 |
+
|
334 |
add_option('sfsi_plus_section3_options', serialize($options3));
|
335 |
|
336 |
/* display counts options */
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
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:
|
6 |
-
Stable tag: 2.9.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -445,6 +445,12 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
445 |
|
446 |
== Changelog ==
|
447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
= 2.9.4 =
|
449 |
* Optimized footer
|
450 |
|
@@ -775,5 +781,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
775 |
|
776 |
== Upgrade Notice ==
|
777 |
|
778 |
-
= 2.9.
|
779 |
* Please update
|
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.0
|
6 |
+
Stable tag: 2.9.5
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
445 |
|
446 |
== Changelog ==
|
447 |
|
448 |
+
= 2.9.5 =
|
449 |
+
* Lightbox removed after click on de-activation of plugin
|
450 |
+
* Banner for animation section in Question 4 added
|
451 |
+
* Different icon for mouseover section pointing to premium in Question 4 added
|
452 |
+
* Removed theme icon banner if no match
|
453 |
+
|
454 |
= 2.9.4 =
|
455 |
* Optimized footer
|
456 |
|
781 |
|
782 |
== Upgrade Notice ==
|
783 |
|
784 |
+
= 2.9.5 =
|
785 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: social share pro
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
-
Version: 2.9.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -56,6 +56,13 @@ define('SFSI_PLUS_WEBROOT', str_replace(getcwd(), home_url(), dirname(__FILE_
|
|
56 |
define('SFSI_PLUS_DOMAIN', 'ultimate-social-media-plus');
|
57 |
define('SFSI_PLUS_SUPPORT_FORM','https://goo.gl/jySrSF');
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
function sfsi_plus_get_current_url()
|
60 |
{
|
61 |
global $post, $wp;
|
@@ -74,6 +81,7 @@ function sfsi_plus_get_current_url()
|
|
74 |
}
|
75 |
|
76 |
/* load all files */
|
|
|
77 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
78 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
79 |
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_install_uninstall.php');
|
@@ -95,7 +103,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
95 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
96 |
|
97 |
/*Plugin version setup*/
|
98 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.
|
99 |
{
|
100 |
add_action("init", "sfsi_plus_update_plugin");
|
101 |
}
|
@@ -882,17 +890,17 @@ function sfsi_plus_action_links ( $mylinks )
|
|
882 |
$mylinks[] = @$mylinks['edit'];
|
883 |
}
|
884 |
|
885 |
-
array_unshift($mylinks, $linkProVersion);
|
886 |
-
|
887 |
|
888 |
$slug = plugin_basename(dirname(__FILE__));
|
889 |
|
890 |
-
|
891 |
|
892 |
$mylinks[] = '<a href="'.admin_url("/admin.php?page=sfsi-plus-options").'">Settings</a>';
|
893 |
|
894 |
unset ($mylinks['edit']);
|
895 |
-
unset ($mylinks['deactivate']);
|
896 |
|
897 |
return $mylinks;
|
898 |
}
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 2.9.5
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
56 |
define('SFSI_PLUS_DOMAIN', 'ultimate-social-media-plus');
|
57 |
define('SFSI_PLUS_SUPPORT_FORM','https://goo.gl/jySrSF');
|
58 |
|
59 |
+
$wp_upload_dir = wp_upload_dir();
|
60 |
+
define('SFSI_PLUS_UPLOAD_DIR_BASEURL', trailingslashit($wp_upload_dir['baseurl']));
|
61 |
+
|
62 |
+
|
63 |
+
define('SFSI_PLUS_ALLICONS',serialize(array("rss","email","facebook","twitter","google","youtube","linkedin",
|
64 |
+
"pinterest","instagram","houzz")));
|
65 |
+
|
66 |
function sfsi_plus_get_current_url()
|
67 |
{
|
68 |
global $post, $wp;
|
81 |
}
|
82 |
|
83 |
/* load all files */
|
84 |
+
include(SFSI_PLUS_DOCROOT.'/helpers/common_helper.php');
|
85 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_socialhelper.php');
|
86 |
include(SFSI_PLUS_DOCROOT.'/libs/controllers/sfsi_class_theme_check.php');
|
87 |
include(SFSI_PLUS_DOCROOT.'/libs/sfsi_install_uninstall.php');
|
103 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
104 |
|
105 |
/*Plugin version setup*/
|
106 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 2.95)
|
107 |
{
|
108 |
add_action("init", "sfsi_plus_update_plugin");
|
109 |
}
|
890 |
$mylinks[] = @$mylinks['edit'];
|
891 |
}
|
892 |
|
893 |
+
//array_unshift($mylinks, $linkProVersion);
|
894 |
+
array_unshift($mylinks, $linkQuestion);
|
895 |
|
896 |
$slug = plugin_basename(dirname(__FILE__));
|
897 |
|
898 |
+
//$mylinks[$slug] = @$mylinks["deactivate"].'<i class="sfsi-plus-deactivate-slug"></i>';
|
899 |
|
900 |
$mylinks[] = '<a href="'.admin_url("/admin.php?page=sfsi-plus-options").'">Settings</a>';
|
901 |
|
902 |
unset ($mylinks['edit']);
|
903 |
+
//unset ($mylinks['deactivate']);
|
904 |
|
905 |
return $mylinks;
|
906 |
}
|
views/sfsi_option_view3.php
CHANGED
@@ -29,6 +29,9 @@
|
|
29 |
$option3['sfsi_plus_premium_icons_design_box'] = (isset($option3['sfsi_plus_premium_icons_design_box']))
|
30 |
? intval($option3['sfsi_plus_premium_icons_design_box'])
|
31 |
: 'yes';
|
|
|
|
|
|
|
32 |
?>
|
33 |
<!-- Section 3 "What design & animation do you want to give your icons?" main div Start -->
|
34 |
<div class="tab3">
|
@@ -301,103 +304,14 @@
|
|
301 |
|
302 |
</div>
|
303 |
</li>
|
|
|
304 |
<?php if($option3['sfsi_plus_premium_icons_design_box'] =='yes'){ ?>
|
305 |
<li>
|
306 |
-
|
307 |
-
|
308 |
-
<div class="sf_si_plus_default_design">
|
309 |
-
<ul>
|
310 |
-
<li>
|
311 |
-
<h4><?php _e("A) More default design styles", SFSI_PLUS_DOMAIN); ?></h4>
|
312 |
-
</li>
|
313 |
-
<li>
|
314 |
-
<div class="sfsi_plus_row_table">
|
315 |
-
<div class="sfsi_plus_first_icon_field sfsi_plus_cool_font_weight">
|
316 |
-
<h2><?php _e("Cool style", SFSI_PLUS_DOMAIN); ?></h2>
|
317 |
-
</div>
|
318 |
-
<div class="sfsi_plus_second_icon_img">
|
319 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/sfsi_cool_icon_spread.png" />
|
320 |
-
</div>
|
321 |
-
</div>
|
322 |
-
</li>
|
323 |
-
<li>
|
324 |
-
<div class="sfsi_plus_row_table">
|
325 |
-
<div class="sfsi_plus_first_icon_field sfsi_plus_cool_font_weight">
|
326 |
-
<h2><?php _e("Waxed Wood", SFSI_PLUS_DOMAIN); ?></h2>
|
327 |
-
</div>
|
328 |
-
<div class="sfsi_plus_second_icon_img">
|
329 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/sfsi_vaxwoodi_icon_spread.png" />
|
330 |
-
</div>
|
331 |
-
</div>
|
332 |
-
</li>
|
333 |
-
<li>
|
334 |
-
<div class="sfsi_plus_row_table">
|
335 |
-
<div class="sfsi_plus_first_icon_field sfsi_plus_cool_font_weight">
|
336 |
-
<h2><?php _e("Black Grunge", SFSI_PLUS_DOMAIN); ?></h2>
|
337 |
-
</div>
|
338 |
-
<div class="sfsi_plus_second_icon_img">
|
339 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/sfsi_black_icon_spread.png" />
|
340 |
-
</div>
|
341 |
-
</div>
|
342 |
-
</li>
|
343 |
-
<li>
|
344 |
-
<div class="sfsi_plus_row_table">
|
345 |
-
<div class="sfsi_plus_first_icon_more">
|
346 |
-
<h2><?php _e("(and many more)", SFSI_PLUS_DOMAIN); ?></h2>
|
347 |
-
</div>
|
348 |
-
</div>
|
349 |
-
</li>
|
350 |
-
<li>
|
351 |
-
<h4 class="sfsi_plus_second_themedTitle"><?php _e("B) Themed styles", SFSI_PLUS_DOMAIN); ?><span><?php _e(" (to match the content of your site)", SFSI_PLUS_DOMAIN); ?></span></h4>
|
352 |
-
</li>
|
353 |
-
<li>
|
354 |
-
<div class="sfsi_plus_row_table">
|
355 |
-
<div class="sfsi_plus_first_icon_field">
|
356 |
-
<h2><?php _e("Lovehearts", SFSI_PLUS_DOMAIN); ?></h2>
|
357 |
-
<p><?php _e("(e.g. for girly sites or just sites with a heart)", SFSI_PLUS_DOMAIN); ?></p>
|
358 |
-
</div>
|
359 |
-
<div class="sfsi_plus_second_icon_img">
|
360 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/sfsi_loveheart_icon_spread.png" />
|
361 |
-
</div>
|
362 |
-
</div>
|
363 |
-
</li>
|
364 |
-
<li>
|
365 |
-
<div class="sfsi_plus_row_table">
|
366 |
-
<div class="sfsi_plus_first_icon_field">
|
367 |
-
<h2><?php _e("Computers", SFSI_PLUS_DOMAIN); ?></h2>
|
368 |
-
<p><?php _e("(e.g. for IT/tech sites)", SFSI_PLUS_DOMAIN); ?></p>
|
369 |
-
</div>
|
370 |
-
<div class="sfsi_plus_second_icon_img">
|
371 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/sfsi_computer_icon_spread.png" />
|
372 |
-
</div>
|
373 |
-
</div>
|
374 |
-
</li>
|
375 |
-
<li>
|
376 |
-
<div class="sfsi_plus_row_table">
|
377 |
-
<div class="sfsi_plus_first_icon_field">
|
378 |
-
<h2><?php _e("Dogs", SFSI_PLUS_DOMAIN); ?></h2>
|
379 |
-
<p><?php _e("(e.g. for dog/pet sites)", SFSI_PLUS_DOMAIN); ?></p>
|
380 |
-
</div>
|
381 |
-
<div class="sfsi_plus_second_icon_img">
|
382 |
-
<img src="<?php echo SFSI_PLUS_PLUGURL; ?>images/sfsi_dogi_icon_spread.png" />
|
383 |
-
</div>
|
384 |
-
</div>
|
385 |
-
</li>
|
386 |
-
<li>
|
387 |
-
<div class="sfsi_plus_row_table">
|
388 |
-
<div class="sfsi_plus_first_icon_more">
|
389 |
-
<h2><?php _e("(and many more)", SFSI_PLUS_DOMAIN); ?></h2>
|
390 |
-
</div>
|
391 |
-
</div>
|
392 |
-
</li>
|
393 |
-
</ul>
|
394 |
-
</div>
|
395 |
-
<div class="sf_si_plus_all_features_premium">
|
396 |
-
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=more_icons_designs&utm_medium=banner" target="_blank"><?php _e("See all features Premium Plugin", SFSI_PLUS_DOMAIN); ?></a>
|
397 |
-
</div>
|
398 |
-
</div>
|
399 |
</li>
|
400 |
<?php } ?>
|
|
|
401 |
<li>
|
402 |
<p style="font-weight: bold; margin: 12px 0 0;">
|
403 |
<?php _e("Need icons for another theme? Let us know in the", SFSI_PLUS_DOMAIN); ?>
|
@@ -409,61 +323,8 @@
|
|
409 |
</li>
|
410 |
</ul>
|
411 |
<!--icon themes section start -->
|
412 |
-
|
413 |
-
|
414 |
-
<div class="sub_row stand sec_new" style="margin-left: 0px;">
|
415 |
-
<h3>
|
416 |
-
<?php _e( 'Animate them (your main icons)', SFSI_PLUS_DOMAIN ); ?>
|
417 |
-
</h3>
|
418 |
-
|
419 |
-
<p class="radio_section tab_3_option">
|
420 |
-
<input name="sfsi_plus_mouseOver" <?php echo ( $option3['sfsi_plus_mouseOver']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
421 |
-
<label>
|
422 |
-
<?php _e( 'Mouse-Over effects', SFSI_PLUS_DOMAIN ); ?>
|
423 |
-
</label>
|
424 |
-
<div class="drop_lsts">
|
425 |
-
<select name="sfsi_plus_mouseOver_effect" id="sfsi_plus_mouseOver_effect" class="styled">
|
426 |
-
<option value="fade_in" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='fade_in') ? 'selected="true"' : '' ;?>>
|
427 |
-
<?php _e( 'Fade In', SFSI_PLUS_DOMAIN ); ?>
|
428 |
-
</option>
|
429 |
-
<option value="scale" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='scale') ? 'selected="true"' : '' ;?>>
|
430 |
-
<?php _e( 'Scale', SFSI_PLUS_DOMAIN ); ?>
|
431 |
-
</option>
|
432 |
-
<option value="combo" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='combo') ? 'selected="true"' : '' ;?>>
|
433 |
-
<?php _e( 'Combo', SFSI_PLUS_DOMAIN ); ?>
|
434 |
-
</option>
|
435 |
-
</select>
|
436 |
-
</div>
|
437 |
-
</p>
|
438 |
-
|
439 |
-
<div class="Shuffle_auto">
|
440 |
-
<p class="radio_section tab_3_option">
|
441 |
-
<input name="sfsi_plus_shuffle_icons" <?php echo ( $option3['sfsi_plus_shuffle_icons']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
442 |
-
<label>
|
443 |
-
<?php _e( 'Shuffle them automatically', SFSI_PLUS_DOMAIN ); ?>
|
444 |
-
</label>
|
445 |
-
</p>
|
446 |
-
<div class="sub_sub_box shuffle_sub" >
|
447 |
-
<p class="radio_section tab_3_option">
|
448 |
-
<input name="sfsi_plus_shuffle_Firstload" <?php echo ( $option3['sfsi_plus_shuffle_Firstload']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
449 |
-
<label>
|
450 |
-
<?php _e( 'When site is first loaded', SFSI_PLUS_DOMAIN ); ?>
|
451 |
-
</label>
|
452 |
-
</p>
|
453 |
-
<p class="radio_section tab_3_option">
|
454 |
-
<input name="sfsi_plus_shuffle_interval" <?php echo ( $option3['sfsi_plus_shuffle_interval']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
455 |
-
<label>
|
456 |
-
<?php _e( 'Every', SFSI_PLUS_DOMAIN ); ?>
|
457 |
-
</label>
|
458 |
-
<input class="smal_inpt" type="text" name="sfsi_plus_shuffle_intervalTime" value="<?php echo ( $option3['sfsi_plus_shuffle_intervalTime']!='') ? $option3['sfsi_plus_shuffle_intervalTime'] : '' ;?>">
|
459 |
-
<label>
|
460 |
-
<?php _e( 'seconds', SFSI_PLUS_DOMAIN ); ?>
|
461 |
-
</label>
|
462 |
-
</p>
|
463 |
-
</div>
|
464 |
-
</div>
|
465 |
-
</div>
|
466 |
-
<!--END icon Animation section start -->
|
467 |
|
468 |
</div>
|
469 |
</div>
|
29 |
$option3['sfsi_plus_premium_icons_design_box'] = (isset($option3['sfsi_plus_premium_icons_design_box']))
|
30 |
? intval($option3['sfsi_plus_premium_icons_design_box'])
|
31 |
: 'yes';
|
32 |
+
$option3['sfsi_plus_mouseOver_effect_type'] = (isset($option3['sfsi_plus_mouseOver_effect_type'])) ? sanitize_text_field($option3['sfsi_plus_mouseOver_effect_type']) : 'same_icons';
|
33 |
+
|
34 |
+
$mouseover_other_icons_transition_effect = (isset($option3['mouseover_other_icons_transition_effect'])) ? sanitize_text_field($option3['mouseover_other_icons_transition_effect']) : 'flip';
|
35 |
?>
|
36 |
<!-- Section 3 "What design & animation do you want to give your icons?" main div Start -->
|
37 |
<div class="tab3">
|
304 |
|
305 |
</div>
|
306 |
</li>
|
307 |
+
|
308 |
<?php if($option3['sfsi_plus_premium_icons_design_box'] =='yes'){ ?>
|
309 |
<li>
|
310 |
+
<?php include_once(SFSI_PLUS_DOCROOT.'/views/subviews/que4/banner.php'); ?>
|
311 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
</li>
|
313 |
<?php } ?>
|
314 |
+
|
315 |
<li>
|
316 |
<p style="font-weight: bold; margin: 12px 0 0;">
|
317 |
<?php _e("Need icons for another theme? Let us know in the", SFSI_PLUS_DOMAIN); ?>
|
323 |
</li>
|
324 |
</ul>
|
325 |
<!--icon themes section start -->
|
326 |
+
|
327 |
+
<?php include_once(SFSI_PLUS_DOCROOT.'/views/subviews/que4/animatethem.php'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
|
329 |
</div>
|
330 |
</div>
|
views/sfsi_options_view.php
CHANGED
@@ -64,14 +64,14 @@
|
|
64 |
<!-- Top content area of plugin -->
|
65 |
<div class="main_contant">
|
66 |
<h1>
|
67 |
-
|
68 |
</h1>
|
69 |
|
70 |
<div class="welcometext">
|
71 |
|
72 |
<p><?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?></p>
|
73 |
|
74 |
-
<p><a style="text-decoration: none;" href="javascript:void(0)"><?php _e( 'New:', SFSI_PLUS_DOMAIN ); ?> </a><?php _e('Our new Premium Plugin allows many more placement options, better sharing features (e.g. define which text & images will get shared), optimization for mobile, more icon design styles, themed icons, and much more.', 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('See all features', SFSI_PLUS_DOMAIN ); ?></a></p>
|
75 |
|
76 |
|
77 |
<p><?php _e( 'Please', SFSI_PLUS_DOMAIN ); ?> <a target="_blank" style="text-decoration: underline;" href="https://goo.gl/MU6pTN#no-topic-0"><?php _e( 'give us feedback,', SFSI_PLUS_DOMAIN ); ?></a><?php _e( ' and tell us how we can make the plugin better. Thank you!.', SFSI_PLUS_DOMAIN ); ?></p>
|
@@ -174,7 +174,7 @@
|
|
174 |
<a href="javascript:;" id="save_plus_all_settings" title="Save All Settings">
|
175 |
<?php _e( 'Save All Settings', SFSI_PLUS_DOMAIN ); ?>
|
176 |
</a>
|
177 |
-
|
178 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
179 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
180 |
|
@@ -182,10 +182,10 @@
|
|
182 |
|
183 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_section_for_premium.php'); ?>
|
184 |
|
185 |
-
|
186 |
-
|
187 |
<a href=" https://wordpress.org/support/plugin/ultimate-social-media-plus/reviews?rate=5#new-post" target="_new">
|
188 |
-
|
189 |
</a>
|
190 |
</p>
|
191 |
|
@@ -195,27 +195,27 @@
|
|
195 |
<?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
|
196 |
</a>
|
197 |
</p>-->
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
<p class="translatelilne">
|
212 |
<?php _e( 'Have questions? Need help? Ideas for new features? Please raise a ticket in the',SFSI_PLUS_DOMAIN ); ?>
|
213 |
<a href="https://goo.gl/MU6pTN#no-topic-0" target="_new">
|
214 |
<?php _e( 'Support Forum', SFSI_PLUS_DOMAIN ); ?>
|
215 |
</a>
|
216 |
<?php _e( ' . We\'ll try to answer asap!', SFSI_PLUS_DOMAIN ); ?>
|
217 |
-
|
218 |
-
|
219 |
<!-- all pops of plugin under sfsi_pop_content.php file -->
|
220 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_pop_content.php'); ?>
|
221 |
</div>
|
64 |
<!-- Top content area of plugin -->
|
65 |
<div class="main_contant">
|
66 |
<h1>
|
67 |
+
<?php _e( 'Welcome to the Ultimate Social Media Icons PLUS plugin!', SFSI_PLUS_DOMAIN ); ?>
|
68 |
</h1>
|
69 |
|
70 |
<div class="welcometext">
|
71 |
|
72 |
<p><?php _e( 'Simply answer the questions below (at least the first 3) by clicking on them - that`s it!', SFSI_PLUS_DOMAIN ); ?></p>
|
73 |
|
74 |
+
<p><a style="text-decoration: none;" href="javascript:void(0)"><?php _e( 'New:', SFSI_PLUS_DOMAIN ); ?> </a><?php _e('Our new Premium Plugin allows many more placement options, better sharing features (e.g. define which text & images will get shared), optimization for mobile, more icon design styles, <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/">animated icons</a>, themed icons, and much more.', 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('See all features', SFSI_PLUS_DOMAIN ); ?></a></p>
|
75 |
|
76 |
|
77 |
<p><?php _e( 'Please', SFSI_PLUS_DOMAIN ); ?> <a target="_blank" style="text-decoration: underline;" href="https://goo.gl/MU6pTN#no-topic-0"><?php _e( 'give us feedback,', SFSI_PLUS_DOMAIN ); ?></a><?php _e( ' and tell us how we can make the plugin better. Thank you!.', SFSI_PLUS_DOMAIN ); ?></p>
|
174 |
<a href="javascript:;" id="save_plus_all_settings" title="Save All Settings">
|
175 |
<?php _e( 'Save All Settings', SFSI_PLUS_DOMAIN ); ?>
|
176 |
</a>
|
177 |
+
</div>
|
178 |
<p class="red_txt errorMsg" style="display:none"> </p>
|
179 |
<p class="green_txt sucMsg" style="display:none"> </p>
|
180 |
|
182 |
|
183 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_section_for_premium.php'); ?>
|
184 |
|
185 |
+
<p style="margin-top: 30px;clear: both;">
|
186 |
+
<?php _e('Like this plugin? Please do us a BIG favor and give us a 5 star rating here.', SFSI_PLUS_DOMAIN ); ?>
|
187 |
<a href=" https://wordpress.org/support/plugin/ultimate-social-media-plus/reviews?rate=5#new-post" target="_new">
|
188 |
+
<?php _e( 'here', SFSI_PLUS_DOMAIN ); ?>
|
189 |
</a>
|
190 |
</p>
|
191 |
|
195 |
<?php _e('Visit us on ultimatelysocial.com',SFSI_PLUS_DOMAIN); ?>
|
196 |
</a>
|
197 |
</p>-->
|
198 |
+
<?php
|
199 |
+
/*$tra_lan = get_bloginfo( 'language' );
|
200 |
+
if($tra_lan == "en-US" )
|
201 |
+
{}
|
202 |
+
else
|
203 |
+
{
|
204 |
+
?>
|
205 |
+
<p class="translatelilne">
|
206 |
+
<?php _e( 'The plugin was translated by (your name). Need translation work to get done? Contact (your name) at (your email)', SFSI_PLUS_DOMAIN ); ?>
|
207 |
+
</p>
|
208 |
+
<?php
|
209 |
+
}*/
|
210 |
+
?>
|
211 |
<p class="translatelilne">
|
212 |
<?php _e( 'Have questions? Need help? Ideas for new features? Please raise a ticket in the',SFSI_PLUS_DOMAIN ); ?>
|
213 |
<a href="https://goo.gl/MU6pTN#no-topic-0" target="_new">
|
214 |
<?php _e( 'Support Forum', SFSI_PLUS_DOMAIN ); ?>
|
215 |
</a>
|
216 |
<?php _e( ' . We\'ll try to answer asap!', SFSI_PLUS_DOMAIN ); ?>
|
217 |
+
</p>
|
218 |
+
</div>
|
219 |
<!-- all pops of plugin under sfsi_pop_content.php file -->
|
220 |
<?php include(SFSI_PLUS_DOCROOT.'/views/sfsi_pop_content.php'); ?>
|
221 |
</div>
|
views/sfsi_section_for_premium.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
<style>
|
2 |
.sfsi-footer-container {
|
3 |
margin: 0 auto;
|
4 |
text-align: center;
|
5 |
-
width:
|
6 |
}
|
7 |
.sfsi-footer-pointing-to-premium-plugin{
|
8 |
float: left;
|
1 |
+
<style>
|
2 |
.sfsi-footer-container {
|
3 |
margin: 0 auto;
|
4 |
text-align: center;
|
5 |
+
width: 72%;
|
6 |
}
|
7 |
.sfsi-footer-pointing-to-premium-plugin{
|
8 |
float: left;
|
views/subviews/que4/animatethem.php
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!--icon Animation section start -->
|
2 |
+
<div class="sub_row stand sec_new" style="margin-left: 0px;">
|
3 |
+
|
4 |
+
<h3><?php _e( 'Animate them (your main icons)', SFSI_PLUS_DOMAIN ); ?></h3>
|
5 |
+
|
6 |
+
<div id="animationSection" class="radio_section tab_3_option">
|
7 |
+
|
8 |
+
<input name="sfsi_plus_mouseOver" <?php echo ( $option3['sfsi_plus_mouseOver']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
9 |
+
<label>
|
10 |
+
<?php _e( 'Mouse-Over effects', SFSI_PLUS_DOMAIN ); ?>
|
11 |
+
</label>
|
12 |
+
|
13 |
+
<div class="col-md-12 rowmarginleft45 mouse-over-effects <?php echo ( $option3['sfsi_plus_mouseOver']=='yes') ? 'show' : 'hide' ;?>">
|
14 |
+
|
15 |
+
<div class="row">
|
16 |
+
|
17 |
+
<input value="same_icons" name="sfsi_plus_mouseOver_effect_type" <?php echo ( $option3['sfsi_plus_mouseOver_effect_type']=='same_icons') ? 'checked=checked' : '' ;?> type="radio" class="styled"/>
|
18 |
+
|
19 |
+
<label><?php _e( 'Same-icon effects', SFSI_PLUS_DOMAIN ); ?></label>
|
20 |
+
|
21 |
+
</div><!-- row closes -->
|
22 |
+
|
23 |
+
<div class="row rowpadding10 same_icons_effects <?php echo ( $option3['sfsi_plus_mouseOver_effect_type']=='same_icons') ? 'show' : 'hide' ;?>">
|
24 |
+
|
25 |
+
<div class="effectContainer bottommargin30">
|
26 |
+
|
27 |
+
<div class="effectName">
|
28 |
+
|
29 |
+
<input class="styled" type="radio" name="sfsi_plus_same_icons_mouseOver_effect" value="fade_in" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='fade_in') ? 'checked="true"' : '' ;?>>
|
30 |
+
|
31 |
+
<label>
|
32 |
+
<span><?php _e( 'Fade In', SFSI_PLUS_DOMAIN ); ?></span>
|
33 |
+
<span><?php _e( '(Icons turn from shadow to full color)', SFSI_PLUS_DOMAIN ); ?></span>
|
34 |
+
</label>
|
35 |
+
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div class="effectName">
|
39 |
+
|
40 |
+
<input class="styled" type="radio" name="sfsi_plus_same_icons_mouseOver_effect" value="scale" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='scale') ? 'checked="true"' : '' ;?>>
|
41 |
+
|
42 |
+
<label>
|
43 |
+
<span> <?php _e( 'Scale', SFSI_PLUS_DOMAIN ); ?></span>
|
44 |
+
<span><?php _e( '(Icons become bigger)', SFSI_PLUS_DOMAIN ); ?></span>
|
45 |
+
</label>
|
46 |
+
|
47 |
+
</div>
|
48 |
+
|
49 |
+
</div>
|
50 |
+
|
51 |
+
<div class="effectContainer bottommargin20">
|
52 |
+
|
53 |
+
<div class="effectName">
|
54 |
+
|
55 |
+
<input class="styled" type="radio" name="sfsi_plus_same_icons_mouseOver_effect" value="combo" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='combo') ? 'checked="true"' : '' ;?>>
|
56 |
+
|
57 |
+
<label>
|
58 |
+
<span><?php _e( 'Combo', SFSI_PLUS_DOMAIN ); ?></span>
|
59 |
+
<span><?php _e( '(Both fade in and scale effects)', SFSI_PLUS_DOMAIN ); ?></span>
|
60 |
+
</label>
|
61 |
+
|
62 |
+
</div>
|
63 |
+
|
64 |
+
<div disabled class="effectName inactiveSection">
|
65 |
+
|
66 |
+
<input class="styled" type="radio" name="sfsi_plus_same_icons_mouseOver_effect" value="fade_out" <?php echo ( $option3['sfsi_plus_mouseOver_effect']=='fade_out') ? 'checked="true"' : '' ;?>>
|
67 |
+
|
68 |
+
<label>
|
69 |
+
<span><?php _e( 'Fade Out', SFSI_PLUS_DOMAIN ); ?></span>
|
70 |
+
<span><?php _e( '(Icons turn from full color to shadow)', SFSI_PLUS_DOMAIN ); ?></span>
|
71 |
+
</label>
|
72 |
+
|
73 |
+
</div>
|
74 |
+
|
75 |
+
</div>
|
76 |
+
|
77 |
+
<div class="row mouseover-premium-notice zerotoppadding rowmarginleft45">
|
78 |
+
<label><?php _e( 'Greyed-out options are available in the', SFSI_PLUS_DOMAIN ); ?></label>
|
79 |
+
<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=same_icon_effects&utm_medium=link"><?php _e( 'Premium Plugin', SFSI_PLUS_DOMAIN ); ?></a>
|
80 |
+
</div>
|
81 |
+
|
82 |
+
</div><!-- row closes -->
|
83 |
+
|
84 |
+
<div class="row other_icons_effects">
|
85 |
+
|
86 |
+
<input value="other_icons" name="sfsi_plus_mouseOver_effect_type" <?php echo ( $option3['sfsi_plus_mouseOver_effect_type']=='other_icons') ? 'checked=checked' : '' ;?> type="radio" class="styled"/>
|
87 |
+
|
88 |
+
<label><?php _e( 'Show other icons on mouse-over (Only applied for Desktop Icons)', SFSI_PLUS_DOMAIN ); ?></label>
|
89 |
+
|
90 |
+
</div><!-- row closes -->
|
91 |
+
|
92 |
+
<div class="row rowpadding10 rowmarginleft25 other_icons_effects_options <?php echo ( $option3['sfsi_plus_mouseOver_effect_type']=='other_icons') ? 'show' : 'hide' ;?>">
|
93 |
+
|
94 |
+
<div disabled class="col-md-12 inactiveSection other_icons_effects_options_container">
|
95 |
+
|
96 |
+
<?php
|
97 |
+
|
98 |
+
$arrDefaultIcons = unserialize(SFSI_ALLICONS);
|
99 |
+
|
100 |
+
$arrActiveStdDesktopIcons = sfsi_plus_get_displayed_std_desktop_icons($option1);
|
101 |
+
|
102 |
+
$arrActiveCustomDesktopicons = sfsi_plus_get_displayed_custom_desktop_icons($option1);
|
103 |
+
|
104 |
+
foreach ($arrDefaultIcons as $key => $iconName):
|
105 |
+
|
106 |
+
sfsi_plus_generate_other_icon_effect_admin_html($iconName,$arrActiveStdDesktopIcons);
|
107 |
+
endforeach;
|
108 |
+
|
109 |
+
|
110 |
+
if(isset($arrActiveCustomDesktopicons) && !empty($arrActiveCustomDesktopicons) && is_array($arrActiveCustomDesktopicons))
|
111 |
+
{
|
112 |
+
|
113 |
+
$i = 1;
|
114 |
+
|
115 |
+
foreach ($arrActiveCustomDesktopicons as $index => $imgUrl) {
|
116 |
+
|
117 |
+
if(!empty($imgUrl)){
|
118 |
+
|
119 |
+
sfsi_plus_generate_other_icon_effect_admin_html("custom",$arrActiveCustomDesktopicons,$index, $imgUrl,$i);
|
120 |
+
$i++;
|
121 |
+
}
|
122 |
+
|
123 |
+
}
|
124 |
+
|
125 |
+
}
|
126 |
+
?>
|
127 |
+
|
128 |
+
</div>
|
129 |
+
|
130 |
+
<div disabled class="col-md-12 inactiveSection rowmarginleft15 topmargin10">
|
131 |
+
|
132 |
+
<label><?php _e('Transition effect to those icons',SFSI_PLUS_DOMAIN); ?></label>
|
133 |
+
|
134 |
+
<select name="mouseover_other_icons_transition_effect">
|
135 |
+
|
136 |
+
<option <?php echo 'noeffect'== $mouseover_other_icons_transition_effect? "selected=selected" : ""; ?> value="noeffect"><?php _e('No effect'); ?></option>
|
137 |
+
<option <?php echo 'flip'== $mouseover_other_icons_transition_effect? "selected=selected" : ""; ?> value="flip"><?php _e('Flip'); ?></option>
|
138 |
+
|
139 |
+
</select>
|
140 |
+
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<div class="row mouseover-premium-notice rowmarginleft45">
|
144 |
+
<label><?php _e( 'Above options are available in the',SFSI_PLUS_DOMAIN); ?></label>
|
145 |
+
<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmplus_settings_page&utm_campaign=different_icon_mouseover&utm_medium=link"><?php _e( 'Premium Plugin',SFSI_PLUS_DOMAIN); ?></a>
|
146 |
+
</div>
|
147 |
+
|
148 |
+
</div><!-- row closes -->
|
149 |
+
|
150 |
+
</div><!-- col-md-12 closes -->
|
151 |
+
|
152 |
+
</div><!-- #animationSection closes -->
|
153 |
+
|
154 |
+
<div class="Shuffle_auto">
|
155 |
+
<p class="radio_section tab_3_option">
|
156 |
+
<input name="sfsi_plus_shuffle_icons" <?php echo ( $option3['sfsi_plus_shuffle_icons']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
157 |
+
<label>
|
158 |
+
<?php _e( 'Shuffle them automatically', SFSI_PLUS_DOMAIN ); ?>
|
159 |
+
</label>
|
160 |
+
</p>
|
161 |
+
<div class="sub_sub_box shuffle_sub" >
|
162 |
+
<p class="radio_section tab_3_option">
|
163 |
+
<input name="sfsi_plus_shuffle_Firstload" <?php echo ( $option3['sfsi_plus_shuffle_Firstload']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
164 |
+
<label>
|
165 |
+
<?php _e( 'When site is first loaded', SFSI_PLUS_DOMAIN ); ?>
|
166 |
+
</label>
|
167 |
+
</p>
|
168 |
+
<p class="radio_section tab_3_option">
|
169 |
+
<input name="sfsi_plus_shuffle_interval" <?php echo ( $option3['sfsi_plus_shuffle_interval']=='yes') ? 'checked="true"' : '' ;?> type="checkbox" value="yes" class="styled" />
|
170 |
+
<label>
|
171 |
+
<?php _e( 'Every', SFSI_PLUS_DOMAIN ); ?>
|
172 |
+
</label>
|
173 |
+
<input class="smal_inpt" type="text" name="sfsi_plus_shuffle_intervalTime" value="<?php echo ( $option3['sfsi_plus_shuffle_intervalTime']!='') ? $option3['sfsi_plus_shuffle_intervalTime'] : '' ;?>">
|
174 |
+
<label>
|
175 |
+
<?php _e( 'seconds', SFSI_PLUS_DOMAIN ); ?>
|
176 |
+
</label>
|
177 |
+
</p>
|
178 |
+
</div>
|
179 |
+
</div>
|
180 |
+
|
181 |
+
</div>
|
182 |
+
<!--END icon Animation section start -->
|
views/subviews/que4/banner.php
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style type="text/css">
|
2 |
+
|
3 |
+
.sf_si_prmium_head{ margin-bottom: 23px;}
|
4 |
+
.sf_si_prmium_head span{font-weight:normal;}
|
5 |
+
.sfsi_row_table{float: left;}
|
6 |
+
h4.bannerTitle {font-weight: 700;min-height: 48px;}
|
7 |
+
h4.bannerTitle span{ font-size: 16px;font-weight: 500;}
|
8 |
+
|
9 |
+
.sf_si_all_features_premium a{color:#12a252 !important;font-size:18.9px;font-weight:bold;border-bottom: 1px solid #12a252;text-decoration: none;}
|
10 |
+
|
11 |
+
.banner_icon_img {padding:5px 10px 5px 0px;vertical-align: middle;width: 50px; height: 50px;}
|
12 |
+
|
13 |
+
.sf_si_prmium_head h2{
|
14 |
+
font-size: 26px;
|
15 |
+
color: #000;
|
16 |
+
font-weight: bold;
|
17 |
+
margin-top: 0;
|
18 |
+
}
|
19 |
+
.sf_si_our_prmium_plugin-add{
|
20 |
+
float: left;
|
21 |
+
width: 70%;
|
22 |
+
padding: 25px 38px 35px 40px;
|
23 |
+
background: #f3faf6;
|
24 |
+
border: 1px solid #12a252;
|
25 |
+
}
|
26 |
+
.banner_view_more{
|
27 |
+
background: #17b15b !important;
|
28 |
+
color: #fff !important;
|
29 |
+
padding: 6px 43px;
|
30 |
+
text-align: center;
|
31 |
+
font-size: 18px;
|
32 |
+
text-decoration: none;
|
33 |
+
}
|
34 |
+
|
35 |
+
@media (min-width:1024px) and (max-width: 1366px) and (orientation:portrait) {
|
36 |
+
.sf_si_our_prmium_plugin-add {
|
37 |
+
width: 97%;
|
38 |
+
padding: 25px 11px 35px 7px;
|
39 |
+
}
|
40 |
+
h4.bannerTitle{
|
41 |
+
min-height: 70px;
|
42 |
+
}
|
43 |
+
}
|
44 |
+
@media (min-width:1024px) and (max-width: 1366px) and (orientation:landscape) {
|
45 |
+
.sf_si_our_prmium_plugin-add {
|
46 |
+
width: 95%;
|
47 |
+
padding: 25px 11px 35px 26px;
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
@media (min-width:768px) and (max-width: 1024px) and (orientation:portrait){
|
52 |
+
h4.bannerTitle {
|
53 |
+
min-height: 30px;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
@media (min-width:768px) and (max-width: 1024px) and (orientation:landscape) {
|
57 |
+
.sf_si_our_prmium_plugin-add {
|
58 |
+
width: 97%;
|
59 |
+
padding: 25px 11px 35px 8px;
|
60 |
+
}
|
61 |
+
h4.bannerTitle {
|
62 |
+
min-height: 70px;
|
63 |
+
}
|
64 |
+
}
|
65 |
+
</style>
|
66 |
+
<div class="sf_si_our_prmium_plugin-add">
|
67 |
+
|
68 |
+
<div class="sf_si_prmium_head">
|
69 |
+
<h2>New: <span>In our Premium Plugin we added:</span></h2>
|
70 |
+
</div>
|
71 |
+
|
72 |
+
<?php
|
73 |
+
|
74 |
+
$arrDefaultImages = array(
|
75 |
+
|
76 |
+
'default1_facebook.png','default1_google.png','default1_twitter.png',
|
77 |
+
'default2_facebook.png','default2_google.png','default2_twitter.png',
|
78 |
+
'default3_facebook.png','default3_google.png','default3_twitter.png',
|
79 |
+
);
|
80 |
+
|
81 |
+
$arrThemeImages = array(
|
82 |
+
|
83 |
+
'theme1_facebook.png','theme1_google.png','theme1_twitter.png',
|
84 |
+
'theme2_facebook.png','theme2_google.png','theme2_twitter.png',
|
85 |
+
'theme3_facebook.png','theme3_google.png','theme3_twitter.png',
|
86 |
+
);
|
87 |
+
|
88 |
+
$arrAnimateImages = array(
|
89 |
+
'animated_facebook.gif','animated_follow.gif','animated_instagram.gif',
|
90 |
+
'animated_linkedin.gif','animated_pinterest.gif','animated_twitter.gif',
|
91 |
+
'animated_whatsapp.gif','animated_youtube.gif','animated_google.gif'
|
92 |
+
);
|
93 |
+
|
94 |
+
function sfsi_banner_sub_section($sectionTitle,$arrImages,$hrefViewMore)
|
95 |
+
{ ?>
|
96 |
+
|
97 |
+
<div class="row">
|
98 |
+
<h4 class="bannerTitle"><?php echo $sectionTitle; ?></h4>
|
99 |
+
</div>
|
100 |
+
|
101 |
+
<?php
|
102 |
+
|
103 |
+
$imgBasePath = SFSI_PLUGURL."images/banner/";
|
104 |
+
$arrImages = array_chunk($arrImages, 3);
|
105 |
+
|
106 |
+
foreach ($arrImages as $key => $arrImg) : ?>
|
107 |
+
|
108 |
+
<div class="row zeropadding">
|
109 |
+
|
110 |
+
<?php foreach ($arrImg as $key => $img):
|
111 |
+
|
112 |
+
$src = $imgBasePath.$img;?>
|
113 |
+
|
114 |
+
<div class="sfsi_row_table">
|
115 |
+
<img class="banner_icon_img" src="<?php echo $src; ?>" />
|
116 |
+
</div>
|
117 |
+
|
118 |
+
<?php endforeach; ?>
|
119 |
+
|
120 |
+
</div>
|
121 |
+
|
122 |
+
<?php endforeach; ?>
|
123 |
+
|
124 |
+
<div class="row">
|
125 |
+
<a class="banner_view_more" target="_blank" href="<?php echo $hrefViewMore; ?>">View more</a>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
<?php } ?>
|
129 |
+
|
130 |
+
<div class="col-md-12 sf_si_default_design">
|
131 |
+
|
132 |
+
<div class="col-md-4 zeropadding"><?php sfsi_banner_sub_section("A) More default design styles",$arrDefaultImages,"https://www.ultimatelysocial.com/extra-icon-styles/");?></div>
|
133 |
+
|
134 |
+
<div class="col-md-4 zeropadding"><?php sfsi_banner_sub_section("B) Themed styles<br> <span>(to match the content of your site)</span>",$arrThemeImages,"https://www.ultimatelysocial.com/themed-icons-search/"); ?></div>
|
135 |
+
|
136 |
+
<div class="col-md-4 zeropadding"><?php sfsi_banner_sub_section("C) Animated icons<br> <span>(eye-catching moving icons)</span>",$arrAnimateImages,"https://www.ultimatelysocial.com/animated-social-media-icons/"); ?> </div>
|
137 |
+
|
138 |
+
</div>
|
139 |
+
|
140 |
+
<div class="row sf_si_all_features_premium">
|
141 |
+
<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=more_icons_designs&utm_medium=banner" target="_blank">See all features Premium Plugin</a>
|
142 |
+
</div>
|
143 |
+
</div>
|