MetaSlider - Version 2.3

Version Description

[18/09/13] = * Improvement: Flex Slider upgraded to v2.2 * Improvement: Responsive Slides upgraded to v1.54 * Improvement: 'Create first slideshow' prompt added for new users * Change: 'scoped' attribute removed from inline CSS tag until browsers catch up with supporting it properly. A new filter has been added: "metaslider_style_attributes" if you wish to add the scoped attribute back in. * Change: wp_footer check removed due to confusion * New Feature: 'metaslider_max_tabs' filter added to convert tab list to ordered drop down menu * Fix: Remove 'Insert Media' tab from 'Add Slide' modal (WP 3.6 only) * New Feature: Filters added to allow modification of image slide HTML * Improvement: Settings area tidied up * Improvement: Image URL Field less restrictive * Improvement: HTML Output tidied up

Download this release

Release Info

Developer matchalabs
Plugin Icon 128x128 MetaSlider
Version 2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.3

assets/metaslider/admin.css CHANGED
@@ -63,6 +63,45 @@
63
  #goProWrap a {
64
  text-decoration: none;
65
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  .metaslider .section {
67
  cursor: pointer;
68
  }
@@ -78,15 +117,17 @@
78
  padding: 15px 0;
79
  border-color: #3793B7;
80
  background-color: #41add7;
