Version Description
- Fixed: Upload only images zip.
- Fixed: Removed empty line breaks from inline javascipt to prevent conflict with some themes.
- Fixed: Zoom Fade effect on Google Chrome browser.
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.1.64 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.63 to 1.1.64
- css/wds_frontend.css +6 -6
- filemanager/UploadHandler.php +32 -30
- filemanager/view.php +1 -1
- frontend/views/WDSViewSlider.php +6 -18
- readme.txt +7 -2
- slider-wd.php +2 -2
css/wds_frontend.css
CHANGED
|
@@ -118,12 +118,12 @@ span[data-type="wds_text_parent"] * {
|
|
| 118 |
padding: inherit;
|
| 119 |
}
|
| 120 |
|
| 121 |
-
@-webkit-keyframes wdszoom0 { 100% { background-size: 170%; }}
|
| 122 |
-
@-webkit-keyframes wdszoom70 { 100% { background-size: 100%; }}
|
| 123 |
-
@-moz-keyframes wdszoom0 { 100% { background-size: 170%; }}
|
| 124 |
-
@-moz-keyframes wdszoom70 { 100% { background-size: 100%; }}
|
| 125 |
-
@keyframes wdszoom0 { 100% { background-size: 170%; }}
|
| 126 |
-
@keyframes wdszoom70 { 100% { background-size: 100%; }}
|
| 127 |
|
| 128 |
.wds_play_btn_cont{
|
| 129 |
width:100%;
|
| 118 |
padding: inherit;
|
| 119 |
}
|
| 120 |
|
| 121 |
+
@-webkit-keyframes wdszoom0 { 100% { background-size: 170% 170%; }}
|
| 122 |
+
@-webkit-keyframes wdszoom70 { 100% { background-size: 100% 100%; }}
|
| 123 |
+
@-moz-keyframes wdszoom0 { 100% { background-size: 170% 170%; }}
|
| 124 |
+
@-moz-keyframes wdszoom70 { 100% { background-size: 100% 100%; }}
|
| 125 |
+
@keyframes wdszoom0 { 100% { background-size: 170% 170%; }}
|
| 126 |
+
@keyframes wdszoom70 { 100% { background-size: 100% 100%; }}
|
| 127 |
|
| 128 |
.wds_play_btn_cont{
|
| 129 |
width:100%;
|
filemanager/UploadHandler.php
CHANGED
|
@@ -593,35 +593,37 @@ class wds_UploadHandler {
|
|
| 593 |
}
|
| 594 |
|
| 595 |
protected function handle_zip_file($file_path, $file) {
|
| 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 |
protected function handle_directory($target_dir) {
|
| 627 |
$extracted_files = scandir($target_dir);
|
|
@@ -741,7 +743,7 @@ class wds_UploadHandler {
|
|
| 741 |
$this->handle_image_file($file_path, $file);
|
| 742 |
}
|
| 743 |
else {
|
| 744 |
-
$this->handle_zip_file($file_path, $file);
|
| 745 |
}
|
| 746 |
}
|
| 747 |
else {
|
| 593 |
}
|
| 594 |
|
| 595 |
protected function handle_zip_file($file_path, $file) {
|
| 596 |
+
$zip = new ZipArchive;
|
| 597 |
+
$res = $zip->open($file_path);
|
| 598 |
+
if ($res === TRUE) {
|
| 599 |
+
$allow_extract = true;
|
| 600 |
+
for($i = 0; $i < $zip->numFiles; $i++) {
|
| 601 |
+
$OnlyFileName = $zip->getNameIndex($i);
|
| 602 |
+
$FullFileName = $zip->statIndex($i);
|
| 603 |
+
if (!($FullFileName['name'][strlen($FullFileName['name']) - 1] == "/")) {
|
| 604 |
+
if (!preg_match('#\.(gif|jpe?g|png|bmp|mp4|flv|webm|ogg|mp3|wav|pdf|ini|txt)$#i', $OnlyFileName)) {
|
| 605 |
+
$allow_extract = false;
|
| 606 |
+
}
|
| 607 |
+
}
|
| 608 |
+
}
|
| 609 |
+
if ($allow_extract) {
|
| 610 |
+
$target_dir = substr($file_path, 0, strlen($file_path) - 4);
|
| 611 |
+
if (!is_dir($target_dir)) {
|
| 612 |
+
mkdir($target_dir, 0777);
|
| 613 |
+
}
|
| 614 |
+
$zip->extractTo($target_dir);
|
| 615 |
+
}
|
| 616 |
+
else {
|
| 617 |
+
$file->error = 'Zip file should contain only image files.';
|
| 618 |
+
}
|
| 619 |
+
$zip->close();
|
| 620 |
+
if ($allow_extract) {
|
| 621 |
+
$this->handle_directory($target_dir);
|
| 622 |
+
}
|
| 623 |
+
}
|
| 624 |
+
unlink($file_path);
|
| 625 |
+
return $file->error;
|
| 626 |
+
}
|
| 627 |
|
| 628 |
protected function handle_directory($target_dir) {
|
| 629 |
$extracted_files = scandir($target_dir);
|
| 743 |
$this->handle_image_file($file_path, $file);
|
| 744 |
}
|
| 745 |
else {
|
| 746 |
+
$file->error = $this->handle_zip_file($file_path, $file);
|
| 747 |
}
|
| 748 |
}
|
| 749 |
else {
|
filemanager/view.php
CHANGED
|
@@ -316,7 +316,7 @@ class FilemanagerView {
|
|
| 316 |
onBtnBackClick();
|
| 317 |
},
|
| 318 |
done: function (e, data) {
|
| 319 |
-
jQuery.each(data.files, function (index, file) {
|
| 320 |
if (file.error) {
|
| 321 |
alert(errorLoadingFile + ' :: ' + file.error);
|
| 322 |
}
|
| 316 |
onBtnBackClick();
|
| 317 |
},
|
| 318 |
done: function (e, data) {
|
| 319 |
+
jQuery.each(data.result.files, function (index, file) {
|
| 320 |
if (file.error) {
|
| 321 |
alert(errorLoadingFile + ' :: ' + file.error);
|
| 322 |
}
|
frontend/views/WDSViewSlider.php
CHANGED
|
@@ -1112,7 +1112,6 @@ class WDSViewSlider {
|
|
| 1112 |
'-o-transform':'rotate('+now+'deg)',
|
| 1113 |
'-ms-transform':'rotate('+now+'deg)',
|
| 1114 |
'transform':'rotate('+now+'deg)',
|
| 1115 |
-
|
| 1116 |
'-webkit-transform-origin': 'left bottom',
|
| 1117 |
'-ms-transform-origin': 'left bottom',
|
| 1118 |
'-moz-transform-origin': 'left bottom',
|
|
@@ -1129,7 +1128,6 @@ class WDSViewSlider {
|
|
| 1129 |
'-o-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
| 1130 |
'-ms-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
| 1131 |
'transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
| 1132 |
-
|
| 1133 |
'-webkit-transform-origin': 'left top',
|
| 1134 |
'-ms-transform-origin': 'left top',
|
| 1135 |
'-moz-transform-origin': 'left top',
|
|
@@ -1146,7 +1144,6 @@ class WDSViewSlider {
|
|
| 1146 |
'-o-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1147 |
'-ms-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1148 |
'transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1149 |
-
|
| 1150 |
'-webkit-transform-origin': 'right top',
|
| 1151 |
'-ms-transform-origin': 'right top',
|
| 1152 |
'-moz-transform-origin': 'right top',
|
|
@@ -1163,7 +1160,6 @@ class WDSViewSlider {
|
|
| 1163 |
'-o-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1164 |
'-ms-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1165 |
'transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1166 |
-
|
| 1167 |
'-webkit-transform-origin': 'right bottom',
|
| 1168 |
'-ms-transform-origin': 'right bottom',
|
| 1169 |
'-moz-transform-origin': 'right bottom',
|
|
@@ -1210,8 +1206,6 @@ class WDSViewSlider {
|
|
| 1210 |
return wds_testDom_<?php echo $wds; ?>('Perspective');
|
| 1211 |
}
|
| 1212 |
function wds_testDom_<?php echo $wds; ?>(prop) {
|
| 1213 |
-
/* Browser vendor CSS prefixes.*/
|
| 1214 |
-
var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-'];
|
| 1215 |
/* Browser vendor DOM prefixes.*/
|
| 1216 |
var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
|
| 1217 |
var i = domPrefixes.length;
|
|
@@ -1428,6 +1422,11 @@ class WDSViewSlider {
|
|
| 1428 |
if (wds_global_btn_<?php echo $wds; ?> == "left") {
|
| 1429 |
iterator = -1;
|
| 1430 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1431 |
}
|
| 1432 |
return iterator;
|
| 1433 |
}
|
|
@@ -1543,7 +1542,6 @@ class WDSViewSlider {
|
|
| 1543 |
<?php } ?>
|
| 1544 |
var current_slide_layers_count = wds_data_<?php echo $wds; ?>[current_key]["slide_layers_count"];
|
| 1545 |
var next_slide_layers_count = wds_data_<?php echo $wds; ?>[key]["slide_layers_count"];
|
| 1546 |
-
|
| 1547 |
/* Clear layers before image change.*/
|
| 1548 |
function set_layer_effect_out_before_change(m) {
|
| 1549 |
wds_clear_layers_effects_out_before_change_<?php echo $wds; ?>[current_key][m] = setTimeout(function() {
|
|
@@ -1699,7 +1697,6 @@ class WDSViewSlider {
|
|
| 1699 |
slide_width = slide_orig_width;
|
| 1700 |
}
|
| 1701 |
var ratio = slide_width / (slide_orig_width + 2 * wds_glb_margin_<?php echo $wds; ?>);
|
| 1702 |
-
|
| 1703 |
<?php
|
| 1704 |
if ($slider_row->full_width) {
|
| 1705 |
?>
|
|
@@ -1722,7 +1719,6 @@ class WDSViewSlider {
|
|
| 1722 |
if (slide_orig_width > slide_width) {
|
| 1723 |
slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
|
| 1724 |
}
|
| 1725 |
-
|
| 1726 |
jQuery(".wds_slideshow_image_wrap_<?php echo $wds; ?>, #wds_container2_<?php echo $wds; ?>").height(slide_height + <?php echo ($filmstrip_direction == 'horizontal' ? $filmstrip_height : 0); ?>);
|
| 1727 |
jQuery(".wds_slideshow_image_container_<?php echo $wds; ?>").height(slide_height);
|
| 1728 |
jQuery(".wds_slideshow_image_<?php echo $wds; ?>").height(slide_height);
|
|
@@ -1767,7 +1763,6 @@ class WDSViewSlider {
|
|
| 1767 |
});
|
| 1768 |
}
|
| 1769 |
}
|
| 1770 |
-
|
| 1771 |
});
|
| 1772 |
jQuery(".wds_slideshow_image_<?php echo $wds; ?> span, .wds_slideshow_image_<?php echo $wds; ?> i").each(function () {
|
| 1773 |
jQuery(this).css({
|
|
@@ -1803,14 +1798,13 @@ class WDSViewSlider {
|
|
| 1803 |
function wds_genBgPos_<?php echo $wds; ?>() {
|
| 1804 |
var bgSizeArray = [0, 70];
|
| 1805 |
var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
|
| 1806 |
-
|
| 1807 |
var bgPosXArray = ['left', 'right'];
|
| 1808 |
var bgPosYArray = ['top', 'bottom'];
|
| 1809 |
var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
|
| 1810 |
var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
|
| 1811 |
jQuery(".wds_slideshow_image_<?php echo $wds; ?>").css({
|
| 1812 |
backgroundPosition: bgPosX + " " + bgPosY,
|
| 1813 |
-
backgroundSize : (100 + bgSize) + "%",
|
| 1814 |
webkitAnimation: '<?php echo $slideshow_interval; ?>s linear 0s alternate infinite wdszoom' + bgSize,
|
| 1815 |
mozAnimation: '<?php echo $slideshow_interval; ?>s linear 0s alternate infinite wdszoom' + bgSize,
|
| 1816 |
animation: '<?php echo $slideshow_interval; ?>s linear 0s alternate infinite wdszoom' + bgSize
|
|
@@ -1961,11 +1955,9 @@ class WDSViewSlider {
|
|
| 1961 |
jQuery(".wds_slideshow_dots_container_<?php echo $wds; ?>").css({opacity: 0, filter: "Alpha(opacity=0)"});
|
| 1962 |
});
|
| 1963 |
}
|
| 1964 |
-
|
| 1965 |
wds_resize_slider_<?php echo $wds; ?>();
|
| 1966 |
jQuery("#wds_container2_<?php echo $wds; ?>").css({visibility: 'visible'});
|
| 1967 |
jQuery(".wds_loading").hide();
|
| 1968 |
-
|
| 1969 |
<?php
|
| 1970 |
if ($slider_row->effect == 'zoomFade') {
|
| 1971 |
?>
|
|
@@ -2019,9 +2011,7 @@ class WDSViewSlider {
|
|
| 2019 |
}
|
| 2020 |
}
|
| 2021 |
}
|
| 2022 |
-
|
| 2023 |
var wds_click = isMobile ? 'touchend' : 'click';
|
| 2024 |
-
|
| 2025 |
var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
|
| 2026 |
var wds_play_pause = 0;
|
| 2027 |
function wds_play_pause_<?php echo $wds; ?>() {
|
|
@@ -2030,7 +2020,6 @@ class WDSViewSlider {
|
|
| 2030 |
/* Play.*/
|
| 2031 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
|
| 2032 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
| 2033 |
-
|
| 2034 |
/* Finish current animation and begin the other.*/
|
| 2035 |
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
| 2036 |
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'top') {
|
|
@@ -2058,7 +2047,6 @@ class WDSViewSlider {
|
|
| 2058 |
clearTimeout(wds_clear_layers_effects_out_<?php echo $wds; ?>[current_key][k]);
|
| 2059 |
}
|
| 2060 |
}, wds_duration_for_clear_effects_<?php echo $wds; ?>);
|
| 2061 |
-
|
| 2062 |
window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
|
| 2063 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Play', 'bwg'); ?>");
|
| 2064 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-play");
|
| 1112 |
'-o-transform':'rotate('+now+'deg)',
|
| 1113 |
'-ms-transform':'rotate('+now+'deg)',
|
| 1114 |
'transform':'rotate('+now+'deg)',
|
|
|
|
| 1115 |
'-webkit-transform-origin': 'left bottom',
|
| 1116 |
'-ms-transform-origin': 'left bottom',
|
| 1117 |
'-moz-transform-origin': 'left bottom',
|
| 1128 |
'-o-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
| 1129 |
'-ms-transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
| 1130 |
'transform':'rotate('+bottom_right_deggree_<?php echo $wds; ?> +'deg)',
|
|
|
|
| 1131 |
'-webkit-transform-origin': 'left top',
|
| 1132 |
'-ms-transform-origin': 'left top',
|
| 1133 |
'-moz-transform-origin': 'left top',
|
| 1144 |
'-o-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1145 |
'-ms-transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1146 |
'transform':'rotate('+bottom_left_deggree_<?php echo $wds; ?> +'deg)',
|
|
|
|
| 1147 |
'-webkit-transform-origin': 'right top',
|
| 1148 |
'-ms-transform-origin': 'right top',
|
| 1149 |
'-moz-transform-origin': 'right top',
|
| 1160 |
'-o-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1161 |
'-ms-transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
| 1162 |
'transform':'rotate('+top_left_deggree_<?php echo $wds; ?> +'deg)',
|
|
|
|
| 1163 |
'-webkit-transform-origin': 'right bottom',
|
| 1164 |
'-ms-transform-origin': 'right bottom',
|
| 1165 |
'-moz-transform-origin': 'right bottom',
|
| 1206 |
return wds_testDom_<?php echo $wds; ?>('Perspective');
|
| 1207 |
}
|
| 1208 |
function wds_testDom_<?php echo $wds; ?>(prop) {
|
|
|
|
|
|
|
| 1209 |
/* Browser vendor DOM prefixes.*/
|
| 1210 |
var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml'];
|
| 1211 |
var i = domPrefixes.length;
|
| 1422 |
if (wds_global_btn_<?php echo $wds; ?> == "left") {
|
| 1423 |
iterator = -1;
|
| 1424 |
}
|
| 1425 |
+
if ('<?php echo $slider_loop; ?>' == 0) {
|
| 1426 |
+
if (parseInt(jQuery('#wds_current_image_key_<?php echo $wds; ?>').val()) == 0) {
|
| 1427 |
+
iterator = 1;
|
| 1428 |
+
}
|
| 1429 |
+
}
|
| 1430 |
}
|
| 1431 |
return iterator;
|
| 1432 |
}
|
| 1542 |
<?php } ?>
|
| 1543 |
var current_slide_layers_count = wds_data_<?php echo $wds; ?>[current_key]["slide_layers_count"];
|
| 1544 |
var next_slide_layers_count = wds_data_<?php echo $wds; ?>[key]["slide_layers_count"];
|
|
|
|
| 1545 |
/* Clear layers before image change.*/
|
| 1546 |
function set_layer_effect_out_before_change(m) {
|
| 1547 |
wds_clear_layers_effects_out_before_change_<?php echo $wds; ?>[current_key][m] = setTimeout(function() {
|
| 1697 |
slide_width = slide_orig_width;
|
| 1698 |
}
|
| 1699 |
var ratio = slide_width / (slide_orig_width + 2 * wds_glb_margin_<?php echo $wds; ?>);
|
|
|
|
| 1700 |
<?php
|
| 1701 |
if ($slider_row->full_width) {
|
| 1702 |
?>
|
| 1719 |
if (slide_orig_width > slide_width) {
|
| 1720 |
slide_height = Math.floor(slide_width * slide_orig_height / slide_orig_width);
|
| 1721 |
}
|
|
|
|
| 1722 |
jQuery(".wds_slideshow_image_wrap_<?php echo $wds; ?>, #wds_container2_<?php echo $wds; ?>").height(slide_height + <?php echo ($filmstrip_direction == 'horizontal' ? $filmstrip_height : 0); ?>);
|
| 1723 |
jQuery(".wds_slideshow_image_container_<?php echo $wds; ?>").height(slide_height);
|
| 1724 |
jQuery(".wds_slideshow_image_<?php echo $wds; ?>").height(slide_height);
|
| 1763 |
});
|
| 1764 |
}
|
| 1765 |
}
|
|
|
|
| 1766 |
});
|
| 1767 |
jQuery(".wds_slideshow_image_<?php echo $wds; ?> span, .wds_slideshow_image_<?php echo $wds; ?> i").each(function () {
|
| 1768 |
jQuery(this).css({
|
| 1798 |
function wds_genBgPos_<?php echo $wds; ?>() {
|
| 1799 |
var bgSizeArray = [0, 70];
|
| 1800 |
var bgSize = bgSizeArray[Math.floor(Math.random() * bgSizeArray.length)];
|
|
|
|
| 1801 |
var bgPosXArray = ['left', 'right'];
|
| 1802 |
var bgPosYArray = ['top', 'bottom'];
|
| 1803 |
var bgPosX = bgPosXArray[Math.floor(Math.random() * bgPosXArray.length)];
|
| 1804 |
var bgPosY = bgPosYArray[Math.floor(Math.random() * bgPosYArray.length)];
|
| 1805 |
jQuery(".wds_slideshow_image_<?php echo $wds; ?>").css({
|
| 1806 |
backgroundPosition: bgPosX + " " + bgPosY,
|
| 1807 |
+
backgroundSize : (100 + bgSize) + "% " + (100 + bgSize) + "%",
|
| 1808 |
webkitAnimation: '<?php echo $slideshow_interval; ?>s linear 0s alternate infinite wdszoom' + bgSize,
|
| 1809 |
mozAnimation: '<?php echo $slideshow_interval; ?>s linear 0s alternate infinite wdszoom' + bgSize,
|
| 1810 |
animation: '<?php echo $slideshow_interval; ?>s linear 0s alternate infinite wdszoom' + bgSize
|
| 1955 |
jQuery(".wds_slideshow_dots_container_<?php echo $wds; ?>").css({opacity: 0, filter: "Alpha(opacity=0)"});
|
| 1956 |
});
|
| 1957 |
}
|
|
|
|
| 1958 |
wds_resize_slider_<?php echo $wds; ?>();
|
| 1959 |
jQuery("#wds_container2_<?php echo $wds; ?>").css({visibility: 'visible'});
|
| 1960 |
jQuery(".wds_loading").hide();
|
|
|
|
| 1961 |
<?php
|
| 1962 |
if ($slider_row->effect == 'zoomFade') {
|
| 1963 |
?>
|
| 2011 |
}
|
| 2012 |
}
|
| 2013 |
}
|
|
|
|
| 2014 |
var wds_click = isMobile ? 'touchend' : 'click';
|
|
|
|
| 2015 |
var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */
|
| 2016 |
var wds_play_pause = 0;
|
| 2017 |
function wds_play_pause_<?php echo $wds; ?>() {
|
| 2020 |
/* Play.*/
|
| 2021 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
|
| 2022 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-pause");
|
|
|
|
| 2023 |
/* Finish current animation and begin the other.*/
|
| 2024 |
if (<?php echo $enable_slideshow_autoplay; ?>) {
|
| 2025 |
if ('<?php echo $slider_row->timer_bar_type; ?>' != 'top') {
|
| 2047 |
clearTimeout(wds_clear_layers_effects_out_<?php echo $wds; ?>[current_key][k]);
|
| 2048 |
}
|
| 2049 |
}, wds_duration_for_clear_effects_<?php echo $wds; ?>);
|
|
|
|
| 2050 |
window.clearInterval(wds_playInterval_<?php echo $wds; ?>);
|
| 2051 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("title", "<?php echo __('Play', 'bwg'); ?>");
|
| 2052 |
jQuery(".wds_slideshow_play_pause_<?php echo $wds; ?>").attr("class", "wds_ctrl_btn_<?php echo $wds; ?> wds_slideshow_play_pause_<?php echo $wds; ?> fa fa-play");
|
readme.txt
CHANGED
|
@@ -4,11 +4,11 @@ Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
|
| 4 |
Tags: image slider, slider, slideshow, image, images, responsive, shortcode, widget, jquery, gallery, swipe, layer
|
| 5 |
Requires at least: 3.4
|
| 6 |
Tested up to: 4.7
|
| 7 |
-
Stable tag: 1.1.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 11 |
-
Slider WD plugin is
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
|
@@ -125,6 +125,11 @@ After downloading the ZIP file of the slider plugin,
|
|
| 125 |
|
| 126 |
== Changelog ==
|
| 127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
= 1.1.63 =
|
| 129 |
* Fixed: New line in text layer.
|
| 130 |
* Fixed: Carousel view.
|
| 4 |
Tags: image slider, slider, slideshow, image, images, responsive, shortcode, widget, jquery, gallery, swipe, layer
|
| 5 |
Requires at least: 3.4
|
| 6 |
Tested up to: 4.7
|
| 7 |
+
Stable tag: 1.1.64
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 11 |
+
Slider WD plugin is the perfect slider solution for Wordpress. Create a great responsive slider with Slider WD.
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
| 125 |
|
| 126 |
== Changelog ==
|
| 127 |
|
| 128 |
+
= 1.1.64 =
|
| 129 |
+
* Fixed: Upload only images zip.
|
| 130 |
+
* Fixed: Removed empty line breaks from inline javascipt to prevent conflict with some themes.
|
| 131 |
+
* Fixed: Zoom Fade effect on Google Chrome browser.
|
| 132 |
+
|
| 133 |
= 1.1.63 =
|
| 134 |
* Fixed: New line in text layer.
|
| 135 |
* Fixed: Carousel view.
|
slider-wd.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: Slider WD
|
| 5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
| 6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
| 7 |
-
* Version: 1.1.
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
|
@@ -14,7 +14,7 @@ define('WD_S_NAME', plugin_basename(dirname(__FILE__)));
|
|
| 14 |
define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
|
| 15 |
define('WD_S_URL', plugins_url(WD_S_NAME));
|
| 16 |
|
| 17 |
-
define('WD_S_VERSION', '1.1.
|
| 18 |
|
| 19 |
function wds_use_home_url() {
|
| 20 |
$home_url = str_replace("http://", "", home_url());
|
| 4 |
* Plugin Name: Slider WD
|
| 5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
| 6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
| 7 |
+
* Version: 1.1.64
|
| 8 |
* Author: WebDorado
|
| 9 |
* Author URI: https://web-dorado.com/
|
| 10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 14 |
define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
|
| 15 |
define('WD_S_URL', plugins_url(WD_S_NAME));
|
| 16 |
|
| 17 |
+
define('WD_S_VERSION', '1.1.64');
|
| 18 |
|
| 19 |
function wds_use_home_url() {
|
| 20 |
$home_url = str_replace("http://", "", home_url());
|