81
- background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #41add7), color-stop(100%, #218CB7));
82
- background-image: -webkit-linear-gradient(top, #41add7, #218CB7);
83
- background-image: -moz-linear-gradient(top, #41add7, #218CB7);
84
- background-image: -o-linear-gradient(top, #41add7, #218CB7);
85
- background-image: linear-gradient(top, #41add7, #218CB7);
86
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
87
  -moz-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
88
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
89
  border-radius: 4px;
 
 
90
  color: #fff;
91
  font-family: 'PT Sans', helvetica, arial, sans-serif;
92
  text-shadow: 0 -1px 1px #1a5ad9;
63
  #goProWrap a {
64
  text-decoration: none;
65
  }
66
+ .bubble {
67
+ position: relative;
68
+ height: 20px;
69
+ padding: 0px 5px;
70
+ background: #FFFFFF;
71
+ border: firebrick solid 2px;
72
+ -webkit-border-radius: 5px;
73
+ -moz-border-radius: 5px;
74
+ border-radius: 5px;
75
+ display: inline-block;
76
+ text-align: center;
77
+ vertical-align: middle;
78
+ line-height: 20px;
79
+ margin-left: 10px;
80
+ }
81
+ .bubble:after {
82
+ content: "";
83
+ position: absolute;
84
+ top: 5px;
85
+ left: -6px;
86
+ border-style: solid;
87
+ border-width: 5px 6px 5px 0;
88
+ border-color: transparent #FFFFFF;
89
+ display: block;
90
+ width: 0;
91
+ z-index: 1;
92
+ }
93
+ .bubble:before {
94
+ content: "";
95
+ position: absolute;
96
+ top: 4px;
97
+ left: -9px;
98
+ border-style: solid;
99
+ border-width: 6px 7px 6px 0;
100
+ border-color: transparent firebrick;
101
+ display: block;
102
+ width: 0;
103
+ z-index: 0;
104
+ }
105
  .metaslider .section {
106
  cursor: pointer;
107
  }
117
  padding: 15px 0;
118
  border-color: #3793B7;
119
  background-color: #41add7;
120
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #41add7), color-stop(100%, #218cb7));
121
+ background-image: -webkit-linear-gradient(top, #41add7, #218cb7);
122
+ background-image: -moz-linear-gradient(top, #41add7, #218cb7);
123
+ background-image: -o-linear-gradient(top, #41add7, #218cb7);
124
+ background-image: linear-gradient(top, #41add7, #218cb7);
125
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
126
  -moz-box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
127
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.2);
128
  border-radius: 4px;
129
+ -webkit-box-shadow: inset 0 0 2px 0 rgba(57, 140, 255, 0.8);
130
+ box-shadow: inset 0 0 2px 0 rgba(57, 140, 255, 0.8);
131
  color: #fff;
132
  font-family: 'PT Sans', helvetica, arial, sans-serif;
133
  text-shadow: 0 -1px 1px #1a5ad9;
assets/metaslider/admin.js CHANGED
@@ -46,7 +46,7 @@ jQuery(document).ready(function($) {
46
  });
47
 
48
  // bind an event to the slides table to update the menu order of each slide
49
- jQuery('.metaslider .left table').bind('updateSlideOrder', function(event) {
50
  jQuery('tr', this).each(function() {
51
  jQuery('input.menu_order', jQuery(this)).val(jQuery(this).index());
52
  });
46
  });
47
 
48
  // bind an event to the slides table to update the menu order of each slide
49
+ jQuery('.metaslider .left table').live('updateSlideOrder', function(event) {
50
  jQuery('tr', this).each(function() {
51
  jQuery('input.menu_order', jQuery(this)).val(jQuery(this).index());
52
  });
assets/metaslider/admin.less CHANGED
@@ -69,8 +69,57 @@
69
  text-decoration: none;
70
  }
71
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  .metaslider {
73
 
 
 
74
  .section {
75
  cursor: pointer;
76
  }
69
  text-decoration: none;
70
  }
71
  }
72
+
73
+ .bubble
74
+ {
75
+ position: relative;
76
+ height: 20px;
77
+ padding: 0px 5px;
78
+ background: #FFFFFF;
79
+ border: #FF0000 solid 2px;
80
+ -webkit-border-radius: 5px;
81
+ -moz-border-radius: 5px;
82
+ border-radius: 5px;
83
+ display: inline-block;
84
+ text-align: center;
85
+ vertical-align: middle;
86
+ line-height: 20px;
87
+ margin-left: 10px;
88
+ }
89
+
90
+ .bubble:after
91
+ {
92
+ content: "";
93
+ position: absolute;
94
+ top: 5px;
95
+ left: -6px;
96
+ border-style: solid;
97
+ border-width: 5px 6px 5px 0;
98
+ border-color: transparent #FFFFFF;
99
+ display: block;
100
+ width: 0;
101
+ z-index: 1;
102
+ }
103
+
104
+ .bubble:before
105
+ {
106
+ content: "";
107
+ position: absolute;
108
+ top: 4px;
109
+ left: -9px;
110
+ border-style: solid;
111
+ border-width: 6px 7px 6px 0;
112
+ border-color: transparent #FF0000;
113
+ display: block;
114
+ width: 0;
115
+ z-index: 0;
116
+ }
117
+
118
+
119
  .metaslider {
120
 
121
+
122
+
123
  .section {
124
  cursor: pointer;
125
  }
assets/metaslider/image/image.js CHANGED
@@ -3,9 +3,17 @@
3
  */
4
  (function ($) {
5
  $(function () {
 
 
6
  jQuery('.metaslider .add-slide').live('click', function(event){
7
  event.preventDefault();
8
 
 
 
 
 
 
 
9
  // Create the media frame.
10
  file_frame = wp.media.frames.file_frame = wp.media({
11
  multiple: 'add',
@@ -34,6 +42,9 @@
34
  });
35
 
36
  file_frame.open();
 
 
 
37
  });
38
  });
39
 
3
  */
4
  (function ($) {
5
  $(function () {
6
+ var file_frame;
7
+
8
  jQuery('.metaslider .add-slide').live('click', function(event){
9
  event.preventDefault();
10
 
11
+ // If the media frame already exists, reopen it.
12
+ if ( file_frame ) {
13
+ file_frame.open();
14
+ return;
15
+ }
16
+
17
  // Create the media frame.
18
  file_frame = wp.media.frames.file_frame = wp.media({
19
  multiple: 'add',
42
  });
43
 
44
  file_frame.open();
45
+
46
+ // Remove the Media Library tab (media_upload_tabs filter is broken in 3.6)
47
+ jQuery(".media-menu a:contains('Media Library')").remove();
48
  });
49
  });
50
 
assets/metaslider/public.css CHANGED
@@ -37,9 +37,14 @@
37
  width: 100%;
38
  }
39
 
 
 
 
 
40
  /** quick resets **/
41
  #widgets .metaslider ul,
42
  #widgets .metaslider ol,
 
43
  .metaslider .flexslider ul,
44
  .metaslider .flexslider .slides li,
45
  .metaslider .flexslider .slides ul,
37
  width: 100%;
38
  }
39
 
40
+ .metaslider .caption-wrap .caption img {
41
+ width: auto;
42
+ }
43
+
44
  /** quick resets **/
45
  #widgets .metaslider ul,
46
  #widgets .metaslider ol,
47
+ #content .metaslider unmodifiedl,
48
  .metaslider .flexslider ul,
49
  .metaslider .flexslider .slides li,
50
  .metaslider .flexslider .slides ul,
assets/sliders/flexslider/flexslider.css CHANGED
@@ -65,8 +65,8 @@ html[xmlns] .slides {display: block;}
65
  .flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }
66
 
67
  .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
68
- .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
69
- .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
70
  .flex-control-thumbs img:hover {opacity: 1;}
71
  .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
72
 
65
  .flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }
66
 
67
  .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
68
+ .flex-control-thumbs li {}
69
+ .flex-control-thumbs img {margin: 10px 5px 0; display: inline-block; opacity: .7; cursor: pointer;}
70
  .flex-control-thumbs img:hover {opacity: 1;}
71
  .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
72
 
assets/sliders/flexslider/jquery.flexslider-min.js CHANGED
@@ -1,38 +1,5 @@
1
  /*
2
- * jQuery FlexSlider v2.1
3
  * Copyright 2012 WooThemes
4
  * Contributing Author: Tyler Smith
5
- */
6
- ;(function(d){d.flexslider=function(i,k){var a=d(i),c=d.extend({},d.flexslider.defaults,k),e=c.namespace,p="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,t=p?"touchend":"click",l="vertical"===c.direction,m=c.reverse,h=0<c.itemWidth,r="fade"===c.animation,s=""!==c.asNavFor,f={};d.data(i,"flexslider",a);f={init:function(){a.animating=!1;a.currentSlide=c.startAt;a.animatingTo=a.currentSlide;a.atEnd=0===a.currentSlide||a.currentSlide===a.last;a.containerSelector=c.selector.substr(0,
7
- c.selector.search(" "));a.slides=d(c.selector,a);a.container=d(a.containerSelector,a);a.count=a.slides.length;a.syncExists=0<d(c.sync).length;"slide"===c.animation&&(c.animation="swing");a.prop=l?"top":"marginLeft";a.args={};a.manualPause=!1;var b=a,g;if(g=!c.video)if(g=!r)if(g=c.useCSS)a:{g=document.createElement("div");var n=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],e;for(e in n)if(void 0!==g.style[n[e]]){a.pfx=n[e].replace("Perspective","").toLowerCase();
8
- a.prop="-"+a.pfx+"-transform";g=!0;break a}g=!1}b.transitions=g;""!==c.controlsContainer&&(a.controlsContainer=0<d(c.controlsContainer).length&&d(c.controlsContainer));""!==c.manualControls&&(a.manualControls=0<d(c.manualControls).length&&d(c.manualControls));c.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-0.5}),a.container.empty().append(a.slides));a.doMath();s&&f.asNav.setup();a.setup("init");c.controlNav&&f.controlNav.setup();c.directionNav&&f.directionNav.setup();c.keyboard&&
9
- (1===d(a.containerSelector).length||c.multipleKeyboard)&&d(document).bind("keyup",function(b){b=b.keyCode;if(!a.animating&&(39===b||37===b))b=39===b?a.getTarget("next"):37===b?a.getTarget("prev"):!1,a.flexAnimate(b,c.pauseOnAction)});c.mousewheel&&a.bind("mousewheel",function(b,g){b.preventDefault();var d=0>g?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(d,c.pauseOnAction)});c.pausePlay&&f.pausePlay.setup();c.slideshow&&(c.pauseOnHover&&a.hover(function(){!a.manualPlay&&!a.manualPause&&a.pause()},
10
- function(){!a.manualPause&&!a.manualPlay&&a.play()}),0<c.initDelay?setTimeout(a.play,c.initDelay):a.play());p&&c.touch&&f.touch();(!r||r&&c.smoothHeight)&&d(window).bind("resize focus",f.resize);setTimeout(function(){c.start(a)},200)},asNav:{setup:function(){a.asNav=!0;a.animatingTo=Math.floor(a.currentSlide/a.move);a.currentItem=a.currentSlide;a.slides.removeClass(e+"active-slide").eq(a.currentItem).addClass(e+"active-slide");a.slides.click(function(b){b.preventDefault();var b=d(this),g=b.index();
11
- !d(c.asNavFor).data("flexslider").animating&&!b.hasClass("active")&&(a.direction=a.currentItem<g?"next":"prev",a.flexAnimate(g,c.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){a.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var b=1,g;a.controlNavScaffold=d('<ol class="'+e+"control-nav "+e+("thumbnails"===c.controlNav?"control-thumbs":"control-paging")+'"></ol>');if(1<a.pagingCount)for(var n=0;n<a.pagingCount;n++)g="thumbnails"===c.controlNav?
12
- '<img src="'+a.slides.eq(n).attr("data-thumb")+'"/>':"<a>"+b+"</a>",a.controlNavScaffold.append("<li>"+g+"</li>"),b++;a.controlsContainer?d(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold);f.controlNav.set();f.controlNav.active();a.controlNavScaffold.delegate("a, img",t,function(b){b.preventDefault();var b=d(this),g=a.controlNav.index(b);b.hasClass(e+"active")||(a.direction=g>a.currentSlide?"next":"prev",a.flexAnimate(g,c.pauseOnAction))});p&&a.controlNavScaffold.delegate("a",
13
- "click touchstart",function(a){a.preventDefault()})},setupManual:function(){a.controlNav=a.manualControls;f.controlNav.active();a.controlNav.live(t,function(b){b.preventDefault();var b=d(this),g=a.controlNav.index(b);b.hasClass(e+"active")||(g>a.currentSlide?a.direction="next":a.direction="prev",a.flexAnimate(g,c.pauseOnAction))});p&&a.controlNav.live("click touchstart",function(a){a.preventDefault()})},set:function(){a.controlNav=d("."+e+"control-nav li "+("thumbnails"===c.controlNav?"img":"a"),
14
- a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(e+"active").eq(a.animatingTo).addClass(e+"active")},update:function(b,c){1<a.pagingCount&&"add"===b?a.controlNavScaffold.append(d("<li><a>"+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(c).closest("li").remove();f.controlNav.set();1<a.pagingCount&&a.pagingCount!==a.controlNav.length?a.update(c,b):f.controlNav.active()}},directionNav:{setup:function(){var b=d('<ul class="'+
15
- e+'direction-nav"><li><a class="'+e+'prev" href="#">'+c.prevText+'</a></li><li><a class="'+e+'next" href="#">'+c.nextText+"</a></li></ul>");a.controlsContainer?(d(a.controlsContainer).append(b),a.directionNav=d("."+e+"direction-nav li a",a.controlsContainer)):(a.append(b),a.directionNav=d("."+e+"direction-nav li a",a));f.directionNav.update();a.directionNav.bind(t,function(b){b.preventDefault();b=d(this).hasClass(e+"next")?a.getTarget("next"):a.getTarget("prev");a.flexAnimate(b,c.pauseOnAction)});
16
- p&&a.directionNav.bind("click touchstart",function(a){a.preventDefault()})},update:function(){var b=e+"disabled";1===a.pagingCount?a.directionNav.addClass(b):c.animationLoop?a.directionNav.removeClass(b):0===a.animatingTo?a.directionNav.removeClass(b).filter("."+e+"prev").addClass(b):a.animatingTo===a.last?a.directionNav.removeClass(b).filter("."+e+"next").addClass(b):a.directionNav.removeClass(b)}},pausePlay:{setup:function(){var b=d('<div class="'+e+'pauseplay"><a></a></div>');a.controlsContainer?
17
- (a.controlsContainer.append(b),a.pausePlay=d("."+e+"pauseplay a",a.controlsContainer)):(a.append(b),a.pausePlay=d("."+e+"pauseplay a",a));f.pausePlay.update(c.slideshow?e+"pause":e+"play");a.pausePlay.bind(t,function(b){b.preventDefault();d(this).hasClass(e+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())});p&&a.pausePlay.bind("click touchstart",function(a){a.preventDefault()})},update:function(b){"play"===b?a.pausePlay.removeClass(e+"pause").addClass(e+
18
- "play").text(c.playText):a.pausePlay.removeClass(e+"play").addClass(e+"pause").text(c.pauseText)}},touch:function(){function b(b){j=l?d-b.touches[0].pageY:d-b.touches[0].pageX;p=l?Math.abs(j)<Math.abs(b.touches[0].pageX-e):Math.abs(j)<Math.abs(b.touches[0].pageY-e);if(!p||500<Number(new Date)-k)b.preventDefault(),!r&&a.transitions&&(c.animationLoop||(j/=0===a.currentSlide&&0>j||a.currentSlide===a.last&&0<j?Math.abs(j)/q+2:1),a.setProps(f+j,"setTouch"))}function g(){i.removeEventListener("touchmove",
19
- b,!1);if(a.animatingTo===a.currentSlide&&!p&&null!==j){var h=m?-j:j,l=0<h?a.getTarget("next"):a.getTarget("prev");a.canAdvance(l)&&(550>Number(new Date)-k&&50<Math.abs(h)||Math.abs(h)>q/2)?a.flexAnimate(l,c.pauseOnAction):r||a.flexAnimate(a.currentSlide,c.pauseOnAction,!0)}i.removeEventListener("touchend",g,!1);f=j=e=d=null}var d,e,f,q,j,k,p=!1;i.addEventListener("touchstart",function(j){a.animating?j.preventDefault():1===j.touches.length&&(a.pause(),q=l?a.h:a.w,k=Number(new Date),f=h&&m&&a.animatingTo===
20
- a.last?0:h&&m?a.limit-(a.itemW+c.itemMargin)*a.move*a.animatingTo:h&&a.currentSlide===a.last?a.limit:h?(a.itemW+c.itemMargin)*a.move*a.currentSlide:m?(a.last-a.currentSlide+a.cloneOffset)*q:(a.currentSlide+a.cloneOffset)*q,d=l?j.touches[0].pageY:j.touches[0].pageX,e=l?j.touches[0].pageX:j.touches[0].pageY,i.addEventListener("touchmove",b,!1),i.addEventListener("touchend",g,!1))},!1)},resize:function(){!a.animating&&a.is(":visible")&&(h||a.doMath(),r?f.smoothHeight():h?(a.slides.width(a.computedW),
21
- a.update(a.pagingCount),a.setProps()):l?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(c.smoothHeight&&f.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(b){if(!l||r){var c=r?a:a.viewport;b?c.animate({height:a.slides.eq(a.animatingTo).height()},b):c.height(a.slides.eq(a.animatingTo).height())}},sync:function(b){var g=d(c.sync).data("flexslider"),e=a.animatingTo;switch(b){case "animate":g.flexAnimate(e,c.pauseOnAction,!1,!0);break;case "play":!g.playing&&
22
- !g.asNav&&g.play();break;case "pause":g.pause()}}};a.flexAnimate=function(b,g,n,i,k){s&&1===a.pagingCount&&(a.direction=a.currentItem<b?"next":"prev");if(!a.animating&&(a.canAdvance(b,k)||n)&&a.is(":visible")){if(s&&i)if(n=d(c.asNavFor).data("flexslider"),a.atEnd=0===b||b===a.count-1,n.flexAnimate(b,!0,!1,!0,k),a.direction=a.currentItem<b?"next":"prev",n.direction=a.direction,Math.ceil((b+1)/a.visible)-1!==a.currentSlide&&0!==b)a.currentItem=b,a.slides.removeClass(e+"active-slide").eq(b).addClass(e+
23
- "active-slide"),b=Math.floor(b/a.visible);else return a.currentItem=b,a.slides.removeClass(e+"active-slide").eq(b).addClass(e+"active-slide"),!1;a.animating=!0;a.animatingTo=b;c.before(a);g&&a.pause();a.syncExists&&!k&&f.sync("animate");c.controlNav&&f.controlNav.active();h||a.slides.removeClass(e+"active-slide").eq(b).addClass(e+"active-slide");a.atEnd=0===b||b===a.last;c.directionNav&&f.directionNav.update();b===a.last&&(c.end(a),c.animationLoop||a.pause());if(r)p?(a.slides.eq(a.currentSlide).css({opacity:0,
24
- zIndex:1}),a.slides.eq(b).css({opacity:1,zIndex:2}),a.slides.unbind("webkitTransitionEnd transitionend"),a.slides.eq(a.currentSlide).bind("webkitTransitionEnd transitionend",function(){c.after(a)}),a.animating=!1,a.currentSlide=a.animatingTo):(a.slides.eq(a.currentSlide).fadeOut(c.animationSpeed,c.easing),a.slides.eq(b).fadeIn(c.animationSpeed,c.easing,a.wrapup));else{var q=l?a.slides.filter(":first").height():a.computedW;h?(b=c.itemWidth>a.w?2*c.itemMargin:c.itemMargin,b=(a.itemW+b)*a.move*a.animatingTo,
25
- b=b>a.limit&&1!==a.visible?a.limit:b):b=0===a.currentSlide&&b===a.count-1&&c.animationLoop&&"next"!==a.direction?m?(a.count+a.cloneOffset)*q:0:a.currentSlide===a.last&&0===b&&c.animationLoop&&"prev"!==a.direction?m?0:(a.count+1)*q:m?(a.count-1-b+a.cloneOffset)*q:(b+a.cloneOffset)*q;a.setProps(b,"",c.animationSpeed);if(a.transitions){if(!c.animationLoop||!a.atEnd)a.animating=!1,a.currentSlide=a.animatingTo;a.container.unbind("webkitTransitionEnd transitionend");a.container.bind("webkitTransitionEnd transitionend",
26
- function(){a.wrapup(q)})}else a.container.animate(a.args,c.animationSpeed,c.easing,function(){a.wrapup(q)})}c.smoothHeight&&f.smoothHeight(c.animationSpeed)}};a.wrapup=function(b){!r&&!h&&(0===a.currentSlide&&a.animatingTo===a.last&&c.animationLoop?a.setProps(b,"jumpEnd"):a.currentSlide===a.last&&(0===a.animatingTo&&c.animationLoop)&&a.setProps(b,"jumpStart"));a.animating=!1;a.currentSlide=a.animatingTo;c.after(a)};a.animateSlides=function(){a.animating||a.flexAnimate(a.getTarget("next"))};a.pause=
27
- function(){clearInterval(a.animatedSlides);a.playing=!1;c.pausePlay&&f.pausePlay.update("play");a.syncExists&&f.sync("pause")};a.play=function(){a.animatedSlides=setInterval(a.animateSlides,c.slideshowSpeed);a.playing=!0;c.pausePlay&&f.pausePlay.update("pause");a.syncExists&&f.sync("play")};a.canAdvance=function(b,g){var d=s?a.pagingCount-1:a.last;return g?!0:s&&a.currentItem===a.count-1&&0===b&&"prev"===a.direction?!0:s&&0===a.currentItem&&b===a.pagingCount-1&&"next"!==a.direction?!1:b===a.currentSlide&&
28
- !s?!1:c.animationLoop?!0:a.atEnd&&0===a.currentSlide&&b===d&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===d&&0===b&&"next"===a.direction?!1:!0};a.getTarget=function(b){a.direction=b;return"next"===b?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1};a.setProps=function(b,g,d){var e,f=b?b:(a.itemW+c.itemMargin)*a.move*a.animatingTo;e=-1*function(){if(h)return"setTouch"===g?b:m&&a.animatingTo===a.last?0:m?a.limit-(a.itemW+c.itemMargin)*a.move*a.animatingTo:a.animatingTo===
29
- a.last?a.limit:f;switch(g){case "setTotal":return m?(a.count-1-a.currentSlide+a.cloneOffset)*b:(a.currentSlide+a.cloneOffset)*b;case "setTouch":return b;case "jumpEnd":return m?b:a.count*b;case "jumpStart":return m?a.count*b:b;default:return b}}()+"px";a.transitions&&(e=l?"translate3d(0,"+e+",0)":"translate3d("+e+",0,0)",d=void 0!==d?d/1E3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",d));a.args[a.prop]=e;(a.transitions||void 0===d)&&a.container.css(a.args)};a.setup=function(b){if(r)a.slides.css({width:"100%",
30
- "float":"left",marginRight:"-100%",position:"relative"}),"init"===b&&(p?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+c.animationSpeed/1E3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):a.slides.eq(a.currentSlide).fadeIn(c.animationSpeed,c.easing)),c.smoothHeight&&f.smoothHeight();else{var g,n;"init"===b&&(a.viewport=d('<div class="'+e+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=
31
- 0,m&&(n=d.makeArray(a.slides).reverse(),a.slides=d(n),a.container.empty().append(a.slides)));c.animationLoop&&!h&&(a.cloneCount=2,a.cloneOffset=1,"init"!==b&&a.container.find(".clone").remove(),a.container.append(a.slides.first().clone().addClass("clone")).prepend(a.slides.last().clone().addClass("clone")));a.newSlides=d(c.selector,a);g=m?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset;l&&!h?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),
32
- setTimeout(function(){a.newSlides.css({display:"block"});a.doMath();a.viewport.height(a.h);a.setProps(g*a.h,"init")},"init"===b?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(g*a.computedW,"init"),setTimeout(function(){a.doMath();a.newSlides.css({width:a.computedW,"float":"left",display:"block"});c.smoothHeight&&f.smoothHeight()},"init"===b?100:0))}h||a.slides.removeClass(e+"active-slide").eq(a.currentSlide).addClass(e+"active-slide")};a.doMath=function(){var b=a.slides.first(),
33
- d=c.itemMargin,e=c.minItems,f=c.maxItems;a.w=a.width();a.h=b.height();a.boxPadding=b.outerWidth()-b.width();h?(a.itemT=c.itemWidth+d,a.minW=e?e*a.itemT:a.w,a.maxW=f?f*a.itemT:a.w,a.itemW=a.minW>a.w?(a.w-d*e)/e:a.maxW<a.w?(a.w-d*f)/f:c.itemWidth>a.w?a.w:c.itemWidth,a.visible=Math.floor(a.w/(a.itemW+d)),a.move=0<c.move&&c.move<a.visible?c.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:c.itemWidth>a.w?(a.itemW+2*d)*a.count-a.w-
34
- d:(a.itemW+d)*a.count-a.w-d):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1);a.computedW=a.itemW-a.boxPadding};a.update=function(b,d){a.doMath();h||(b<a.currentSlide?a.currentSlide+=1:b<=a.currentSlide&&0!==b&&(a.currentSlide-=1),a.animatingTo=a.currentSlide);if(c.controlNav&&!a.manualControls)if("add"===d&&!h||a.pagingCount>a.controlNav.length)f.controlNav.update("add");else if("remove"===d&&!h||a.pagingCount<a.controlNav.length)h&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),
35
- f.controlNav.update("remove",a.last);c.directionNav&&f.directionNav.update()};a.addSlide=function(b,e){var f=d(b);a.count+=1;a.last=a.count-1;l&&m?void 0!==e?a.slides.eq(a.count-e).after(f):a.container.prepend(f):void 0!==e?a.slides.eq(e).before(f):a.container.append(f);a.update(e,"add");a.slides=d(c.selector+":not(.clone)",a);a.setup();c.added(a)};a.removeSlide=function(b){var e=isNaN(b)?a.slides.index(d(b)):b;a.count-=1;a.last=a.count-1;isNaN(b)?d(b,a.slides).remove():l&&m?a.slides.eq(a.last).remove():
36
- a.slides.eq(b).remove();a.doMath();a.update(e,"remove");a.slides=d(c.selector+":not(.clone)",a);a.setup();c.removed(a)};f.init()};d.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7E3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",
37
- keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}};d.fn.flexslider=function(i){void 0===i&&(i={});if("object"===typeof i)return this.each(function(){var a=d(this),c=a.find(i.selector?i.selector:".slides > li");1===c.length?(c.fadeIn(400),
38
- i.start&&i.start(a)):void 0==a.data("flexslider")&&new d.flexslider(this,i)});var k=d(this).data("flexslider");switch(i){case "play":k.play();break;case "pause":k.pause();break;case "next":k.flexAnimate(k.getTarget("next"),!0);break;case "prev":case "previous":k.flexAnimate(k.getTarget("prev"),!0);break;default:"number"===typeof i&&k.flexAnimate(i,!0)}}})(jQuery);
1
  /*
2
+ * jQuery FlexSlider v2.2.0
3
  * Copyright 2012 WooThemes
4
  * Contributing Author: Tyler Smith
5
+ */(function(e){e.flexslider=function(t,n){var r=e(t);r.vars=e.extend({},e.flexslider.defaults,n);var i=r.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,o=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&r.vars.touch,u="click touchend MSPointerUp",a="",f,l=r.vars.direction==="vertical",c=r.vars.reverse,h=r.vars.itemWidth>0,p=r.vars.animation==="fade",d=r.vars.asNavFor!=="",v={},m=!0;e.data(t,"flexslider",r);v={init:function(){r.animating=!1;r.currentSlide=parseInt(r.vars.startAt?r.vars.startAt:0);isNaN(r.currentSlide)&&(r.currentSlide=0);r.animatingTo=r.currentSlide;r.atEnd=r.currentSlide===0||r.currentSlide===r.last;r.containerSelector=r.vars.selector.substr(0,r.vars.selector.search(" "));r.slides=e(r.vars.selector,r);r.container=e(r.containerSelector,r);r.count=r.slides.length;r.syncExists=e(r.vars.sync).length>0;r.vars.animation==="slide"&&(r.vars.animation="swing");r.prop=l?"top":"marginLeft";r.args={};r.manualPause=!1;r.stopped=!1;r.started=!1;r.startTimeout=null;r.transitions=!r.vars.video&&!p&&r.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(e.style[t[n]]!==undefined){r.pfx=t[n].replace("Perspective","").toLowerCase();r.prop="-"+r.pfx+"-transform";return!0}return!1}();r.vars.controlsContainer!==""&&(r.controlsContainer=e(r.vars.controlsContainer).length>0&&e(r.vars.controlsContainer));r.vars.manualControls!==""&&(r.manualControls=e(r.vars.manualControls).length>0&&e(r.vars.manualControls));if(r.vars.randomize){r.slides.sort(function(){return Math.round(Math.random())-.5});r.container.empty().append(r.slides)}r.doMath();r.setup("init");r.vars.controlNav&&v.controlNav.setup();r.vars.directionNav&&v.directionNav.setup();r.vars.keyboard&&(e(r.containerSelector).length===1||r.vars.multipleKeyboard)&&e(document).bind("keyup",function(e){var t=e.keyCode;if(!r.animating&&(t===39||t===37)){var n=t===39?r.getTarget("next"):t===37?r.getTarget("prev"):!1;r.flexAnimate(n,r.vars.pauseOnAction)}});r.vars.mousewheel&&r.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=t<0?r.getTarget("next"):r.getTarget("prev");r.flexAnimate(s,r.vars.pauseOnAction)});r.vars.pausePlay&&v.pausePlay.setup();r.vars.slideshow&&r.vars.pauseInvisible&&v.pauseInvisible.init();if(r.vars.slideshow){r.vars.pauseOnHover&&r.hover(function(){!r.manualPlay&&!r.manualPause&&r.pause()},function(){!r.manualPause&&!r.manualPlay&&!r.stopped&&r.play()});if(!r.vars.pauseInvisible||!v.pauseInvisible.isHidden())r.vars.initDelay>0?r.startTimeout=setTimeout(r.play,r.vars.initDelay):r.play()}d&&v.asNav.setup();o&&r.vars.touch&&v.touch();(!p||p&&r.vars.smoothHeight)&&e(window).bind("resize orientationchange focus",v.resize);r.find("img").attr("draggable","false");setTimeout(function(){r.vars.start(r)},200)},asNav:{setup:function(){r.asNav=!0;r.animatingTo=Math.floor(r.currentSlide/r.move);r.currentItem=r.currentSlide;r.slides.removeClass(i+"active-slide").eq(r.currentItem).addClass(i+"active-slide");if(!s)r.slides.click(function(t){t.preventDefault();var n=e(this),s=n.index(),o=n.offset().left-e(r).scrollLeft();if(o<=0&&n.hasClass(i+"active-slide"))r.flexAnimate(r.getTarget("prev"),!0);else if(!e(r.vars.asNavFor).data("flexslider").animating&&!n.hasClass(i+"active-slide")){r.direction=r.currentItem<s?"next":"prev";r.flexAnimate(s,r.vars.pauseOnAction,!1,!0,!0)}});else{t._slider=r;r.slides.each(function(){var t=this;t._gesture=new MSGesture;t._gesture.target=t;t.addEventListener("MSPointerDown",function(e){e.preventDefault();e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1);t.addEventListener("MSGestureTap",function(t){t.preventDefault();var n=e(this),i=n.index();if(!e(r.vars.asNavFor).data("flexslider").animating&&!n.hasClass("active")){r.direction=r.currentItem<i?"next":"prev";r.flexAnimate(i,r.vars.pauseOnAction,!1,!0,!0)}})})}}},controlNav:{setup:function(){r.manualControls?v.controlNav.setupManual():v.controlNav.setupPaging()},setupPaging:function(){var t=r.vars.controlNav==="thumbnails"?"control-thumbs":"control-paging",n=1,s,o;r.controlNavScaffold=e('<ol class="'+i+"control-nav "+i+t+'"></ol>');if(r.pagingCount>1)for(var f=0;f<r.pagingCount;f++){o=r.slides.eq(f);s=r.vars.controlNav==="thumbnails"?'<img src="'+o.attr("data-thumb")+'"/>':"<a>"+n+"</a>";if("thumbnails"===r.vars.controlNav&&!0===r.vars.thumbCaptions){var l=o.attr("data-thumbcaption");""!=l&&undefined!=l&&(s+='<span class="'+i+'caption">'+l+"</span>")}r.controlNavScaffold.append("<li>"+s+"</li>");n++}r.controlsContainer?e(r.controlsContainer).append(r.controlNavScaffold):r.append(r.controlNavScaffold);v.controlNav.set();v.controlNav.active();r.controlNavScaffold.delegate("a, img",u,function(t){t.preventDefault();if(a===""||a===t.type){var n=e(this),s=r.controlNav.index(n);if(!n.hasClass(i+"active")){r.direction=s>r.currentSlide?"next":"prev";r.flexAnimate(s,r.vars.pauseOnAction)}}a===""&&(a=t.type);v.setToClearWatchedEvent()})},setupManual:function(){r.controlNav=r.manualControls;v.controlNav.active();r.controlNav.bind(u,function(t){t.preventDefault();if(a===""||a===t.type){var n=e(this),s=r.controlNav.index(n);if(!n.hasClass(i+"active")){s>r.currentSlide?r.direction="next":r.direction="prev";r.flexAnimate(s,r.vars.pauseOnAction)}}a===""&&(a=t.type);v.setToClearWatchedEvent()})},set:function(){var t=r.vars.controlNav==="thumbnails"?"img":"a";r.controlNav=e("."+i+"control-nav li "+t,r.controlsContainer?r.controlsContainer:r)},active:function(){r.controlNav.removeClass(i+"active").eq(r.animatingTo).addClass(i+"active")},update:function(t,n){r.pagingCount>1&&t==="add"?r.controlNavScaffold.append(e("<li><a>"+r.count+"</a></li>")):r.pagingCount===1?r.controlNavScaffold.find("li").remove():r.controlNav.eq(n).closest("li").remove();v.controlNav.set();r.pagingCount>1&&r.pagingCount!==r.controlNav.length?r.update(n,t):v.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+i+'direction-nav"><li><a class="'+i+'prev" href="#">'+r.vars.prevText+'</a></li><li><a class="'+i+'next" href="#">'+r.vars.nextText+"</a></li></ul>");if(r.controlsContainer){e(r.controlsContainer).append(t);r.directionNav=e("."+i+"direction-nav li a",r.controlsContainer)}else{r.append(t);r.directionNav=e("."+i+"direction-nav li a",r)}v.directionNav.update();r.directionNav.bind(u,function(t){t.preventDefault();var n;if(a===""||a===t.type){n=e(this).hasClass(i+"next")?r.getTarget("next"):r.getTarget("prev");r.flexAnimate(n,r.vars.pauseOnAction)}a===""&&(a=t.type);v.setToClearWatchedEvent()})},update:function(){var e=i+"disabled";r.pagingCount===1?r.directionNav.addClass(e).attr("tabindex","-1"):r.vars.animationLoop?r.directionNav.removeClass(e).removeAttr("tabindex"):r.animatingTo===0?r.directionNav.removeClass(e).filter("."+i+"prev").addClass(e).attr("tabindex","-1"):r.animatingTo===r.last?r.directionNav.removeClass(e).filter("."+i+"next").addClass(e).attr("tabindex","-1"):r.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+i+'pauseplay"><a></a></div>');if(r.controlsContainer){r.controlsContainer.append(t);r.pausePlay=e("."+i+"pauseplay a",r.controlsContainer)}else{r.append(t);r.pausePlay=e("."+i+"pauseplay a",r)}v.pausePlay.update(r.vars.slideshow?i+"pause":i+"play");r.pausePlay.bind(u,function(t){t.preventDefault();if(a===""||a===t.type)if(e(this).hasClass(i+"pause")){r.manualPause=!0;r.manualPlay=!1;r.pause()}else{r.manualPause=!1;r.manualPlay=!0;r.play()}a===""&&(a=t.type);v.setToClearWatchedEvent()})},update:function(e){e==="play"?r.pausePlay.removeClass(i+"pause").addClass(i+"play").html(r.vars.playText):r.pausePlay.removeClass(i+"play").addClass(i+"pause").html(r.vars.pauseText)}},touch:function(){var e,n,i,o,u,a,f=!1,d=0,v=0,m=0;if(!s){t.addEventListener("touchstart",g,!1);function g(s){if(r.animating)s.preventDefault();else if(window.navigator.msPointerEnabled||s.touches.length===1){r.pause();o=l?r.h:r.w;a=Number(new Date);d=s.touches[0].pageX;v=s.touches[0].pageY;i=h&&c&&r.animatingTo===r.last?0:h&&c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:h&&r.currentSlide===r.last?r.limit:h?(r.itemW+r.vars.itemMargin)*r.move*r.currentSlide:c?(r.last-r.currentSlide+r.cloneOffset)*o:(r.currentSlide+r.cloneOffset)*o;e=l?v:d;n=l?d:v;t.addEventListener("touchmove",y,!1);t.addEventListener("touchend",b,!1)}}function y(t){d=t.touches[0].pageX;v=t.touches[0].pageY;u=l?e-v:e-d;f=l?Math.abs(u)<Math.abs(d-n):Math.abs(u)<Math.abs(v-n);var s=500;if(!f||Number(new Date)-a>s){t.preventDefault();if(!p&&r.transitions){r.vars.animationLoop||(u/=r.currentSlide===0&&u<0||r.currentSlide===r.last&&u>0?Math.abs(u)/o+2:1);r.setProps(i+u,"setTouch")}}}function b(s){t.removeEventListener("touchmove",y,!1);if(r.animatingTo===r.currentSlide&&!f&&u!==null){var l=c?-u:u,h=l>0?r.getTarget("next"):r.getTarget("prev");r.canAdvance(h)&&(Number(new Date)-a<550&&Math.abs(l)>50||Math.abs(l)>o/2)?r.flexAnimate(h,r.vars.pauseOnAction):p||r.flexAnimate(r.currentSlide,r.vars.pauseOnAction,!0)}t.removeEventListener("touchend",b,!1);e=null;n=null;u=null;i=null}}else{t.style.msTouchAction="none";t._gesture=new MSGesture;t._gesture.target=t;t.addEventListener("MSPointerDown",w,!1);t._slider=r;t.addEventListener("MSGestureChange",E,!1);t.addEventListener("MSGestureEnd",S,!1);function w(e){e.stopPropagation();if(r.animating)e.preventDefault();else{r.pause();t._gesture.addPointer(e.pointerId);m=0;o=l?r.h:r.w;a=Number(new Date);i=h&&c&&r.animatingTo===r.last?0:h&&c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:h&&r.currentSlide===r.last?r.limit:h?(r.itemW+r.vars.itemMargin)*r.move*r.currentSlide:c?(r.last-r.currentSlide+r.cloneOffset)*o:(r.currentSlide+r.cloneOffset)*o}}function E(e){e.stopPropagation();var n=e.target._slider;if(!n)return;var r=-e.translationX,s=-e.translationY;m+=l?s:r;u=m;f=l?Math.abs(m)<Math.abs(-r):Math.abs(m)<Math.abs(-s);if(e.detail===e.MSGESTURE_FLAG_INERTIA){setImmediate(function(){t._gesture.stop()});return}if(!f||Number(new Date)-a>500){e.preventDefault();if(!p&&n.transitions){n.vars.animationLoop||(u=m/(n.currentSlide===0&&m<0||n.currentSlide===n.last&&m>0?Math.abs(m)/o+2:1));n.setProps(i+u,"setTouch")}}}function S(t){t.stopPropagation();var r=t.target._slider;if(!r)return;if(r.animatingTo===r.currentSlide&&!f&&u!==null){var s=c?-u:u,l=s>0?r.getTarget("next"):r.getTarget("prev");r.canAdvance(l)&&(Number(new Date)-a<550&&Math.abs(s)>50||Math.abs(s)>o/2)?r.flexAnimate(l,r.vars.pauseOnAction):p||r.flexAnimate(r.currentSlide,r.vars.pauseOnAction,!0)}e=null;n=null;u=null;i=null;m=0}}},resize:function(){if(!r.animating&&r.is(":visible")){h||r.doMath();if(p)v.smoothHeight();else if(h){r.slides.width(r.computedW);r.update(r.pagingCount);r.setProps()}else if(l){r.viewport.height(r.h);r.setProps(r.h,"setTotal")}else{r.vars.smoothHeight&&v.smoothHeight();r.newSlides.width(r.computedW);r.setProps(r.computedW,"setTotal")}}},smoothHeight:function(e){if(!l||p){var t=p?r:r.viewport;e?t.animate({height:r.slides.eq(r.animatingTo).height()},e):t.height(r.slides.eq(r.animatingTo).height())}},sync:function(t){var n=e(r.vars.sync).data("flexslider"),i=r.animatingTo;switch(t){case"animate":n.flexAnimate(i,r.vars.pauseOnAction,!1,!0);break;case"play":!n.playing&&!n.asNav&&n.play();break;case"pause":n.pause()}},pauseInvisible:{visProp:null,init:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)e[t]+"Hidden"in document&&(v.pauseInvisible.visProp=e[t]+"Hidden");if(v.pauseInvisible.visProp){var n=v.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(n,function(){v.pauseInvisible.isHidden()?r.startTimeout?clearTimeout(r.startTimeout):r.pause():r.started?r.play():r.vars.initDelay>0?setTimeout(r.play,r.vars.initDelay):r.play()})}},isHidden:function(){return document[v.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(f);f=setTimeout(function(){a=""},3e3)}};r.flexAnimate=function(t,n,s,u,a){!r.vars.animationLoop&&t!==r.currentSlide&&(r.direction=t>r.currentSlide?"next":"prev");d&&r.pagingCount===1&&(r.direction=r.currentItem<t?"next":"prev");if(!r.animating&&(r.canAdvance(t,a)||s)&&r.is(":visible")){if(d&&u){var f=e(r.vars.asNavFor).data("flexslider");r.atEnd=t===0||t===r.count-1;f.flexAnimate(t,!0,!1,!0,a);r.direction=r.currentItem<t?"next":"prev";f.direction=r.direction;if(Math.ceil((t+1)/r.visible)-1===r.currentSlide||t===0){r.currentItem=t;r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");return!1}r.currentItem=t;r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");t=Math.floor(t/r.visible)}r.animating=!0;r.animatingTo=t;n&&r.pause();r.vars.before(r);r.syncExists&&!a&&v.sync("animate");r.vars.controlNav&&v.controlNav.active();h||r.slides.removeClass(i+"active-slide").eq(t).addClass(i+"active-slide");r.atEnd=t===0||t===r.last;r.vars.directionNav&&v.directionNav.update();if(t===r.last){r.vars.end(r);r.vars.animationLoop||r.pause()}if(!p){var m=l?r.slides.filter(":first").height():r.computedW,g,y,b;if(h){g=r.vars.itemMargin;b=(r.itemW+g)*r.move*r.animatingTo;y=b>r.limit&&r.visible!==1?r.limit:b}else r.currentSlide===0&&t===r.count-1&&r.vars.animationLoop&&r.direction!=="next"?y=c?(r.count+r.cloneOffset)*m:0:r.currentSlide===r.last&&t===0&&r.vars.animationLoop&&r.direction!=="prev"?y=c?0:(r.count+1)*m:y=c?(r.count-1-t+r.cloneOffset)*m:(t+r.cloneOffset)*m;r.setProps(y,"",r.vars.animationSpeed);if(r.transitions){if(!r.vars.animationLoop||!r.atEnd){r.animating=!1;r.currentSlide=r.animatingTo}r.container.unbind("webkitTransitionEnd transitionend");r.container.bind("webkitTransitionEnd transitionend",function(){r.wrapup(m)})}else r.container.animate(r.args,r.vars.animationSpeed,r.vars.easing,function(){r.wrapup(m)})}else if(!o){r.slides.eq(r.currentSlide).css({zIndex:1}).animate({opacity:0},r.vars.animationSpeed,r.vars.easing);r.slides.eq(t).css({zIndex:2}).animate({opacity:1},r.vars.animationSpeed,r.vars.easing,r.wrapup)}else{r.slides.eq(r.currentSlide).css({opacity:0,zIndex:1});r.slides.eq(t).css({opacity:1,zIndex:2});r.wrapup(m)}r.vars.smoothHeight&&v.smoothHeight(r.vars.animationSpeed)}};r.wrapup=function(e){!p&&!h&&(r.currentSlide===0&&r.animatingTo===r.last&&r.vars.animationLoop?r.setProps(e,"jumpEnd"):r.currentSlide===r.last&&r.animatingTo===0&&r.vars.animationLoop&&r.setProps(e,"jumpStart"));r.animating=!1;r.currentSlide=r.animatingTo;r.vars.after(r)};r.animateSlides=function(){!r.animating&&m&&r.flexAnimate(r.getTarget("next"))};r.pause=function(){clearInterval(r.animatedSlides);r.animatedSlides=null;r.playing=!1;r.vars.pausePlay&&v.pausePlay.update("play");r.syncExists&&v.sync("pause")};r.play=function(){r.playing&&clearInterval(r.animatedSlides);r.animatedSlides=r.animatedSlides||setInterval(r.animateSlides,r.vars.slideshowSpeed);r.started=r.playing=!0;r.vars.pausePlay&&v.pausePlay.update("pause");r.syncExists&&v.sync("play")};r.stop=function(){r.pause();r.stopped=!0};r.canAdvance=function(e,t){var n=d?r.pagingCount-1:r.last;return t?!0:d&&r.currentItem===r.count-1&&e===0&&r.direction==="prev"?!0:d&&r.currentItem===0&&e===r.pagingCount-1&&r.direction!=="next"?!1:e===r.currentSlide&&!d?!1:r.vars.animationLoop?!0:r.atEnd&&r.currentSlide===0&&e===n&&r.direction!=="next"?!1:r.atEnd&&r.currentSlide===n&&e===0&&r.direction==="next"?!1:!0};r.getTarget=function(e){r.direction=e;return e==="next"?r.currentSlide===r.last?0:r.currentSlide+1:r.currentSlide===0?r.last:r.currentSlide-1};r.setProps=function(e,t,n){var i=function(){var n=e?e:(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo,i=function(){if(h)return t==="setTouch"?e:c&&r.animatingTo===r.last?0:c?r.limit-(r.itemW+r.vars.itemMargin)*r.move*r.animatingTo:r.animatingTo===r.last?r.limit:n;switch(t){case"setTotal":return c?(r.count-1-r.currentSlide+r.cloneOffset)*e:(r.currentSlide+r.cloneOffset)*e;case"setTouch":return c?e:e;case"jumpEnd":return c?e:r.count*e;case"jumpStart":return c?r.count*e:e;default:return e}}();return i*-1+"px"}();if(r.transitions){i=l?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)";n=n!==undefined?n/1e3+"s":"0s";r.container.css("-"+r.pfx+"-transition-duration",n)}r.args[r.prop]=i;(r.transitions||n===undefined)&&r.container.css(r.args)};r.setup=function(t){if(!p){var n,s;if(t==="init"){r.viewport=e('<div class="'+i+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(r).append(r.container);r.cloneCount=0;r.cloneOffset=0;if(c){s=e.makeArray(r.slides).reverse();r.slides=e(s);r.container.empty().append(r.slides)}}if(r.vars.animationLoop&&!h){r.cloneCount=2;r.cloneOffset=1;t!=="init"&&r.container.find(".clone").remove();r.container.append(r.slides.first().clone().addClass("clone").attr("aria-hidden","true")).prepend(r.slides.last().clone().addClass("clone").attr("aria-hidden","true"))}r.newSlides=e(r.vars.selector,r);n=c?r.count-1-r.currentSlide+r.cloneOffset:r.currentSlide+r.cloneOffset;if(l&&!h){r.container.height((r.count+r.cloneCount)*200+"%").css("position","absolute").width("100%");setTimeout(function(){r.newSlides.css({display:"block"});r.doMath();r.viewport.height(r.h);r.setProps(n*r.h,"init")},t==="init"?100:0)}else{r.container.width((r.count+r.cloneCount)*200+"%");r.setProps(n*r.computedW,"init");setTimeout(function(){r.doMath();r.newSlides.css({width:r.computedW,"float":"left",display:"block"});r.vars.smoothHeight&&v.smoothHeight()},t==="init"?100:0)}}else{r.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"});t==="init"&&(o?r.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+r.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(r.currentSlide).css({opacity:1,zIndex:2}):r.slides.css({opacity:0,display:"block",zIndex:1}).eq(r.currentSlide).css({zIndex:2}).animate({opacity:1},r.vars.animationSpeed,r.vars.easing));r.vars.smoothHeight&&v.smoothHeight()}h||r.slides.removeClass(i+"active-slide").eq(r.currentSlide).addClass(i+"active-slide")};r.doMath=function(){var e=r.slides.first(),t=r.vars.itemMargin,n=r.vars.minItems,i=r.vars.maxItems;r.w=r.viewport===undefined?r.width():r.viewport.width();r.h=e.height();r.boxPadding=e.outerWidth()-e.width();if(h){r.itemT=r.vars.itemWidth+t;r.minW=n?n*r.itemT:r.w;r.maxW=i?i*r.itemT-t:r.w;r.itemW=r.minW>r.w?(r.w-t*(n-1))/n:r.maxW<r.w?(r.w-t*(i-1))/i:r.vars.itemWidth>r.w?r.w:r.vars.itemWidth;r.visible=Math.floor(r.w/r.itemW);r.move=r.vars.move>0&&r.vars.move<r.visible?r.vars.move:r.visible;r.pagingCount=Math.ceil((r.count-r.visible)/r.move+1);r.last=r.pagingCount-1;r.limit=r.pagingCount===1?0:r.vars.itemWidth>r.w?r.itemW*(r.count-1)+t*(r.count-1):(r.itemW+t)*r.count-r.w-t}else{r.itemW=r.w;r.pagingCount=r.count;r.last=r.count-1}r.computedW=r.itemW-r.boxPadding};r.update=function(e,t){r.doMath();if(!h){e<r.currentSlide?r.currentSlide+=1:e<=r.currentSlide&&e!==0&&(r.currentSlide-=1);r.animatingTo=r.currentSlide}if(r.vars.controlNav&&!r.manualControls)if(t==="add"&&!h||r.pagingCount>r.controlNav.length)v.controlNav.update("add");else if(t==="remove"&&!h||r.pagingCount<r.controlNav.length){if(h&&r.currentSlide>r.last){r.currentSlide-=1;r.animatingTo-=1}v.controlNav.update("remove",r.last)}r.vars.directionNav&&v.directionNav.update()};r.addSlide=function(t,n){var i=e(t);r.count+=1;r.last=r.count-1;l&&c?n!==undefined?r.slides.eq(r.count-n).after(i):r.container.prepend(i):n!==undefined?r.slides.eq(n).before(i):r.container.append(i);r.update(n,"add");r.slides=e(r.vars.selector+":not(.clone)",r);r.setup();r.vars.added(r)};r.removeSlide=function(t){var n=isNaN(t)?r.slides.index(e(t)):t;r.count-=1;r.last=r.count-1;isNaN(t)?e(t,r.slides).remove():l&&c?r.slides.eq(r.last).remove():r.slides.eq(t).remove();r.doMath();r.update(n,"remove");r.slides=e(r.vars.selector+":not(.clone)",r);r.setup();r.vars.removed(r)};v.init()};e(window).blur(function(e){focused=!1}).focus(function(e){focused=!0});e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}};e.fn.flexslider=function(t){t===undefined&&(t={});if(typeof t=="object")return this.each(function(){var n=e(this),r=t.selector?t.selector:".slides > li",i=n.find(r);if(i.length===1&&t.allowOneSlide===!0||i.length===0){i.fadeIn(400);t.start&&t.start(n)}else n.data("flexslider")===undefined&&new e.flexslider(this,t)});var n=e(this).data("flexslider");switch(t){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:typeof t=="number"&&n.flexAnimate(t,!0)}}})(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/sliders/nivoslider/nivo-slider.css CHANGED
@@ -110,4 +110,14 @@
110
  }
111
  .nivo-controlNav a.active {
112
  font-weight:bold;
 
 
 
 
 
 
 
 
 
 
113
  }
110
  }
111
  .nivo-controlNav a.active {
112
  font-weight:bold;
113
+ }
114
+ .nivo-controlNav img {
115
+ display:inline; /* Unhide the thumbnails */
116
+ position:relative;
117
+ margin: 5px;
118
+ opacity: 0.7;
119
+ }
120
+ .nivo-controlNav .active img,
121
+ .nivo-controlNav img:hover {
122
+ opacity: 1;
123
  }
assets/sliders/nivoslider/themes/default/default.css CHANGED
@@ -88,6 +88,5 @@ Supports Thumbs: true
88
  }
89
  .theme-default .nivo-controlNav.nivo-thumbs-enabled img {
90
  display: block;
91
- width: 120px;
92
  height: auto;
93
  }
88
  }
89
  .theme-default .nivo-controlNav.nivo-thumbs-enabled img {
90
  display: block;
 
91
  height: auto;
92
  }
assets/sliders/responsiveslides/responsiveslides.min.js CHANGED
@@ -1,8 +1,8 @@
1
- /*! http://responsiveslides.com v1.53 by @viljamis */
2
- (function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:function(){},after:function(){}},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",
3
- j=d+"_on",w=d+"_s",k=c("<ul class='"+g+"_tabs "+d+"_tabs' />"),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c<s.length;c++)if("string"===typeof b[s[c]+a])return!0;return!1}(),z=function(b){a.before();F?(e.removeClass(j).css(y).eq(b).addClass(j).css(x),
4
- n=b,setTimeout(function(){a.after()},h)):e.stop().fadeOut(h,function(){c(this).removeClass(j).css(y).css("opacity",1)}).eq(b).fadeIn(h,function(){c(this).addClass(j).css(x);a.after();n=b})};a.random&&(e.sort(function(){return Math.round(Math.random())-0.5}),f.empty().append(e));e.each(function(a){this.id=w+a});f.addClass(g+" "+d);l&&l.maxwidth&&f.css("max-width",u);e.hide().css(y).eq(0).addClass(j).css(x).show();F&&e.show().css({"-webkit-transition":"opacity "+h+"ms ease-in-out","-moz-transition":"opacity "+
5
  h+"ms ease-in-out","-o-transition":"opacity "+h+"ms ease-in-out",transition:"opacity "+h+"ms ease-in-out"});if(1<e.size()){if(D<h+100)return;if(a.pager&&!a.manualControls){var A=[];e.each(function(a){a+=1;A+="<li><a href='#' class='"+w+a+"'>"+a+"</a></li>"});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=
6
  k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1<C?n+1:0;(a.pager||a.manualControls)&&r(b);z(b)},D)},t());m=function(){a.auto&&(clearInterval(p),t())};a.pause&&f.hover(function(){clearInterval(p)},function(){m()});if(a.pager||a.manualControls)q.bind("click",function(b){b.preventDefault();a.pauseControls||m();b=q.index(this);n===b||c("."+j).queue("fx").length||(r(b),z(b))}).eq(0).closest("li").addClass(v),
7
  a.pauseControls&&q.hover(function(){clearInterval(p)},function(){m()});if(a.nav){g="<a href='#' class='"+E+" prev'>"+a.prevText+"</a><a href='#' class='"+E+" next'>"+a.nextText+"</a>";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1<C?n+1:0;z(c(this)[0]===G[0]?b:d);if(a.pager||a.manualControls)r(c(this)[0]===G[0]?b:d);a.pauseControls||m()}});
8
- a.pauseControls&&d.hover(function(){clearInterval(p)},function(){m()})}}if("undefined"===typeof document.body.style.maxWidth&&l.maxwidth){var H=function(){f.css("width","100%");f.width()>u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,0);
1
+ /*! http://responsiveslides.com v1.54 by @viljamis */
2
+ (function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",j=d+"_on",
3
+ w=d+"_s",k=c("<ul class='"+g+"_tabs "+d+"_tabs' />"),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c<s.length;c++)if("string"===typeof b[s[c]+a])return!0;return!1}(),z=function(b){a.before(b);F?(e.removeClass(j).css(y).eq(b).addClass(j).css(x),
4
+ n=b,setTimeout(function(){a.after(b)},h)):e.stop().fadeOut(h,function(){c(this).removeClass(j).css(y).css("opacity",1)}).eq(b).fadeIn(h,function(){c(this).addClass(j).css(x);a.after(b);n=b})};a.random&&(e.sort(function(){return Math.round(Math.random())-0.5}),f.empty().append(e));e.each(function(a){this.id=w+a});f.addClass(g+" "+d);l&&l.maxwidth&&f.css("max-width",u);e.hide().css(y).eq(0).addClass(j).css(x).show();F&&e.show().css({"-webkit-transition":"opacity "+h+"ms ease-in-out","-moz-transition":"opacity "+
5
  h+"ms ease-in-out","-o-transition":"opacity "+h+"ms ease-in-out",transition:"opacity "+h+"ms ease-in-out"});if(1<e.size()){if(D<h+100)return;if(a.pager&&!a.manualControls){var A=[];e.each(function(a){a+=1;A+="<li><a href='#' class='"+w+a+"'>"+a+"</a></li>"});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=
6
  k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1<C?n+1:0;(a.pager||a.manualControls)&&r(b);z(b)},D)},t());m=function(){a.auto&&(clearInterval(p),t())};a.pause&&f.hover(function(){clearInterval(p)},function(){m()});if(a.pager||a.manualControls)q.bind("click",function(b){b.preventDefault();a.pauseControls||m();b=q.index(this);n===b||c("."+j).queue("fx").length||(r(b),z(b))}).eq(0).closest("li").addClass(v),
7
  a.pauseControls&&q.hover(function(){clearInterval(p)},function(){m()});if(a.nav){g="<a href='#' class='"+E+" prev'>"+a.prevText+"</a><a href='#' class='"+E+" next'>"+a.nextText+"</a>";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1<C?n+1:0;z(c(this)[0]===G[0]?b:d);if(a.pager||a.manualControls)r(c(this)[0]===G[0]?b:d);a.pauseControls||m()}});
8
+ a.pauseControls&&d.hover(function(){clearInterval(p)},function(){m()})}}if("undefined"===typeof document.body.style.maxWidth&&l.maxwidth){var H=function(){f.css("width","100%");f.width()>u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,0);
inc/metaslider.imagehelper.class.php CHANGED
@@ -13,13 +13,18 @@ class MetaSliderImageHelper {
13
 
14
  /**
15
  * Constructor
 
 
 
 
 
16
  */
17
  public function __construct($slide_id, $width, $height, $smart_crop) {
18
- $this->id = $slide_id;
19
-
20
  $upload_dir = wp_upload_dir();
21
- $this->url = $upload_dir['baseurl'] . "/" . get_post_meta($slide_id, '_wp_attached_file', true);
22
 
 
 
 
23
  $this->container_width = $width;
24
  $this->container_height = $height;
25
  $this->smart_crop = $smart_crop;
@@ -32,6 +37,8 @@ class MetaSliderImageHelper {
32
  * dimensions that respect the container size ratio. This ensures image displays in a
33
  * sane manner in responsive sliders
34
  *
 
 
35
  * @return array image dimensions
36
  */
37
  private function get_crop_dimensions($image_width, $image_height) {
@@ -144,6 +151,8 @@ class MetaSliderImageHelper {
144
  return array('width' => floor($new_slide_width), 'height' => floor($new_slide_height));
145
  }
146
 
 
 
147
  /**
148
  * Return the image URL, crop the image to the correct dimensions if required
149
  *
@@ -151,10 +160,94 @@ class MetaSliderImageHelper {
151
  */
152
  function get_image_url() {
153
  // Get the image file path
154
- $file_path = get_attached_file($this->id);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  // load image
157
- $image = wp_get_image_editor($file_path);
158
 
159
  // editor will return an error if the path is invalid
160
  if (is_wp_error($image)) {
@@ -171,45 +264,33 @@ class MetaSliderImageHelper {
171
  return $this->url;
172
  }
173
 
174
- // get the original image size
175
- $size = $image->get_size();
176
- $orig_width = $size['width'];
177
- $orig_height = $size['height'];
178
 
179
- // get the crop size
180
- $size = $this->get_crop_dimensions($orig_width, $orig_height);
181
- $dest_width = $size['width'];
182
- $dest_height = $size['height'];
183
 
184
- // check if a resize is needed
185
- if ($dest_width == $orig_width && $dest_height == $orig_height) {
 
186
  return $this->url;
187
  }
188
 
189
- // image info
190
- $info = pathinfo( $file_path );
191
- $dir = $info['dirname'];
192
- $ext = $info['extension'];
193
- $name = wp_basename($file_path, ".$ext");
194
- $dest_file_name = "{$dir}/{$name}-{$dest_width}x{$dest_height}.{$ext}";
195
 
196
- // URL to destination file
197
- $url = str_replace(basename($this->url), basename($dest_file_name), $this->url);
 
198
 
199
- // crop needed
200
- if (!file_exists($dest_file_name)) {
201
- $dims = image_resize_dimensions($orig_width, $orig_height, $dest_width, $dest_height, true);
202
-
203
- if ($dims) {
204
- list($dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) = $dims;
205
- $image->crop($src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h);
206
- }
207
 
208
- $saved = $image->save($dest_file_name);
209
- $url = str_replace(basename($this->url), basename($saved['path']), $this->url);
210
- }
211
 
212
  return $url;
213
  }
214
  }
 
215
  ?>
13
 
14
  /**
15
  * Constructor
16
+ *
17
+ * @param integer $slide_id
18
+ * @param integer $width - required width of image
19
+ * @param integer $height - required height of image
20
+ * @param string $smart_crop
21
  */
22
  public function __construct($slide_id, $width, $height, $smart_crop) {
 
 
23
  $upload_dir = wp_upload_dir();
 
24
 
25
+ $this->id = $slide_id;
26
+ $this->url = $upload_dir['baseurl'] . "/" . get_post_meta($slide_id, '_wp_attached_file', true);
27
+ $this->path = get_attached_file($slide_id);
28
  $this->container_width = $width;
29
  $this->container_height = $height;
30
  $this->smart_crop = $smart_crop;
37
  * dimensions that respect the container size ratio. This ensures image displays in a
38
  * sane manner in responsive sliders
39
  *
40
+ * @param integer $image_width
41
+ * @param integer $image_height
42
  * @return array image dimensions
43
  */
44
  private function get_crop_dimensions($image_width, $image_height) {
151
  return array('width' => floor($new_slide_width), 'height' => floor($new_slide_height));
152
  }
153
 
154
+
155
+
156
  /**
157
  * Return the image URL, crop the image to the correct dimensions if required
158
  *
160
  */
161
  function get_image_url() {
162
  // Get the image file path
163
+ if (!strlen($this->path)) {
164
+ return $this->url;
165
+ }
166
+
167
+ // source image size
168
+ $orig_size = $this->get_original_image_dimensions();
169
+
170
+ // bail out if we can't find the image dimensions
171
+ if ($orig_size == false) {
172
+ return $this->url;
173
+ }
174
+
175
+ // required size
176
+ $dest_size = $this->get_crop_dimensions($orig_size['width'], $orig_size['height']);
177
+
178
+ // check if a resize is needed
179
+ if ($orig_size['width'] == $dest_size['width'] && $orig_size['height'] == $dest_size['height']) {
180
+ return $this->url;
181
+ }
182
+
183
+ $dest_file_name = $this->get_destination_file_name($dest_size);
184
+
185
+ if (file_exists($dest_file_name)) {
186
+ $dest_url = str_replace(basename($this->url), basename($dest_file_name), $this->url);
187
+ } else {
188
+ $dest_url = $this->resize_image($orig_size, $dest_size, $dest_file_name);
189
+ }
190
+
191
+ return $dest_url;
192
+ }
193
+
194
+ /**
195
+ * Get the image dimensions for the original image.
196
+ *
197
+ * Fall back to using the WP_Image_Editor if the size is not stored in metadata
198
+ *
199
+ * @return array
200
+ */
201
+ private function get_original_image_dimensions() {
202
+ $size = array();
203
 
204
+ // try and get the image size from metadata
205
+ if ($image_attributes = wp_get_attachment_image_src($this->id, 'full')) {
206
+ $size['width'] = $image_attributes[1];
207
+ $size['height'] = $image_attributes[2];
208
+
209
+ if ($size['width'] > 0 && $size['height'] > 0) {
210
+ return $size;
211
+ }
212
+ }
213
+
214
+ // get the size from the image itself
215
+ $image = wp_get_image_editor($this->path);
216
+
217
+ if (!is_wp_error($image)) {
218
+ $size = $image->get_size();
219
+ return $size;
220
+ }
221
+
222
+ return false;
223
+ }
224
+
225
+ /**
226
+ * Return the file name for the required image size
227
+ *
228
+ * @param array $dest_size image dimensions (width/height) in pixels
229
+ * @return string
230
+ */
231
+ private function get_destination_file_name($dest_size) {
232
+ $info = pathinfo($this->path);
233
+ $dir = $info['dirname'];
234
+ $ext = $info['extension'];
235
+ $name = wp_basename($this->path, ".$ext");
236
+ $dest_file_name = "{$dir}/{$name}-{$dest_size['width']}x{$dest_size['height']}.{$ext}";
237
+
238
+ return $dest_file_name;
239
+ }
240
+
241
+ /**
242
+ * Use WP_Image_Editor to create a resized image and return the URL for that image
243
+ *
244
+ * @param array $orig_size
245
+ * @param array $dest_size
246
+ * @return string
247
+ */
248
+ private function resize_image($orig_size, $dest_size, $dest_file_name) {
249
  // load image
250
+ $image = wp_get_image_editor($this->path);
251
 
252
  // editor will return an error if the path is invalid
253
  if (is_wp_error($image)) {
264
  return $this->url;
265
  }
266
 
267
+ $dims = image_resize_dimensions($orig_size['width'], $orig_size['height'], $dest_size['width'], $dest_size['height'], true);
 
 
 
268
 
269
+ if ($dims) {
270
+ list($dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) = $dims;
271
+ $image->crop($src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h);
272
+ }
273
 
274
+ $saved = $image->save($dest_file_name);
275
+
276
+ if (is_wp_error($saved)) {
277
  return $this->url;
278
  }
279
 
280
+ // Record the new size so that the file is correctly removed when the media file is deleted.
281
+ $backup_sizes = get_post_meta($this->id,'_wp_attachment_backup_sizes',true);
 
 
 
 
282
 
283
+ if (!is_array($backup_sizes)) {
284
+ $backup_sizes = array();
285
+ }
286
 
287
+ $backup_sizes["resized-{$dest_size['width']}x{$dest_size['height']}"] = $saved;
288
+ update_post_meta($this->id,'_wp_attachment_backup_sizes', $backup_sizes);
 
 
 
 
 
 
289
 
290
+ $url = str_replace(basename($this->url), basename($saved['path']), $this->url);
 
 
291
 
292
  return $url;
293
  }
294
  }
295
+
296
  ?>
inc/metaslider.systemcheck.class.php CHANGED
@@ -21,7 +21,7 @@ class MetaSliderSystemCheck {
21
  $this->checkWordPressVersion();
22
  $this->checkImageLibrary();
23
  $this->checkRoleScoper();
24
- $this->checkWpFooter();
25
  $this->updateSystemCheck();
26
  }
27
 
21
  $this->checkWordPressVersion();
22
  $this->checkImageLibrary();
23
  $this->checkRoleScoper();
24
+ //$this->checkWpFooter();
25
  $this->updateSystemCheck();
26
  }
27
 
inc/slide/metaslide.image.class.php CHANGED
@@ -58,7 +58,7 @@ class MetaImageSlide extends MetaSlide {
58
  $row .= " </td>";
59
  $row .= " <td class='col-2'>";
60
  $row .= " <textarea name='attachment[{$this->slide->ID}][post_excerpt]' placeholder='{$str_caption}'>{$caption}</textarea>";
61
- $row .= " <input class='url' type='url' name='attachment[{$this->slide->ID}][url]' placeholder='{$str_url}' value='{$url}' />";
62
  $row .= " <div class='new_window'>";
63
  $row .= " <label>{$str_new_window}<input type='checkbox' name='attachment[{$this->slide->ID}][new_window]' {$target} /></label>";
64
  $row .= " </div>";
@@ -92,14 +92,25 @@ class MetaImageSlide extends MetaSlide {
92
 
93
  // store the slide details
94
  $slide = array(
 
95
  'thumb' => $url,
96
  'url' => get_post_meta($this->slide->ID, 'ml-slider_url', true),
97
  'alt' => get_post_meta($this->slide->ID, '_wp_attachment_image_alt', true),
98
  'target' => get_post_meta($this->slide->ID, 'ml-slider_new_window', true) ? '_blank' : '_self',
99
  'caption' => html_entity_decode($this->slide->post_excerpt, ENT_NOQUOTES, 'UTF-8'),
100
- 'caption_raw' => $this->slide->post_excerpt
 
 
 
101
  );
102
 
 
 
 
 
 
 
 
103
  // return the slide HTML
104
  switch($this->settings['type']) {
105
  case "coin":
@@ -115,21 +126,51 @@ class MetaImageSlide extends MetaSlide {
115
  }
116
  }
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  /**
119
  * Generate nivo slider markup
120
  *
121
  * @return string slide html
122
  */
123
  private function get_nivo_slider_markup($slide) {
124
- $caption = htmlentities($slide['caption_raw'], ENT_QUOTES, 'UTF-8');
 
 
 
 
 
 
 
 
 
125
 
126
- $html = "<img height='{$this->settings['height']}' width='{$this->settings['width']}' src='{$slide['thumb']}' title=\"{$caption}\" alt='{$slide['alt']}' />";
127
 
128
  if (strlen($slide['url'])) {
129
- $html = "<a href='{$slide['url']}' target='{$slide['target']}'>" . $html . "</a>";
130
  }
131
 
132
- return $html;
133
  }
134
 
135
  /**
@@ -138,19 +179,30 @@ class MetaImageSlide extends MetaSlide {
138
  * @return string slide html
139
  */
140
  private function get_flex_slider_markup($slide) {
141
- $html = " <img height='{$this->settings['height']}' width='{$this->settings['width']}' src='{$slide['thumb']}' alt='{$slide['alt']}' />";
 
 
 
 
 
 
 
 
 
142
 
143
  if (strlen($slide['url'])) {
144
- $html = " <a href='{$slide['url']}' target='{$slide['target']}'> " . $html . " </a>";
145
  }
146
 
147
  if (strlen($slide['caption'])) {
148
- $html .= "\n <div class='caption-wrap'>";
149
- $html .= "\n <div class='caption'>" . $slide['caption'] . "</div>";
150
- $html .= "\n </div>";
151
  }
152
 
153
- return $html;
 
 
 
 
154
  }
155
 
156
  /**
@@ -161,11 +213,24 @@ class MetaImageSlide extends MetaSlide {
161
  private function get_coin_slider_markup($slide) {
162
  $url = strlen($slide['url']) ? $slide['url'] : 'javascript:void(0)'; // coinslider always wants a URL
163
 
164
- $html = " <a href='" . $url . "' style='display: none;'>";
165
- $html .= "\n <img height='{$this->settings['height']}' width='{$this->settings['width']}' src='{$slide['thumb']}' alt='{$slide['alt']}' />"; // target doesn't work with coin
166
- $html .= "\n <span>{$slide['caption']}</span>";
167
- $html .= "\n </a>";
168
- return $html;
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  }
170
 
171
  /**
@@ -174,19 +239,26 @@ class MetaImageSlide extends MetaSlide {
174
  * @return string slide html
175
  */
176
  private function get_responsive_slides_markup($slide) {
177
- $html = " <img height='{$this->settings['height']}' width='{$this->settings['width']}' src='{$slide['thumb']}' alt='{$slide['alt']}' />";
 
 
 
 
 
 
 
 
 
178
 
179
  if (strlen($slide['caption'])) {
180
- $html .= "\n <div class='caption-wrap'>";
181
- $html .= "\n <div class='caption'>{$slide['caption']}</div>";
182
- $html .= "\n </div>";
183
  }
184
 
185
  if (strlen($slide['url'])) {
186
- $html = " <a href='{$slide['url']}' target='{$slide['target']}'> " . $html . " </a>";
187
  }
188
 
189
- return $html;
190
  }
191
 
192
  /**
58
  $row .= " </td>";
59
  $row .= " <td class='col-2'>";
60
  $row .= " <textarea name='attachment[{$this->slide->ID}][post_excerpt]' placeholder='{$str_caption}'>{$caption}</textarea>";
61
+ $row .= " <input class='url' type='text' name='attachment[{$this->slide->ID}][url]' placeholder='{$str_url}' value='{$url}' />";
62
  $row .= " <div class='new_window'>";
63
  $row .= " <label>{$str_new_window}<input type='checkbox' name='attachment[{$this->slide->ID}][new_window]' {$target} /></label>";
64
  $row .= " </div>";
92
 
93
  // store the slide details
94
  $slide = array(
95
+ 'id' => $this->slide->ID,
96
  'thumb' => $url,
97
  'url' => get_post_meta($this->slide->ID, 'ml-slider_url', true),
98
  'alt' => get_post_meta($this->slide->ID, '_wp_attachment_image_alt', true),
99
  'target' => get_post_meta($this->slide->ID, 'ml-slider_new_window', true) ? '_blank' : '_self',
100
  'caption' => html_entity_decode($this->slide->post_excerpt, ENT_NOQUOTES, 'UTF-8'),
101
+ 'caption_raw' => $this->slide->post_excerpt,
102
+ 'class' => "slider-{$this->slider->ID} slide-{$this->slide->ID}",
103
+ 'rel' => "",
104
+ 'data-thumb' => ""
105
  );
106
 
107
+ // fix slide URLs
108
+ if (strpos($slide['url'], 'www.') === 0) {
109
+ $slide['url'] = 'http://' . $slide['url'];
110
+ }
111
+
112
+ $slide = apply_filters('metaslider_image_slide_attributes', $slide, $this->slider->ID, $this->settings);
113
+
114
  // return the slide HTML
115
  switch($this->settings['type']) {
116
  case "coin":
126
  }
127
  }
128
 
129
+
130
+ /**
131
+ * Build image HTML
132
+ *
133
+ * @param array $attributes
134
+ * @return string image HTML
135
+ */
136
+ private function build_image_tag($attributes) {
137
+ $html = "<img";
138
+
139
+ foreach ($attributes as $att => $val) {
140
+ if (strlen($val)) {
141
+ $html .= " " . $att . '="' . $val . '"';
142
+ }
143
+ }
144
+
145
+ $html .= " />";
146
+
147
+ return $html;
148
+ }
149
+
150
  /**
151
  * Generate nivo slider markup
152
  *
153
  * @return string slide html
154
  */
155
  private function get_nivo_slider_markup($slide) {
156
+ $attributes = array(
157
+ 'src' => $slide['thumb'],
158
+ 'height' => $this->settings['height'],
159
+ 'width' => $this->settings['width'],
160
+ 'title' => htmlentities($slide['caption_raw'], ENT_QUOTES, 'UTF-8'),
161
+ 'data-thumb' => $slide['data-thumb'],
162
+ 'alt' => $slide['alt'],
163
+ 'rel' => $slide['rel'],
164
+ 'class' => $slide['class']
165
+ );
166
 
167
+ $html = $this->build_image_tag($attributes);
168
 
169
  if (strlen($slide['url'])) {
170
+ $html = '<a href="' . $slide['url'] . '" target="' . $slide['target'] . '">' . $html . '</a>';
171
  }
172
 
173
+ return apply_filters('metaslider_image_nivo_slider_markup', $html, $slide, $this->settings);
174
  }
175
 
176
  /**
179
  * @return string slide html
180
  */
181
  private function get_flex_slider_markup($slide) {
182
+ $attributes = array(
183
+ 'src' => $slide['thumb'],
184
+ 'height' => $this->settings['height'],
185
+ 'width' => $this->settings['width'],
186
+ 'alt' => $slide['alt'],
187
+ 'rel' => $slide['rel'],
188
+ 'class' => $slide['class']
189
+ );
190
+
191
+ $html = $this->build_image_tag($attributes);
192
 
193
  if (strlen($slide['url'])) {
194
+ $html = '<a href="' . $slide['url'] . '" target="' . $slide['target'] . '">' . $html . '</a>';
195
  }
196
 
197
  if (strlen($slide['caption'])) {
198
+ $html .= '<div class="caption-wrap"><div class="caption">' . $slide['caption'] . '</div></div>';
 
 
199
  }
200
 
201
+ $thumb = isset($slide['data-thumb']) && strlen($slide['data-thumb']) ? " data-thumb=\"{$slide['data-thumb']}\"" : "";
202
+
203
+ $html = '<li style="display: none;"' . $thumb . '>' . $html . '</li>';
204
+
205
+ return apply_filters('metaslider_image_flex_slider_markup', $html, $slide, $this->settings);
206
  }
207
 
208
  /**
213
  private function get_coin_slider_markup($slide) {
214
  $url = strlen($slide['url']) ? $slide['url'] : 'javascript:void(0)'; // coinslider always wants a URL
215
 
216
+ $attributes = array(
217
+ 'src' => $slide['thumb'],
218
+ 'height' => $this->settings['height'],
219
+ 'width' => $this->settings['width'],
220
+ 'alt' => $slide['alt'],
221
+ 'rel' => $slide['rel'],
222
+ 'class' => $slide['class']
223
+ );
224
+
225
+ $html = $this->build_image_tag($attributes);
226
+
227
+ if (strlen($slide['caption'])) {
228
+ $html .= "<span>{$slide['caption']}</span>";
229
+ }
230
+
231
+ $html = '<a href="' . $url . '" style="display: none;">"' . $html . '</a>';
232
+
233
+ return apply_filters('metaslider_image_coin_slider_markup', $html, $slide, $this->settings);
234
  }
235
 
236
  /**
239
  * @return string slide html
240
  */
241
  private function get_responsive_slides_markup($slide) {
242
+ $attributes = array(
243
+ 'src' => $slide['thumb'],
244
+ 'height' => $this->settings['height'],
245
+ 'width' => $this->settings['width'],
246
+ 'alt' => $slide['alt'],
247
+ 'rel' => $slide['rel'],
248
+ 'class' => $slide['class']
249
+ );
250
+
251
+ $html = $this->build_image_tag($attributes);
252
 
253
  if (strlen($slide['caption'])) {
254
+ $html .= '<div class="caption-wrap"><div class="caption">' . $slide['caption'] . '</div></div>';
 
 
255
  }
256
 
257
  if (strlen($slide['url'])) {
258
+ $html = '<a href="' . $slide['url'] . '" target="' . $slide['target'] . '">'. $html . '</a>';
259
  }
260
 
261
+ return apply_filters('metaslider_image_responsive_slider_markup', $html, $slide, $this->settings);
262
  }
263
 
264
  /**
inc/slider/metaslider.class.php CHANGED
@@ -111,7 +111,9 @@ class MetaSlider {
111
  'smartCrop' => true,
112
  'carouselMode' => false,
113
  'easing' => 'linear',
114
- 'autoPlay' => true
 
 
115
  );
116
 
117
  return $params;
@@ -234,15 +236,15 @@ class MetaSlider {
234
  }
235
 
236
  // build the HTML
237
- $html = "\n<!--meta slider-->";
238
- $html .= "\n<div style='{$style}' class='{$class}'>";
239
  $html .= "\n " . $this->get_inline_css();
240
- $html .= "\n <div id='metaslider_container_{$this->id}'>";
241
  $html .= "\n " . $this->get_html();
242
  $html .= "\n </div>";
243
  $html .= $this->get_inline_javascript();
244
  $html .= "\n</div>";
245
- $html .= "\n<!--//meta slider-->";
246
 
247
  return $html;
248
  }
@@ -262,7 +264,7 @@ class MetaSlider {
262
 
263
  $custom_js = apply_filters("metaslider_{$type}_slider_javascript", "", $this->id);
264
 
265
- $script = "\n <script type='text/javascript'>";
266
  $script .= "\n var " . $identifier . " = function($) {";
267
  $script .= "\n $('#" . $identifier . "')." . $this->js_function . "({ ";
268
  $script .= "\n " . $this->get_javascript_parameters();
@@ -293,10 +295,10 @@ class MetaSlider {
293
  if ($param = $this->get_param($name)) {
294
  $val = $this->get_setting($name);
295
 
296
- if (gettype($default) == 'string') {
297
- $options[$param] = '"' . $val . '"';
298
- } else {
299
  $options[$param] = $val;
 
 
300
  }
301
  }
302
  }
@@ -305,7 +307,7 @@ class MetaSlider {
305
  $type = $this->get_setting('type');
306
 
307
  if (has_filter("metaslider_{$type}_slider_parameters")) {
308
- $options = apply_filters("metaslider_{$type}_slider_parameters", $options, $this->id);
309
  }
310
 
311
  // create key:value strings
@@ -330,17 +332,12 @@ class MetaSlider {
330
  private function get_inline_css() {
331
  if (has_filter("metaslider_css")) {
332
  $css = apply_filters("metaslider_css", "", $this->settings, $this->id);
333
- $scoped = ' scoped';
334
 
335
- if (isset($_SERVER['HTTP_USER_AGENT'])){
336
- $agent = $_SERVER['HTTP_USER_AGENT'];
337
- if (strlen(strstr($agent,"Firefox")) > 0 ){
338
- $scoped = '';
339
- }
340
- }
341
 
342
  if (strlen($css)) {
343
- return "<style type='text/css'{$scoped}>{$css}\n </style>";
344
  }
345
  }
346
 
@@ -385,7 +382,7 @@ class MetaSlider {
385
  $old_settings = $this->get_settings();
386
 
387
  // convert submitted checkbox values from 'on' or 'off' to boolean values
388
- $checkboxes = array('hoverPause', 'links', 'navigation', 'reverse', 'random', 'printCss', 'printJs', 'smoothHeight', 'center', 'smartCrop', 'carouselMode', 'autoPlay');
389
 
390
  foreach ($checkboxes as $checkbox) {
391
  if (isset($new_settings[$checkbox]) && $new_settings[$checkbox] == 'on') {
111
  'smartCrop' => true,
112
  'carouselMode' => false,
113
  'easing' => 'linear',
114
+ 'autoPlay' => true,
115
+ 'thumb_width' => 150,
116
+ 'thumb_height' => 100
117
  );
118
 
119
  return $params;
236
  }
237
 
238
  // build the HTML
239
+ $html = "\n<!-- meta slider -->";
240
+ $html .= "\n<div style=\"{$style}\" class=\"{$class}\">";
241
  $html .= "\n " . $this->get_inline_css();
242
+ $html .= "\n <div id=\"metaslider_container_{$this->id}\">";
243
  $html .= "\n " . $this->get_html();
244
  $html .= "\n </div>";
245
  $html .= $this->get_inline_javascript();
246
  $html .= "\n</div>";
247
+ $html .= "\n<!--// meta slider-->";
248
 
249
  return $html;
250
  }
264
 
265
  $custom_js = apply_filters("metaslider_{$type}_slider_javascript", "", $this->id);
266
 
267
+ $script = "\n <script type=\"text/javascript\">";
268
  $script .= "\n var " . $identifier . " = function($) {";
269
  $script .= "\n $('#" . $identifier . "')." . $this->js_function . "({ ";
270
  $script .= "\n " . $this->get_javascript_parameters();
295
  if ($param = $this->get_param($name)) {
296
  $val = $this->get_setting($name);
297
 
298
+ if (gettype($default) == 'integer' || $val == 'true' || $val == 'false') {
 
 
299
  $options[$param] = $val;
300
+ } else {
301
+ $options[$param] = '"' . $val . '"';
302
  }
303
  }
304
  }
307
  $type = $this->get_setting('type');
308
 
309
  if (has_filter("metaslider_{$type}_slider_parameters")) {
310
+ $options = apply_filters("metaslider_{$type}_slider_parameters", $options, $this->id, $this->settings);
311
  }
312
 
313
  // create key:value strings
332
  private function get_inline_css() {
333
  if (has_filter("metaslider_css")) {
334
  $css = apply_filters("metaslider_css", "", $this->settings, $this->id);
 
335
 
336
+ // use this to add the scoped attribute for HTML5 validation (if needed)
337
+ $attributes = apply_filters("metaslider_style_attributes", "", $this->settings, $this->id);
 
 
 
 
338
 
339
  if (strlen($css)) {
340
+ return "<style type=\"text/css\"{$attributes}>{$css}\n </style>";
341
  }
342
  }
343
 
382
  $old_settings = $this->get_settings();
383
 
384
  // convert submitted checkbox values from 'on' or 'off' to boolean values
385
+ $checkboxes = array('hoverPause', 'links', 'reverse', 'random', 'printCss', 'printJs', 'smoothHeight', 'center', 'smartCrop', 'carouselMode', 'autoPlay');
386
 
387
  foreach ($checkboxes as $checkbox) {
388
  if (isset($new_settings[$checkbox]) && $new_settings[$checkbox] == 'on') {
inc/slider/metaslider.flex.class.php CHANGED
@@ -9,17 +9,27 @@ class MetaFlexSlider extends MetaSlider {
9
  protected $css_path = 'sliders/flexslider/flexslider.css';
10
  protected $carousel_item_margin = 5;
11
 
 
 
 
 
 
12
  public function __construct($id) {
13
  parent::__construct($id);
 
14
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_carousel_mode'), 10, 2);
15
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_easing'), 10, 2);
16
- add_filter('metaslider_css', array($this, 'get_carousel_css'), 10, 3);
17
 
18
  $this->carousel_item_margin = apply_filters('metaslider_carousel_margin', $this->carousel_item_margin, $id);
19
  }
20
 
21
  /**
22
  * Adjust the slider parameters so they're comparible with the carousel mode
 
 
 
 
23
  */
24
  public function enable_carousel_mode($options, $slider_id) {
25
  if (isset($options["carouselMode"])) {
@@ -35,13 +45,17 @@ class MetaFlexSlider extends MetaSlider {
35
  }
36
 
37
  // we don't want this filter hanging around if there's more than one slideshow on the page
38
- remove_filter('metaslider_flex_slider_parameters', array($this, 'enable_carousel_mode'));
39
 
40
  return $options;
41
  }
42
 
43
  /**
44
  * Adjust the slider parameters so they're comparible with the carousel mode
 
 
 
 
45
  */
46
  public function enable_easing($options, $slider_id) {
47
  if (isset($options["easing"])) {
@@ -49,17 +63,22 @@ class MetaFlexSlider extends MetaSlider {
49
  }
50
 
51
  // we don't want this filter hanging around if there's more than one slideshow on the page
52
- remove_filter('metaslider_flex_slider_parameters', array($this, 'enable_easing'));
53
 
54
  return $options;
55
  }
56
 
57
  /**
58
  * Return css to ensure our slides are rendered correctly in the carousel
 
 
 
 
 
59
  */
60
  public function get_carousel_css($css, $settings, $slider_id) {
61
  if (isset($settings["carouselMode"]) && $settings['carouselMode'] == 'true') {
62
- $css .= "\n#metaslider_{$slider_id}.flexslider li {margin-right: {$this->carousel_item_margin}px;}";
63
  }
64
 
65
  return $css;
@@ -68,7 +87,8 @@ class MetaFlexSlider extends MetaSlider {
68
  /**
69
  * Enable the parameters that are accepted by the slider
70
  *
71
- * @return array enabled parameters
 
72
  */
73
  protected function get_param($param) {
74
  $params = array(
@@ -99,6 +119,7 @@ class MetaFlexSlider extends MetaSlider {
99
  */
100
  public function enqueue_scripts() {
101
  parent::enqueue_scripts();
 
102
  if ($this->get_setting('printJs') == 'true') {
103
  wp_enqueue_script('metaslider-easing', METASLIDER_ASSETS_URL . 'easing/jQuery.easing.min.js', array('jquery'), METASLIDER_VERSION);
104
  }
@@ -110,11 +131,18 @@ class MetaFlexSlider extends MetaSlider {
110
  * @return string slider markup.
111
  */
112
  protected function get_html() {
113
- $return_value = "<div id='" . $this->get_identifier() . "' class='flexslider'>";
114
- $return_value .= "\n <ul class='slides'>";
115
 
116
  foreach ($this->slides as $slide) {
117
- $return_value .= "\n <li style='display: none;'>\n " . $slide . "\n </li>";
 
 
 
 
 
 
 
118
  }
119
 
120
  $return_value .= "\n </ul>";
9
  protected $css_path = 'sliders/flexslider/flexslider.css';
10
  protected $carousel_item_margin = 5;
11
 
12
+ /**
13
+ * Constructor
14
+ *
15
+ * @param integer $id slideshow ID
16
+ */
17
  public function __construct($id) {
18
  parent::__construct($id);
19
+
20
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_carousel_mode'), 10, 2);
21
  add_filter('metaslider_flex_slider_parameters', array($this, 'enable_easing'), 10, 2);
22
+ add_filter('metaslider_css', array($this, 'get_carousel_css'), 11, 3);
23
 
24
  $this->carousel_item_margin = apply_filters('metaslider_carousel_margin', $this->carousel_item_margin, $id);
25
  }
26
 
27
  /**
28
  * Adjust the slider parameters so they're comparible with the carousel mode
29
+ *
30
+ * @param array $options
31
+ * @param integer $slider_id
32
+ * @return array $options
33
  */
34
  public function enable_carousel_mode($options, $slider_id) {
35
  if (isset($options["carouselMode"])) {
45
  }
46
 
47
  // we don't want this filter hanging around if there's more than one slideshow on the page
48
+ remove_filter('metaslider_flex_slider_parameters', array($this, 'enable_carousel_mode'), 10, 2);
49
 
50
  return $options;
51
  }
52
 
53
  /**
54
  * Adjust the slider parameters so they're comparible with the carousel mode
55
+ *
56
+ * @param array $options
57
+ * @param integer $slider_id
58
+ * @return array $options
59
  */
60
  public function enable_easing($options, $slider_id) {
61
  if (isset($options["easing"])) {
63
  }
64
 
65
  // we don't want this filter hanging around if there's more than one slideshow on the page
66
+ remove_filter('metaslider_flex_slider_parameters', 'enable_easing');
67
 
68
  return $options;
69
  }
70
 
71
  /**
72
  * Return css to ensure our slides are rendered correctly in the carousel
73
+ *
74
+ * @param string $css
75
+ * @param array $settings
76
+ * @param integer $slider_id
77
+ * @return string $css
78
  */
79
  public function get_carousel_css($css, $settings, $slider_id) {
80
  if (isset($settings["carouselMode"]) && $settings['carouselMode'] == 'true') {
81
+ $css .= "\n #metaslider_{$slider_id}.flexslider li {margin-right: {$this->carousel_item_margin}px;}";
82
  }
83
 
84
  return $css;
87
  /**
88
  * Enable the parameters that are accepted by the slider
89
  *
90
+ * @param string $param
91
+ * @return array|boolean enabled parameters (false if parameter doesn't exist)
92
  */
93
  protected function get_param($param) {
94
  $params = array(
119
  */
120
  public function enqueue_scripts() {
121
  parent::enqueue_scripts();
122
+
123
  if ($this->get_setting('printJs') == 'true') {
124
  wp_enqueue_script('metaslider-easing', METASLIDER_ASSETS_URL . 'easing/jQuery.easing.min.js', array('jquery'), METASLIDER_VERSION);
125
  }
131
  * @return string slider markup.
132
  */
133
  protected function get_html() {
134
+ $return_value = "<div id=\"" . $this->get_identifier() . "\" class=\"flexslider\">";
135
+ $return_value .= "\n <ul class=\"slides\">";
136
 
137
  foreach ($this->slides as $slide) {
138
+ // backwards compatibility with older versions of Meta Slider Pro (< v2.0)
139
+ // MS Pro < 2.0 does not include the <li>
140
+ // MS Pro 2.0+ returns the <li>
141
+ if (strpos($slide, '<li') === 0) {
142
+ $return_value .= "\n " . $slide;
143
+ } else {
144
+ $return_value .= "\n <li style=\"display: none;\">" . $slide . "</li>";
145
+ }
146
  }
147
 
148
  $return_value .= "\n </ul>";
inc/slider/metaslider.nivo.class.php CHANGED
@@ -14,7 +14,7 @@ class MetaNivoSlider extends MetaSlider {
14
  public function __construct($id) {
15
  parent::__construct($id);
16
 
17
- add_filter('metaslider_nivo_slider_parameters', array($this, 'set_autoplay_parameter'), 10, 2);
18
 
19
  }
20
 
@@ -23,17 +23,19 @@ class MetaNivoSlider extends MetaSlider {
23
  * Nivo slider uses "ManualAvance = false" (ie, false autoplays the slideshow)
24
  * Take care of the manualAdvance parameter here.
25
  */
26
- public function set_autoplay_parameter($options, $slider_id) {
 
27
  if (isset($options["autoPlay"])) {
28
  if ($options["autoPlay"] == 'true') {
29
  $options["manualAdvance"] = 'false';
30
  } else {
31
  $options["manualAdvance"] = 'true';
32
  }
 
 
33
  }
34
-
35
  // we don't want this filter hanging around if there's more than one slideshow on the page
36
- remove_filter('metaslider_nivo_slider_parameters', array($this, 'set_autoplay_parameter'));
37
 
38
  return $options;
39
  }
14
  public function __construct($id) {
15
  parent::__construct($id);
16
 
17
+ add_filter('metaslider_nivo_slider_parameters', array($this, 'set_autoplay_parameter'), 10, 3);
18
 
19
  }
20
 
23
  * Nivo slider uses "ManualAvance = false" (ie, false autoplays the slideshow)
24
  * Take care of the manualAdvance parameter here.
25
  */
26
+ public function set_autoplay_parameter($options, $slider_id, $settings) {
27
+ global $wp_filter;
28
  if (isset($options["autoPlay"])) {
29
  if ($options["autoPlay"] == 'true') {
30
  $options["manualAdvance"] = 'false';
31
  } else {
32
  $options["manualAdvance"] = 'true';
33
  }
34
+
35
+ unset($options['autoPlay']);
36
  }
 
37
  // we don't want this filter hanging around if there's more than one slideshow on the page
38
+ remove_filter('metaslider_nivo_slider_parameters', array($this, 'set_autoplay_parameter'), 10, 3);
39
 
40
  return $options;
41
  }
inc/slider/metaslider.responsive.class.php CHANGED
@@ -48,7 +48,7 @@ class MetaResponsiveSlider extends MetaSlider {
48
  if (!$first) {
49
  $style = " style='display: none;'";
50
  }
51
- $return_value .= "\n <li{$style}>\n" . $slide . "\n </li>";
52
  $first = false;
53
  }
54
 
48
  if (!$first) {
49
  $style = " style='display: none;'";
50
  }
51
+ $return_value .= "\n <li{$style}>" . $slide . "</li>";
52
  $first = false;
53
  }
54
 
languages/metaslider-es_ES.mo CHANGED
Binary file
languages/metaslider-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-08-20 14:44-0000\n"
5
- "PO-Revision-Date: 2013-08-20 14:44-0000\n"
6
  "Last-Translator: Miguel <contacto@eltipografico.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -82,7 +82,7 @@ msgstr "Si"
82
  msgid "No"
83
  msgstr "No"
84
 
85
- #: ../ml-slider.php:490 ../ml-slider.php:593
86
  msgid "Size"
87
  msgstr "Tamaño"
88
 
@@ -94,192 +94,206 @@ msgstr "kb"
94
  msgid "Mobile Friendly"
95
  msgstr "Apto para móviles"
96
 
97
- #: ../ml-slider.php:540
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  msgid "Slides"
99
  msgstr "Diapositivas"
100
 
101
- #: ../ml-slider.php:543 ../ml-slider.php:544
102
  msgid "Add Slide"
103
  msgstr "Añadir diapositiva"
104
 
105
- #: ../ml-slider.php:563
106
  msgid "Settings"
107
  msgstr "Ajustes"
108
 
109
- #: ../ml-slider.php:564
110
  msgid "Save"
111
  msgstr "Guardar"
112
 
113
- #: ../ml-slider.php:565
114
  msgid "Save & Preview"
115
  msgstr "Guardar y previsualizar"
116
 
117
- #: ../ml-slider.php:592
 
 
 
 
 
 
 
 
118
  msgid "Set the initial size for the slides (width x height)"
119
  msgstr "Establecer el tamaño inicial para las dipositivas (ancho x alto)"
120
 
121
- #: ../ml-slider.php:596
 
 
 
 
122
  msgid "Width"
123
  msgstr "Ancho"
124
 
125
- #: ../ml-slider.php:597
126
  msgid "Height"
127
  msgstr "Alto"
128
 
129
- #: ../ml-slider.php:601
130
- msgid "Center align the slideshow"
131
- msgstr "Centrar el pase de diapositvas"
132
-
133
- #: ../ml-slider.php:602
134
- msgid "Center align"
135
- msgstr "Centrar"
136
-
137
- #: ../ml-slider.php:609
138
- msgid "Show slide navigation row"
139
- msgstr "Mostrar la barra de navegación"
140
-
141
- #: ../ml-slider.php:610
142
- msgid "Controls"
143
- msgstr "Controles"
144
-
145
- #: ../ml-slider.php:613
146
- msgid "Pager"
147
- msgstr ""
148
-
149
- #: ../ml-slider.php:614
150
- msgid "Navigation"
151
- msgstr ""
152
-
153
- #: ../ml-slider.php:618
154
  msgid "Slide transition effect"
155
  msgstr "Efecto de la transición entre diapositivas"
156
 
157
- #: ../ml-slider.php:619
158
  msgid "Effect"
159
  msgstr "Efecto"
160
 
161
- #: ../ml-slider.php:623 ../ml-slider.php:733
162
  msgid "Random"
163
  msgstr "Aleatorio"
164
 
165
- #: ../ml-slider.php:624
166
  msgid "Swirl"
167
  msgstr ""
168
 
169
- #: ../ml-slider.php:625
170
  msgid "Rain"
171
  msgstr ""
172
 
173
- #: ../ml-slider.php:626
174
  msgid "Straight"
175
  msgstr ""
176
 
177
- #: ../ml-slider.php:627
178
  #, fuzzy
179
  msgid "Slide Down"
180
  msgstr "Dirección del pase"
181
 
182
- #: ../ml-slider.php:628
183
  msgid "Slice Up"
184
  msgstr ""
185
 
186
- #: ../ml-slider.php:629
187
  msgid "Slide Up Left"
188
  msgstr ""
189
 
190
- #: ../ml-slider.php:630
191
  msgid "Slice Up Down"
192
  msgstr ""
193
 
194
- #: ../ml-slider.php:631
195
  msgid "Slide Up Down Left"
196
  msgstr ""
197
 
198
- #: ../ml-slider.php:632
199
  msgid "Fold"
200
  msgstr ""
201
 
202
- #: ../ml-slider.php:633
203
  msgid "Fade"
204
  msgstr ""
205
 
206
- #: ../ml-slider.php:634
207
  msgid "Slide In Right"
208
  msgstr ""
209
 
210
- #: ../ml-slider.php:635
211
  #, fuzzy
212
  msgid "Slide In Left"
213
  msgstr "Efecto de la transición entre diapositivas"
214
 
215
- #: ../ml-slider.php:636
216
  #, fuzzy
217
  msgid "Box Random"
218
  msgstr "Aleatorio"
219
 
220
- #: ../ml-slider.php:637
221
  msgid "Box Rain"
222
  msgstr ""
223
 
224
- #: ../ml-slider.php:638
225
  #, fuzzy
226
  msgid "Box Rain Reverse"
227
  msgstr "Invertir"
228
 
229
- #: ../ml-slider.php:639
230
  msgid "Box Rain Grow Reverse"
231
  msgstr ""
232
 
233
- #: ../ml-slider.php:640
234
  #, fuzzy
235
  msgid "Slide"
236
  msgstr "Diapositivas"
237
 
238
- #: ../ml-slider.php:645
239
  msgid "Change the slider style"
240
  msgstr "Cambar el estilo del pase"
241
 
242
- #: ../ml-slider.php:646
243
  msgid "Theme"
244
  msgstr "Tema"
245
 
246
- #: ../ml-slider.php:667
247
- msgid "Advanced Settings"
248
- msgstr "Ajustes avanzados"
249
 
250
- #: ../ml-slider.php:670
251
- msgid "Start the slideshow on page load"
252
- msgstr "Comenzar el pase al cargar la página"
253
 
254
- #: ../ml-slider.php:671
255
- msgid "Auto play"
256
- msgstr "Auto arranque"
257
 
258
- #: ../ml-slider.php:678
259
- msgid "Animation easing effect"
260
- msgstr "Efecto de la animación suavizado"
261
 
262
- #: ../ml-slider.php:679
263
- msgid "Easing"
264
- msgstr "Suavizado"
265
 
266
- #: ../ml-slider.php:707
267
- msgid "Select the sliding direction"
268
- msgstr "Seleccionar la dirección del pase"
269
 
270
- #: ../ml-slider.php:707
271
- msgid "Slide direction"
272
- msgstr "Dirección del pase"
273
 
274
- #: ../ml-slider.php:710
275
- msgid "Horizontal"
276
- msgstr "Horizontal"
277
 
278
- #: ../ml-slider.php:711
279
- msgid "Vertical"
280
- msgstr "Vertical"
 
 
 
 
 
 
 
 
281
 
282
- #: ../ml-slider.php:716
283
  msgid ""
284
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
285
  "results in a consistent slideshow size"
@@ -287,11 +301,11 @@ msgstr ""
287
  "El recorte inteligente asegura que tus pases responsive sean cortados en una "
288
  "proporción correcta"
289
 
290
- #: ../ml-slider.php:717
291
  msgid "Smart crop"
292
  msgstr "Recorte inteligente"
293
 
294
- #: ../ml-slider.php:724
295
  msgid ""
296
  "Display as carousel - when selected the effect and direction options will be "
297
  "ignored."
@@ -299,15 +313,15 @@ msgstr ""
299
  "Mostar como carrusel - Cuando lo seleccionas, los efectos y ajusttes de "
300
  "dirección son ignorados"
301
 
302
- #: ../ml-slider.php:725
303
  msgid "Carousel mode"
304
  msgstr "Modo carrusel"
305
 
306
- #: ../ml-slider.php:732
307
  msgid "Randomise the order of the slides"
308
  msgstr "Ordenar aleatoriamente las diapositivas"
309
 
310
- #: ../ml-slider.php:740
311
  msgid ""
312
  "Pause the slideshow when hovering over slider, then resume when no longer "
313
  "hovering"
@@ -315,133 +329,158 @@ msgstr ""
315
  "Pausar el pase de diapositivas cuando el ratón se pose encima y continuar "
316
  "con la reproducción cuando el ratón salga."
317
 
318
- #: ../ml-slider.php:741
319
  msgid "Hover pause"
320
  msgstr "Pausar cuando situes el ratón encima"
321
 
322
- #: ../ml-slider.php:748
323
  msgid "Reverse the animation direction"
324
  msgstr "Invertir orden de la animación"
325
 
326
- #: ../ml-slider.php:749
327
  msgid "Reverse"
328
  msgstr "Invertir"
329
 
330
- #: ../ml-slider.php:756
331
  msgid "How long to display each slide, in milliseconds"
332
  msgstr "Cuanto tiempo se muestra cada diapositiva en milisegundos"
333
 
334
- #: ../ml-slider.php:757
335
  msgid "Slide delay"
336
  msgstr "Retraso de la diapositiva"
337
 
338
- #: ../ml-slider.php:760 ../ml-slider.php:809 ../ml-slider.php:825
 
339
  msgid "ms"
340
  msgstr "ms"
341
 
342
- #: ../ml-slider.php:764
343
  msgid "Set the speed of animations, in milliseconds"
344
  msgstr "Ajustar la duración de las animaciones en milisegundos"
345
 
346
- #: ../ml-slider.php:765
347
  msgid "Animation speed"
348
  msgstr "Velocidad de la animación"
349
 
350
- #: ../ml-slider.php:772
351
  msgid "Number of squares (width x height)"
352
  msgstr "Número de cuadros (ancho x alto)"
353
 
354
- #: ../ml-slider.php:773
355
  msgid "Number of squares"
356
  msgstr "Nmúero de cuadros"
357
 
358
- #: ../ml-slider.php:781 ../ml-slider.php:782
359
  msgid "Number of slices"
360
  msgstr "Número de cortes"
361
 
362
- #: ../ml-slider.php:789
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  msgid "Set the text for the 'previous' direction item"
364
  msgstr "Introducir el texto de \"anterior\" en la dirección del elemento"
365
 
366
- #: ../ml-slider.php:790
367
  msgid "Previous text"
368
  msgstr "Texto \"previo\""
369
 
370
- #: ../ml-slider.php:797
371
  msgid "Set the text for the 'next' direction item"
372
  msgstr "Introducir el texto de \"siguiente\" en la dirección del elemento"
373
 
374
- #: ../ml-slider.php:798
375
  msgid "Next text"
376
  msgstr "Texto \"siguiente\""
377
 
378
- #: ../ml-slider.php:805
379
  msgid "Delay beetwen squares in ms"
380
  msgstr "Retardo entre cuadros en ms"
381
 
382
- #: ../ml-slider.php:806
383
  msgid "Square delay"
384
  msgstr "Retardo entre cuadros"
385
 
386
- #: ../ml-slider.php:813
387
  msgid "Opacity of title and navigation"
388
  msgstr "Opacidad del título y navegación"
389
 
390
- #: ../ml-slider.php:814
391
  msgid "Opacity"
392
  msgstr "Opacidad"
393
 
394
- #: ../ml-slider.php:821
395
  msgid "Set the fade in speed of the caption"
396
  msgstr "Ajustar el fundido en la velocidad del subtítulo"
397
 
398
- #: ../ml-slider.php:822
399
  msgid "Caption speed"
400
  msgstr "Velocidad del subtítulo"
401
 
402
- #: ../ml-slider.php:829
403
  msgid "Developer Options"
404
  msgstr "Opciones de desarrollador"
405
 
406
- #: ../ml-slider.php:832
407
  msgid ""
408
  "Specify any custom CSS Classes you would like to be added to the slider "
409
  "wrapper"
410
  msgstr "Añadir las clases CSS personalizadas en el pase de diapositivas"
411
 
412
- #: ../ml-slider.php:833
413
  msgid "CSS classes"
414
  msgstr "Clases CSS"
415
 
416
- #: ../ml-slider.php:840
417
  msgid "Uncheck this is you would like to include your own CSS"
418
  msgstr "Marca esta si quieres incluir tu propio CSS"
419
 
420
- #: ../ml-slider.php:841
421
  msgid "Print CSS"
422
  msgstr "Imprimir CSS"
423
 
424
- #: ../ml-slider.php:848
425
  msgid "Uncheck this is you would like to include your own Javascript"
426
  msgstr "Desmarca esto si quieres incluír tu propio javascript"
427
 
428
- #: ../ml-slider.php:849
429
  msgid "Print JS"
430
  msgstr "Imprimir JS"
431
 
432
- #: ../ml-slider.php:857
433
  msgid "Delete Slider"
434
  msgstr "Borrar pase"
435
 
436
- #: ../ml-slider.php:866
437
  msgid "Usage"
438
  msgstr "Uso"
439
 
440
- #: ../ml-slider.php:872
441
  msgid "Shortcode"
442
  msgstr "Shortcode"
443
 
444
- #: ../ml-slider.php:878
445
  msgid "Template Include"
446
  msgstr "Template include"
447
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-09-18 14:36-0000\n"
5
+ "PO-Revision-Date: 2013-09-18 14:36-0000\n"
6
  "Last-Translator: Miguel <contacto@eltipografico.com>\n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
82
  msgid "No"
83
  msgstr "No"
84
 
85
+ #: ../ml-slider.php:490 ../ml-slider.php:633
86
  msgid "Size"
87
  msgstr "Tamaño"
88
 
94
  msgid "Mobile Friendly"
95
  msgstr "Apto para móviles"
96
 
97
+ #: ../ml-slider.php:519
98
+ msgid "New slideshow created. Click 'Add Slide' to get started!"
99
+ msgstr ""
100
+
101
+ #: ../ml-slider.php:536
102
+ msgid "or"
103
+ msgstr ""
104
+
105
+ #: ../ml-slider.php:537
106
+ #, fuzzy
107
+ msgid "Add New Slideshow"
108
+ msgstr "Añadir diapositiva"
109
+
110
+ #: ../ml-slider.php:553
111
+ #, fuzzy
112
+ msgid "Create your first slideshow"
113
+ msgstr "Centrar el pase de diapositvas"
114
+
115
+ #: ../ml-slider.php:570
116
  msgid "Slides"
117
  msgstr "Diapositivas"
118
 
119
+ #: ../ml-slider.php:573 ../ml-slider.php:574
120
  msgid "Add Slide"
121
  msgstr "Añadir diapositiva"
122
 
123
+ #: ../ml-slider.php:593
124
  msgid "Settings"
125
  msgstr "Ajustes"
126
 
127
+ #: ../ml-slider.php:594
128
  msgid "Save"
129
  msgstr "Guardar"
130
 
131
+ #: ../ml-slider.php:595
132
  msgid "Save & Preview"
133
  msgstr "Guardar y previsualizar"
134
 
135
+ #: ../ml-slider.php:623
136
+ msgid "Slideshow title"
137
+ msgstr ""
138
+
139
+ #: ../ml-slider.php:624
140
+ msgid "Title"
141
+ msgstr ""
142
+
143
+ #: ../ml-slider.php:632
144
  msgid "Set the initial size for the slides (width x height)"
145
  msgstr "Establecer el tamaño inicial para las dipositivas (ancho x alto)"
146
 
147
+ #: ../ml-slider.php:633
148
+ msgid "px"
149
+ msgstr ""
150
+
151
+ #: ../ml-slider.php:636
152
  msgid "Width"
153
  msgstr "Ancho"
154
 
155
+ #: ../ml-slider.php:637
156
  msgid "Height"
157
  msgstr "Alto"
158
 
159
+ #: ../ml-slider.php:641
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  msgid "Slide transition effect"
161
  msgstr "Efecto de la transición entre diapositivas"
162
 
163
+ #: ../ml-slider.php:642
164
  msgid "Effect"
165
  msgstr "Efecto"
166
 
167
+ #: ../ml-slider.php:646 ../ml-slider.php:755
168
  msgid "Random"
169
  msgstr "Aleatorio"
170
 
171
+ #: ../ml-slider.php:647
172
  msgid "Swirl"
173
  msgstr ""
174
 
175
+ #: ../ml-slider.php:648
176
  msgid "Rain"
177
  msgstr ""
178
 
179
+ #: ../ml-slider.php:649
180
  msgid "Straight"
181
  msgstr ""
182
 
183
+ #: ../ml-slider.php:650
184
  #, fuzzy
185
  msgid "Slide Down"
186
  msgstr "Dirección del pase"
187
 
188
+ #: ../ml-slider.php:651
189
  msgid "Slice Up"
190
  msgstr ""
191
 
192
+ #: ../ml-slider.php:652
193
  msgid "Slide Up Left"
194
  msgstr ""
195
 
196
+ #: ../ml-slider.php:653
197
  msgid "Slice Up Down"
198
  msgstr ""
199
 
200
+ #: ../ml-slider.php:654
201
  msgid "Slide Up Down Left"
202
  msgstr ""
203
 
204
+ #: ../ml-slider.php:655
205
  msgid "Fold"
206
  msgstr ""
207
 
208
+ #: ../ml-slider.php:656
209
  msgid "Fade"
210
  msgstr ""
211
 
212
+ #: ../ml-slider.php:657
213
  msgid "Slide In Right"
214
  msgstr ""
215
 
216
+ #: ../ml-slider.php:658
217
  #, fuzzy
218
  msgid "Slide In Left"
219
  msgstr "Efecto de la transición entre diapositivas"
220
 
221
+ #: ../ml-slider.php:659
222
  #, fuzzy
223
  msgid "Box Random"
224
  msgstr "Aleatorio"
225
 
226
+ #: ../ml-slider.php:660
227
  msgid "Box Rain"
228
  msgstr ""
229
 
230
+ #: ../ml-slider.php:661
231
  #, fuzzy
232
  msgid "Box Rain Reverse"
233
  msgstr "Invertir"
234
 
235
+ #: ../ml-slider.php:662
236
  msgid "Box Rain Grow Reverse"
237
  msgstr ""
238
 
239
+ #: ../ml-slider.php:663
240
  #, fuzzy
241
  msgid "Slide"
242
  msgstr "Diapositivas"
243
 
244
+ #: ../ml-slider.php:668
245
  msgid "Change the slider style"
246
  msgstr "Cambar el estilo del pase"
247
 
248
+ #: ../ml-slider.php:669
249
  msgid "Theme"
250
  msgstr "Tema"
251
 
252
+ #: ../ml-slider.php:690
253
+ msgid "Controls"
254
+ msgstr "Controles"
255
 
256
+ #: ../ml-slider.php:693 ../ml-slider.php:707
257
+ msgid "Show slide navigation row"
258
+ msgstr "Mostrar la barra de navegación"
259
 
260
+ #: ../ml-slider.php:694
261
+ msgid "Arrows"
262
+ msgstr ""
263
 
264
+ #: ../ml-slider.php:708
265
+ msgid "Navigation"
266
+ msgstr ""
267
 
268
+ #: ../ml-slider.php:711
269
+ msgid "Hidden"
270
+ msgstr ""
271
 
272
+ #: ../ml-slider.php:712
273
+ msgid "Dots"
274
+ msgstr ""
275
 
276
+ #: ../ml-slider.php:719
277
+ msgid "Advanced Settings"
278
+ msgstr "Ajustes avanzados"
279
 
280
+ #: ../ml-slider.php:722
281
+ msgid "Center align the slideshow"
282
+ msgstr "Centrar el pase de diapositvas"
283
 
284
+ #: ../ml-slider.php:723
285
+ msgid "Center align"
286
+ msgstr "Centrar"
287
+
288
+ #: ../ml-slider.php:730
289
+ msgid "Start the slideshow on page load"
290
+ msgstr "Comenzar el pase al cargar la página"
291
+
292
+ #: ../ml-slider.php:731
293
+ msgid "Auto play"
294
+ msgstr "Auto arranque"
295
 
296
+ #: ../ml-slider.php:738
297
  msgid ""
298
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
299
  "results in a consistent slideshow size"
301
  "El recorte inteligente asegura que tus pases responsive sean cortados en una "
302
  "proporción correcta"
303
 
304
+ #: ../ml-slider.php:739
305
  msgid "Smart crop"
306
  msgstr "Recorte inteligente"
307
 
308
+ #: ../ml-slider.php:746
309
  msgid ""
310
  "Display as carousel - when selected the effect and direction options will be "
311
  "ignored."
313
  "Mostar como carrusel - Cuando lo seleccionas, los efectos y ajusttes de "
314
  "dirección son ignorados"
315
 
316
+ #: ../ml-slider.php:747
317
  msgid "Carousel mode"
318
  msgstr "Modo carrusel"
319
 
320
+ #: ../ml-slider.php:754
321
  msgid "Randomise the order of the slides"
322
  msgstr "Ordenar aleatoriamente las diapositivas"
323
 
324
+ #: ../ml-slider.php:762
325
  msgid ""
326
  "Pause the slideshow when hovering over slider, then resume when no longer "
327
  "hovering"
329
  "Pausar el pase de diapositivas cuando el ratón se pose encima y continuar "
330
  "con la reproducción cuando el ratón salga."
331
 
332
+ #: ../ml-slider.php:763
333
  msgid "Hover pause"
334
  msgstr "Pausar cuando situes el ratón encima"
335
 
336
+ #: ../ml-slider.php:770
337
  msgid "Reverse the animation direction"
338
  msgstr "Invertir orden de la animación"
339
 
340
+ #: ../ml-slider.php:771
341
  msgid "Reverse"
342
  msgstr "Invertir"
343
 
344
+ #: ../ml-slider.php:778
345
  msgid "How long to display each slide, in milliseconds"
346
  msgstr "Cuanto tiempo se muestra cada diapositiva en milisegundos"
347
 
348
+ #: ../ml-slider.php:779
349
  msgid "Slide delay"
350
  msgstr "Retraso de la diapositiva"
351
 
352
+ #: ../ml-slider.php:779 ../ml-slider.php:787 ../ml-slider.php:866
353
+ #: ../ml-slider.php:882
354
  msgid "ms"
355
  msgstr "ms"
356
 
357
+ #: ../ml-slider.php:786
358
  msgid "Set the speed of animations, in milliseconds"
359
  msgstr "Ajustar la duración de las animaciones en milisegundos"
360
 
361
+ #: ../ml-slider.php:787
362
  msgid "Animation speed"
363
  msgstr "Velocidad de la animación"
364
 
365
+ #: ../ml-slider.php:794
366
  msgid "Number of squares (width x height)"
367
  msgstr "Número de cuadros (ancho x alto)"
368
 
369
+ #: ../ml-slider.php:795
370
  msgid "Number of squares"
371
  msgstr "Nmúero de cuadros"
372
 
373
+ #: ../ml-slider.php:803 ../ml-slider.php:804
374
  msgid "Number of slices"
375
  msgstr "Número de cortes"
376
 
377
+ #: ../ml-slider.php:811
378
+ msgid "Select the sliding direction"
379
+ msgstr "Seleccionar la dirección del pase"
380
+
381
+ #: ../ml-slider.php:811
382
+ msgid "Slide direction"
383
+ msgstr "Dirección del pase"
384
+
385
+ #: ../ml-slider.php:814
386
+ msgid "Horizontal"
387
+ msgstr "Horizontal"
388
+
389
+ #: ../ml-slider.php:815
390
+ msgid "Vertical"
391
+ msgstr "Vertical"
392
+
393
+ #: ../ml-slider.php:820
394
+ msgid "Animation easing effect"
395
+ msgstr "Efecto de la animación suavizado"
396
+
397
+ #: ../ml-slider.php:821
398
+ msgid "Easing"
399
+ msgstr "Suavizado"
400
+
401
+ #: ../ml-slider.php:849
402
  msgid "Set the text for the 'previous' direction item"
403
  msgstr "Introducir el texto de \"anterior\" en la dirección del elemento"
404
 
405
+ #: ../ml-slider.php:850
406
  msgid "Previous text"
407
  msgstr "Texto \"previo\""
408
 
409
+ #: ../ml-slider.php:857
410
  msgid "Set the text for the 'next' direction item"
411
  msgstr "Introducir el texto de \"siguiente\" en la dirección del elemento"
412
 
413
+ #: ../ml-slider.php:858
414
  msgid "Next text"
415
  msgstr "Texto \"siguiente\""
416
 
417
+ #: ../ml-slider.php:865
418
  msgid "Delay beetwen squares in ms"
419
  msgstr "Retardo entre cuadros en ms"
420
 
421
+ #: ../ml-slider.php:866
422
  msgid "Square delay"
423
  msgstr "Retardo entre cuadros"
424
 
425
+ #: ../ml-slider.php:873
426
  msgid "Opacity of title and navigation"
427
  msgstr "Opacidad del título y navegación"
428
 
429
+ #: ../ml-slider.php:874
430
  msgid "Opacity"
431
  msgstr "Opacidad"
432
 
433
+ #: ../ml-slider.php:881
434
  msgid "Set the fade in speed of the caption"
435
  msgstr "Ajustar el fundido en la velocidad del subtítulo"
436
 
437
+ #: ../ml-slider.php:882
438
  msgid "Caption speed"
439
  msgstr "Velocidad del subtítulo"
440
 
441
+ #: ../ml-slider.php:889
442
  msgid "Developer Options"
443
  msgstr "Opciones de desarrollador"
444
 
445
+ #: ../ml-slider.php:892
446
  msgid ""
447
  "Specify any custom CSS Classes you would like to be added to the slider "
448
  "wrapper"
449
  msgstr "Añadir las clases CSS personalizadas en el pase de diapositivas"
450
 
451
+ #: ../ml-slider.php:893
452
  msgid "CSS classes"
453
  msgstr "Clases CSS"
454
 
455
+ #: ../ml-slider.php:900
456
  msgid "Uncheck this is you would like to include your own CSS"
457
  msgstr "Marca esta si quieres incluir tu propio CSS"
458
 
459
+ #: ../ml-slider.php:901
460
  msgid "Print CSS"
461
  msgstr "Imprimir CSS"
462
 
463
+ #: ../ml-slider.php:908
464
  msgid "Uncheck this is you would like to include your own Javascript"
465
  msgstr "Desmarca esto si quieres incluír tu propio javascript"
466
 
467
+ #: ../ml-slider.php:909
468
  msgid "Print JS"
469
  msgstr "Imprimir JS"
470
 
471
+ #: ../ml-slider.php:917
472
  msgid "Delete Slider"
473
  msgstr "Borrar pase"
474
 
475
+ #: ../ml-slider.php:926
476
  msgid "Usage"
477
  msgstr "Uso"
478
 
479
+ #: ../ml-slider.php:932
480
  msgid "Shortcode"
481
  msgstr "Shortcode"
482
 
483
+ #: ../ml-slider.php:938
484
  msgid "Template Include"
485
  msgstr "Template include"
486
 
languages/metaslider-fr_FR.mo CHANGED
Binary file
languages/metaslider-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-08-20 14:44-0000\n"
5
- "PO-Revision-Date: 2013-08-20 14:44-0000\n"
6
  "Last-Translator: FB-graphiklab.com <referencement@fb-graphiklab.com>\n"
7
  "Language-Team: www.fb-graphiklab.com\n"
8
  "Language: fr_FR\n"
@@ -81,7 +81,7 @@ msgstr "Oui"
81
  msgid "No"
82
  msgstr "Non"
83
 
84
- #: ../ml-slider.php:490 ../ml-slider.php:593
85
  msgid "Size"
86
  msgstr "Taille"
87
 
@@ -93,192 +93,206 @@ msgstr "kb"
93
  msgid "Mobile Friendly"
94
  msgstr "Compatible Mobiles"
95
 
96
- #: ../ml-slider.php:540
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  msgid "Slides"
98
  msgstr "Diapositives"
99
 
100
- #: ../ml-slider.php:543 ../ml-slider.php:544
101
  msgid "Add Slide"
102
  msgstr "Ajouter une diapositive"
103
 
104
- #: ../ml-slider.php:563
105
  msgid "Settings"
106
  msgstr "Paramètres"
107
 
108
- #: ../ml-slider.php:564
109
  msgid "Save"
110
  msgstr "Sauver"
111
 
112
- #: ../ml-slider.php:565
113
  msgid "Save & Preview"
114
  msgstr "Sauver & Prévisualiser"
115
 
116
- #: ../ml-slider.php:592
 
 
 
 
 
 
 
 
117
  msgid "Set the initial size for the slides (width x height)"
118
  msgstr "Définissez la taille initiale des diapositives (largeur x hauteur)"
119
 
120
- #: ../ml-slider.php:596
 
 
 
 
121
  msgid "Width"
122
  msgstr "Largeur"
123
 
124
- #: ../ml-slider.php:597
125
  msgid "Height"
126
  msgstr "Hauteur"
127
 
128
- #: ../ml-slider.php:601
129
- msgid "Center align the slideshow"
130
- msgstr "Alignement central du diaporama"
131
-
132
- #: ../ml-slider.php:602
133
- msgid "Center align"
134
- msgstr "Alignement central"
135
-
136
- #: ../ml-slider.php:609
137
- msgid "Show slide navigation row"
138
- msgstr "Montrer la rangée de navigation du diaporama"
139
-
140
- #: ../ml-slider.php:610
141
- msgid "Controls"
142
- msgstr "Contrôles"
143
-
144
- #: ../ml-slider.php:613
145
- msgid "Pager"
146
- msgstr ""
147
-
148
- #: ../ml-slider.php:614
149
- msgid "Navigation"
150
- msgstr ""
151
-
152
- #: ../ml-slider.php:618
153
  msgid "Slide transition effect"
154
  msgstr "Effet de transition des diapositives"
155
 
156
- #: ../ml-slider.php:619
157
  msgid "Effect"
158
  msgstr "Effet"
159
 
160
- #: ../ml-slider.php:623 ../ml-slider.php:733
161
  msgid "Random"
162
  msgstr "Aléatoire"
163
 
164
- #: ../ml-slider.php:624
165
  msgid "Swirl"
166
  msgstr ""
167
 
168
- #: ../ml-slider.php:625
169
  msgid "Rain"
170
  msgstr ""
171
 
172
- #: ../ml-slider.php:626
173
  msgid "Straight"
174
  msgstr ""
175
 
176
- #: ../ml-slider.php:627
177
  #, fuzzy
178
  msgid "Slide Down"
179
  msgstr "Sens du défilement"
180
 
181
- #: ../ml-slider.php:628
182
  msgid "Slice Up"
183
  msgstr ""
184
 
185
- #: ../ml-slider.php:629
186
  msgid "Slide Up Left"
187
  msgstr ""
188
 
189
- #: ../ml-slider.php:630
190
  msgid "Slice Up Down"
191
  msgstr ""
192
 
193
- #: ../ml-slider.php:631
194
  msgid "Slide Up Down Left"
195
  msgstr ""
196
 
197
- #: ../ml-slider.php:632
198
  msgid "Fold"
199
  msgstr ""
200
 
201
- #: ../ml-slider.php:633
202
  msgid "Fade"
203
  msgstr ""
204
 
205
- #: ../ml-slider.php:634
206
  msgid "Slide In Right"
207
  msgstr ""
208
 
209
- #: ../ml-slider.php:635
210
  #, fuzzy
211
  msgid "Slide In Left"
212
  msgstr "Effet de transition des diapositives"
213
 
214
- #: ../ml-slider.php:636
215
  #, fuzzy
216
  msgid "Box Random"
217
  msgstr "Aléatoire"
218
 
219
- #: ../ml-slider.php:637
220
  msgid "Box Rain"
221
  msgstr ""
222
 
223
- #: ../ml-slider.php:638
224
  #, fuzzy
225
  msgid "Box Rain Reverse"
226
  msgstr "Inverser"
227
 
228
- #: ../ml-slider.php:639
229
  msgid "Box Rain Grow Reverse"
230
  msgstr ""
231
 
232
- #: ../ml-slider.php:640
233
  #, fuzzy
234
  msgid "Slide"
235
  msgstr "Diapositives"
236
 
237
- #: ../ml-slider.php:645
238
  msgid "Change the slider style"
239
  msgstr "Changer le style du diaporama"
240
 
241
- #: ../ml-slider.php:646
242
  msgid "Theme"
243
  msgstr "Thème"
244
 
245
- #: ../ml-slider.php:667
246
- msgid "Advanced Settings"
247
- msgstr "Paramètres avancés"
248
 
249
- #: ../ml-slider.php:670
250
- msgid "Start the slideshow on page load"
251
- msgstr "Démarrer le diaporama au chargement de la page"
252
 
253
- #: ../ml-slider.php:671
254
- msgid "Auto play"
255
- msgstr "Lecture auto"
256
 
257
- #: ../ml-slider.php:678
258
- msgid "Animation easing effect"
259
- msgstr "Effet \"easing\" de l'animation"
260
 
261
- #: ../ml-slider.php:679
262
- msgid "Easing"
263
- msgstr "Easing"
264
 
265
- #: ../ml-slider.php:707
266
- msgid "Select the sliding direction"
267
- msgstr "Choisissez le sens du défilement"
268
 
269
- #: ../ml-slider.php:707
270
- msgid "Slide direction"
271
- msgstr "Sens du défilement"
272
 
273
- #: ../ml-slider.php:710
274
- msgid "Horizontal"
275
- msgstr "Horizontal"
276
 
277
- #: ../ml-slider.php:711
278
- msgid "Vertical"
279
- msgstr "Vertical"
 
 
 
 
 
 
 
 
280
 
281
- #: ../ml-slider.php:716
282
  msgid ""
283
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
284
  "results in a consistent slideshow size"
@@ -287,11 +301,11 @@ msgstr ""
287
  "recadrés à un ratio qui aboutit à une taille compatible avec celle du "
288
  "diaporama"
289
 
290
- #: ../ml-slider.php:717
291
  msgid "Smart crop"
292
  msgstr "Cadrage intelligent"
293
 
294
- #: ../ml-slider.php:724
295
  msgid ""
296
  "Display as carousel - when selected the effect and direction options will be "
297
  "ignored."
@@ -299,15 +313,15 @@ msgstr ""
299
  "Afficher sous forme de carrousel - lorsque sélectionné l'effet et les "
300
  "options de direction seront ignorées."
301
 
302
- #: ../ml-slider.php:725
303
  msgid "Carousel mode"
304
  msgstr "Mode carrousel"
305
 
306
- #: ../ml-slider.php:732
307
  msgid "Randomise the order of the slides"
308
  msgstr "Aléatorisation de l'ordre des diapositives"
309
 
310
- #: ../ml-slider.php:740
311
  msgid ""
312
  "Pause the slideshow when hovering over slider, then resume when no longer "
313
  "hovering"
@@ -315,96 +329,121 @@ msgstr ""
315
  "Mettre le diaporama en pause au survol, puis reprendre lorsqu'il ne l'est "
316
  "plus"
317
 
318
- #: ../ml-slider.php:741
319
  msgid "Hover pause"
320
  msgstr "Pause au survol"
321
 
322
- #: ../ml-slider.php:748
323
  msgid "Reverse the animation direction"
324
  msgstr "Inverser le sens de l'animation"
325
 
326
- #: ../ml-slider.php:749
327
  msgid "Reverse"
328
  msgstr "Inverser"
329
 
330
- #: ../ml-slider.php:756
331
  msgid "How long to display each slide, in milliseconds"
332
  msgstr "Durée d'affichage de chaque diapositive, en millisecondes"
333
 
334
- #: ../ml-slider.php:757
335
  msgid "Slide delay"
336
  msgstr "Délai entre les diapositives"
337
 
338
- #: ../ml-slider.php:760 ../ml-slider.php:809 ../ml-slider.php:825
 
339
  msgid "ms"
340
  msgstr "ms"
341
 
342
- #: ../ml-slider.php:764
343
  msgid "Set the speed of animations, in milliseconds"
344
  msgstr "Définir la vitesse des animations, en millisecondes"
345
 
346
- #: ../ml-slider.php:765
347
  msgid "Animation speed"
348
  msgstr "Vitesse d'animation"
349
 
350
- #: ../ml-slider.php:772
351
  msgid "Number of squares (width x height)"
352
  msgstr "Nombre de carrés (largeur x hauteur)"
353
 
354
- #: ../ml-slider.php:773
355
  msgid "Number of squares"
356
  msgstr "Nombre de carrés"
357
 
358
- #: ../ml-slider.php:781 ../ml-slider.php:782
359
  msgid "Number of slices"
360
  msgstr "Nombre de tranches"
361
 
362
- #: ../ml-slider.php:789
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  msgid "Set the text for the 'previous' direction item"
364
  msgstr "Définir le texte pour l'élément de direction «précédent»"
365
 
366
- #: ../ml-slider.php:790
367
  msgid "Previous text"
368
  msgstr "Précédent"
369
 
370
- #: ../ml-slider.php:797
371
  msgid "Set the text for the 'next' direction item"
372
  msgstr "Définir le texte pour l'élément de direction «suivant»"
373
 
374
- #: ../ml-slider.php:798
375
  msgid "Next text"
376
  msgstr "Suivant"
377
 
378
- #: ../ml-slider.php:805
379
  msgid "Delay beetwen squares in ms"
380
  msgstr "Délai entre les carrés en millisecondes"
381
 
382
- #: ../ml-slider.php:806
383
  msgid "Square delay"
384
  msgstr "Délai entre les carrés"
385
 
386
- #: ../ml-slider.php:813
387
  msgid "Opacity of title and navigation"
388
  msgstr "Opacité du titre et de la navigation"
389
 
390
- #: ../ml-slider.php:814
391
  msgid "Opacity"
392
  msgstr "Opacité"
393
 
394
- #: ../ml-slider.php:821
395
  #, fuzzy
396
  msgid "Set the fade in speed of the caption"
397
  msgstr "Régler le fondu de la vitesse de la légende"
398
 
399
- #: ../ml-slider.php:822
400
  msgid "Caption speed"
401
  msgstr "Vitesse de la légende"
402
 
403
- #: ../ml-slider.php:829
404
  msgid "Developer Options"
405
  msgstr "Options pour les développeurs"
406
 
407
- #: ../ml-slider.php:832
408
  msgid ""
409
  "Specify any custom CSS Classes you would like to be added to the slider "
410
  "wrapper"
@@ -412,39 +451,39 @@ msgstr ""
412
  "Spécifiez des classes CSS personnalisés que vous souhaitez ajouter à "
413
  "l'enveloppe (wrapper) du diaporama"
414
 
415
- #: ../ml-slider.php:833
416
  msgid "CSS classes"
417
  msgstr "Classes CSS"
418
 
419
- #: ../ml-slider.php:840
420
  msgid "Uncheck this is you would like to include your own CSS"
421
  msgstr "Décochez ceci si vous souhaitez inclure votre propre CSS"
422
 
423
- #: ../ml-slider.php:841
424
  msgid "Print CSS"
425
  msgstr "Imprimer CSS"
426
 
427
- #: ../ml-slider.php:848
428
  msgid "Uncheck this is you would like to include your own Javascript"
429
  msgstr "Décochez ceci si vous souhaitez inclure votre propre Javascript"
430
 
431
- #: ../ml-slider.php:849
432
  msgid "Print JS"
433
  msgstr "Imprimer JS"
434
 
435
- #: ../ml-slider.php:857
436
  msgid "Delete Slider"
437
  msgstr "Effacer diaporama"
438
 
439
- #: ../ml-slider.php:866
440
  msgid "Usage"
441
  msgstr "Utilisation"
442
 
443
- #: ../ml-slider.php:872
444
  msgid "Shortcode"
445
  msgstr "Shortcode"
446
 
447
- #: ../ml-slider.php:878
448
  msgid "Template Include"
449
  msgstr "Inclusion template"
450
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-09-18 14:37-0000\n"
5
+ "PO-Revision-Date: 2013-09-18 14:37-0000\n"
6
  "Last-Translator: FB-graphiklab.com <referencement@fb-graphiklab.com>\n"
7
  "Language-Team: www.fb-graphiklab.com\n"
8
  "Language: fr_FR\n"
81
  msgid "No"
82
  msgstr "Non"
83
 
84
+ #: ../ml-slider.php:490 ../ml-slider.php:633
85
  msgid "Size"
86
  msgstr "Taille"
87
 
93
  msgid "Mobile Friendly"
94
  msgstr "Compatible Mobiles"
95
 
96
+ #: ../ml-slider.php:519
97
+ msgid "New slideshow created. Click 'Add Slide' to get started!"
98
+ msgstr ""
99
+
100
+ #: ../ml-slider.php:536
101
+ msgid "or"
102
+ msgstr ""
103
+
104
+ #: ../ml-slider.php:537
105
+ #, fuzzy
106
+ msgid "Add New Slideshow"
107
+ msgstr "Ajouter une diapositive"
108
+
109
+ #: ../ml-slider.php:553
110
+ #, fuzzy
111
+ msgid "Create your first slideshow"
112
+ msgstr "Alignement central du diaporama"
113
+
114
+ #: ../ml-slider.php:570
115
  msgid "Slides"
116
  msgstr "Diapositives"
117
 
118
+ #: ../ml-slider.php:573 ../ml-slider.php:574
119
  msgid "Add Slide"
120
  msgstr "Ajouter une diapositive"
121
 
122
+ #: ../ml-slider.php:593
123
  msgid "Settings"
124
  msgstr "Paramètres"
125
 
126
+ #: ../ml-slider.php:594
127
  msgid "Save"
128
  msgstr "Sauver"
129
 
130
+ #: ../ml-slider.php:595
131
  msgid "Save & Preview"
132
  msgstr "Sauver & Prévisualiser"
133
 
134
+ #: ../ml-slider.php:623
135
+ msgid "Slideshow title"
136
+ msgstr ""
137
+
138
+ #: ../ml-slider.php:624
139
+ msgid "Title"
140
+ msgstr ""
141
+
142
+ #: ../ml-slider.php:632
143
  msgid "Set the initial size for the slides (width x height)"
144
  msgstr "Définissez la taille initiale des diapositives (largeur x hauteur)"
145
 
146
+ #: ../ml-slider.php:633
147
+ msgid "px"
148
+ msgstr ""
149
+
150
+ #: ../ml-slider.php:636
151
  msgid "Width"
152
  msgstr "Largeur"
153
 
154
+ #: ../ml-slider.php:637
155
  msgid "Height"
156
  msgstr "Hauteur"
157
 
158
+ #: ../ml-slider.php:641
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  msgid "Slide transition effect"
160
  msgstr "Effet de transition des diapositives"
161
 
162
+ #: ../ml-slider.php:642
163
  msgid "Effect"
164
  msgstr "Effet"
165
 
166
+ #: ../ml-slider.php:646 ../ml-slider.php:755
167
  msgid "Random"
168
  msgstr "Aléatoire"
169
 
170
+ #: ../ml-slider.php:647
171
  msgid "Swirl"
172
  msgstr ""
173
 
174
+ #: ../ml-slider.php:648
175
  msgid "Rain"
176
  msgstr ""
177
 
178
+ #: ../ml-slider.php:649
179
  msgid "Straight"
180
  msgstr ""
181
 
182
+ #: ../ml-slider.php:650
183
  #, fuzzy
184
  msgid "Slide Down"
185
  msgstr "Sens du défilement"
186
 
187
+ #: ../ml-slider.php:651
188
  msgid "Slice Up"
189
  msgstr ""
190
 
191
+ #: ../ml-slider.php:652
192
  msgid "Slide Up Left"
193
  msgstr ""
194
 
195
+ #: ../ml-slider.php:653
196
  msgid "Slice Up Down"
197
  msgstr ""
198
 
199
+ #: ../ml-slider.php:654
200
  msgid "Slide Up Down Left"
201
  msgstr ""
202
 
203
+ #: ../ml-slider.php:655
204
  msgid "Fold"
205
  msgstr ""
206
 
207
+ #: ../ml-slider.php:656
208
  msgid "Fade"
209
  msgstr ""
210
 
211
+ #: ../ml-slider.php:657
212
  msgid "Slide In Right"
213
  msgstr ""
214
 
215
+ #: ../ml-slider.php:658
216
  #, fuzzy
217
  msgid "Slide In Left"
218
  msgstr "Effet de transition des diapositives"
219
 
220
+ #: ../ml-slider.php:659
221
  #, fuzzy
222
  msgid "Box Random"
223
  msgstr "Aléatoire"
224
 
225
+ #: ../ml-slider.php:660
226
  msgid "Box Rain"
227
  msgstr ""
228
 
229
+ #: ../ml-slider.php:661
230
  #, fuzzy
231
  msgid "Box Rain Reverse"
232
  msgstr "Inverser"
233
 
234
+ #: ../ml-slider.php:662
235
  msgid "Box Rain Grow Reverse"
236
  msgstr ""
237
 
238
+ #: ../ml-slider.php:663
239
  #, fuzzy
240
  msgid "Slide"
241
  msgstr "Diapositives"
242
 
243
+ #: ../ml-slider.php:668
244
  msgid "Change the slider style"
245
  msgstr "Changer le style du diaporama"
246
 
247
+ #: ../ml-slider.php:669
248
  msgid "Theme"
249
  msgstr "Thème"
250
 
251
+ #: ../ml-slider.php:690
252
+ msgid "Controls"
253
+ msgstr "Contrôles"
254
 
255
+ #: ../ml-slider.php:693 ../ml-slider.php:707
256
+ msgid "Show slide navigation row"
257
+ msgstr "Montrer la rangée de navigation du diaporama"
258
 
259
+ #: ../ml-slider.php:694
260
+ msgid "Arrows"
261
+ msgstr ""
262
 
263
+ #: ../ml-slider.php:708
264
+ msgid "Navigation"
265
+ msgstr ""
266
 
267
+ #: ../ml-slider.php:711
268
+ msgid "Hidden"
269
+ msgstr ""
270
 
271
+ #: ../ml-slider.php:712
272
+ msgid "Dots"
273
+ msgstr ""
274
 
275
+ #: ../ml-slider.php:719
276
+ msgid "Advanced Settings"
277
+ msgstr "Paramètres avancés"
278
 
279
+ #: ../ml-slider.php:722
280
+ msgid "Center align the slideshow"
281
+ msgstr "Alignement central du diaporama"
282
 
283
+ #: ../ml-slider.php:723
284
+ msgid "Center align"
285
+ msgstr "Alignement central"
286
+
287
+ #: ../ml-slider.php:730
288
+ msgid "Start the slideshow on page load"
289
+ msgstr "Démarrer le diaporama au chargement de la page"
290
+
291
+ #: ../ml-slider.php:731
292
+ msgid "Auto play"
293
+ msgstr "Lecture auto"
294
 
295
+ #: ../ml-slider.php:738
296
  msgid ""
297
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
298
  "results in a consistent slideshow size"
301
  "recadrés à un ratio qui aboutit à une taille compatible avec celle du "
302
  "diaporama"
303
 
304
+ #: ../ml-slider.php:739
305
  msgid "Smart crop"
306
  msgstr "Cadrage intelligent"
307
 
308
+ #: ../ml-slider.php:746
309
  msgid ""
310
  "Display as carousel - when selected the effect and direction options will be "
311
  "ignored."
313
  "Afficher sous forme de carrousel - lorsque sélectionné l'effet et les "
314
  "options de direction seront ignorées."
315
 
316
+ #: ../ml-slider.php:747
317
  msgid "Carousel mode"
318
  msgstr "Mode carrousel"
319
 
320
+ #: ../ml-slider.php:754
321
  msgid "Randomise the order of the slides"
322
  msgstr "Aléatorisation de l'ordre des diapositives"
323
 
324
+ #: ../ml-slider.php:762
325
  msgid ""
326
  "Pause the slideshow when hovering over slider, then resume when no longer "
327
  "hovering"
329
  "Mettre le diaporama en pause au survol, puis reprendre lorsqu'il ne l'est "
330
  "plus"
331
 
332
+ #: ../ml-slider.php:763
333
  msgid "Hover pause"
334
  msgstr "Pause au survol"
335
 
336
+ #: ../ml-slider.php:770
337
  msgid "Reverse the animation direction"
338
  msgstr "Inverser le sens de l'animation"
339
 
340
+ #: ../ml-slider.php:771
341
  msgid "Reverse"
342
  msgstr "Inverser"
343
 
344
+ #: ../ml-slider.php:778
345
  msgid "How long to display each slide, in milliseconds"
346
  msgstr "Durée d'affichage de chaque diapositive, en millisecondes"
347
 
348
+ #: ../ml-slider.php:779
349
  msgid "Slide delay"
350
  msgstr "Délai entre les diapositives"
351
 
352
+ #: ../ml-slider.php:779 ../ml-slider.php:787 ../ml-slider.php:866
353
+ #: ../ml-slider.php:882
354
  msgid "ms"
355
  msgstr "ms"
356
 
357
+ #: ../ml-slider.php:786
358
  msgid "Set the speed of animations, in milliseconds"
359
  msgstr "Définir la vitesse des animations, en millisecondes"
360
 
361
+ #: ../ml-slider.php:787
362
  msgid "Animation speed"
363
  msgstr "Vitesse d'animation"
364
 
365
+ #: ../ml-slider.php:794
366
  msgid "Number of squares (width x height)"
367
  msgstr "Nombre de carrés (largeur x hauteur)"
368
 
369
+ #: ../ml-slider.php:795
370
  msgid "Number of squares"
371
  msgstr "Nombre de carrés"
372
 
373
+ #: ../ml-slider.php:803 ../ml-slider.php:804
374
  msgid "Number of slices"
375
  msgstr "Nombre de tranches"
376
 
377
+ #: ../ml-slider.php:811
378
+ msgid "Select the sliding direction"
379
+ msgstr "Choisissez le sens du défilement"
380
+
381
+ #: ../ml-slider.php:811
382
+ msgid "Slide direction"
383
+ msgstr "Sens du défilement"
384
+
385
+ #: ../ml-slider.php:814
386
+ msgid "Horizontal"
387
+ msgstr "Horizontal"
388
+
389
+ #: ../ml-slider.php:815
390
+ msgid "Vertical"
391
+ msgstr "Vertical"
392
+
393
+ #: ../ml-slider.php:820
394
+ msgid "Animation easing effect"
395
+ msgstr "Effet \"easing\" de l'animation"
396
+
397
+ #: ../ml-slider.php:821
398
+ msgid "Easing"
399
+ msgstr "Easing"
400
+
401
+ #: ../ml-slider.php:849
402
  msgid "Set the text for the 'previous' direction item"
403
  msgstr "Définir le texte pour l'élément de direction «précédent»"
404
 
405
+ #: ../ml-slider.php:850
406
  msgid "Previous text"
407
  msgstr "Précédent"
408
 
409
+ #: ../ml-slider.php:857
410
  msgid "Set the text for the 'next' direction item"
411
  msgstr "Définir le texte pour l'élément de direction «suivant»"
412
 
413
+ #: ../ml-slider.php:858
414
  msgid "Next text"
415
  msgstr "Suivant"
416
 
417
+ #: ../ml-slider.php:865
418
  msgid "Delay beetwen squares in ms"
419
  msgstr "Délai entre les carrés en millisecondes"
420
 
421
+ #: ../ml-slider.php:866
422
  msgid "Square delay"
423
  msgstr "Délai entre les carrés"
424
 
425
+ #: ../ml-slider.php:873
426
  msgid "Opacity of title and navigation"
427
  msgstr "Opacité du titre et de la navigation"
428
 
429
+ #: ../ml-slider.php:874
430
  msgid "Opacity"
431
  msgstr "Opacité"
432
 
433
+ #: ../ml-slider.php:881
434
  #, fuzzy
435
  msgid "Set the fade in speed of the caption"
436
  msgstr "Régler le fondu de la vitesse de la légende"
437
 
438
+ #: ../ml-slider.php:882
439
  msgid "Caption speed"
440
  msgstr "Vitesse de la légende"
441
 
442
+ #: ../ml-slider.php:889
443
  msgid "Developer Options"
444
  msgstr "Options pour les développeurs"
445
 
446
+ #: ../ml-slider.php:892
447
  msgid ""
448
  "Specify any custom CSS Classes you would like to be added to the slider "
449
  "wrapper"
451
  "Spécifiez des classes CSS personnalisés que vous souhaitez ajouter à "
452
  "l'enveloppe (wrapper) du diaporama"
453
 
454
+ #: ../ml-slider.php:893
455
  msgid "CSS classes"
456
  msgstr "Classes CSS"
457
 
458
+ #: ../ml-slider.php:900
459
  msgid "Uncheck this is you would like to include your own CSS"
460
  msgstr "Décochez ceci si vous souhaitez inclure votre propre CSS"
461
 
462
+ #: ../ml-slider.php:901
463
  msgid "Print CSS"
464
  msgstr "Imprimer CSS"
465
 
466
+ #: ../ml-slider.php:908
467
  msgid "Uncheck this is you would like to include your own Javascript"
468
  msgstr "Décochez ceci si vous souhaitez inclure votre propre Javascript"
469
 
470
+ #: ../ml-slider.php:909
471
  msgid "Print JS"
472
  msgstr "Imprimer JS"
473
 
474
+ #: ../ml-slider.php:917
475
  msgid "Delete Slider"
476
  msgstr "Effacer diaporama"
477
 
478
+ #: ../ml-slider.php:926
479
  msgid "Usage"
480
  msgstr "Utilisation"
481
 
482
+ #: ../ml-slider.php:932
483
  msgid "Shortcode"
484
  msgstr "Shortcode"
485
 
486
+ #: ../ml-slider.php:938
487
  msgid "Template Include"
488
  msgstr "Inclusion template"
489
 
languages/metaslider.mo CHANGED
Binary file
languages/metaslider.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
- "POT-Creation-Date: 2013-08-20 14:44-0000\n"
5
- "PO-Revision-Date: 2013-08-20 14:44-0000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
@@ -80,7 +80,7 @@ msgstr ""
80
  msgid "No"
81
  msgstr ""
82
 
83
- #: ../ml-slider.php:490 ../ml-slider.php:593
84
  msgid "Size"
85
  msgstr ""
86
 
@@ -92,343 +92,380 @@ msgstr ""
92
  msgid "Mobile Friendly"
93
  msgstr ""
94
 
95
- #: ../ml-slider.php:540
96
- msgid "Slides"
97
  msgstr ""
98
 
99
- #: ../ml-slider.php:543 ../ml-slider.php:544
100
- msgid "Add Slide"
101
  msgstr ""
102
 
103
- #: ../ml-slider.php:563
104
- msgid "Settings"
105
  msgstr ""
106
 
107
- #: ../ml-slider.php:564
108
- msgid "Save"
109
  msgstr ""
110
 
111
- #: ../ml-slider.php:565
112
- msgid "Save & Preview"
113
  msgstr ""
114
 
115
- #: ../ml-slider.php:592
116
- msgid "Set the initial size for the slides (width x height)"
117
  msgstr ""
118
 
119
- #: ../ml-slider.php:596
120
- msgid "Width"
121
  msgstr ""
122
 
123
- #: ../ml-slider.php:597
124
- msgid "Height"
125
  msgstr ""
126
 
127
- #: ../ml-slider.php:601
128
- msgid "Center align the slideshow"
129
  msgstr ""
130
 
131
- #: ../ml-slider.php:602
132
- msgid "Center align"
133
  msgstr ""
134
 
135
- #: ../ml-slider.php:609
136
- msgid "Show slide navigation row"
137
  msgstr ""
138
 
139
- #: ../ml-slider.php:610
140
- msgid "Controls"
 
 
 
 
141
  msgstr ""
142
 
143
- #: ../ml-slider.php:613
144
- msgid "Pager"
145
  msgstr ""
146
 
147
- #: ../ml-slider.php:614
148
- msgid "Navigation"
149
  msgstr ""
150
 
151
- #: ../ml-slider.php:618
152
  msgid "Slide transition effect"
153
  msgstr ""
154
 
155
- #: ../ml-slider.php:619
156
  msgid "Effect"
157
  msgstr ""
158
 
159
- #: ../ml-slider.php:623 ../ml-slider.php:733
160
  msgid "Random"
161
  msgstr ""
162
 
163
- #: ../ml-slider.php:624
164
  msgid "Swirl"
165
  msgstr ""
166
 
167
- #: ../ml-slider.php:625
168
  msgid "Rain"
169
  msgstr ""
170
 
171
- #: ../ml-slider.php:626
172
  msgid "Straight"
173
  msgstr ""
174
 
175
- #: ../ml-slider.php:627
176
  msgid "Slide Down"
177
  msgstr ""
178
 
179
- #: ../ml-slider.php:628
180
  msgid "Slice Up"
181
  msgstr ""
182
 
183
- #: ../ml-slider.php:629
184
  msgid "Slide Up Left"
185
  msgstr ""
186
 
187
- #: ../ml-slider.php:630
188
  msgid "Slice Up Down"
189
  msgstr ""
190
 
191
- #: ../ml-slider.php:631
192
  msgid "Slide Up Down Left"
193
  msgstr ""
194
 
195
- #: ../ml-slider.php:632
196
  msgid "Fold"
197
  msgstr ""
198
 
199
- #: ../ml-slider.php:633
200
  msgid "Fade"
201
  msgstr ""
202
 
203
- #: ../ml-slider.php:634
204
  msgid "Slide In Right"
205
  msgstr ""
206
 
207
- #: ../ml-slider.php:635
208
  msgid "Slide In Left"
209
  msgstr ""
210
 
211
- #: ../ml-slider.php:636
212
  msgid "Box Random"
213
  msgstr ""
214
 
215
- #: ../ml-slider.php:637
216
  msgid "Box Rain"
217
  msgstr ""
218
 
219
- #: ../ml-slider.php:638
220
  msgid "Box Rain Reverse"
221
  msgstr ""
222
 
223
- #: ../ml-slider.php:639
224
  msgid "Box Rain Grow Reverse"
225
  msgstr ""
226
 
227
- #: ../ml-slider.php:640
228
  msgid "Slide"
229
  msgstr ""
230
 
231
- #: ../ml-slider.php:645
232
  msgid "Change the slider style"
233
  msgstr ""
234
 
235
- #: ../ml-slider.php:646
236
  msgid "Theme"
237
  msgstr ""
238
 
239
- #: ../ml-slider.php:667
240
- msgid "Advanced Settings"
241
  msgstr ""
242
 
243
- #: ../ml-slider.php:670
244
- msgid "Start the slideshow on page load"
245
  msgstr ""
246
 
247
- #: ../ml-slider.php:671
248
- msgid "Auto play"
249
  msgstr ""
250
 
251
- #: ../ml-slider.php:678
252
- msgid "Animation easing effect"
253
  msgstr ""
254
 
255
- #: ../ml-slider.php:679
256
- msgid "Easing"
257
  msgstr ""
258
 
259
- #: ../ml-slider.php:707
260
- msgid "Select the sliding direction"
261
  msgstr ""
262
 
263
- #: ../ml-slider.php:707
264
- msgid "Slide direction"
265
  msgstr ""
266
 
267
- #: ../ml-slider.php:710
268
- msgid "Horizontal"
269
  msgstr ""
270
 
271
- #: ../ml-slider.php:711
272
- msgid "Vertical"
 
 
 
 
273
  msgstr ""
274
 
275
- #: ../ml-slider.php:716
 
 
 
 
276
  msgid ""
277
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
278
  "results in a consistent slideshow size"
279
  msgstr ""
280
 
281
- #: ../ml-slider.php:717
282
  msgid "Smart crop"
283
  msgstr ""
284
 
285
- #: ../ml-slider.php:724
286
  msgid ""
287
  "Display as carousel - when selected the effect and direction options will be "
288
  "ignored."
289
  msgstr ""
290
 
291
- #: ../ml-slider.php:725
292
  msgid "Carousel mode"
293
  msgstr ""
294
 
295
- #: ../ml-slider.php:732
296
  msgid "Randomise the order of the slides"
297
  msgstr ""
298
 
299
- #: ../ml-slider.php:740
300
  msgid ""
301
  "Pause the slideshow when hovering over slider, then resume when no longer "
302
  "hovering"
303
  msgstr ""
304
 
305
- #: ../ml-slider.php:741
306
  msgid "Hover pause"
307
  msgstr ""
308
 
309
- #: ../ml-slider.php:748
310
  msgid "Reverse the animation direction"
311
  msgstr ""
312
 
313
- #: ../ml-slider.php:749
314
  msgid "Reverse"
315
  msgstr ""
316
 
317
- #: ../ml-slider.php:756
318
  msgid "How long to display each slide, in milliseconds"
319
  msgstr ""
320
 
321
- #: ../ml-slider.php:757
322
  msgid "Slide delay"
323
  msgstr ""
324
 
325
- #: ../ml-slider.php:760 ../ml-slider.php:809 ../ml-slider.php:825
 
326
  msgid "ms"
327
  msgstr ""
328
 
329
- #: ../ml-slider.php:764
330
  msgid "Set the speed of animations, in milliseconds"
331
  msgstr ""
332
 
333
- #: ../ml-slider.php:765
334
  msgid "Animation speed"
335
  msgstr ""
336
 
337
- #: ../ml-slider.php:772
338
  msgid "Number of squares (width x height)"
339
  msgstr ""
340
 
341
- #: ../ml-slider.php:773
342
  msgid "Number of squares"
343
  msgstr ""
344
 
345
- #: ../ml-slider.php:781 ../ml-slider.php:782
346
  msgid "Number of slices"
347
  msgstr ""
348
 
349
- #: ../ml-slider.php:789
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  msgid "Set the text for the 'previous' direction item"
351
  msgstr ""
352
 
353
- #: ../ml-slider.php:790
354
  msgid "Previous text"
355
  msgstr ""
356
 
357
- #: ../ml-slider.php:797
358
  msgid "Set the text for the 'next' direction item"
359
  msgstr ""
360
 
361
- #: ../ml-slider.php:798
362
  msgid "Next text"
363
  msgstr ""
364
 
365
- #: ../ml-slider.php:805
366
  msgid "Delay beetwen squares in ms"
367
  msgstr ""
368
 
369
- #: ../ml-slider.php:806
370
  msgid "Square delay"
371
  msgstr ""
372
 
373
- #: ../ml-slider.php:813
374
  msgid "Opacity of title and navigation"
375
  msgstr ""
376
 
377
- #: ../ml-slider.php:814
378
  msgid "Opacity"
379
  msgstr ""
380
 
381
- #: ../ml-slider.php:821
382
  msgid "Set the fade in speed of the caption"
383
  msgstr ""
384
 
385
- #: ../ml-slider.php:822
386
  msgid "Caption speed"
387
  msgstr ""
388
 
389
- #: ../ml-slider.php:829
390
  msgid "Developer Options"
391
  msgstr ""
392
 
393
- #: ../ml-slider.php:832
394
  msgid ""
395
  "Specify any custom CSS Classes you would like to be added to the slider "
396
  "wrapper"
397
  msgstr ""
398
 
399
- #: ../ml-slider.php:833
400
  msgid "CSS classes"
401
  msgstr ""
402
 
403
- #: ../ml-slider.php:840
404
  msgid "Uncheck this is you would like to include your own CSS"
405
  msgstr ""
406
 
407
- #: ../ml-slider.php:841
408
  msgid "Print CSS"
409
  msgstr ""
410
 
411
- #: ../ml-slider.php:848
412
  msgid "Uncheck this is you would like to include your own Javascript"
413
  msgstr ""
414
 
415
- #: ../ml-slider.php:849
416
  msgid "Print JS"
417
  msgstr ""
418
 
419
- #: ../ml-slider.php:857
420
  msgid "Delete Slider"
421
  msgstr ""
422
 
423
- #: ../ml-slider.php:866
424
  msgid "Usage"
425
  msgstr ""
426
 
427
- #: ../ml-slider.php:872
428
  msgid "Shortcode"
429
  msgstr ""
430
 
431
- #: ../ml-slider.php:878
432
  msgid "Template Include"
433
  msgstr ""
434
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: metaslider\n"
4
+ "POT-Creation-Date: 2013-09-18 14:37-0000\n"
5
+ "PO-Revision-Date: 2013-09-18 14:37-0000\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "MIME-Version: 1.0\n"
80
  msgid "No"
81
  msgstr ""
82
 
83
+ #: ../ml-slider.php:490 ../ml-slider.php:633
84
  msgid "Size"
85
  msgstr ""
86
 
92
  msgid "Mobile Friendly"
93
  msgstr ""
94
 
95
+ #: ../ml-slider.php:519
96
+ msgid "New slideshow created. Click 'Add Slide' to get started!"
97
  msgstr ""
98
 
99
+ #: ../ml-slider.php:536
100
+ msgid "or"
101
  msgstr ""
102
 
103
+ #: ../ml-slider.php:537
104
+ msgid "Add New Slideshow"
105
  msgstr ""
106
 
107
+ #: ../ml-slider.php:553
108
+ msgid "Create your first slideshow"
109
  msgstr ""
110
 
111
+ #: ../ml-slider.php:570
112
+ msgid "Slides"
113
  msgstr ""
114
 
115
+ #: ../ml-slider.php:573 ../ml-slider.php:574
116
+ msgid "Add Slide"
117
  msgstr ""
118
 
119
+ #: ../ml-slider.php:593
120
+ msgid "Settings"
121
  msgstr ""
122
 
123
+ #: ../ml-slider.php:594
124
+ msgid "Save"
125
  msgstr ""
126
 
127
+ #: ../ml-slider.php:595
128
+ msgid "Save & Preview"
129
  msgstr ""
130
 
131
+ #: ../ml-slider.php:623
132
+ msgid "Slideshow title"
133
  msgstr ""
134
 
135
+ #: ../ml-slider.php:624
136
+ msgid "Title"
137
  msgstr ""
138
 
139
+ #: ../ml-slider.php:632
140
+ msgid "Set the initial size for the slides (width x height)"
141
+ msgstr ""
142
+
143
+ #: ../ml-slider.php:633
144
+ msgid "px"
145
  msgstr ""
146
 
147
+ #: ../ml-slider.php:636
148
+ msgid "Width"
149
  msgstr ""
150
 
151
+ #: ../ml-slider.php:637
152
+ msgid "Height"
153
  msgstr ""
154
 
155
+ #: ../ml-slider.php:641
156
  msgid "Slide transition effect"
157
  msgstr ""
158
 
159
+ #: ../ml-slider.php:642
160
  msgid "Effect"
161
  msgstr ""
162
 
163
+ #: ../ml-slider.php:646 ../ml-slider.php:755
164
  msgid "Random"
165
  msgstr ""
166
 
167
+ #: ../ml-slider.php:647
168
  msgid "Swirl"
169
  msgstr ""
170
 
171
+ #: ../ml-slider.php:648
172
  msgid "Rain"
173
  msgstr ""
174
 
175
+ #: ../ml-slider.php:649
176
  msgid "Straight"
177
  msgstr ""
178
 
179
+ #: ../ml-slider.php:650
180
  msgid "Slide Down"
181
  msgstr ""
182
 
183
+ #: ../ml-slider.php:651
184
  msgid "Slice Up"
185
  msgstr ""
186
 
187
+ #: ../ml-slider.php:652
188
  msgid "Slide Up Left"
189
  msgstr ""
190
 
191
+ #: ../ml-slider.php:653
192
  msgid "Slice Up Down"
193
  msgstr ""
194
 
195
+ #: ../ml-slider.php:654
196
  msgid "Slide Up Down Left"
197
  msgstr ""
198
 
199
+ #: ../ml-slider.php:655
200
  msgid "Fold"
201
  msgstr ""
202
 
203
+ #: ../ml-slider.php:656
204
  msgid "Fade"
205
  msgstr ""
206
 
207
+ #: ../ml-slider.php:657
208
  msgid "Slide In Right"
209
  msgstr ""
210
 
211
+ #: ../ml-slider.php:658
212
  msgid "Slide In Left"
213
  msgstr ""
214
 
215
+ #: ../ml-slider.php:659
216
  msgid "Box Random"
217
  msgstr ""
218
 
219
+ #: ../ml-slider.php:660
220
  msgid "Box Rain"
221
  msgstr ""
222
 
223
+ #: ../ml-slider.php:661
224
  msgid "Box Rain Reverse"
225
  msgstr ""
226
 
227
+ #: ../ml-slider.php:662
228
  msgid "Box Rain Grow Reverse"
229
  msgstr ""
230
 
231
+ #: ../ml-slider.php:663
232
  msgid "Slide"
233
  msgstr ""
234
 
235
+ #: ../ml-slider.php:668
236
  msgid "Change the slider style"
237
  msgstr ""
238
 
239
+ #: ../ml-slider.php:669
240
  msgid "Theme"
241
  msgstr ""
242
 
243
+ #: ../ml-slider.php:690
244
+ msgid "Controls"
245
  msgstr ""
246
 
247
+ #: ../ml-slider.php:693 ../ml-slider.php:707
248
+ msgid "Show slide navigation row"
249
  msgstr ""
250
 
251
+ #: ../ml-slider.php:694
252
+ msgid "Arrows"
253
  msgstr ""
254
 
255
+ #: ../ml-slider.php:708
256
+ msgid "Navigation"
257
  msgstr ""
258
 
259
+ #: ../ml-slider.php:711
260
+ msgid "Hidden"
261
  msgstr ""
262
 
263
+ #: ../ml-slider.php:712
264
+ msgid "Dots"
265
  msgstr ""
266
 
267
+ #: ../ml-slider.php:719
268
+ msgid "Advanced Settings"
269
  msgstr ""
270
 
271
+ #: ../ml-slider.php:722
272
+ msgid "Center align the slideshow"
273
  msgstr ""
274
 
275
+ #: ../ml-slider.php:723
276
+ msgid "Center align"
277
+ msgstr ""
278
+
279
+ #: ../ml-slider.php:730
280
+ msgid "Start the slideshow on page load"
281
  msgstr ""
282
 
283
+ #: ../ml-slider.php:731
284
+ msgid "Auto play"
285
+ msgstr ""
286
+
287
+ #: ../ml-slider.php:738
288
  msgid ""
289
  "Smart Crop ensures your responsive slides are cropped to a ratio that "
290
  "results in a consistent slideshow size"
291
  msgstr ""
292
 
293
+ #: ../ml-slider.php:739
294
  msgid "Smart crop"
295
  msgstr ""
296
 
297
+ #: ../ml-slider.php:746
298
  msgid ""
299
  "Display as carousel - when selected the effect and direction options will be "
300
  "ignored."
301
  msgstr ""
302
 
303
+ #: ../ml-slider.php:747
304
  msgid "Carousel mode"
305
  msgstr ""
306
 
307
+ #: ../ml-slider.php:754
308
  msgid "Randomise the order of the slides"
309
  msgstr ""
310
 
311
+ #: ../ml-slider.php:762
312
  msgid ""
313
  "Pause the slideshow when hovering over slider, then resume when no longer "
314
  "hovering"
315
  msgstr ""
316
 
317
+ #: ../ml-slider.php:763
318
  msgid "Hover pause"
319
  msgstr ""
320
 
321
+ #: ../ml-slider.php:770
322
  msgid "Reverse the animation direction"
323
  msgstr ""
324
 
325
+ #: ../ml-slider.php:771
326
  msgid "Reverse"
327
  msgstr ""
328
 
329
+ #: ../ml-slider.php:778
330
  msgid "How long to display each slide, in milliseconds"
331
  msgstr ""
332
 
333
+ #: ../ml-slider.php:779
334
  msgid "Slide delay"
335
  msgstr ""
336
 
337
+ #: ../ml-slider.php:779 ../ml-slider.php:787 ../ml-slider.php:866
338
+ #: ../ml-slider.php:882
339
  msgid "ms"
340
  msgstr ""
341
 
342
+ #: ../ml-slider.php:786
343
  msgid "Set the speed of animations, in milliseconds"
344
  msgstr ""
345
 
346
+ #: ../ml-slider.php:787
347
  msgid "Animation speed"
348
  msgstr ""
349
 
350
+ #: ../ml-slider.php:794
351
  msgid "Number of squares (width x height)"
352
  msgstr ""
353
 
354
+ #: ../ml-slider.php:795
355
  msgid "Number of squares"
356
  msgstr ""
357
 
358
+ #: ../ml-slider.php:803 ../ml-slider.php:804
359
  msgid "Number of slices"
360
  msgstr ""
361
 
362
+ #: ../ml-slider.php:811
363
+ msgid "Select the sliding direction"
364
+ msgstr ""
365
+
366
+ #: ../ml-slider.php:811
367
+ msgid "Slide direction"
368
+ msgstr ""
369
+
370
+ #: ../ml-slider.php:814
371
+ msgid "Horizontal"
372
+ msgstr ""
373
+
374
+ #: ../ml-slider.php:815
375
+ msgid "Vertical"
376
+ msgstr ""
377
+
378
+ #: ../ml-slider.php:820
379
+ msgid "Animation easing effect"
380
+ msgstr ""
381
+
382
+ #: ../ml-slider.php:821
383
+ msgid "Easing"
384
+ msgstr ""
385
+
386
+ #: ../ml-slider.php:849
387
  msgid "Set the text for the 'previous' direction item"
388
  msgstr ""
389
 
390
+ #: ../ml-slider.php:850
391
  msgid "Previous text"
392
  msgstr ""
393
 
394
+ #: ../ml-slider.php:857
395
  msgid "Set the text for the 'next' direction item"
396
  msgstr ""
397
 
398
+ #: ../ml-slider.php:858
399
  msgid "Next text"
400
  msgstr ""
401
 
402
+ #: ../ml-slider.php:865
403
  msgid "Delay beetwen squares in ms"
404
  msgstr ""
405
 
406
+ #: ../ml-slider.php:866
407
  msgid "Square delay"
408
  msgstr ""
409
 
410
+ #: ../ml-slider.php:873
411
  msgid "Opacity of title and navigation"
412
  msgstr ""
413
 
414
+ #: ../ml-slider.php:874
415
  msgid "Opacity"
416
  msgstr ""
417
 
418
+ #: ../ml-slider.php:881
419
  msgid "Set the fade in speed of the caption"
420
  msgstr ""
421
 
422
+ #: ../ml-slider.php:882
423
  msgid "Caption speed"
424
  msgstr ""
425
 
426
+ #: ../ml-slider.php:889
427
  msgid "Developer Options"
428
  msgstr ""
429
 
430
+ #: ../ml-slider.php:892
431
  msgid ""
432
  "Specify any custom CSS Classes you would like to be added to the slider "
433
  "wrapper"
434
  msgstr ""
435
 
436
+ #: ../ml-slider.php:893
437
  msgid "CSS classes"
438
  msgstr ""
439
 
440
+ #: ../ml-slider.php:900
441
  msgid "Uncheck this is you would like to include your own CSS"
442
  msgstr ""
443
 
444
+ #: ../ml-slider.php:901
445
  msgid "Print CSS"
446
  msgstr ""
447
 
448
+ #: ../ml-slider.php:908
449
  msgid "Uncheck this is you would like to include your own Javascript"
450
  msgstr ""
451
 
452
+ #: ../ml-slider.php:909
453
  msgid "Print JS"
454
  msgstr ""
455
 
456
+ #: ../ml-slider.php:917
457
  msgid "Delete Slider"
458
  msgstr ""
459
 
460
+ #: ../ml-slider.php:926
461
  msgid "Usage"
462
  msgstr ""
463
 
464
+ #: ../ml-slider.php:932
465
  msgid "Shortcode"
466
  msgstr ""
467
 
468
+ #: ../ml-slider.php:938
469
  msgid "Template Include"
470
  msgstr ""
471
 
ml-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Meta Slider
4
  * Plugin URI: http://www.metaslider.com
5
  * Description: 4 sliders in 1! Choose from Nivo Slider, Flex Slider, Coin Slider or Responsive Slides.
6
- * Version: 2.2.2
7
  * Author: Matcha Labs
8
  * Author URI: http://www.matchalabs.com
9
  * License: GPLv2 or later
@@ -14,7 +14,7 @@
14
  * GNU General Public License for more details.
15
  */
16
 
17
- define('METASLIDER_VERSION', '2.2.2');
18
  define('METASLIDER_BASE_URL', plugin_dir_url(__FILE__));
19
  define('METASLIDER_ASSETS_URL', METASLIDER_BASE_URL . 'assets/');
20
  define('METASLIDER_BASE_DIR_LONG', dirname(__FILE__));
@@ -454,14 +454,14 @@ class MetaSliderPlugin {
454
  *
455
  * @return array all published sliders
456
  */
457
- private function all_meta_sliders() {
458
  $sliders = false;
459
 
460
  // list the tabs
461
  $args = array(
462
  'post_type' => 'ml-slider',
463
  'post_status' => 'publish',
464
- 'orderby' => 'date',
465
  'order' => 'ASC',
466
  'posts_per_page' => -1
467
  );
@@ -501,6 +501,7 @@ class MetaSliderPlugin {
501
  $this->admin_process();
502
  $this->go_pro_cta();
503
  $this->system_check();
 
504
  ?>
505
 
506
  <script type='text/javascript'>
@@ -509,10 +510,33 @@ class MetaSliderPlugin {
509
 
510
  <div class="wrap metaslider">
511
  <form accept-charset="UTF-8" action="?page=metaslider&id=<?php echo $this->slider->id ?>" method="post">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
 
513
- <h2 class="nav-tab-wrapper">
514
- <?php
515
- if ($tabs = $this->all_meta_sliders()) {
 
 
 
 
516
  foreach ($tabs as $tab) {
517
  if ($tab['active']) {
518
  echo "<div class='nav-tab nav-tab-active'><input type='text' name='title' value='" . $tab['title'] . "' onkeypress='this.style.width = ((this.value.length + 1) * 9) + \"px\"' /></div>";
@@ -520,11 +544,17 @@ class MetaSliderPlugin {
520
  echo "<a href='?page=metaslider&id={$tab['id']}' class='nav-tab'>" . $tab['title'] . "</a>";
521
  }
522
  }
 
 
523
  }
524
- ?>
525
-
526
- <a href="?page=metaslider&add=true" id="create_new_tab" class="nav-tab">+</a>
527
- </h2>
 
 
 
 
528
 
529
  <?php
530
  if (!$this->slider->id) {
@@ -571,11 +601,11 @@ class MetaSliderPlugin {
571
  <tr>
572
  <td colspan='2' class='slider-lib-row'>
573
  <div class='slider-lib flex'>
574
- <label for='flex' title='<?php echo $this->get_library_details(2.1, true, 17, true); ?>' class='tipsy-tooltip-top'>FlexSlider</label>
575
  <input class="select-slider" id='flex' rel='flex' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'flex') echo 'checked=checked' ?> value='flex' />
576
  </div>
577
  <div class='slider-lib responsive'>
578
- <label for='responsive' title='<?php echo $this->get_library_details(1.53, true, 3, true); ?>' class='tipsy-tooltip-top'>Responsive</label>
579
  <input class="select-slider" id='responsive' rel='responsive' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'responsive') echo 'checked=checked' ?> value='responsive' />
580
  </div>
581
  <div class='slider-lib nivo'>
@@ -588,30 +618,23 @@ class MetaSliderPlugin {
588
  </div>
589
  </td>
590
  </tr>
 
591
  <tr>
592
- <td width='40%' class='tipsy-tooltip' title="<?php _e("Set the initial size for the slides (width x height)", 'metaslider') ?>">
593
- <?php _e("Size", 'metaslider') ?>
594
- </td>
595
- <td>
596
- <input type='text' size='3' class="width tipsytop" title='<?php _e("Width", 'metaslider') ?>' name="settings[width]" value='<?php echo $this->slider->get_setting('width') ?>' />px X
597
- <input type='text' size='3' class="height tipsytop" title='<?php _e("Height", 'metaslider') ?>' name="settings[height]" value='<?php echo $this->slider->get_setting('height') ?>' />px
598
- </td>
599
- </tr>
600
- <tr>
601
- <td class='tipsy-tooltip' title="<?php _e("Center align the slideshow", 'metaslider') ?>">
602
- <?php _e("Center align", 'metaslider') ?>
603
  </td>
604
  <td>
605
- <input class='option coin responsive nivo flex' type='checkbox' name="settings[center]" <?php if ($this->slider->get_setting('center') == 'true') echo 'checked=checked' ?> />
606
  </td>
607
  </tr>
 
608
  <tr>
609
- <td class='tipsy-tooltip' title="<?php _e("Show slide navigation row", 'metaslider') ?>">
610
- <?php _e("Controls", 'metaslider') ?>
611
  </td>
612
  <td>
613
- <label class='option responsive nivo flex' ><input type='checkbox' name="settings[navigation]" <?php if ($this->slider->get_setting('navigation') == 'true') echo 'checked=checked' ?> /><?php _e("Pager", 'metaslider') ?></label>
614
- <label class='option coin responsive nivo flex' ><input type='checkbox' name="settings[links]" <?php if ($this->slider->get_setting('links') == 'true') echo 'checked=checked' ?> /><?php _e("Navigation", 'metaslider') ?></label>
615
  </td>
616
  </tr>
617
  <tr>
@@ -664,52 +687,51 @@ class MetaSliderPlugin {
664
  </td>
665
  </tr>
666
  <tr>
667
- <td colspan='2' class='highlight'><?php _e("Advanced Settings", 'metaslider') ?></td>
668
  </tr>
669
  <tr>
670
- <td width='40%' class='tipsy-tooltip' title="<?php _e("Start the slideshow on page load", 'metaslider') ?>">
671
- <?php _e("Auto play", 'metaslider') ?>
672
  </td>
673
  <td>
674
- <input class='option responsive nivo flex' type='checkbox' name="settings[autoPlay]" <?php if ($this->slider->get_setting('autoPlay') == 'true') echo 'checked=checked' ?> />
675
  </td>
676
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
677
  <tr>
678
- <td class='tipsy-tooltip' title="<?php _e("Animation easing effect", 'metaslider') ?>">
679
- <?php _e("Easing", 'metaslider') ?>
680
  </td>
681
  <td>
682
- <select name="settings[easing]" class='option flex'>
683
- <?php
684
- $options = array(
685
- 'linear','swing','jswing','easeInQuad','easeOutQuad','easeInOutQuad',
686
- 'easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart',
687
- 'easeOutQuart','easeInOutQuart','easeInQuint','easeOutQuint',
688
- 'easeInOutQuint','easeInSine','easeOutSine','easeInOutSine',
689
- 'easeInExpo','easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc',
690
- 'easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic',
691
- 'easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce',
692
- 'easeInOutBounce'
693
- );
694
-
695
- foreach ($options as $option) {
696
- echo "<option value='{$option}'";
697
- if ($this->slider->get_setting('easing') == $option) {
698
- echo 'selected=selected';
699
- }
700
- echo ">{$option}</option>";
701
- }
702
- ?>
703
- </select>
704
  </td>
705
  </tr>
706
  <tr>
707
- <td class='tipsy-tooltip' title="<?php _e("Select the sliding direction", 'metaslider') ?>"><?php _e("Slide direction", 'metaslider') ?></td>
 
 
708
  <td>
709
- <select class='option flex' name="settings[direction]">
710
- <option value='horizontal' <?php if ($this->slider->get_setting('direction') == 'horizontal') echo 'selected=selected' ?>><?php _e("Horizontal", 'metaslider') ?></option>
711
- <option value='vertical' <?php if ($this->slider->get_setting('direction') == 'vertical') echo 'selected=selected' ?>><?php _e("Vertical", 'metaslider') ?></option>
712
- </select>
713
  </td>
714
  </tr>
715
  <tr>
@@ -754,18 +776,18 @@ class MetaSliderPlugin {
754
  </tr>
755
  <tr>
756
  <td class='tipsy-tooltip' title="<?php _e("How long to display each slide, in milliseconds", 'metaslider') ?>">
757
- <?php _e("Slide delay", 'metaslider') ?>
758
  </td>
759
  <td>
760
- <input class='option coin flex responsive nivo' type='number' min='500' max='10000' step='100' name="settings[delay]" value='<?php echo $this->slider->get_setting('delay') ?>' /><?php _e("ms", 'metaslider') ?>
761
  </td>
762
  </tr>
763
  <tr>
764
  <td class='tipsy-tooltip' title="<?php _e("Set the speed of animations, in milliseconds", 'metaslider') ?>">
765
- <?php _e("Animation speed", 'metaslider') ?>
766
  </td>
767
  <td>
768
- <input class='option flex responsive nivo' type='number' min='0' max='2000' step='100' name="settings[animationSpeed]" value='<?php echo $this->slider->get_setting('animationSpeed') ?>' />ms
769
  </td>
770
  </tr>
771
  <tr>
@@ -785,6 +807,44 @@ class MetaSliderPlugin {
785
  <input class='option nivo' type='number' min='1' max='20' step='1' name="settings[slices]" value='<?php echo $this->slider->get_setting('slices') ?>' />
786
  </td>
787
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
  <tr>
789
  <td class='tipsy-tooltip' title="<?php _e("Set the text for the 'previous' direction item", 'metaslider') ?>">
790
  <?php _e("Previous text", 'metaslider') ?>
@@ -803,10 +863,10 @@ class MetaSliderPlugin {
803
  </tr>
804
  <tr>
805
  <td class='tipsy-tooltip' title="<?php _e("Delay beetwen squares in ms", 'metaslider') ?>">
806
- <?php _e("Square delay", 'metaslider') ?>
807
  </td>
808
  <td>
809
- <input class='option coin' type='number' min='0' max='500' step='10' name="settings[sDelay]" value='<?php echo $this->slider->get_setting('sDelay') ?>' /><?php _e("ms", 'metaslider') ?>
810
  </td>
811
  </tr>
812
  <tr>
@@ -819,10 +879,10 @@ class MetaSliderPlugin {
819
  </tr>
820
  <tr>
821
  <td class='tipsy-tooltip' title="<?php _e("Set the fade in speed of the caption", 'metaslider') ?>">
822
- <?php _e("Caption speed", 'metaslider') ?>
823
  </td>
824
  <td>
825
- <input class='option coin' type='number' min='0' max='10000' step='100' name="settings[titleSpeed]" value='<?php echo $this->slider->get_setting('titleSpeed') ?>' /><?php _e("ms", 'metaslider') ?>
826
  </td>
827
  </tr>
828
  <tr>
@@ -910,4 +970,4 @@ class MetaSliderPlugin {
910
  }
911
 
912
  $metaslider = new MetaSliderPlugin();
913
- ?>
3
  * Plugin Name: Meta Slider
4
  * Plugin URI: http://www.metaslider.com
5
  * Description: 4 sliders in 1! Choose from Nivo Slider, Flex Slider, Coin Slider or Responsive Slides.
6
+ * Version: 2.3
7
  * Author: Matcha Labs
8
  * Author URI: http://www.matchalabs.com
9
  * License: GPLv2 or later
14
  * GNU General Public License for more details.
15
  */
16
 
17
+ define('METASLIDER_VERSION', '2.3');
18
  define('METASLIDER_BASE_URL', plugin_dir_url(__FILE__));
19
  define('METASLIDER_ASSETS_URL', METASLIDER_BASE_URL . 'assets/');
20
  define('METASLIDER_BASE_DIR_LONG', dirname(__FILE__));
454
  *
455
  * @return array all published sliders
456
  */
457
+ private function all_meta_sliders($sort_key = 'date') {
458
  $sliders = false;
459
 
460
  // list the tabs
461
  $args = array(
462
  'post_type' => 'ml-slider',
463
  'post_status' => 'publish',
464
+ 'orderby' => $sort_key,
465
  'order' => 'ASC',
466
  'posts_per_page' => -1
467
  );
501
  $this->admin_process();
502
  $this->go_pro_cta();
503
  $this->system_check();
504
+ $max_tabs = apply_filters('metaslider_max_tabs', 0);
505
  ?>
506
 
507
  <script type='text/javascript'>
510
 
511
  <div class="wrap metaslider">
512
  <form accept-charset="UTF-8" action="?page=metaslider&id=<?php echo $this->slider->id ?>" method="post">
513
+ <?php
514
+ $title = "";
515
+
516
+ if ($tabs = $this->all_meta_sliders()) {
517
+ if ($max_tabs && count($tabs) > $max_tabs) {
518
+ if (isset($_GET['add']) && $_GET['add'] == 'true') {
519
+ echo "<div id='message' class='updated'><p>" . __("New slideshow created. Click 'Add Slide' to get started!", 'metaslider') . "</p></div>";
520
+ }
521
+ echo "<div style='margin-top: 20px;'><label for='select-slider'>Select Slider: </label>";
522
+ echo "<select name='select-slider' onchange='if (this.value) window.location.href=this.value'>";
523
+
524
+ $tabs = $this->all_meta_sliders('title');
525
+
526
+ foreach ($tabs as $tab) {
527
+ $selected = $tab['active'] ? " selected='selected'" : "";
528
+
529
+ if ($tab['active']) {
530
+ $title = $tab['title'];
531
+ }
532
 
533
+ echo "<option value='?page=metaslider&id={$tab['id']}'{$selected}>{$tab['title']}</option>";
534
+
535
+ }
536
+ echo "</select> " . __('or', 'metaslider') . " ";
537
+ echo "<a href='?page=metaslider&add=true'>" . __('Add New Slideshow', 'metaslider') . "</a></div>";
538
+ } else {
539
+ echo "<h2 class='nav-tab-wrapper'>";
540
  foreach ($tabs as $tab) {
541
  if ($tab['active']) {
542
  echo "<div class='nav-tab nav-tab-active'><input type='text' name='title' value='" . $tab['title'] . "' onkeypress='this.style.width = ((this.value.length + 1) * 9) + \"px\"' /></div>";
544
  echo "<a href='?page=metaslider&id={$tab['id']}' class='nav-tab'>" . $tab['title'] . "</a>";
545
  }
546
  }
547
+ echo "<a href='?page=metaslider&add=true' id='create_new_tab' class='nav-tab'>+</a>";
548
+ echo "</h2>";
549
  }
550
+ } else {
551
+ echo "<h2 class='nav-tab-wrapper'>";
552
+ echo "<a href='?page=metaslider&add=true' id='create_new_tab' class='nav-tab'>+</a>";
553
+ echo "<div class='bubble'>" . __("Create your first slideshow") . "</div>";
554
+ echo "</h2>";
555
+ }
556
+
557
+ ?>
558
 
559
  <?php
560
  if (!$this->slider->id) {
601
  <tr>
602
  <td colspan='2' class='slider-lib-row'>
603
  <div class='slider-lib flex'>
604
+ <label for='flex' title='<?php echo $this->get_library_details(2.2, true, 17, true); ?>' class='tipsy-tooltip-top'>FlexSlider</label>
605
  <input class="select-slider" id='flex' rel='flex' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'flex') echo 'checked=checked' ?> value='flex' />
606
  </div>
607
  <div class='slider-lib responsive'>
608
+ <label for='responsive' title='<?php echo $this->get_library_details(1.54, true, 3, true); ?>' class='tipsy-tooltip-top'>Responsive</label>
609
  <input class="select-slider" id='responsive' rel='responsive' type='radio' name="settings[type]" <?php if ($this->slider->get_setting('type') == 'responsive') echo 'checked=checked' ?> value='responsive' />
610
  </div>
611
  <div class='slider-lib nivo'>
618
  </div>
619
  </td>
620
  </tr>
621
+ <?php if ($max_tabs && count($this->all_meta_sliders()) > $max_tabs) { ?>
622
  <tr>
623
+ <td width='40%' class='tipsy-tooltip' title="<?php _e("Slideshow title", 'metaslider') ?>">
624
+ <?php _e("Title", 'metaslider') ?>
 
 
 
 
 
 
 
 
 
625
  </td>
626
  <td>
627
+ <input type='text' class="title tipsytop" name="title" value='<?php echo $title ?>' />
628
  </td>
629
  </tr>
630
+ <?php } ?>
631
  <tr>
632
+ <td width='40%' class='tipsy-tooltip' title="<?php _e("Set the initial size for the slides (width x height)", 'metaslider') ?>">
633
+ <?php _e("Size", 'metaslider') ?> (<?php _e("px", 'metaslider') ?>)
634
  </td>
635
  <td>
636
+ <?php _e("Width", 'metaslider') ?>: <input type='text' size='3' class="width tipsy-tooltip-top" title='<?php _e("Width", 'metaslider') ?>' name="settings[width]" value='<?php echo $this->slider->get_setting('width') ?>' />
637
+ <?php _e("Height", 'metaslider') ?>: <input type='text' size='3' class="height tipsy-tooltip-top" title='<?php _e("Height", 'metaslider') ?>' name="settings[height]" value='<?php echo $this->slider->get_setting('height') ?>' />
638
  </td>
639
  </tr>
640
  <tr>
687
  </td>
688
  </tr>
689
  <tr>
690
+ <td colspan='2' class='highlight'><?php _e("Controls", 'metaslider') ?></td>
691
  </tr>
692
  <tr>
693
+ <td class='tipsy-tooltip' title="<?php _e("Show slide navigation row", 'metaslider') ?>">
694
+ <?php _e("Arrows", 'metaslider') ?>
695
  </td>
696
  <td>
697
+ <label class='option coin responsive nivo flex' ><input type='checkbox' name="settings[links]" <?php if ($this->slider->get_setting('links') == 'true') echo 'checked=checked' ?> /></label>
698
  </td>
699
  </tr>
700
+
701
+ <?php
702
+
703
+ $falseChecked = $this->slider->get_setting('navigation') == 'false' ? 'checked' : '';
704
+ $trueChecked = $this->slider->get_setting('navigation') == 'true' ? 'checked' : '';
705
+
706
+ $navigation_row = "<tr>
707
+ <td class='tipsy-tooltip' title='" . __("Show slide navigation row", 'metaslider') . "'>
708
+ " . __("Navigation", 'metaslider') . "
709
+ </td>
710
+ <td style='padding: 0 8px 8px 8px;'>
711
+ <input type='radio' name='settings[navigation]' value='false' {$falseChecked} />" . __("Hidden", 'metaslider') . "</option><br />
712
+ <input type='radio' name='settings[navigation]' value='true' {$trueChecked} />" . __("Dots", 'metaslider') . "</option><br />
713
+ </td>
714
+ </tr>";
715
+
716
+ echo apply_filters('metaslider_navigation_options', $navigation_row, $this->slider);
717
+ ?>
718
+ <tr>
719
+ <td colspan='2' class='highlight'><?php _e("Advanced Settings", 'metaslider') ?></td>
720
+ </tr>
721
  <tr>
722
+ <td class='tipsy-tooltip' title="<?php _e("Center align the slideshow", 'metaslider') ?>">
723
+ <?php _e("Center align", 'metaslider') ?>
724
  </td>
725
  <td>
726
+ <input class='option coin responsive nivo flex' type='checkbox' name="settings[center]" <?php if ($this->slider->get_setting('center') == 'true') echo 'checked=checked' ?> />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
727
  </td>
728
  </tr>
729
  <tr>
730
+ <td width='40%' class='tipsy-tooltip' title="<?php _e("Start the slideshow on page load", 'metaslider') ?>">
731
+ <?php _e("Auto play", 'metaslider') ?>
732
+ </td>
733
  <td>
734
+ <input class='option responsive nivo flex' type='checkbox' name="settings[autoPlay]" <?php if ($this->slider->get_setting('autoPlay') == 'true') echo 'checked=checked' ?> />
 
 
 
735
  </td>
736
  </tr>
737
  <tr>
776
  </tr>
777
  <tr>
778
  <td class='tipsy-tooltip' title="<?php _e("How long to display each slide, in milliseconds", 'metaslider') ?>">
779
+ <?php _e("Slide delay", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
780
  </td>
781
  <td>
782
+ <input class='option coin flex responsive nivo' type='number' min='500' max='10000' step='100' name="settings[delay]" value='<?php echo $this->slider->get_setting('delay') ?>' />
783
  </td>
784
  </tr>
785
  <tr>
786
  <td class='tipsy-tooltip' title="<?php _e("Set the speed of animations, in milliseconds", 'metaslider') ?>">
787
+ <?php _e("Animation speed", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
788
  </td>
789
  <td>
790
+ <input class='option flex responsive nivo' type='number' min='0' max='2000' step='100' name="settings[animationSpeed]" value='<?php echo $this->slider->get_setting('animationSpeed') ?>' />
791
  </td>
792
  </tr>
793
  <tr>
807
  <input class='option nivo' type='number' min='1' max='20' step='1' name="settings[slices]" value='<?php echo $this->slider->get_setting('slices') ?>' />
808
  </td>
809
  </tr>
810
+ <tr>
811
+ <td class='tipsy-tooltip' title="<?php _e("Select the sliding direction", 'metaslider') ?>"><?php _e("Slide direction", 'metaslider') ?></td>
812
+ <td>
813
+ <select class='option flex' name="settings[direction]">
814
+ <option value='horizontal' <?php if ($this->slider->get_setting('direction') == 'horizontal') echo 'selected=selected' ?>><?php _e("Horizontal", 'metaslider') ?></option>
815
+ <option value='vertical' <?php if ($this->slider->get_setting('direction') == 'vertical') echo 'selected=selected' ?>><?php _e("Vertical", 'metaslider') ?></option>
816
+ </select>
817
+ </td>
818
+ </tr>
819
+ <tr>
820
+ <td class='tipsy-tooltip' title="<?php _e("Animation easing effect", 'metaslider') ?>">
821
+ <?php _e("Easing", 'metaslider') ?>
822
+ </td>
823
+ <td>
824
+ <select name="settings[easing]" class='option flex'>
825
+ <?php
826
+ $options = array(
827
+ 'linear','swing','jswing','easeInQuad','easeOutQuad','easeInOutQuad',
828
+ 'easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart',
829
+ 'easeOutQuart','easeInOutQuart','easeInQuint','easeOutQuint',
830
+ 'easeInOutQuint','easeInSine','easeOutSine','easeInOutSine',
831
+ 'easeInExpo','easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc',
832
+ 'easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic',
833
+ 'easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce',
834
+ 'easeInOutBounce'
835
+ );
836
+
837
+ foreach ($options as $option) {
838
+ echo "<option value='{$option}'";
839
+ if ($this->slider->get_setting('easing') == $option) {
840
+ echo 'selected=selected';
841
+ }
842
+ echo ">" . ucfirst(preg_replace('/(\w+)([A-Z])/U', '\\1 \\2', $option)) . "</option>";
843
+ }
844
+ ?>
845
+ </select>
846
+ </td>
847
+ </tr>
848
  <tr>
849
  <td class='tipsy-tooltip' title="<?php _e("Set the text for the 'previous' direction item", 'metaslider') ?>">
850
  <?php _e("Previous text", 'metaslider') ?>
863
  </tr>
864
  <tr>
865
  <td class='tipsy-tooltip' title="<?php _e("Delay beetwen squares in ms", 'metaslider') ?>">
866
+ <?php _e("Square delay", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
867
  </td>
868
  <td>
869
+ <input class='option coin' type='number' min='0' max='500' step='10' name="settings[sDelay]" value='<?php echo $this->slider->get_setting('sDelay') ?>' />
870
  </td>
871
  </tr>
872
  <tr>
879
  </tr>
880
  <tr>
881
  <td class='tipsy-tooltip' title="<?php _e("Set the fade in speed of the caption", 'metaslider') ?>">
882
+ <?php _e("Caption speed", 'metaslider') ?> (<?php _e("ms", 'metaslider') ?>)
883
  </td>
884
  <td>
885
+ <input class='option coin' type='number' min='0' max='10000' step='100' name="settings[titleSpeed]" value='<?php echo $this->slider->get_setting('titleSpeed') ?>' />
886
  </td>
887
  </tr>
888
  <tr>
970
  }
971
 
972
  $metaslider = new MetaSliderPlugin();
973
+ ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: widget,wordpress slider,slideshow,wordpress slideshow,image slider,flexsli
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQ84KC4X8YKW8
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
- Stable tag: 2.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -106,17 +106,30 @@ if (is_front_page() || is_home()) {
106
 
107
  == Changelog ==
108
 
109
- = 2.2.2 =
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  * Improvement: System check added with option to dismiss messages. Checks made for: role scoper plugin, wp_footer, wordpress version & GD/ImageMagick.
111
 
112
- = 2.2.1 =
113
  * Fix: Responsive slides styling in FireFox (reported by and thanks to: dznr418)
114
  * Fix: Flex Slider carousel causing browser to crash in some circumstances
115
 
116
- = 2.2 =
117
  * Fix: Paragraph tags being added to output using Nivo Slider
118
 
119
- = 2.1.6 =
120
  * Fix: Use the original image file if the slideshow size is the same size as the image file
121
  * Fix: Conflict with Advanced Post Types Order plugin
122
  * Fix: Colorbox conflict when using resizable elements in lightbox
@@ -126,25 +139,25 @@ if (is_front_page() || is_home()) {
126
  * Fix: Coin slider caption width in FireFox
127
  * Improvement: Added hook to adjust carousel image margin
128
 
129
- = 2.1.5 =
130
  * Fix: HTML 5 Validation
131
 
132
- = 2.1.4 =
133
  * Fix: Widget markup invalid (reported by and thanks to: CarlosCanvas)
134
 
135
- = 2.1.3 =
136
  * Fix: User Access Manager Plugin incompatibility issues (reported by and thanks to: eltipografico)
137
 
138
- = 2.1.2 =
139
  * Fix: Nivo Slider theme select dropdown (reported by and thanks to: macks)
140
  * Fix: HTML5 Validation fix for inline styles
141
  * Improvement: Title field added to widget (suggested by and thanks to: pa_esp)
142
  * New feature: Spanish language pack (thanks to eltipografico)
143
 
144
- = 2.1.1 =
145
  * Fix: PHP version compatibility
146
 
147
- = 2.1 =
148
  * New feature: Widget added
149
  * New feature: System check added (checks for required image libraries and WordPress version)
150
  * Fix: Multiple CSS fixes added for popular themes
@@ -152,23 +165,23 @@ if (is_front_page() || is_home()) {
152
  * Improvement: Display warning message when unchecking Print JS and Print CSS options
153
  * Improvement: Coinslider navigation centered
154
 
155
- = 2.0.2 =
156
  * Fix: PHP Error when using slides the same size as the slideshow
157
 
158
- = 2.0.1 =
159
  * New feature: French language pack (thanks to: fb-graphiklab)
160
  * Fix: Use transparent background on default flexslider theme
161
  * Fix: Set direction to LTR for flexslider viewport (fix for RTL languages)
162
  * Fix: Nivoslider HTML Captions
163
  * Fix: Responsive slides navigation positioning
164
 
165
- = 2.0 =
166
  * Fix: Responsive slides navigation styling
167
  * Fix: Update slide order on save
168
  * Fix: Smart crop edge cases
169
  * Fix: Flexslider navigation overflow
170
 
171
- = 2.0-betaX =
172
  * Improvement: Error messages exposed in admin is Meta Slider cannot load the slides
173
  * Improvement: Load default settings if original settings are corrupt/incomplete
174
  * Fix: Smart Crop ratio
@@ -192,7 +205,7 @@ if (is_front_page() || is_home()) {
192
  * Fix: Nivo slider invalid markup (reported by and thanks to: nellyshark)
193
  * Fix: JS && encoding error (reported by and thanks to: neefje)
194
 
195
- = 1.3 =
196
  * Renamed to Meta Slider (previously ML Slider)
197
  * Improvement: Admin styling cleaned up
198
  * Improvement: Code refactored
@@ -205,12 +218,12 @@ if (is_front_page() || is_home()) {
205
  * Fix: JS && encoding error (reported by and thanks to: neefje)
206
  * Fix: Editors now have permission to use MetaSlider (reported by and thanks to: rritsud)
207
 
208
- = 1.2.1 =
209
  * Fix: Number of slides per slideshow limited to WordPress 'blog pages show at most' setting (reported by and thanks to: Kenny)
210
  * Fix: Add warning when BMP file is added to slider (reported by and thanks to: MadBong)
211
  * Fix: Allow images smaller than default thumbnail size to be added to slider (reported by and thanks to: MadBong)
212
 
213
- = 1.2 =
214
  * Improvement: Code refactored
215
  * Fix: Unable to assign the same image to more than one slider
216
  * Fix: JavaScript error when jQuery is loaded in page footer
@@ -218,16 +231,16 @@ if (is_front_page() || is_home()) {
218
  * Fix: Captions not being escaped (reported by and thanks to: papabeers)
219
  * Improvement: Add multiple files to slider from Media Browser
220
 
221
- = 1.1 =
222
  * Improvement: Code refactored
223
  * Fix: hitting [enter] brings up Media Library
224
  * Improvement: Settings for new sliders now based on the last edited slider
225
  * Improvement: More screenshots added
226
 
227
- = 1.0.1 =
228
  * Fix: min version incorrect (should be 3.5)
229
 
230
- = 1.0 =
231
  * Initial version
232
 
233
  == Upgrade Notice ==
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CQ84KC4X8YKW8
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
+ Stable tag: 2.3-beta
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
106
 
107
  == Changelog ==
108
 
109
+ = 2.3 [18/09/13] =
110
+ * Improvement: Flex Slider upgraded to v2.2
111
+ * Improvement: Responsive Slides upgraded to v1.54
112
+ * Improvement: 'Create first slideshow' prompt added for new users
113
+ * Change: 'scoped' attribute removed from inline CSS tag until browsers catch up with supporting it properly. A new filter has been added: "metaslider_style_attributes" if you wish to add the scoped attribute back in.
114
+ * Change: wp_footer check removed due to confusion
115
+ * New Feature: 'metaslider_max_tabs' filter added to convert tab list to ordered drop down menu
116
+ * Fix: Remove 'Insert Media' tab from 'Add Slide' modal (WP 3.6 only)
117
+ * New Feature: Filters added to allow modification of image slide HTML
118
+ * Improvement: Settings area tidied up
119
+ * Improvement: Image URL Field less restrictive
120
+ * Improvement: HTML Output tidied up
121
+
122
+ = 2.2.2 [21/08/13] =
123
  * Improvement: System check added with option to dismiss messages. Checks made for: role scoper plugin, wp_footer, wordpress version & GD/ImageMagick.
124
 
125
+ = 2.2.1 [08/08/13] =
126
  * Fix: Responsive slides styling in FireFox (reported by and thanks to: dznr418)
127
  * Fix: Flex Slider carousel causing browser to crash in some circumstances
128
 
129
+ = 2.2 [01/08/13] =
130
  * Fix: Paragraph tags being added to output using Nivo Slider
131
 
132
+ = 2.1.6 [22/07/2013] =
133
  * Fix: Use the original image file if the slideshow size is the same size as the image file
134
  * Fix: Conflict with Advanced Post Types Order plugin
135
  * Fix: Colorbox conflict when using resizable elements in lightbox
139
  * Fix: Coin slider caption width in FireFox
140
  * Improvement: Added hook to adjust carousel image margin
141
 
142
+ = 2.1.5 [24/05/13] =
143
  * Fix: HTML 5 Validation
144
 
145
+ = 2.1.4 [21/05/13] =
146
  * Fix: Widget markup invalid (reported by and thanks to: CarlosCanvas)
147
 
148
+ = 2.1.3 [21/05/13] =
149
  * Fix: User Access Manager Plugin incompatibility issues (reported by and thanks to: eltipografico)
150
 
151
+ = 2.1.2 [21/05/13] =
152
  * Fix: Nivo Slider theme select dropdown (reported by and thanks to: macks)
153
  * Fix: HTML5 Validation fix for inline styles
154
  * Improvement: Title field added to widget (suggested by and thanks to: pa_esp)
155
  * New feature: Spanish language pack (thanks to eltipografico)
156
 
157
+ = 2.1.1 [13/05/13] =
158
  * Fix: PHP version compatibility
159
 
160
+ = 2.1 [12/05/13] =
161
  * New feature: Widget added
162
  * New feature: System check added (checks for required image libraries and WordPress version)
163
  * Fix: Multiple CSS fixes added for popular themes
165
  * Improvement: Display warning message when unchecking Print JS and Print CSS options
166
  * Improvement: Coinslider navigation centered
167
 
168
+ = 2.0.2 [02/05/13] =
169
  * Fix: PHP Error when using slides the same size as the slideshow
170
 
171
+ = 2.0.1 [28/04/13] =
172
  * New feature: French language pack (thanks to: fb-graphiklab)
173
  * Fix: Use transparent background on default flexslider theme
174
  * Fix: Set direction to LTR for flexslider viewport (fix for RTL languages)
175
  * Fix: Nivoslider HTML Captions
176
  * Fix: Responsive slides navigation positioning
177
 
178
+ = 2.0 [21/04/13] =
179
  * Fix: Responsive slides navigation styling
180
  * Fix: Update slide order on save
181
  * Fix: Smart crop edge cases
182
  * Fix: Flexslider navigation overflow
183
 
184
+ = 2.0-betaX [17/04/13] =
185
  * Improvement: Error messages exposed in admin is Meta Slider cannot load the slides
186
  * Improvement: Load default settings if original settings are corrupt/incomplete
187
  * Fix: Smart Crop ratio
205
  * Fix: Nivo slider invalid markup (reported by and thanks to: nellyshark)
206
  * Fix: JS && encoding error (reported by and thanks to: neefje)
207
 
208
+ = 1.3 [28/02/13] =
209
  * Renamed to Meta Slider (previously ML Slider)
210
  * Improvement: Admin styling cleaned up
211
  * Improvement: Code refactored
218
  * Fix: JS && encoding error (reported by and thanks to: neefje)
219
  * Fix: Editors now have permission to use MetaSlider (reported by and thanks to: rritsud)
220
 
221
+ = 1.2.1 [20/02/13] =
222
  * Fix: Number of slides per slideshow limited to WordPress 'blog pages show at most' setting (reported by and thanks to: Kenny)
223
  * Fix: Add warning when BMP file is added to slider (reported by and thanks to: MadBong)
224
  * Fix: Allow images smaller than default thumbnail size to be added to slider (reported by and thanks to: MadBong)
225
 
226
+ = 1.2 [19/02/13] =
227
  * Improvement: Code refactored
228
  * Fix: Unable to assign the same image to more than one slider
229
  * Fix: JavaScript error when jQuery is loaded in page footer
231
  * Fix: Captions not being escaped (reported by and thanks to: papabeers)
232
  * Improvement: Add multiple files to slider from Media Browser
233
 
234
+ = 1.1 [18/02/13] =
235
  * Improvement: Code refactored
236
  * Fix: hitting [enter] brings up Media Library
237
  * Improvement: Settings for new sliders now based on the last edited slider
238
  * Improvement: More screenshots added
239
 
240
+ = 1.0.1 [17/02/13] =
241
  * Fix: min version incorrect (should be 3.5)
242
 
243
+ = 1.0 [15/02/13] =
244
  * Initial version
245
 
246
  == Upgrade Notice ==