Responsive Lightbox & Gallery - Version 1.6.9

Version Description

  • New: PhotoSwipe Lightbox premium extension
  • Fix: data-rel attribute missing in multiline links
  • Tweak: Removed local translation files in favor of WP repository translations
  • Tweak: SwipeBox script updated to 1.4.4
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 1.6.9
Comparing to
See all releases

Code changes from version 1.6.8 to 1.6.9

assets/imagelightbox/css/imagelightbox.css CHANGED
@@ -1,8 +1,8 @@
1
- #imagelightbox
2
- {
3
- position: fixed;
4
- z-index: 9999;
5
-
6
- -ms-touch-action: none;
7
- touch-action: none;
8
  }
1
+ #imagelightbox
2
+ {
3
+ position: fixed;
4
+ z-index: 9999;
5
+
6
+ -ms-touch-action: none;
7
+ touch-action: none;
8
  }
assets/imagelightbox/js/imagelightbox.min.js CHANGED
@@ -3,4 +3,4 @@
3
  Available for use under the MIT License
4
  */
5
 
6
- ;(function(e,t,n,r){"use strict";var i=function(){var e=n.body||n.documentElement,e=e.style;if(e.WebkitTransition=="")return"-webkit-";if(e.MozTransition=="")return"-moz-";if(e.OTransition=="")return"-o-";if(e.transition=="")return"";return false},s=i()===false?false:true,o=function(e,t,n){var r={},s=i();r[s+"transform"]="translateX("+t+")";r[s+"transition"]=s+"transform "+n+"s linear";e.css(r)},u="ontouchstart"in t,a=t.navigator.pointerEnabled||t.navigator.msPointerEnabled,f=function(e){if(u)return true;if(!a||typeof e==="undefined"||typeof e.pointerType==="undefined")return false;if(typeof e.MSPOINTER_TYPE_MOUSE!=="undefined"){if(e.MSPOINTER_TYPE_MOUSE!=e.pointerType)return true}else if(e.pointerType!="mouse")return true;return false};e.fn.imageLightbox=function(r){var r=e.extend({selector:'id="imagelightbox"',allowedTypes:"png|jpg|jpeg|gif",animationSpeed:250,preloadNext:true,enableKeyboard:true,quitOnEnd:false,quitOnImgClick:false,quitOnDocClick:true,onStart:false,onEnd:false,onLoadStart:false,onLoadEnd:false},r),i=e([]),l=e(),c=e(),h=0,p=0,d=0,v=false,m=function(t){return e(t).prop("tagName").toLowerCase()=="a"&&(new RegExp(".("+r.allowedTypes+")$","i")).test(e(t).attr("href"))},g=function(){if(!c.length)return true;var n=e(t).width()*.8,r=e(t).height()*.9,i=new Image;i.src=c.attr("src");i.onload=function(){h=i.width;p=i.height;if(h>n||p>r){var s=h/p>n/r?h/n:p/r;h/=s;p/=s}c.css({width:h+"px",height:p+"px",top:(e(t).height()-p)/2+"px",left:(e(t).width()-h)/2+"px"})}},y=function(t){if(v)return false;t=typeof t==="undefined"?false:t=="left"?1:-1;if(c.length){if(t!==false&&(i.length<2||r.quitOnEnd===true&&(t===-1&&i.index(l)==0||t===1&&i.index(l)==i.length-1))){w();return false}var n={opacity:0};if(s)o(c,100*t-d+"px",r.animationSpeed/1e3);else n.left=parseInt(c.css("left"))+100*t+"px";c.animate(n,r.animationSpeed,function(){b()});d=0}v=true;if(r.onLoadStart!==false)r.onLoadStart();setTimeout(function(){c=e("<img "+r.selector+" />").attr("src",l.attr("href")).load(function(){c.appendTo("body");g();var n={opacity:1};c.css("opacity",0);if(s){o(c,-100*t+"px",0);setTimeout(function(){o(c,0+"px",r.animationSpeed/1e3)},50)}else{var u=parseInt(c.css("left"));n.left=u+"px";c.css("left",u-100*t+"px")}c.animate(n,r.animationSpeed,function(){v=false;if(r.onLoadEnd!==false)r.onLoadEnd()});if(r.preloadNext){var a=i.eq(i.index(l)+1);if(!a.length)a=i.eq(0);e("<img />").attr("src",a.attr("href")).load()}}).error(function(){if(r.onLoadEnd!==false)r.onLoadEnd()});var n=0,u=0,p=0;c.on(a?"pointerup MSPointerUp":"click",function(e){e.preventDefault();if(r.quitOnImgClick){w();return false}if(f(e.originalEvent))return true;var t=(e.pageX||e.originalEvent.pageX)-e.target.offsetLeft;l=i.eq(i.index(l)-(h/2>t?1:-1));if(!l.length)l=i.eq(h/2>t?i.length:0);y(h/2>t?"left":"right")}).on("touchstart pointerdown MSPointerDown",function(e){if(!f(e.originalEvent)||r.quitOnImgClick)return true;if(s)p=parseInt(c.css("left"));n=e.originalEvent.pageX||e.originalEvent.touches[0].pageX}).on("touchmove pointermove MSPointerMove",function(e){if(!f(e.originalEvent)||r.quitOnImgClick)return true;e.preventDefault();u=e.originalEvent.pageX||e.originalEvent.touches[0].pageX;d=n-u;if(s)o(c,-d+"px",0);else c.css("left",p-d+"px")}).on("touchend touchcancel pointerup pointercancel MSPointerUp MSPointerCancel",function(e){if(!f(e.originalEvent)||r.quitOnImgClick)return true;if(Math.abs(d)>50){l=i.eq(i.index(l)-(d<0?1:-1));if(!l.length)l=i.eq(d<0?i.length:0);y(d>0?"right":"left")}else{if(s)o(c,0+"px",r.animationSpeed/1e3);else c.animate({left:p+"px"},r.animationSpeed/2)}})},r.animationSpeed+100)},b=function(){if(!c.length)return false;c.remove();c=e()},w=function(){if(!c.length)return false;c.animate({opacity:0},r.animationSpeed,function(){b();v=false;if(r.onEnd!==false)r.onEnd()})};e(t).on("resize",g);if(r.quitOnDocClick){e(n).on(u?"touchend":"click",function(t){if(c.length&&!e(t.target).is(c))w()})}if(r.enableKeyboard){e(n).on("keyup",function(e){if(!c.length)return true;e.preventDefault();if(e.keyCode==27)w();if(e.keyCode==37||e.keyCode==39){l=i.eq(i.index(l)-(e.keyCode==37?1:-1));if(!l.length)l=i.eq(e.keyCode==37?i.length:0);y(e.keyCode==37?"left":"right")}})}e(n).on("click",this.selector,function(t){if(!m(this))return true;t.preventDefault();if(v)return false;v=false;if(r.onStart!==false)r.onStart();l=e(this);y()});this.each(function(){if(!m(this))return true;i=i.add(e(this))});this.switchImageLightbox=function(e){var t=i.eq(e);if(t.length){var n=i.index(l);l=t;y(e<n?"left":"right")}return this};this.quitImageLightbox=function(){w();return this};return this}})(jQuery,window,document);
3
  Available for use under the MIT License
4
  */
5
 
6
+ !function(n,t,e,i){"use strict";var o=function(){var n=e.body||e.documentElement,n=n.style;return""==n.WebkitTransition?"-webkit-":""==n.MozTransition?"-moz-":""==n.OTransition?"-o-":""==n.transition?"":!1},r=o()===!1?!1:!0,a=function(n,t,e){var i={},r=o();i[r+"transform"]="translateX("+t+")",i[r+"transition"]=r+"transform "+e+"s linear",n.css(i)},u="ontouchstart"in t,d=t.navigator.pointerEnabled||t.navigator.msPointerEnabled,c=function(n){if(u)return!0;if(!d||"undefined"==typeof n||"undefined"==typeof n.pointerType)return!1;if("undefined"!=typeof n.MSPOINTER_TYPE_MOUSE){if(n.MSPOINTER_TYPE_MOUSE!=n.pointerType)return!0}else if("mouse"!=n.pointerType)return!0;return!1};n.fn.imageLightbox=function(i){var i=n.extend({selector:'id="imagelightbox"',animationSpeed:250,preloadNext:!0,enableKeyboard:!0,quitOnEnd:!1,quitOnImgClick:!1,quitOnDocClick:!0,onStart:!1,onEnd:!1,onLoadStart:!1,onLoadEnd:!1},i),o=n([]),f=n(),l=n(),p=0,g=0,s=0,h=!1,m=function(){if(!l.length)return!0;var e=.8*n(t).width(),i=.9*n(t).height(),o=new Image;o.src=l.attr("src"),o.onload=function(){if(p=o.width,g=o.height,p>e||g>i){var r=p/g>e/i?p/e:g/i;p/=r,g/=r}l.css({width:p+"px",height:g+"px",top:(n(t).height()-g)/2+"px",left:(n(t).width()-p)/2+"px"})}},v=function(t){if(h)return!1;if(t="undefined"==typeof t?!1:"left"==t?1:-1,l.length){if(t!==!1&&(o.length<2||i.quitOnEnd===!0&&(-1===t&&0==o.index(f)||1===t&&o.index(f)==o.length-1)))return E(),!1;var e={opacity:0};r?a(l,100*t-s+"px",i.animationSpeed/1e3):e.left=parseInt(l.css("left"))+100*t+"px",l.animate(e,i.animationSpeed,function(){x()}),s=0}h=!0,i.onLoadStart!==!1&&i.onLoadStart(),setTimeout(function(){l=n("<img "+i.selector+" />").attr("src",f.attr("href")).on("load",function(){l.appendTo("body"),m();var e={opacity:1};if(l.css("opacity",0),r)a(l,-100*t+"px",0),setTimeout(function(){a(l,"0px",i.animationSpeed/1e3)},50);else{var u=parseInt(l.css("left"));e.left=u+"px",l.css("left",u-100*t+"px")}if(l.animate(e,i.animationSpeed,function(){h=!1,i.onLoadEnd!==!1&&i.onLoadEnd()}),i.preloadNext){var d=o.eq(o.index(f)+1);d.length||(d=o.eq(0)),n("<img />").attr("src",d.attr("href"))}}).on("error",function(){i.onLoadEnd!==!1&&i.onLoadEnd()});var e=0,u=0,g=0;l.on(d?"pointerup MSPointerUp":"click",function(n){if(n.preventDefault(),i.quitOnImgClick)return E(),!1;if(c(n.originalEvent))return!0;var t=(n.pageX||n.originalEvent.pageX)-n.target.offsetLeft;f=o.eq(o.index(f)-(p/2>t?1:-1)),f.length||(f=o.eq(p/2>t?o.length:0)),v(p/2>t?"left":"right")}).on("touchstart pointerdown MSPointerDown",function(n){return!c(n.originalEvent)||i.quitOnImgClick?!0:(r&&(g=parseInt(l.css("left"))),void(e=n.originalEvent.pageX||n.originalEvent.touches[0].pageX))}).on("touchmove pointermove MSPointerMove",function(n){return!c(n.originalEvent)||i.quitOnImgClick?!0:(n.preventDefault(),u=n.originalEvent.pageX||n.originalEvent.touches[0].pageX,s=e-u,void(r?a(l,-s+"px",0):l.css("left",g-s+"px")))}).on("touchend touchcancel pointerup pointercancel MSPointerUp MSPointerCancel",function(n){return!c(n.originalEvent)||i.quitOnImgClick?!0:void(Math.abs(s)>50?(f=o.eq(o.index(f)-(0>s?1:-1)),f.length||(f=o.eq(0>s?o.length:0)),v(s>0?"right":"left")):r?a(l,"0px",i.animationSpeed/1e3):l.animate({left:g+"px"},i.animationSpeed/2))})},i.animationSpeed+100)},x=function(){return l.length?(l.remove(),void(l=n())):!1},E=function(){return l.length?void l.animate({opacity:0},i.animationSpeed,function(){x(),h=!1,i.onEnd!==!1&&i.onEnd()}):!1},y=function(t){t.each(function(){o=o.add(n(this))}),t.on("click.imageLightbox",function(t){return t.preventDefault(),h?!1:(h=!1,i.onStart!==!1&&i.onStart(),f=n(this),void v())})};return n(t).on("resize",m),i.quitOnDocClick&&n(e).on(u?"touchend":"click",function(t){l.length&&!n(t.target).is(l)&&E()}),i.enableKeyboard&&n(e).on("keyup",function(n){return l.length?(n.preventDefault(),27==n.keyCode&&E(),void((37==n.keyCode||39==n.keyCode)&&(f=o.eq(o.index(f)-(37==n.keyCode?1:-1)),f.length||(f=o.eq(37==n.keyCode?o.length:0)),v(37==n.keyCode?"left":"right")))):!0}),y(n(this)),this.switchImageLightbox=function(n){var t=o.eq(n);if(t.length){var e=o.index(f);f=t,v(e>n?"left":"right")}return this},this.addToImageLightbox=function(n){y(n)},this.quitImageLightbox=function(){return E(),this},this}}(jQuery,window,document);
assets/nivo/license.txt CHANGED
@@ -1,22 +1,22 @@
1
- Copyright (c) 2013 Dev7studios
2
-
3
- Permission is hereby granted, free of charge, to any person
4
- obtaining a copy of this software and associated documentation
5
- files (the "Software"), to deal in the Software without
6
- restriction, including without limitation the rights to use,
7
- copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the
9
- Software is furnished to do so, subject to the following
10
- conditions:
11
-
12
- The above copyright notice and this permission notice shall be
13
- included in all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright (c) 2013 Dev7studios
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
assets/swipebox/js/jquery.swipebox.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Swipebox v1.4.1 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
2
 
3
  ;( function ( window, document, $, undefined ) {
4
 
@@ -18,6 +18,7 @@
18
  beforeOpen: null,
19
  afterOpen: null,
20
  afterClose: null,
 
21
  nextSlide: null,
22
  prevSlide: null,
23
  loopAtEnd: false,
@@ -30,7 +31,6 @@
30
  elements = [], // slides array [ { href:'...', title:'...' }, ...],
31
  $elem,
32
  selector = elem.selector,
33
- $selector = $( selector ),
34
  isMobile = navigator.userAgent.match( /(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i ),
35
  isTouch = isMobile !== null || document.createTouch !== undefined || ( 'ontouchstart' in window ) || ( 'onmsgesturechange' in window ) || navigator.msMaxTouchPoints,
36
  supportSVG = !! document.createElementNS && !! document.createElementNS( 'http://www.w3.org/2000/svg', 'svg').createSVGRect,
@@ -92,12 +92,12 @@
92
  }
93
 
94
  elements = [];
95
- var index , relType, relVal;
96
 
97
  // Allow for HTML5 compliant attribute before legacy use of rel
98
  if ( ! relVal ) {
99
  relType = 'data-rel';
100
- relVal = $( this ).attr( relType );
101
  }
102
 
103
  if ( ! relVal ) {
@@ -106,7 +106,7 @@
106
  }
107
 
108
  if ( relVal && relVal !== '' && relVal !== 'nofollow' ) {
109
- $elem = $selector.filter( '[' + relType + '="' + relVal + '"]' );
110
  } else {
111
  $elem = $( selector );
112
  }
@@ -157,7 +157,7 @@
157
  this.preloadMedia( index+1 );
158
  this.preloadMedia( index-1 );
159
  if ( plugin.settings.afterOpen ) {
160
- plugin.settings.afterOpen();
161
  }
162
  },
163
 
@@ -687,9 +687,17 @@
687
  $this.loadMedia( src, function() {
688
  slide.removeClass( 'slide-loading' );
689
  slide.html( this );
 
 
 
 
690
  } );
691
  } else {
692
  slide.html( $this.getVideo( src ) );
 
 
 
 
693
  }
694
 
695
  },
@@ -843,7 +851,7 @@
843
  $this.setSlide( index );
844
  $this.preloadMedia( index+1 );
845
  if ( plugin.settings.nextSlide ) {
846
- plugin.settings.nextSlide();
847
  }
848
  } else {
849
 
@@ -855,7 +863,7 @@
855
  $this.setSlide( index );
856
  $this.preloadMedia( index + 1 );
857
  if ( plugin.settings.nextSlide ) {
858
- plugin.settings.nextSlide();
859
  }
860
  } else {
861
  $( '#swipebox-overlay' ).addClass( 'rightSpring' );
@@ -879,7 +887,7 @@
879
  this.setSlide( index );
880
  this.preloadMedia( index-1 );
881
  if ( plugin.settings.prevSlide ) {
882
- plugin.settings.prevSlide();
883
  }
884
  } else {
885
  $( '#swipebox-overlay' ).addClass( 'leftSpring' );
@@ -888,12 +896,12 @@
888
  }, 500 );
889
  }
890
  },
891
-
892
- nextSlide : function () {
893
  // Callback for next slide
894
  },
895
 
896
- prevSlide : function () {
897
  // Callback for prev slide
898
  },
899
 
1
+ /*! Swipebox v1.4.4 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
2
 
3
  ;( function ( window, document, $, undefined ) {
4
 
18
  beforeOpen: null,
19
  afterOpen: null,
20
  afterClose: null,
21
+ afterMedia: null,
22
  nextSlide: null,
23
  prevSlide: null,
24
  loopAtEnd: false,
31
  elements = [], // slides array [ { href:'...', title:'...' }, ...],
32
  $elem,
33
  selector = elem.selector,
 
34
  isMobile = navigator.userAgent.match( /(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i ),
35
  isTouch = isMobile !== null || document.createTouch !== undefined || ( 'ontouchstart' in window ) || ( 'onmsgesturechange' in window ) || navigator.msMaxTouchPoints,
36
  supportSVG = !! document.createElementNS && !! document.createElementNS( 'http://www.w3.org/2000/svg', 'svg').createSVGRect,
92
  }
93
 
94
  elements = [];
95
+ var index, relType, relVal;
96
 
97
  // Allow for HTML5 compliant attribute before legacy use of rel
98
  if ( ! relVal ) {
99
  relType = 'data-rel';
100
+ relVal = $( this ).attr( relType );
101
  }
102
 
103
  if ( ! relVal ) {
106
  }
107
 
108
  if ( relVal && relVal !== '' && relVal !== 'nofollow' ) {
109
+ $elem = $( selector ).filter( '[' + relType + '="' + relVal + '"]' );
110
  } else {
111
  $elem = $( selector );
112
  }
157
  this.preloadMedia( index+1 );
158
  this.preloadMedia( index-1 );
159
  if ( plugin.settings.afterOpen ) {
160
+ plugin.settings.afterOpen(index);
161
  }
162
  },
163
 
687
  $this.loadMedia( src, function() {
688
  slide.removeClass( 'slide-loading' );
689
  slide.html( this );
690
+
691
+ if ( plugin.settings.afterMedia ) {
692
+ plugin.settings.afterMedia( index );
693
+ }
694
  } );
695
  } else {
696
  slide.html( $this.getVideo( src ) );
697
+
698
+ if ( plugin.settings.afterMedia ) {
699
+ plugin.settings.afterMedia( index );
700
+ }
701
  }
702
 
703
  },
851
  $this.setSlide( index );
852
  $this.preloadMedia( index+1 );
853
  if ( plugin.settings.nextSlide ) {
854
+ plugin.settings.nextSlide(index);
855
  }
856
  } else {
857
 
863
  $this.setSlide( index );
864
  $this.preloadMedia( index + 1 );
865
  if ( plugin.settings.nextSlide ) {
866
+ plugin.settings.nextSlide(index);
867
  }
868
  } else {
869
  $( '#swipebox-overlay' ).addClass( 'rightSpring' );
887
  this.setSlide( index );
888
  this.preloadMedia( index-1 );
889
  if ( plugin.settings.prevSlide ) {
890
+ plugin.settings.prevSlide(index);
891
  }
892
  } else {
893
  $( '#swipebox-overlay' ).addClass( 'leftSpring' );
896
  }, 500 );
897
  }
898
  },
899
+ /* jshint unused:false */
900
+ nextSlide : function ( index ) {
901
  // Callback for next slide
902
  },
903
 
904
+ prevSlide : function ( index ) {
905
  // Callback for prev slide
906
  },
907
 
assets/swipebox/js/jquery.swipebox.min.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! Swipebox v1.4.1 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
2
- !function(a,b,c,d){c.swipebox=function(e,f){var g,h,i={useCSS:!0,useSVG:!0,initialIndexOnArray:0,removeBarsOnMobile:!0,hideCloseButtonOnMobile:!1,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"cccccc",beforeOpen:null,afterOpen:null,afterClose:null,nextSlide:null,prevSlide:null,loopAtEnd:!1,autoplayVideos:!1,queryStringData:{},toggleClassOnLoad:""},j=this,k=[],l=e.selector,m=c(l),n=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i),o=null!==n||b.createTouch!==d||"ontouchstart"in a||"onmsgesturechange"in a||navigator.msMaxTouchPoints,p=!!b.createElementNS&&!!b.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,q=a.innerWidth?a.innerWidth:c(a).width(),r=a.innerHeight?a.innerHeight:c(a).height(),s=0,t='<div id="swipebox-overlay"> <div id="swipebox-container"> <div id="swipebox-slider"></div> <div id="swipebox-top-bar"> <div id="swipebox-title"></div> </div> <div id="swipebox-bottom-bar"> <div id="swipebox-arrows"> <a id="swipebox-prev"></a> <a id="swipebox-next"></a> </div> </div> <a id="swipebox-close"></a> </div> </div>';j.settings={},c.swipebox.close=function(){g.closeSlide()},c.swipebox.extend=function(){return g},j.init=function(){j.settings=c.extend({},i,f),c.isArray(e)?(k=e,g.target=c(a),g.init(j.settings.initialIndexOnArray)):c(b).on("click",l,function(a){if("slide current"===a.target.parentNode.className)return!1;c.isArray(e)||(g.destroy(),h=c(l),g.actions()),k=[];var b,d,f;f||(d="data-rel",f=c(this).attr(d)),f||(d="rel",f=c(this).attr(d)),h=f&&""!==f&&"nofollow"!==f?m.filter("["+d+'="'+f+'"]'):c(l),h.each(function(){var a=null,b=null;c(this).attr("title")&&(a=c(this).attr("title")),c(this).attr("href")&&(b=c(this).attr("href")),k.push({href:b,title:a})}),b=h.index(c(this)),a.preventDefault(),a.stopPropagation(),g.target=c(a.target),g.init(b)})},g={init:function(a){j.settings.beforeOpen&&j.settings.beforeOpen(),this.target.trigger("swipebox-start"),c.swipebox.isOpen=!0,this.build(),this.openSlide(a),this.openMedia(a),this.preloadMedia(a+1),this.preloadMedia(a-1),j.settings.afterOpen&&j.settings.afterOpen()},build:function(){var a,b=this;c("body").append(t),p&&j.settings.useSVG===!0&&(a=c("#swipebox-close").css("background-image"),a=a.replace("png","svg"),c("#swipebox-prev, #swipebox-next, #swipebox-close").css({"background-image":a})),n&&j.settings.removeBarsOnMobile&&c("#swipebox-bottom-bar, #swipebox-top-bar").remove(),c.each(k,function(){c("#swipebox-slider").append('<div class="slide"></div>')}),b.setDim(),b.actions(),o&&b.gesture(),b.keyboard(),b.animBars(),b.resize()},setDim:function(){var b,d,e={};"onorientationchange"in a?a.addEventListener("orientationchange",function(){0===a.orientation?(b=q,d=r):(90===a.orientation||-90===a.orientation)&&(b=r,d=q)},!1):(b=a.innerWidth?a.innerWidth:c(a).width(),d=a.innerHeight?a.innerHeight:c(a).height()),e={width:b,height:d},c("#swipebox-overlay").css(e)},resize:function(){var b=this;c(a).resize(function(){b.setDim()}).resize()},supportTransition:function(){var a,c="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(a=0;a<c.length;a++)if(b.createElement("div").style[c[a]]!==d)return c[a];return!1},doCssTrans:function(){return j.settings.useCSS&&this.supportTransition()?!0:void 0},gesture:function(){var a,b,d,e,f,g,h=this,i=!1,j=!1,l=10,m=50,n={},o={},p=c("#swipebox-top-bar, #swipebox-bottom-bar"),r=c("#swipebox-slider");p.addClass("visible-bars"),h.setTimeout(),c("body").bind("touchstart",function(h){return c(this).addClass("touching"),a=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current")),o=h.originalEvent.targetTouches[0],n.pageX=h.originalEvent.targetTouches[0].pageX,n.pageY=h.originalEvent.targetTouches[0].pageY,c("#swipebox-slider").css({"-webkit-transform":"translate3d("+s+"%, 0, 0)",transform:"translate3d("+s+"%, 0, 0)"}),c(".touching").bind("touchmove",function(h){if(h.preventDefault(),h.stopPropagation(),o=h.originalEvent.targetTouches[0],!j&&(f=d,d=o.pageY-n.pageY,Math.abs(d)>=m||i)){var p=.75-Math.abs(d)/r.height();r.css({top:d+"px"}),r.css({opacity:p}),i=!0}e=b,b=o.pageX-n.pageX,g=100*b/q,!j&&!i&&Math.abs(b)>=l&&(c("#swipebox-slider").css({"-webkit-transition":"",transition:""}),j=!0),j&&(b>0?0===a?c("#swipebox-overlay").addClass("leftSpringTouch"):(c("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),c("#swipebox-slider").css({"-webkit-transform":"translate3d("+(s+g)+"%, 0, 0)",transform:"translate3d("+(s+g)+"%, 0, 0)"})):0>b&&(k.length===a+1?c("#swipebox-overlay").addClass("rightSpringTouch"):(c("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),c("#swipebox-slider").css({"-webkit-transform":"translate3d("+(s+g)+"%, 0, 0)",transform:"translate3d("+(s+g)+"%, 0, 0)"}))))}),!1}).bind("touchend",function(a){if(a.preventDefault(),a.stopPropagation(),c("#swipebox-slider").css({"-webkit-transition":"-webkit-transform 0.4s ease",transition:"transform 0.4s ease"}),d=o.pageY-n.pageY,b=o.pageX-n.pageX,g=100*b/q,i)if(i=!1,Math.abs(d)>=2*m&&Math.abs(d)>Math.abs(f)){var k=d>0?r.height():-r.height();r.animate({top:k+"px",opacity:0},300,function(){h.closeSlide()})}else r.animate({top:0,opacity:1},300);else j?(j=!1,b>=l&&b>=e?h.getPrev():-l>=b&&e>=b&&h.getNext()):p.hasClass("visible-bars")?(h.clearTimeout(),h.hideBars()):(h.showBars(),h.setTimeout());c("#swipebox-slider").css({"-webkit-transform":"translate3d("+s+"%, 0, 0)",transform:"translate3d("+s+"%, 0, 0)"}),c("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),c(".touching").off("touchmove").removeClass("touching")})},setTimeout:function(){if(j.settings.hideBarsDelay>0){var b=this;b.clearTimeout(),b.timeout=a.setTimeout(function(){b.hideBars()},j.settings.hideBarsDelay)}},clearTimeout:function(){a.clearTimeout(this.timeout),this.timeout=null},showBars:function(){var a=c("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?a.addClass("visible-bars"):(c("#swipebox-top-bar").animate({top:0},500),c("#swipebox-bottom-bar").animate({bottom:0},500),setTimeout(function(){a.addClass("visible-bars")},1e3))},hideBars:function(){var a=c("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?a.removeClass("visible-bars"):(c("#swipebox-top-bar").animate({top:"-50px"},500),c("#swipebox-bottom-bar").animate({bottom:"-50px"},500),setTimeout(function(){a.removeClass("visible-bars")},1e3))},animBars:function(){var a=this,b=c("#swipebox-top-bar, #swipebox-bottom-bar");b.addClass("visible-bars"),a.setTimeout(),c("#swipebox-slider").click(function(){b.hasClass("visible-bars")||(a.showBars(),a.setTimeout())}),c("#swipebox-bottom-bar").hover(function(){a.showBars(),b.addClass("visible-bars"),a.clearTimeout()},function(){j.settings.hideBarsDelay>0&&(b.removeClass("visible-bars"),a.setTimeout())})},keyboard:function(){var b=this;c(a).bind("keyup",function(a){a.preventDefault(),a.stopPropagation(),37===a.keyCode?b.getPrev():39===a.keyCode?b.getNext():27===a.keyCode&&b.closeSlide()})},actions:function(){var a=this,b="touchend click";k.length<2?(c("#swipebox-bottom-bar").hide(),d===k[1]&&c("#swipebox-top-bar").hide()):(c("#swipebox-prev").bind(b,function(b){b.preventDefault(),b.stopPropagation(),a.getPrev(),a.setTimeout()}),c("#swipebox-next").bind(b,function(b){b.preventDefault(),b.stopPropagation(),a.getNext(),a.setTimeout()})),c("#swipebox-close").bind(b,function(){a.closeSlide()})},setSlide:function(a,b){b=b||!1;var d=c("#swipebox-slider");s=100*-a,this.doCssTrans()?d.css({"-webkit-transform":"translate3d("+100*-a+"%, 0, 0)",transform:"translate3d("+100*-a+"%, 0, 0)"}):d.animate({left:100*-a+"%"}),c("#swipebox-slider .slide").removeClass("current"),c("#swipebox-slider .slide").eq(a).addClass("current"),this.setTitle(a),b&&d.fadeIn(),c("#swipebox-prev, #swipebox-next").removeClass("disabled"),0===a?c("#swipebox-prev").addClass("disabled"):a===k.length-1&&j.settings.loopAtEnd!==!0&&c("#swipebox-next").addClass("disabled")},openSlide:function(b){c("html").addClass("swipebox-html"),o?(c("html").addClass("swipebox-touch"),j.settings.hideCloseButtonOnMobile&&c("html").addClass("swipebox-no-close-button")):c("html").addClass("swipebox-no-touch"),c(a).trigger("resize"),this.setSlide(b,!0)},preloadMedia:function(a){var b=this,c=null;k[a]!==d&&(c=k[a].href),b.isVideo(c)?b.openMedia(a):setTimeout(function(){b.openMedia(a)},1e3)},openMedia:function(a){var b,e,f=this;return k[a]!==d&&(b=k[a].href),0>a||a>=k.length?!1:(e=c("#swipebox-slider .slide").eq(a),void(f.isVideo(b)?e.html(f.getVideo(b)):(e.addClass("slide-loading"),f.loadMedia(b,function(){e.removeClass("slide-loading"),e.html(this)}))))},setTitle:function(a){var b=null;c("#swipebox-title").empty(),k[a]!==d&&(b=k[a].title),b?(c("#swipebox-top-bar").show(),c("#swipebox-title").append(b)):c("#swipebox-top-bar").hide()},isVideo:function(a){if(a){if(a.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||a.match(/vimeo\.com\/([0-9]*)/)||a.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/))return!0;if(a.toLowerCase().indexOf("swipeboxvideo=1")>=0)return!0}},parseUri:function(a,d){var e=b.createElement("a"),f={};return e.href=decodeURIComponent(a),e.search&&(f=JSON.parse('{"'+e.search.toLowerCase().replace("?","").replace(/&/g,'","').replace(/=/g,'":"')+'"}')),c.isPlainObject(d)&&(f=c.extend(f,d,j.settings.queryStringData)),c.map(f,function(a,b){return a&&a>""?encodeURIComponent(b)+"="+encodeURIComponent(a):void 0}).join("&")},getVideo:function(a){var b="",c=a.match(/((?:www\.)?youtube\.com|(?:www\.)?youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/),d=a.match(/(?:www\.)?youtu\.be\/([a-zA-Z0-9\-_]+)/),e=a.match(/(?:www\.)?vimeo\.com\/([0-9]*)/),f="";return c||d?(d&&(c=d),f=g.parseUri(a,{autoplay:j.settings.autoplayVideos?"1":"0",v:""}),b='<iframe width="560" height="315" src="//'+c[1]+"/embed/"+c[2]+"?"+f+'" frameborder="0" allowfullscreen></iframe>'):e?(f=g.parseUri(a,{autoplay:j.settings.autoplayVideos?"1":"0",byline:"0",portrait:"0",color:j.settings.vimeoColor}),b='<iframe width="560" height="315" src="//player.vimeo.com/video/'+e[1]+"?"+f+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):b='<iframe width="560" height="315" src="'+a+'" frameborder="0" allowfullscreen></iframe>','<div class="swipebox-video-container" style="max-width:'+j.settings.videoMaxWidth+'px"><div class="swipebox-video">'+b+"</div></div>"},loadMedia:function(a,b){if(0===a.trim().indexOf("#"))b.call(c("<div>",{"class":"swipebox-inline-container"}).append(c(a).clone().toggleClass(j.settings.toggleClassOnLoad)));else if(!this.isVideo(a)){var d=c("<img>").on("load",function(){b.call(d)});d.attr("src",a)}},getNext:function(){var a,b=this,d=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current"));d+1<k.length?(a=c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src",a),d++,b.setSlide(d),b.preloadMedia(d+1),j.settings.nextSlide&&j.settings.nextSlide()):j.settings.loopAtEnd===!0?(a=c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src",a),d=0,b.preloadMedia(d),b.setSlide(d),b.preloadMedia(d+1),j.settings.nextSlide&&j.settings.nextSlide()):(c("#swipebox-overlay").addClass("rightSpring"),setTimeout(function(){c("#swipebox-overlay").removeClass("rightSpring")},500))},getPrev:function(){var a,b=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current"));b>0?(a=c("#swipebox-slider .slide").eq(b).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(b).contents().find("iframe").attr("src",a),b--,this.setSlide(b),this.preloadMedia(b-1),j.settings.prevSlide&&j.settings.prevSlide()):(c("#swipebox-overlay").addClass("leftSpring"),setTimeout(function(){c("#swipebox-overlay").removeClass("leftSpring")},500))},nextSlide:function(){},prevSlide:function(){},closeSlide:function(){c("html").removeClass("swipebox-html"),c("html").removeClass("swipebox-touch"),c(a).trigger("resize"),this.destroy()},destroy:function(){c(a).unbind("keyup"),c("body").unbind("touchstart"),c("body").unbind("touchmove"),c("body").unbind("touchend"),c("#swipebox-slider").unbind(),c("#swipebox-overlay").remove(),c.isArray(e)||e.removeData("_swipebox"),this.target&&this.target.trigger("swipebox-destroy"),c.swipebox.isOpen=!1,j.settings.afterClose&&j.settings.afterClose()}},j.init()},c.fn.swipebox=function(a){if(!c.data(this,"_swipebox")){var b=new c.swipebox(this,a);this.data("_swipebox",b)}return this.data("_swipebox")}}(window,document,jQuery);
1
+ /*! Swipebox v1.4.4 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
2
+ !function(a,b,c,d){c.swipebox=function(e,f){var g,h,i={useCSS:!0,useSVG:!0,initialIndexOnArray:0,removeBarsOnMobile:!0,hideCloseButtonOnMobile:!1,hideBarsDelay:3e3,videoMaxWidth:1140,vimeoColor:"cccccc",beforeOpen:null,afterOpen:null,afterClose:null,afterMedia:null,nextSlide:null,prevSlide:null,loopAtEnd:!1,autoplayVideos:!1,queryStringData:{},toggleClassOnLoad:""},j=this,k=[],l=e.selector,m=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i),n=null!==m||b.createTouch!==d||"ontouchstart"in a||"onmsgesturechange"in a||navigator.msMaxTouchPoints,o=!!b.createElementNS&&!!b.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,p=a.innerWidth?a.innerWidth:c(a).width(),q=a.innerHeight?a.innerHeight:c(a).height(),r=0,s='<div id="swipebox-overlay"> <div id="swipebox-container"> <div id="swipebox-slider"></div> <div id="swipebox-top-bar"> <div id="swipebox-title"></div> </div> <div id="swipebox-bottom-bar"> <div id="swipebox-arrows"> <a id="swipebox-prev"></a> <a id="swipebox-next"></a> </div> </div> <a id="swipebox-close"></a> </div> </div>';j.settings={},c.swipebox.close=function(){g.closeSlide()},c.swipebox.extend=function(){return g},j.init=function(){j.settings=c.extend({},i,f),c.isArray(e)?(k=e,g.target=c(a),g.init(j.settings.initialIndexOnArray)):c(b).on("click",l,function(a){if("slide current"===a.target.parentNode.className)return!1;c.isArray(e)||(g.destroy(),h=c(l),g.actions()),k=[];var b,d,f;f||(d="data-rel",f=c(this).attr(d)),f||(d="rel",f=c(this).attr(d)),h=f&&""!==f&&"nofollow"!==f?c(l).filter("["+d+'="'+f+'"]'):c(l),h.each(function(){var a=null,b=null;c(this).attr("title")&&(a=c(this).attr("title")),c(this).attr("href")&&(b=c(this).attr("href")),k.push({href:b,title:a})}),b=h.index(c(this)),a.preventDefault(),a.stopPropagation(),g.target=c(a.target),g.init(b)})},g={init:function(a){j.settings.beforeOpen&&j.settings.beforeOpen(),this.target.trigger("swipebox-start"),c.swipebox.isOpen=!0,this.build(),this.openSlide(a),this.openMedia(a),this.preloadMedia(a+1),this.preloadMedia(a-1),j.settings.afterOpen&&j.settings.afterOpen(a)},build:function(){var a,b=this;c("body").append(s),o&&j.settings.useSVG===!0&&(a=c("#swipebox-close").css("background-image"),a=a.replace("png","svg"),c("#swipebox-prev, #swipebox-next, #swipebox-close").css({"background-image":a})),m&&j.settings.removeBarsOnMobile&&c("#swipebox-bottom-bar, #swipebox-top-bar").remove(),c.each(k,function(){c("#swipebox-slider").append('<div class="slide"></div>')}),b.setDim(),b.actions(),n&&b.gesture(),b.keyboard(),b.animBars(),b.resize()},setDim:function(){var b,d,e={};"onorientationchange"in a?a.addEventListener("orientationchange",function(){0===a.orientation?(b=p,d=q):(90===a.orientation||-90===a.orientation)&&(b=q,d=p)},!1):(b=a.innerWidth?a.innerWidth:c(a).width(),d=a.innerHeight?a.innerHeight:c(a).height()),e={width:b,height:d},c("#swipebox-overlay").css(e)},resize:function(){var b=this;c(a).resize(function(){b.setDim()}).resize()},supportTransition:function(){var a,c="transition WebkitTransition MozTransition OTransition msTransition KhtmlTransition".split(" ");for(a=0;a<c.length;a++)if(b.createElement("div").style[c[a]]!==d)return c[a];return!1},doCssTrans:function(){return j.settings.useCSS&&this.supportTransition()?!0:void 0},gesture:function(){var a,b,d,e,f,g,h=this,i=!1,j=!1,l=10,m=50,n={},o={},q=c("#swipebox-top-bar, #swipebox-bottom-bar"),s=c("#swipebox-slider");q.addClass("visible-bars"),h.setTimeout(),c("body").bind("touchstart",function(h){return c(this).addClass("touching"),a=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current")),o=h.originalEvent.targetTouches[0],n.pageX=h.originalEvent.targetTouches[0].pageX,n.pageY=h.originalEvent.targetTouches[0].pageY,c("#swipebox-slider").css({"-webkit-transform":"translate3d("+r+"%, 0, 0)",transform:"translate3d("+r+"%, 0, 0)"}),c(".touching").bind("touchmove",function(h){if(h.preventDefault(),h.stopPropagation(),o=h.originalEvent.targetTouches[0],!j&&(f=d,d=o.pageY-n.pageY,Math.abs(d)>=m||i)){var q=.75-Math.abs(d)/s.height();s.css({top:d+"px"}),s.css({opacity:q}),i=!0}e=b,b=o.pageX-n.pageX,g=100*b/p,!j&&!i&&Math.abs(b)>=l&&(c("#swipebox-slider").css({"-webkit-transition":"",transition:""}),j=!0),j&&(b>0?0===a?c("#swipebox-overlay").addClass("leftSpringTouch"):(c("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),c("#swipebox-slider").css({"-webkit-transform":"translate3d("+(r+g)+"%, 0, 0)",transform:"translate3d("+(r+g)+"%, 0, 0)"})):0>b&&(k.length===a+1?c("#swipebox-overlay").addClass("rightSpringTouch"):(c("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),c("#swipebox-slider").css({"-webkit-transform":"translate3d("+(r+g)+"%, 0, 0)",transform:"translate3d("+(r+g)+"%, 0, 0)"}))))}),!1}).bind("touchend",function(a){if(a.preventDefault(),a.stopPropagation(),c("#swipebox-slider").css({"-webkit-transition":"-webkit-transform 0.4s ease",transition:"transform 0.4s ease"}),d=o.pageY-n.pageY,b=o.pageX-n.pageX,g=100*b/p,i)if(i=!1,Math.abs(d)>=2*m&&Math.abs(d)>Math.abs(f)){var k=d>0?s.height():-s.height();s.animate({top:k+"px",opacity:0},300,function(){h.closeSlide()})}else s.animate({top:0,opacity:1},300);else j?(j=!1,b>=l&&b>=e?h.getPrev():-l>=b&&e>=b&&h.getNext()):q.hasClass("visible-bars")?(h.clearTimeout(),h.hideBars()):(h.showBars(),h.setTimeout());c("#swipebox-slider").css({"-webkit-transform":"translate3d("+r+"%, 0, 0)",transform:"translate3d("+r+"%, 0, 0)"}),c("#swipebox-overlay").removeClass("leftSpringTouch").removeClass("rightSpringTouch"),c(".touching").off("touchmove").removeClass("touching")})},setTimeout:function(){if(j.settings.hideBarsDelay>0){var b=this;b.clearTimeout(),b.timeout=a.setTimeout(function(){b.hideBars()},j.settings.hideBarsDelay)}},clearTimeout:function(){a.clearTimeout(this.timeout),this.timeout=null},showBars:function(){var a=c("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?a.addClass("visible-bars"):(c("#swipebox-top-bar").animate({top:0},500),c("#swipebox-bottom-bar").animate({bottom:0},500),setTimeout(function(){a.addClass("visible-bars")},1e3))},hideBars:function(){var a=c("#swipebox-top-bar, #swipebox-bottom-bar");this.doCssTrans()?a.removeClass("visible-bars"):(c("#swipebox-top-bar").animate({top:"-50px"},500),c("#swipebox-bottom-bar").animate({bottom:"-50px"},500),setTimeout(function(){a.removeClass("visible-bars")},1e3))},animBars:function(){var a=this,b=c("#swipebox-top-bar, #swipebox-bottom-bar");b.addClass("visible-bars"),a.setTimeout(),c("#swipebox-slider").click(function(){b.hasClass("visible-bars")||(a.showBars(),a.setTimeout())}),c("#swipebox-bottom-bar").hover(function(){a.showBars(),b.addClass("visible-bars"),a.clearTimeout()},function(){j.settings.hideBarsDelay>0&&(b.removeClass("visible-bars"),a.setTimeout())})},keyboard:function(){var b=this;c(a).bind("keyup",function(a){a.preventDefault(),a.stopPropagation(),37===a.keyCode?b.getPrev():39===a.keyCode?b.getNext():27===a.keyCode&&b.closeSlide()})},actions:function(){var a=this,b="touchend click";k.length<2?(c("#swipebox-bottom-bar").hide(),d===k[1]&&c("#swipebox-top-bar").hide()):(c("#swipebox-prev").bind(b,function(b){b.preventDefault(),b.stopPropagation(),a.getPrev(),a.setTimeout()}),c("#swipebox-next").bind(b,function(b){b.preventDefault(),b.stopPropagation(),a.getNext(),a.setTimeout()})),c("#swipebox-close").bind(b,function(){a.closeSlide()})},setSlide:function(a,b){b=b||!1;var d=c("#swipebox-slider");r=100*-a,this.doCssTrans()?d.css({"-webkit-transform":"translate3d("+100*-a+"%, 0, 0)",transform:"translate3d("+100*-a+"%, 0, 0)"}):d.animate({left:100*-a+"%"}),c("#swipebox-slider .slide").removeClass("current"),c("#swipebox-slider .slide").eq(a).addClass("current"),this.setTitle(a),b&&d.fadeIn(),c("#swipebox-prev, #swipebox-next").removeClass("disabled"),0===a?c("#swipebox-prev").addClass("disabled"):a===k.length-1&&j.settings.loopAtEnd!==!0&&c("#swipebox-next").addClass("disabled")},openSlide:function(b){c("html").addClass("swipebox-html"),n?(c("html").addClass("swipebox-touch"),j.settings.hideCloseButtonOnMobile&&c("html").addClass("swipebox-no-close-button")):c("html").addClass("swipebox-no-touch"),c(a).trigger("resize"),this.setSlide(b,!0)},preloadMedia:function(a){var b=this,c=null;k[a]!==d&&(c=k[a].href),b.isVideo(c)?b.openMedia(a):setTimeout(function(){b.openMedia(a)},1e3)},openMedia:function(a){var b,e,f=this;return k[a]!==d&&(b=k[a].href),0>a||a>=k.length?!1:(e=c("#swipebox-slider .slide").eq(a),void(f.isVideo(b)?(e.html(f.getVideo(b)),j.settings.afterMedia&&j.settings.afterMedia(a)):(e.addClass("slide-loading"),f.loadMedia(b,function(){e.removeClass("slide-loading"),e.html(this),j.settings.afterMedia&&j.settings.afterMedia(a)}))))},setTitle:function(a){var b=null;c("#swipebox-title").empty(),k[a]!==d&&(b=k[a].title),b?(c("#swipebox-top-bar").show(),c("#swipebox-title").append(b)):c("#swipebox-top-bar").hide()},isVideo:function(a){if(a){if(a.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||a.match(/vimeo\.com\/([0-9]*)/)||a.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/))return!0;if(a.toLowerCase().indexOf("swipeboxvideo=1")>=0)return!0}},parseUri:function(a,d){var e=b.createElement("a"),f={};return e.href=decodeURIComponent(a),e.search&&(f=JSON.parse('{"'+e.search.toLowerCase().replace("?","").replace(/&/g,'","').replace(/=/g,'":"')+'"}')),c.isPlainObject(d)&&(f=c.extend(f,d,j.settings.queryStringData)),c.map(f,function(a,b){return a&&a>""?encodeURIComponent(b)+"="+encodeURIComponent(a):void 0}).join("&")},getVideo:function(a){var b="",c=a.match(/((?:www\.)?youtube\.com|(?:www\.)?youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/),d=a.match(/(?:www\.)?youtu\.be\/([a-zA-Z0-9\-_]+)/),e=a.match(/(?:www\.)?vimeo\.com\/([0-9]*)/),f="";return c||d?(d&&(c=d),f=g.parseUri(a,{autoplay:j.settings.autoplayVideos?"1":"0",v:""}),b='<iframe width="560" height="315" src="//'+c[1]+"/embed/"+c[2]+"?"+f+'" frameborder="0" allowfullscreen></iframe>'):e?(f=g.parseUri(a,{autoplay:j.settings.autoplayVideos?"1":"0",byline:"0",portrait:"0",color:j.settings.vimeoColor}),b='<iframe width="560" height="315" src="//player.vimeo.com/video/'+e[1]+"?"+f+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'):b='<iframe width="560" height="315" src="'+a+'" frameborder="0" allowfullscreen></iframe>','<div class="swipebox-video-container" style="max-width:'+j.settings.videoMaxWidth+'px"><div class="swipebox-video">'+b+"</div></div>"},loadMedia:function(a,b){if(0===a.trim().indexOf("#"))b.call(c("<div>",{"class":"swipebox-inline-container"}).append(c(a).clone().toggleClass(j.settings.toggleClassOnLoad)));else if(!this.isVideo(a)){var d=c("<img>").on("load",function(){b.call(d)});d.attr("src",a)}},getNext:function(){var a,b=this,d=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current"));d+1<k.length?(a=c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src",a),d++,b.setSlide(d),b.preloadMedia(d+1),j.settings.nextSlide&&j.settings.nextSlide(d)):j.settings.loopAtEnd===!0?(a=c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(d).contents().find("iframe").attr("src",a),d=0,b.preloadMedia(d),b.setSlide(d),b.preloadMedia(d+1),j.settings.nextSlide&&j.settings.nextSlide(d)):(c("#swipebox-overlay").addClass("rightSpring"),setTimeout(function(){c("#swipebox-overlay").removeClass("rightSpring")},500))},getPrev:function(){var a,b=c("#swipebox-slider .slide").index(c("#swipebox-slider .slide.current"));b>0?(a=c("#swipebox-slider .slide").eq(b).contents().find("iframe").attr("src"),c("#swipebox-slider .slide").eq(b).contents().find("iframe").attr("src",a),b--,this.setSlide(b),this.preloadMedia(b-1),j.settings.prevSlide&&j.settings.prevSlide(b)):(c("#swipebox-overlay").addClass("leftSpring"),setTimeout(function(){c("#swipebox-overlay").removeClass("leftSpring")},500))},nextSlide:function(a){},prevSlide:function(a){},closeSlide:function(){c("html").removeClass("swipebox-html"),c("html").removeClass("swipebox-touch"),c(a).trigger("resize"),this.destroy()},destroy:function(){c(a).unbind("keyup"),c("body").unbind("touchstart"),c("body").unbind("touchmove"),c("body").unbind("touchend"),c("#swipebox-slider").unbind(),c("#swipebox-overlay").remove(),c.isArray(e)||e.removeData("_swipebox"),this.target&&this.target.trigger("swipebox-destroy"),c.swipebox.isOpen=!1,j.settings.afterClose&&j.settings.afterClose()}},j.init()},c.fn.swipebox=function(a){if(!c.data(this,"_swipebox")){var b=new c.swipebox(this,a);this.data("_swipebox",b)}return this.data("_swipebox")}}(window,document,jQuery);
assets/tosrus/css/jquery.tosrus.all.css CHANGED
@@ -1,605 +1,117 @@
1
- /*
2
- jQuery Touch Optimized Sliders "R"Us
3
- Core CSS
4
- */
5
- .tos-noanimation {
6
- -webkit-transition-property: none !important;
7
- -moz-transition-property: none !important;
8
- -ms-transition-property: none !important;
9
- -o-transition-property: none !important;
10
- transition-property: none !important; }
11
-
12
- .tos-fastanimation {
13
- -webkit-transition-duration: 0.2s !important;
14
- -moz-transition-duration: 0.2s !important;
15
- -ms-transition-duration: 0.2s !important;
16
- -o-transition-duration: 0.2s !important;
17
- transition-duration: 0.2s !important;
18
- -webkit-transition-timing-function: ease-out !important;
19
- -moz-transition-timing-function: ease-out !important;
20
- -ms-transition-timing-function: ease-out !important;
21
- -o-transition-timing-function: ease-out !important;
22
- transition-timing-function: ease-out !important; }
23
-
24
- .tos-wrapper {
25
- opacity: 0;
26
- -webkit-transition: opacity 0.4s ease;
27
- -moz-transition: opacity 0.4s ease;
28
- -ms-transition: opacity 0.4s ease;
29
- -o-transition: opacity 0.4s ease;
30
- transition: opacity 0.4s ease;
31
- display: none;
32
- width: 100%;
33
- height: 100%;
34
- padding: 0;
35
- margin: 0;
36
- overflow: hidden; }
37
- .tos-wrapper.tos-opened {
38
- display: block; }
39
- .tos-wrapper.tos-opening {
40
- opacity: 1; }
41
- .tos-wrapper.tos-fixed {
42
- background-color: black;
43
- position: fixed;
44
- top: 0;
45
- left: 0;
46
- z-index: 9000; }
47
- .tos-wrapper.tos-inline {
48
- position: relative; }
49
-
50
- .tos-slider {
51
- white-space: nowrap;
52
- width: 100%;
53
- height: 100%;
54
- padding: 0;
55
- margin: 0;
56
- position: relative; }
57
-
58
- .tos-wrapper.tos-fx-slide .tos-slider {
59
- left: 0;
60
- -webkit-transition: left 0.4s ease;
61
- -moz-transition: left 0.4s ease;
62
- -ms-transition: left 0.4s ease;
63
- -o-transition: left 0.4s ease;
64
- transition: left 0.4s ease; }
65
- .tos-wrapper.tos-fx-slide.tos-fixed .tos-slider {
66
- position: absolute; }
67
-
68
- .tos-wrapper.tos-fx-fade .tos-slider {
69
- opacity: 1;
70
- -webkit-transition: opacity 0.4s ease;
71
- -moz-transition: opacity 0.4s ease;
72
- -ms-transition: opacity 0.4s ease;
73
- -o-transition: opacity 0.4s ease;
74
- transition: opacity 0.4s ease; }
75
-
76
- .tos-uibg {
77
- background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
78
- background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
79
- background-image: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
80
- background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
81
- background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
82
- -webkit-transition: opacity 0.4s ease;
83
- -moz-transition: opacity 0.4s ease;
84
- -ms-transition: opacity 0.4s ease;
85
- -o-transition: opacity 0.4s ease;
86
- transition: opacity 0.4s ease;
87
- opacity: 0;
88
- width: 100%;
89
- position: absolute;
90
- left: 0;
91
- bottom: 0;
92
- z-index: 1; }
93
-
94
- .tos-desktop .tos-wrapper:hover .tos-uibg,
95
- .tos-touch .tos-wrapper.tos-hover .tos-uibg {
96
- opacity: 1; }
97
-
98
- .tos-slide {
99
- -webkit-overflow-scrolling: touch;
100
- line-height: 1px;
101
- text-align: center;
102
- box-sizing: border-box;
103
- display: inline-block;
104
- width: 100%;
105
- height: 100%;
106
- overflow: hidden;
107
- position: relative; }
108
- .tos-slide:before {
109
- content: "";
110
- display: inline-block;
111
- height: 50%;
112
- width: 1px;
113
- margin-right: -1px; }
114
- .tos-slide.tos-loading > * {
115
- opacity: 0; }
116
- .tos-slide > * {
117
- opacity: 1;
118
- -webkit-transition: opacity 0.4s ease;
119
- -moz-transition: opacity 0.4s ease;
120
- -ms-transition: opacity 0.4s ease;
121
- -o-transition: opacity 0.4s ease;
122
- transition: opacity 0.4s ease; }
123
-
124
- .tos-slide > * {
125
- vertical-align: middle;
126
- display: inline-block;
127
- max-height: 100%;
128
- max-width: 100%;
129
- box-sizing: border-box; }
130
- .tos-slide.tos-html > div {
131
- -webkit-overflow-scrolling: touch;
132
- white-space: normal;
133
- text-align: left;
134
- line-height: 1.5; }
135
- .tos-slide.tos-html > div * {
136
- -webkit-text-size-adjust: none;
137
- -moz-text-size-adjust: none;
138
- -ms-text-size-adjust: none;
139
- -o-text-size-adjust: none;
140
- text-size-adjust: none; }
141
-
142
- .tos-wrapper.tos-fill .tos-slide.tos-image > img {
143
- max-height: none;
144
- max-width: none;
145
- min-height: 100%;
146
- min-width: 100%; }
147
- .tos-wrapper.tos-fixed .tos-slide.tos-html > div {
148
- background-color: white;
149
- color: #333333;
150
- box-sizing: border-box;
151
- display: inline-block;
152
- padding: 40px;
153
- overflow: auto; }
154
-
155
- .tos-desktop .tos-wrapper.tos-fixed {
156
- background-color: rgba(0, 0, 0, 0.85); }
157
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit .tos-slide {
158
- padding: 20px; }
159
-
160
- /*
161
- jQuery Touch Optimized Sliders "R"Us
162
- Buttons addon
163
- */
164
- .tos-prev,
165
- .tos-next,
166
- .tos-close {
167
- background: black;
168
- border-radius: 3px;
169
- opacity: 0;
170
- display: block;
171
- width: 40px;
172
- position: absolute;
173
- z-index: 1;
174
- -webkit-transition: opacity 0.4s ease;
175
- -moz-transition: opacity 0.4s ease;
176
- -ms-transition: opacity 0.4s ease;
177
- -o-transition: opacity 0.4s ease;
178
- transition: opacity 0.4s ease; }
179
-
180
- .tos-prev,
181
- .tos-next {
182
- height: 80px;
183
- margin-top: -40px;
184
- top: 50%; }
185
- .tos-prev.tos-disabled,
186
- .tos-next.tos-disabled {
187
- cursor: default; }
188
-
189
- .tos-prev {
190
- left: 20px; }
191
-
192
- .tos-next {
193
- right: 20px; }
194
-
195
- .tos-close {
196
- height: 40px;
197
- top: 20px;
198
- right: 20px; }
199
-
200
- .tos-desktop .tos-wrapper:hover .tos-prev,
201
- .tos-desktop .tos-wrapper:hover .tos-next,
202
- .tos-desktop .tos-wrapper:hover .tos-close,
203
- .tos-touch .tos-wrapper.tos-hover .tos-prev,
204
- .tos-touch .tos-wrapper.tos-hover .tos-next,
205
- .tos-touch .tos-wrapper.tos-hover .tos-close {
206
- opacity: 0.5; }
207
- .tos-desktop .tos-wrapper:hover .tos-prev:hover,
208
- .tos-desktop .tos-wrapper:hover .tos-next:hover,
209
- .tos-desktop .tos-wrapper:hover .tos-close:hover,
210
- .tos-touch .tos-wrapper.tos-hover .tos-prev:hover,
211
- .tos-touch .tos-wrapper.tos-hover .tos-next:hover,
212
- .tos-touch .tos-wrapper.tos-hover .tos-close:hover {
213
- opacity: 0.9; }
214
- .tos-desktop .tos-wrapper:hover .tos-prev.tos-disabled,
215
- .tos-desktop .tos-wrapper:hover .tos-next.tos-disabled,
216
- .tos-desktop .tos-wrapper:hover .tos-close.tos-disabled,
217
- .tos-touch .tos-wrapper.tos-hover .tos-prev.tos-disabled,
218
- .tos-touch .tos-wrapper.tos-hover .tos-next.tos-disabled,
219
- .tos-touch .tos-wrapper.tos-hover .tos-close.tos-disabled {
220
- opacity: 0.2; }
221
-
222
- .tos-prev span,
223
- .tos-next span,
224
- .tos-close span:before,
225
- .tos-close span:after {
226
- content: '';
227
- display: block;
228
- width: 12px;
229
- height: 12px;
230
- margin: -5px;
231
- position: absolute;
232
- top: 50%;
233
- -webkit-transform: rotate(45deg);
234
- -moz-transform: rotate(45deg);
235
- -ms-transform: rotate(45deg);
236
- -o-transform: rotate(45deg);
237
- transform: rotate(45deg); }
238
-
239
- .tos-close span:before,
240
- .tos-close span:after {
241
- width: 6px;
242
- height: 6px;
243
- margin-top: -4px;
244
- margin-left: 0;
245
- margin-right: 0; }
246
-
247
- .tos-prev span,
248
- .tos-close span:before {
249
- border-bottom: 3px solid white;
250
- border-left: 3px solid white;
251
- left: 50%; }
252
-
253
- .tos-next span,
254
- .tos-close span:after {
255
- border-top: 3px solid white;
256
- border-right: 3px solid white;
257
- right: 50%; }
258
-
259
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-prev .tos-slide, .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-next .tos-slide, .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-close .tos-slide {
260
- padding-left: 80px;
261
- padding-right: 80px; }
262
-
263
- .tos-inline {
264
- opacity: 0;
265
- -webkit-transition: opacity 0.4s ease;
266
- -moz-transition: opacity 0.4s ease;
267
- -ms-transition: opacity 0.4s ease;
268
- -o-transition: opacity 0.4s ease;
269
- transition: opacity 0.4s ease;
270
- display: inline-block;
271
- margin: 0;
272
- position: relative;
273
- top: auto;
274
- left: auto;
275
- right: auto; }
276
- .tos-inline.tos-prev {
277
- margin-right: -60px; }
278
- .tos-inline.tos-next {
279
- margin-left: -60px; }
280
-
281
- .tos-loading .tos-inline {
282
- opacity: 0 !important; }
283
-
284
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev,
285
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next,
286
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close {
287
- -webkit-transform: scale(2);
288
- -moz-transform: scale(2);
289
- -ms-transform: scale(2);
290
- -o-transform: scale(2);
291
- transform: scale(2); }
292
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev,
293
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next,
294
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close {
295
- -webkit-transform: scale(3);
296
- -moz-transform: scale(3);
297
- -ms-transform: scale(3);
298
- -o-transform: scale(3);
299
- transform: scale(3); }
300
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev {
301
- -webkit-transform-origin: left center;
302
- -moz-transform-origin: left center;
303
- -ms-transform-origin: left center;
304
- -o-transform-origin: left center;
305
- transform-origin: left center; }
306
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next {
307
- -webkit-transform-origin: right center;
308
- -moz-transform-origin: right center;
309
- -ms-transform-origin: right center;
310
- -o-transform-origin: right center;
311
- transform-origin: right center; }
312
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close {
313
- -webkit-transform-origin: right top;
314
- -moz-transform-origin: right top;
315
- -ms-transform-origin: right top;
316
- -o-transform-origin: right top;
317
- transform-origin: right top; }
318
-
319
- /*
320
- jQuery Touch Optimized Sliders "R"Us
321
- Caption addon
322
- */
323
- .tos-caption {
324
- color: white;
325
- text-align: center;
326
- opacity: 0;
327
- -webkit-transition: opacity 0.4s ease;
328
- -moz-transition: opacity 0.4s ease;
329
- -ms-transition: opacity 0.4s ease;
330
- -o-transition: opacity 0.4s ease;
331
- transition: opacity 0.4s ease;
332
- width: 100%;
333
- position: absolute;
334
- left: 0;
335
- bottom: 0;
336
- z-index: 1; }
337
- .tos-caption:after {
338
- content: '';
339
- display: block;
340
- clear: both; }
341
- .tos-caption > div {
342
- white-space: nowrap;
343
- text-overflow: ellipsis;
344
- overflow: hidden;
345
- width: 100%;
346
- box-sizing: border-box;
347
- padding: 0 20px;
348
- float: left; }
349
- .tos-caption > div:last-child {
350
- float: right;
351
- margin-right: -2px; }
352
-
353
- .tos-desktop .tos-wrapper:hover .tos-caption,
354
- .tos-touch .tos-wrapper.tos-hover .tos-caption {
355
- opacity: 1; }
356
-
357
- .tos-wrapper .tos-caption {
358
- line-height: 20px;
359
- font-size: 15px;
360
- text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
361
- height: 40px; }
362
- .tos-wrapper.tos-has-caption .tos-uibg {
363
- height: 100px; }
364
-
365
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-caption .tos-slide {
366
- padding-bottom: 60px; }
367
-
368
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-caption {
369
- line-height: 40px;
370
- font-size: 30px;
371
- text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
372
- height: 80px; }
373
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg {
374
- height: 200px; }
375
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-caption {
376
- line-height: 60px;
377
- font-size: 45px;
378
- text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
379
- height: 120px; }
380
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg {
381
- height: 300px; }
382
-
383
- /*
384
- jQuery Touch Optimized Sliders "R"Us
385
- Drag addon
386
- */
387
- .tos-wrapper.tos-fx-slide .tos-slider {
388
- -webkit-transition-property: left, margin;
389
- -moz-transition-property: left, margin;
390
- -ms-transition-property: left, margin;
391
- -o-transition-property: left, margin;
392
- transition-property: left, margin; }
393
-
394
- /*
395
- jQuery Touch Optimized Sliders "R"Us
396
- Pagination addon
397
- */
398
- .tos-pagination {
399
- text-align: center;
400
- white-space: nowrap;
401
- overflow-x: auto;
402
- -webkit-overflow-scrolling: touch;
403
- overflow-scrolling: touch;
404
- opacity: 0;
405
- -webkit-transition: opacity 0.4s ease;
406
- -moz-transition: opacity 0.4s ease;
407
- -ms-transition: opacity 0.4s ease;
408
- -o-transition: opacity 0.4s ease;
409
- transition: opacity 0.4s ease;
410
- width: 100%;
411
- position: absolute;
412
- bottom: 0;
413
- left: 0;
414
- z-index: 1; }
415
- .tos-pagination a {
416
- display: inline-block; }
417
- .tos-pagination.tos-bullets a {
418
- background-color: rgba(255, 255, 255, 0.2); }
419
- .tos-pagination.tos-bullets a:hover {
420
- background-color: rgba(255, 255, 255, 0.5); }
421
- .tos-pagination.tos-bullets a.tos-selected {
422
- background-color: rgba(255, 255, 255, 0.9); }
423
-
424
- .tos-desktop .tos-wrapper:hover .tos-pagination,
425
- .tos-touch .tos-wrapper.tos-hover .tos-pagination {
426
- opacity: 1; }
427
-
428
- .tos-wrapper .tos-pagination:before, .tos-wrapper .tos-pagination:after {
429
- content: '';
430
- display: inline-block;
431
- width: 20px;
432
- height: 10px; }
433
- .tos-wrapper.tos-has-bullets .tos-pagination {
434
- height: 30px; }
435
- .tos-wrapper.tos-has-bullets .tos-pagination a {
436
- border-radius: 10px;
437
- width: 10px;
438
- height: 10px;
439
- margin: 0 5px; }
440
- .tos-wrapper.tos-has-bullets .tos-caption {
441
- bottom: 30px; }
442
- .tos-wrapper.tos-has-bullets .tos-uibg {
443
- height: 90px; }
444
- .tos-wrapper.tos-has-bullets.tos-has-caption .tos-uibg {
445
- height: 130px; }
446
- .tos-wrapper.tos-has-thumbnails .tos-pagination {
447
- height: 70px; }
448
- .tos-wrapper.tos-has-thumbnails .tos-pagination a {
449
- background-position: center center;
450
- background-size: cover;
451
- width: 50px;
452
- height: 50px;
453
- margin: 0 5px; }
454
- .tos-wrapper.tos-has-thumbnails .tos-caption {
455
- bottom: 70px; }
456
- .tos-wrapper.tos-has-thumbnails .tos-uibg {
457
- height: 130px; }
458
- .tos-wrapper.tos-has-thumbnails.tos-has-caption .tos-uibg {
459
- height: 170px; }
460
-
461
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets .tos-slide {
462
- padding-bottom: 50px; }
463
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets.tos-has-caption .tos-slide {
464
- padding-bottom: 80px; }
465
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails .tos-slide {
466
- padding-bottom: 90px; }
467
- .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails.tos-has-caption .tos-slide {
468
- padding-bottom: 120px; }
469
-
470
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:before, .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:after {
471
- content: '';
472
- display: inline-block;
473
- width: 40px;
474
- height: 20px; }
475
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination {
476
- height: 60px; }
477
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a {
478
- border-radius: 20px;
479
- width: 20px;
480
- height: 20px;
481
- margin: 0 10px; }
482
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption {
483
- bottom: 60px; }
484
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg {
485
- height: 180px; }
486
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg {
487
- height: 260px; }
488
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination {
489
- height: 140px; }
490
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a {
491
- background-position: center center;
492
- background-size: cover;
493
- width: 100px;
494
- height: 100px;
495
- margin: 0 10px; }
496
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption {
497
- bottom: 140px; }
498
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg {
499
- height: 260px; }
500
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg {
501
- height: 340px; }
502
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:before, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:after {
503
- content: '';
504
- display: inline-block;
505
- width: 60px;
506
- height: 30px; }
507
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination {
508
- height: 90px; }
509
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a {
510
- border-radius: 30px;
511
- width: 30px;
512
- height: 30px;
513
- margin: 0 15px; }
514
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption {
515
- bottom: 90px; }
516
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg {
517
- height: 270px; }
518
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg {
519
- height: 390px; }
520
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination {
521
- height: 210px; }
522
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a {
523
- background-position: center center;
524
- background-size: cover;
525
- width: 150px;
526
- height: 150px;
527
- margin: 0 15px; }
528
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption {
529
- bottom: 210px; }
530
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg {
531
- height: 390px; }
532
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg {
533
- height: 510px; }
534
-
535
- /*
536
- jQuery Touch Optimized Sliders "R"Us
537
- Html media
538
- */
539
- .tos-slide .tos-html {
540
- -webkit-overflow-scrolling: touch; }
541
-
542
- /*
543
- jQuery Touch Optimized Sliders "R"Us
544
- Youtube media
545
- */
546
- .tos-play {
547
- background: black;
548
- opacity: 0;
549
- display: block;
550
- position: absolute;
551
- top: 50%;
552
- left: 50%;
553
- -webkit-transition: opacity 0.4s ease;
554
- -moz-transition: opacity 0.4s ease;
555
- -ms-transition: opacity 0.4s ease;
556
- -o-transition: opacity 0.4s ease;
557
- transition: opacity 0.4s ease; }
558
- .tos-play:after {
559
- content: '';
560
- display: block;
561
- position: absolute;
562
- top: 50%;
563
- left: 50%; }
564
-
565
- .tos-desktop .tos-wrapper:hover .tos-play,
566
- .tos-touch .tos-wrapper.tos-hover .tos-play {
567
- opacity: 0.5; }
568
- .tos-desktop .tos-wrapper:hover .tos-play:hover,
569
- .tos-touch .tos-wrapper.tos-hover .tos-play:hover {
570
- opacity: 0.9; }
571
-
572
- .tos-wrapper .tos-play {
573
- border-radius: 80px;
574
- width: 80px;
575
- height: 80px;
576
- margin: -40px; }
577
- .tos-wrapper .tos-play:after {
578
- border: 20px solid transparent;
579
- border-left-color: white;
580
- border-left-width: 30px;
581
- margin-top: -20px;
582
- margin-left: -10.5px; }
583
-
584
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play {
585
- border-radius: 160px;
586
- width: 160px;
587
- height: 160px;
588
- margin: -80px; }
589
- .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play:after {
590
- border: 40px solid transparent;
591
- border-left-color: white;
592
- border-left-width: 60px;
593
- margin-top: -40px;
594
- margin-left: -21px; }
595
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play {
596
- border-radius: 240px;
597
- width: 240px;
598
- height: 240px;
599
- margin: -120px; }
600
- .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play:after {
601
- border: 60px solid transparent;
602
- border-left-color: white;
603
- border-left-width: 90px;
604
- margin-top: -60px;
605
- margin-left: -31.5px; }
1
+ .tos-slide,.tos-slider,.tos-wrapper{width:100%;height:100%}
2
+ .tos-noanimation{-webkit-transition-property:none!important;transition-property:none!important}
3
+ .tos-fastanimation{-webkit-transition-duration:.2s!important;transition-duration:.2s!important;-webkit-transition-timing-function:ease-out!important;transition-timing-function:ease-out!important}
4
+ .tos-wrapper{opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;display:none;padding:0;margin:0;overflow:hidden}
5
+ .tos-wrapper.tos-opened{display:block}
6
+ .tos-slide,.tos-slide:before,.tos-slide>*{display:inline-block}
7
+ .tos-wrapper.tos-opening{opacity:1}
8
+ .tos-wrapper.tos-fixed{background-color:#000;position:fixed;top:0;left:0;z-index:9000}
9
+ .tos-slider,.tos-wrapper.tos-inline{position:relative}
10
+ .tos-slider{white-space:nowrap;padding:0;margin:0}
11
+ .tos-uibg,.tos-wrapper.tos-fx-slide.tos-fixed .tos-slider{position:absolute}
12
+ .tos-wrapper.tos-fx-slide .tos-slider{left:0;-webkit-transition:left .4s ease;transition:left .4s ease}
13
+ .tos-wrapper.tos-fx-fade .tos-slider{opacity:1;-webkit-transition:opacity .4s ease;transition:opacity .4s ease}
14
+ .tos-uibg{opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;width:100%;left:0;bottom:0;z-index:1}
15
+ .tos-fill .tos-uibg{background:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background:linear-gradient(to top,rgba(0,0,0,.5),transparent)}
16
+ .tos-desktop .tos-wrapper:hover .tos-uibg,.tos-touch .tos-wrapper.tos-hover .tos-uibg{opacity:1}
17
+ .tos-slide{-webkit-overflow-scrolling:touch;line-height:1px;text-align:center;box-sizing:border-box;overflow:hidden;position:relative}
18
+ .tos-slide:before{content:"";height:50%;width:1px;margin-right:-1px}
19
+ .tos-slide.tos-loading>*{opacity:0}
20
+ .tos-slide>*{opacity:1;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;vertical-align:middle;max-height:100%;max-width:100%;box-sizing:border-box}
21
+ .tos-slide.tos-html>div{-webkit-overflow-scrolling:touch;white-space:normal;text-align:left;line-height:1.5}
22
+ .tos-slide.tos-html>div *{-webkit-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none}
23
+ .tos-wrapper.tos-fill .tos-slide.tos-image>img{max-height:none;max-width:none;min-height:100%;min-width:100%}
24
+ .tos-wrapper.tos-fixed .tos-slide.tos-html>div{background-color:#fff;color:#333;box-sizing:border-box;display:inline-block;padding:40px;overflow:auto}
25
+ .tos-desktop .tos-wrapper.tos-fixed{background-color:rgba(0,0,0,.85)}
26
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit .tos-slide{padding:20px}
27
+ .tos-close,.tos-next{right:20px}
28
+ .tos-close,.tos-next,.tos-prev{background:#000;border-radius:3px;opacity:0;display:block;width:40px;position:absolute;z-index:1;-webkit-transition:opacity .4s ease;transition:opacity .4s ease}
29
+ .tos-next,.tos-prev{height:80px;margin-top:-40px;top:50%}
30
+ .tos-next.tos-disabled,.tos-prev.tos-disabled{cursor:default}
31
+ .tos-prev{left:20px}
32
+ .tos-close{height:40px;top:20px}
33
+ .tos-desktop .tos-wrapper:hover .tos-close,.tos-desktop .tos-wrapper:hover .tos-next,.tos-desktop .tos-wrapper:hover .tos-prev,.tos-touch .tos-wrapper.tos-hover .tos-close,.tos-touch .tos-wrapper.tos-hover .tos-next,.tos-touch .tos-wrapper.tos-hover .tos-prev{opacity:.5}
34
+ .tos-desktop .tos-wrapper:hover .tos-close:hover,.tos-desktop .tos-wrapper:hover .tos-next:hover,.tos-desktop .tos-wrapper:hover .tos-prev:hover,.tos-touch .tos-wrapper.tos-hover .tos-close:hover,.tos-touch .tos-wrapper.tos-hover .tos-next:hover,.tos-touch .tos-wrapper.tos-hover .tos-prev:hover{opacity:.9}
35
+ .tos-desktop .tos-wrapper:hover .tos-close.tos-disabled,.tos-desktop .tos-wrapper:hover .tos-next.tos-disabled,.tos-desktop .tos-wrapper:hover .tos-prev.tos-disabled,.tos-touch .tos-wrapper.tos-hover .tos-close.tos-disabled,.tos-touch .tos-wrapper.tos-hover .tos-next.tos-disabled,.tos-touch .tos-wrapper.tos-hover .tos-prev.tos-disabled{opacity:.2}
36
+ .tos-close span:after,.tos-close span:before,.tos-next span,.tos-prev span{content:'';display:block;width:12px;height:12px;margin:-5px;position:absolute;top:50%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}
37
+ .tos-close span:after,.tos-close span:before{width:6px;height:6px;margin-top:-4px;margin-left:0;margin-right:0}
38
+ .tos-close span:before,.tos-prev span{border-bottom:3px solid #fff;border-left:3px solid #fff;left:50%}
39
+ .tos-close span:after,.tos-next span{border-top:3px solid #fff;border-right:3px solid #fff;right:50%}
40
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-close .tos-slide,.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-next .tos-slide,.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-prev .tos-slide{padding-left:80px;padding-right:80px}
41
+ .tos-inline{opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;display:inline-block;margin:0;position:relative;top:auto;left:auto;right:auto}
42
+ .tos-inline.tos-prev{margin-right:-60px}
43
+ .tos-inline.tos-next{margin-left:-60px}
44
+ .tos-loading .tos-inline{opacity:0!important}
45
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close,.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next,.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev{-webkit-transform:scale(2);-ms-transform:scale(2);transform:scale(2)}
46
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev{-webkit-transform:scale(3);-ms-transform:scale(3);transform:scale(3)}
47
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev{-webkit-transform-origin:left center;-ms-transform-origin:left center;transform-origin:left center}
48
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next{-webkit-transform-origin:right center;-ms-transform-origin:right center;transform-origin:right center}
49
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}
50
+ .tos-caption{color:#fff;text-align:center;opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;width:100%;position:absolute;left:0;bottom:0;z-index:1}
51
+ .tos-caption:after{content:'';display:block;clear:both}
52
+ .tos-caption>div{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;box-sizing:border-box;padding:0 20px;float:left}
53
+ .tos-caption>div:last-child{float:right;margin-right:-2px}
54
+ .tos-desktop .tos-wrapper:hover .tos-caption,.tos-touch .tos-wrapper.tos-hover .tos-caption{opacity:1}
55
+ .tos-wrapper .tos-caption{line-height:20px;font-size:15px;text-shadow:0 1px 2px rgba(0,0,0,.8);height:40px}
56
+ .tos-wrapper.tos-has-caption .tos-uibg{height:100px}
57
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-caption .tos-slide{padding-bottom:60px}
58
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-caption{line-height:40px;font-size:30px;text-shadow:0 2px 4px rgba(0,0,0,.8);height:80px}
59
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg{height:200px}
60
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-caption{line-height:60px;font-size:45px;text-shadow:0 3px 6px rgba(0,0,0,.8);height:120px}
61
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg{height:300px}
62
+ .tos-wrapper.tos-fx-slide .tos-slider{-webkit-transition-property:left,margin;transition-property:left,margin}
63
+ .tos-pagination{text-align:center;white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-scrolling:touch;opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease;width:100%;position:absolute;bottom:0;left:0;z-index:1}
64
+ .tos-pagination a{display:inline-block}
65
+ .tos-pagination.tos-bullets a{background-color:rgba(255,255,255,.2)}
66
+ .tos-pagination.tos-bullets a:hover{background-color:rgba(255,255,255,.5)}
67
+ .tos-pagination.tos-bullets a.tos-selected{background-color:rgba(255,255,255,.9)}
68
+ .tos-desktop .tos-wrapper:hover .tos-pagination,.tos-touch .tos-wrapper.tos-hover .tos-pagination{opacity:1}
69
+ .tos-wrapper .tos-pagination:after,.tos-wrapper .tos-pagination:before{content:'';display:inline-block;width:20px;height:10px}
70
+ .tos-wrapper.tos-has-bullets .tos-pagination{height:30px}
71
+ .tos-wrapper.tos-has-bullets .tos-pagination a{border-radius:10px;width:10px;height:10px;margin:0 5px}
72
+ .tos-wrapper.tos-has-bullets .tos-caption{bottom:30px}
73
+ .tos-wrapper.tos-has-bullets .tos-uibg{height:90px}
74
+ .tos-wrapper.tos-has-bullets.tos-has-caption .tos-uibg{height:130px}
75
+ .tos-wrapper.tos-has-thumbnails .tos-pagination{height:70px}
76
+ .tos-wrapper.tos-has-thumbnails .tos-pagination a{background-position:center center;background-size:cover;width:50px;height:50px;margin:0 5px}
77
+ .tos-wrapper.tos-has-thumbnails .tos-caption{bottom:70px}
78
+ .tos-wrapper.tos-has-thumbnails .tos-uibg{height:130px}
79
+ .tos-wrapper.tos-has-thumbnails.tos-has-caption .tos-uibg{height:170px}
80
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets .tos-slide{padding-bottom:50px}
81
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets.tos-has-caption .tos-slide{padding-bottom:80px}
82
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails .tos-slide{padding-bottom:90px}
83
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails.tos-has-caption .tos-slide{padding-bottom:120px}
84
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:after,.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:before{content:'';display:inline-block;width:40px;height:20px}
85
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination{height:60px}
86
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a{border-radius:20px;width:20px;height:20px;margin:0 10px}
87
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption{bottom:60px}
88
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg{height:180px}
89
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg{height:260px}
90
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination{height:140px}
91
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a{background-position:center center;background-size:cover;width:100px;height:100px;margin:0 10px}
92
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption{bottom:140px}
93
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg{height:260px}
94
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg{height:340px}
95
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:after,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:before{content:'';display:inline-block;width:60px;height:30px}
96
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination{height:90px}
97
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a{border-radius:30px;width:30px;height:30px;margin:0 15px}
98
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption{bottom:90px}
99
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg{height:270px}
100
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg{height:390px}
101
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination{height:210px}
102
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a{background-position:center center;background-size:cover;width:150px;height:150px;margin:0 15px}
103
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption{bottom:210px}
104
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg{height:390px}
105
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg{height:510px}
106
+ .tos-slide .tos-html{-webkit-overflow-scrolling:touch}
107
+ .tos-play,.tos-play:after{display:block;position:absolute;top:50%;left:50%}
108
+ .tos-play{background:#000;opacity:0;-webkit-transition:opacity .4s ease;transition:opacity .4s ease}
109
+ .tos-play:after{content:''}
110
+ .tos-desktop .tos-wrapper:hover .tos-play,.tos-touch .tos-wrapper.tos-hover .tos-play{opacity:.5}
111
+ .tos-desktop .tos-wrapper:hover .tos-play:hover,.tos-touch .tos-wrapper.tos-hover .tos-play:hover{opacity:.9}
112
+ .tos-wrapper .tos-play{border-radius:80px;width:80px;height:80px;margin:-40px}
113
+ .tos-wrapper .tos-play:after{border:20px solid transparent;border-left-color:#fff;border-left-width:30px;margin-top:-20px;margin-left:-10.5px}
114
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play{border-radius:160px;width:160px;height:160px;margin:-80px}
115
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play:after{border:40px solid transparent;border-left-color:#fff;border-left-width:60px;margin-top:-40px;margin-left:-21px}
116
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play{border-radius:240px;width:240px;height:240px;margin:-120px}
117
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play:after{border:60px solid transparent;border-left-color:#fff;border-left-width:90px;margin-top:-60px;margin-left:-31.5px}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/tosrus/js/jquery.tosrus.min.all.js CHANGED
@@ -1,93 +1,83 @@
1
- /*
2
- * jQuery Touch Optimized Sliders "R"Us 2.4.2
3
- *
4
- * Copyright (c) Fred Heusschen
5
- * www.frebsite.nl
6
- *
7
- * Plugin website:
8
- * tosrus.frebsite.nl
9
- *
10
- * Licensed under the MIT license.
11
- * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
- !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.2";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||s().add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
14
- /*
15
- * jQuery Touch Optimized Sliders "R"Us
16
- * Autoplay addon
17
- *
18
- * Copyright (c) Fred Heusschen
19
- * www.frebsite.nl
20
  */
21
- !function(t){var o,s,u,a,i,n="tosrus",e="autoplay",p=!1;t[n].prototype["_addon_"+e]=function(){p||(o=t[n]._c,s=t[n]._d,u=t[n]._e,a=t[n]._f,i=t[n]._g,u.add("mouseover mouseout"),p=!0);var r=this,y=this.opts[e];y.play&&(this.opts.infinite=!0,this.nodes.$wrpr.on(u.sliding,function(){r.autoplay()}),y.pauseOnHover&&this.nodes.$wrpr.on(u.mouseover,function(){r.autostop()}).on(u.mouseout,function(){r.autoplay()}),this.autoplay())},t[n].prototype.autoplay=function(){var t=this;this.autostop(),this.vars.autoplay=setTimeout(function(){t.next()},this.opts[e].timeout)},t[n].prototype.autostop=function(){this.vars.autoplay&&clearTimeout(this.vars.autoplay)},t[n].defaults[e]={play:!1,timeout:4e3,pauseOnHover:!1},t[n].addons.push(e)}(jQuery);
22
- /*
23
- * jQuery Touch Optimized Sliders "R"Us
24
- * Buttons addon
25
- *
26
- * Copyright (c) Fred Heusschen
27
- * www.frebsite.nl
28
  */
29
- !function(s){function e(e,n){return s('<a class="'+t[e]+n+'" href="#"><span></span></a>')}function n(s,e,n,t){e.on(o.click,function(e){e.preventDefault(),e.stopPropagation(),s.trigger(o[n],[t])})}var t,i,o,d,p,l="tosrus",r="buttons",a=!1;s[l].prototype["_addon_"+r]=function(){a||(t=s[l]._c,i=s[l]._d,o=s[l]._e,d=s[l]._f,p=s[l]._g,t.add("prev next close disabled"),a=!0);var u=this,h=this.opts[r];this.nodes.$prev=null,this.nodes.$next=null,this.nodes.$clse=null,("boolean"==typeof h||"string"==typeof h&&"inline"==h)&&(h={prev:h,next:h}),"undefined"==typeof h.close&&(h.close=this.vars.fixed),this.nodes.$slides.length<2&&(h.prev=!1,h.next=!1),s.each({prev:"prev",next:"next",close:"clse"},function(i,d){h[i]&&("string"==typeof h[i]&&"inline"==h[i]?u.vars.fixed&&"close"!=i&&u.nodes.$slides.on(o.loading,function(){var o=e(i," "+t.inline)["prev"==i?"prependTo":"appendTo"](this);n(u.nodes.$wrpr,o,i,1),u.opts.infinite||("prev"==i&&s(this).is(":first-child")||"next"==i&&s(this).is(":last-child"))&&o.addClass(t.disabled)}):("string"==typeof h[i]&&(h[i]=s(h[i])),u.nodes["$"+d]=h[i]instanceof s?h[i]:e(i,"").appendTo(u.nodes.$wrpr),n(u.nodes.$wrpr,u.nodes["$"+d],i,null)))}),this.opts.infinite||(this.updateButtons(),this.nodes.$wrpr.on(o.sliding,function(){u.updateButtons()}))},s[l].prototype.updateButtons=function(){this.nodes.$prev&&this.nodes.$prev[(this.slides.index<1?"add":"remove")+"Class"](t.disabled),this.nodes.$next&&this.nodes.$next[(this.slides.index>=this.slides.total-this.slides.visible?"add":"remove")+"Class"](t.disabled)},s[l].defaults[r]={prev:!s[l].support.touch,next:!s[l].support.touch},s[l].addons.push(r),s[l].ui.push("prev"),s[l].ui.push("next"),s[l].ui.push("close")}(jQuery);
30
- /*
31
- * jQuery Touch Optimized Sliders "R"Us
32
- * Caption addon
33
- *
34
- * Copyright (c) Fred Heusschen
35
- * www.frebsite.nl
36
  */
37
- !function(t){var i,s,a,e,d,n="tosrus",r="caption",o=!1;t[n].prototype["_addon_"+r]=function(){o||(i=t[n]._c,s=t[n]._d,a=t[n]._e,e=t[n]._f,d=t[n]._g,i.add("caption uibg"),s.add("caption"),o=!0);var p=this,c=this.opts[r];if(c.add){c.attributes=c.attributes||[],"string"==typeof c.target&&(c.target=t(c.target)),c.target instanceof t?this.nodes.$capt=c.target:(this.nodes.$capt=t('<div class="'+i.caption+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+i.uibg+'" />').prependTo(this.nodes.$wrpr)));for(var h=0,l=this.slides.visible;l>h;h++)t('<div class="'+i.caption+"-"+h+'" />').css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px")).appendTo(this.nodes.$capt);this.nodes.$slides.each(function(){var i=t(this),a=p.vars.fixed?i.data(s.anchor):i.children();i.data(s.caption,"");for(var e=0,d=c.attributes.length;d>e;e++){var n=a.attr(c.attributes[e]);if(n&&n.length){i.data(s.caption,n);break}}}),this.nodes.$wrpr.on(a.sliding,function(){for(var t=0,i=p.slides.visible;i>t;t++)p.nodes.$capt.children().eq(t).html(p.nodes.$sldr.children().eq(p.slides.index+t).data(s.caption)||"")})}},t[n].defaults[r]={add:!1,target:null,attributes:["title","alt"]},t[n].addons.push(r),t[n].ui.push("caption")}(jQuery);
38
- /*
39
- * jQuery Touch Optimized Sliders "R"Us
40
- * Drag addon
41
- *
42
- * Copyright (c) Fred Heusschen
43
- * www.frebsite.nl
44
  */
45
- !function(e){if("function"==typeof Hammer){var n,s,t,i,r,a="tosrus",o="drag",d=!1;e[a].prototype["_addon_"+o]=function(){d||(n=e[a]._c,s=e[a]._d,t=e[a]._e,i=e[a]._f,r=e[a]._g,d=!0);var l=this;if(this.opts[o]&&"slide"==this.opts.effect){if(Hammer.VERSION<2)return e[a].deprecated("Older version of the Hammer library","version 2 or newer"),void 0;if(this.nodes.$slides.length>1){var f=0,p=!1,h=!1,c=new Hammer(this.nodes.$wrpr[0]);c.on("panstart panleft panright panend swipeleft swiperight",function(e){e.preventDefault()}).on("panstart",function(){l.nodes.$sldr.addClass(n.noanimation)}).on("panleft panright",function(e){switch(f=e.deltaX,h=!1,e.direction){case 2:p="left";break;case 4:p="right";break;default:p=!1}("left"==p&&l.slides.index+l.slides.visible>=l.slides.total||"right"==p&&0==l.slides.index)&&(f/=2.5),l.nodes.$sldr.css("margin-left",Math.round(f))}).on("swipeleft swiperight",function(){h=!0}).on("panend",function(){if(l.nodes.$sldr.removeClass(n.noanimation).addClass(n.fastanimation),i.transitionend(l.nodes.$sldr,function(){l.nodes.$sldr.removeClass(n.fastanimation)},l.conf.transitionDuration/2),l.nodes.$sldr.css("margin-left",0),"left"==p||"right"==p){if(h)var e=l.slides.visible;else var s=l.nodes.$slides.first().width(),e=Math.floor((Math.abs(f)+s/2)/s);e>0&&l.nodes.$wrpr.trigger(t["left"==p?"next":"prev"],[e])}p=!1})}}},e[a].defaults[o]=e[a].support.touch,e[a].addons.push(o)}}(jQuery);
46
- /*
47
- * jQuery Touch Optimized Sliders "R"Us
48
- * Keys addon
49
- *
50
- * Copyright (c) Fred Heusschen
51
- * www.frebsite.nl
52
  */
53
- !function(e){var t,o,n,s,a,r="tosrus",p="keys",c=!1;e[r].prototype["_addon_"+p]=function(){c||(t=e[r]._c,o=e[r]._d,n=e[r]._e,s=e[r]._f,a=e[r]._g,n.add("keyup"),c=!0);var i=this,d=this.opts[p];if("boolean"==typeof d&&d&&(d={prev:!0,next:!0,close:!0}),e.isPlainObject(d)){for(var f in e[r].constants[p])"boolean"==typeof d[f]&&d[f]&&(d[f]=e[r].constants[p][f]);this.nodes.$slides.length<2&&(d.prev=!1,d.next=!1),e(document).on(n.keyup,function(e){if(i.vars.opened){var t=!1;switch(e.keyCode){case d.prev:t=n.prev;break;case d.next:t=n.next;break;case d.close:t=n.close}t&&(e.preventDefault(),e.stopPropagation(),i.nodes.$wrpr.trigger(t))}})}},e[r].defaults[p]=!1,e[r].constants[p]={prev:37,next:39,close:27},e[r].addons.push(p)}(jQuery);
54
- /*
55
- * jQuery Touch Optimized Sliders "R"Us
56
- * Pagination addon
57
- *
58
- * Copyright (c) Fred Heusschen
59
- * www.frebsite.nl
60
  */
61
- !function(t){var e,i,n,s,a,r="tosrus",o="pagination",d=!1;t[r].prototype["_addon_"+o]=function(){d||(e=t[r]._c,i=t[r]._d,n=t[r]._e,s=t[r]._f,a=t[r]._g,e.add("pagination selected uibg bullets thumbnails"),d=!0);var u=this,l=this.opts[o];if(this.nodes.$slides.length<2&&(l.add=!1),l.add){if("string"==typeof l.target&&(l.target=t(l.target)),l.target instanceof t?this.nodes.$pagr=l.target:(this.nodes.$pagr=t('<div class="'+e.pagination+" "+e[l.type]+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+e.uibg+'" />').prependTo(this.nodes.$wrpr))),"function"!=typeof l.anchorBuilder)switch(l.type){case"thumbnails":var h='<a href="#" style="background-image: url(',p=');"></a>';l.anchorBuilder=this.vars.fixed?function(){return h+t(this).data(i.anchor).attr("href")+p}:function(){return h+t(this).find("img").attr("src")+p};break;case"bullets":default:l.anchorBuilder=function(){return'<a href="#"></a>'}}this.nodes.$slides.each(function(e){t(l.anchorBuilder.call(this,e+1)).appendTo(u.nodes.$pagr).on(n.click,function(t){t.preventDefault(),t.stopPropagation(),u.nodes.$wrpr.trigger(n.slideTo,[e])})}),this.updatePagination(),this.nodes.$wrpr.on(n.sliding,function(){u.updatePagination()})}},t[r].prototype.updatePagination=function(){this.nodes.$pagr&&this.nodes.$pagr.children().removeClass(e.selected).eq(this.slides.index).addClass(e.selected)},t[r].defaults[o]={add:!1,type:"bullets",target:null,anchorBuilder:null},t[r].addons.push(o),t[r].ui.push("pagination"),t[r].ui.push("bullets"),t[r].ui.push("thumbnails")}(jQuery);
62
- /*
63
- * jQuery Touch Optimized Sliders "R"Us
64
- * HTML media
65
- *
66
- * Copyright (c) Fred Heusschen
67
- * www.frebsite.nl
68
  */
69
- !function(i){var e="tosrus",n="html";i[e].media[n]={filterAnchors:function(e){var n=e.attr("href");return"#"==n.slice(0,1)&&i(n).is("div")},initAnchors:function(n,t){i('<div class="'+i[e]._c("html")+'" />').append(i(t)).appendTo(n),n.removeClass(i[e]._c.loading).trigger(i[e]._e.loaded)},filterSlides:function(i){return i.is("div")},initSlides:function(){}},i[e].defaults.media[n]={}}(jQuery);
70
- /*
71
- * jQuery Touch Optimized Sliders "R"Us
72
- * Images media
73
- *
74
- * Copyright (c) Fred Heusschen
75
- * www.frebsite.nl
76
  */
77
- !function(i){var e="tosrus",n="image";i[e].media[n]={filterAnchors:function(e){return i.inArray(e.attr("href").toLowerCase().split(".").pop().split("?")[0],["jpg","jpe","jpeg","gif","png"])>-1},initAnchors:function(n,r){i('<img border="0" />').on(i[e]._e.load,function(r){r.stopPropagation(),n.removeClass(i[e]._c.loading).trigger(i[e]._e.loaded)}).appendTo(n).attr("src",r)},filterSlides:function(i){return i.is("img")},initSlides:function(){}},i[e].defaults.media[n]={}}(jQuery);
78
- /*
79
- * jQuery Touch Optimized Sliders "R"Us
80
- * Vimeo media
81
- *
82
- * Copyright (c) Fred Heusschen
83
- * www.frebsite.nl
84
  */
85
- !function(i){function t(t){function l(){f.length&&(f.attr("src",""),f.attr("src",h))}c||(a=i[s]._c,e=i[s]._d,o=i[s]._e,r=i[s]._f,n=i[s]._g,e.add("ratio maxWidth maxHeight"),c=!0);var f=t.children(),m=t.data(i[s]._d.anchor)||i(),h=f.attr("src"),u=m.data(e.ratio)||this.opts[d].ratio,g=m.data(e.maxWidth)||this.opts[d].maxWidth,p=m.data(e.maxHeight)||this.opts[d].maxHeight;t.removeClass(a.loading).trigger(o.loaded).on(o.loading,function(){r.resizeRatio(f,t,g,p,u)}),this.nodes.$wrpr.on(o.sliding,function(){l()}).on(o.closing,function(){l()}),n.$wndw.on(o.resize,function(){r.resizeRatio(f,t,g,p,u)})}var a,e,o,r,n,s="tosrus",d="vimeo",c=!1;i[s].media[d]={filterAnchors:function(i){return i.attr("href").toLowerCase().indexOf("vimeo.com/")>-1},initAnchors:function(a,e){var o=this._uniqueID();e=e.split("vimeo.com/")[1].split("?")[0]+"?api=1&player_id="+o,i('<iframe id="'+o+'" src="http://player.vimeo.com/video/'+e+'" frameborder="0" allowfullscreen />').appendTo(a),t.call(this,a)},filterSlides:function(i){return i.is("iframe")&&i.attr("src")?i.attr("src").toLowerCase().indexOf("vimeo.com/video/")>-1:!1},initSlides:function(i){t.call(this,i)}},i[s].defaults.media[d]={},i[s].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1}}(jQuery);
86
- /*
87
- * jQuery Touch Optimized Sliders "R"Us
88
- * Youtube media
89
- *
90
- * Copyright (c) Fred Heusschen
91
- * www.frebsite.nl
92
  */
93
- !function(t){function e(e){function u(t){l.length&&l[0].contentWindow.postMessage('{ "event": "command", "func": "'+t+'Video" }',"*")}c||(i=t[s]._c,o=t[s]._d,a=t[s]._e,n=t[s]._f,r=t[s]._g,o.add("ratio maxWidth maxHeight"),c=!0);var l=e.children(),m=e.data(t[s]._d.anchor)||t(),f=m.data(o.ratio)||this.opts[d].ratio,h=m.data(o.maxWidth)||this.opts[d].maxWidth,p=m.data(o.maxHeight)||this.opts[d].maxHeight;e.removeClass(i.loading).trigger(a.loaded).on(a.loading,function(){n.resizeRatio(l,e,h,p,f)}),this.nodes.$wrpr.on(a.sliding,function(){u("pause")}).on(a.closing,function(){u("stop")}),r.$wndw.on(a.resize,function(){n.resizeRatio(l,e,h,p,f)})}var i,o,a,n,r,s="tosrus",d="youtube",c=!1;t[s].media[d]={filterAnchors:function(t){return t.attr("href").toLowerCase().indexOf("youtube.com/watch?v=")>-1},initAnchors:function(i,o){var a=o;o=o.split("?v=")[1].split("&")[0],this.opts[d].imageLink?(o="http://img.youtube.com/vi/"+o+"/0.jpg",t('<a href="'+a+'" class="'+t[s]._c("play")+'" target="_blank" />').appendTo(i),t('<img border="0" />').on(t[s]._e.load,function(e){e.stopPropagation(),i.removeClass(t[s]._c.loading).trigger(t[s]._e.loaded)}).appendTo(i).attr("src",o)):(t('<iframe src="http://www.youtube.com/embed/'+o+'?enablejsapi=1" frameborder="0" allowfullscreen />').appendTo(i),e.call(this,i))},filterSlides:function(t){return t.is("iframe")&&t.attr("src")?t.attr("src").toLowerCase().indexOf("youtube.com/embed/")>-1:!1},initSlides:function(t){e.call(this,t)}},t[s].defaults.media[d]={},t[s].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1,imageLink:t[s].support.touch}}(jQuery);
1
+ /*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.5.0
3
+ *
4
+ * Copyright (c) Fred Heusschen
5
+ * www.frebsite.nl
6
+ *
7
+ * Plugin website:
8
+ * tosrus.frebsite.nl
9
+ *
10
+ * Licensed under the MIT license.
11
+ * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
+ !function(t){function i(){o=function(t){return s+"-"+t},a=function(t){return s+"-"+t},r=function(t){return t+"."+s},t.each([o,a,r],function(t,i){i.add=function(t){t=t.split(" ");for(var e in t)i[t[e]]=i(t[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),a.add("slide anchor"),r.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),d={complObject:function(i,e){return t.isPlainObject(i)||(i=e),i},complBoolean:function(t,i){return"boolean"!=typeof t&&(t=i),t},complNumber:function(i,e){return t.isNumeric(i)||(i=e),i},complString:function(t,i){return"string"!=typeof t&&(t=i),t},isPercentage:function(t){return"string"==typeof t&&"%"==t.slice(-1)},getPercentage:function(t){return parseInt(t.slice(0,-1))},resizeRatio:function(t,i,e,s,n){if(i.is(":visible")){var o=i.width(),a=i.height();e&&o>e&&(o=e),s&&a>s&&(a=s),n>o/a?a=o/n:o=a*n,t.width(o).height(a)}},transitionend:function(t,i,e){var s=!1,n=function(){s||i.call(t[0]),s=!0};t.one(r.transitionend,n),t.one(r.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var t=l.viewportScale.getScale();"undefined"!=typeof t&&(t=1/t,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(t),3),1)]))}}},l={$wndw:t(window),$html:t("html"),$body:t("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(t[e].support.touch?o.touch:o.desktop),l.$wndw.on(r.scroll,function(t){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}),!l.viewportScale&&t[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,d.setViewportScale(),l.$wndw.on(r.orientationchange+" "+r.resize,function(t){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){d.setViewportScale()},500)})),t[e]._c=o,t[e]._d=a,t[e]._e=r,t[e]._f=d,t[e]._g=l}var e="tosrus",s="tos",n="2.5.0";if(!t[e]){var o={},a={},r={},d={},l={};t[e]=function(t,i,e){return this.$node=t,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},t[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=t('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=t('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(r.open+" "+r.close+" "+r.prev+" "+r.next+" "+r.slideTo,function(t){arguments=Array.prototype.slice.call(arguments);var t=arguments.shift(),e=t.type;t.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(r.opening+" "+r.closing+" "+r.sliding+" "+r.loading+" "+r.loaded,function(t){t.stopPropagation()}).on(r.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":t(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var s=0;s<t[e].addons.length;s++)t.isFunction(this["_addon_"+t[e].addons[s]])&&this["_addon_"+t[e].addons[s]]();for(var n=0;n<t[e].ui.length;n++)this.nodes.$wrpr.find("."+o[t[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+t[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||t().add(this.nodes.$capt||t()).add(this.nodes.$pagr||t()).on(r.click,function(t){t.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var s=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),d.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(r.opening,[i,e]):setTimeout(function(){s.nodes.$wrpr.addClass(o.opening).trigger(r.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),t.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):d.transitionend(this.nodes.$wrpr,function(){t(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(r.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){t.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){t.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,s){if(!this.vars.opened)return!1;if(!t.isNumeric(i))return!1;var n=!0;if(0>i){var a=0==this.slides.index;this.opts.infinite?i=a?this.slides.total-this.slides.visible:0:(i=0,a&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var p=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(p+="%"),s&&(this.nodes.$sldr.addClass(o.noanimation),d.transitionend(this.nodes.$sldr,function(){t(this).removeClass(o.noanimation)},5));for(var c in t[e].effects)if(c==this.opts.effect){t[e].effects[c].call(this,p,s);break}this.nodes.$wrpr.trigger(r.sliding,[i,s])}},_initAnchors:function(){var i=this,s=t();if(this.$node.is("a"))for(var n in t[e].media)s=s.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var s=i.opts.media[n].filterAnchors.call(i,t(this));if("boolean"==typeof s)return s}return t[e].media[n].filterAnchors.call(i,t(this))}));return s},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var s=t(this),n=t('<div class="'+o.slide+" "+o.loading+'" />').data(a.anchor,s).appendTo(i.nodes.$sldr);s.data(a.slide,n).on(r.click,function(t){t.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var s=t(this);t('<div class="'+o.slide+'" />').append(s).appendTo(i.nodes.$sldr);for(var n in t[e].media){var a=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(a=i.opts.media[n].filterSlides.call(i,s)),"boolean"!=typeof a&&(a=t[e].media[n].filterSlides.call(i,s)),a){t[e].media[n].initSlides.call(i,s),s.parent().addClass(o(n));break}}})},_loadContents:function(){var t=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){t._loadContent(t.slides.index-t.slides.visible,t.slides.index),t._loadContent(t.slides.index+t.slides.visible,t.slides.index+2*t.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,s){var n=this;this.nodes.$slides.slice(i,s).each(function(){var i=t(this);if(0==i.children().length){var s=i.data(a.anchor),d=s.attr("href");for(var l in t[e].media){var p=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(p=n.opts.media[l].filterAnchors.call(n,s)),"boolean"!=typeof p&&(p=t[e].media[l].filterAnchors.call(n,s)),p){t[e].media[l].initAnchors.call(n,i,d),i.addClass(o(l));break}}i.trigger(r.loading,[i.data(a.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=t(this.opts.wrapper.target)),this.opts.show=d.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),t.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=d.complNumber(this.opts.slides.visible,1);else{var i=d.isPercentage(this.opts.slides.width)?d.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=d.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=d.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=d.isPercentage(this.opts.slides.offset)?d.getPercentage(this.opts.slides.offset):d.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},t.fn[e]=function(s,n,o,a){l.$wndw||i(),s=t.extend(!0,{},t[e].defaults,s),s=t.extend(!0,{},s,t[e].support.touch?o:n),a=t.extend(!0,{},t[e].configuration,a);var r=new t[e](this,s,a);return this.data(e,r),r.nodes.$wrpr},t[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},t[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},t[e].configuration={transitionDuration:400},t[e].constants={},t[e].debug=function(t){},t[e].deprecated=function(t,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+t+" is deprecated, use "+i+" instead.")},t[e].effects={slide:function(t){this.nodes.$sldr.css("left",t)},fade:function(i){d.transitionend(this.nodes.$sldr,function(){t(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},t[e].version=n,t[e].media={},t[e].addons=[],t[e].ui=[]}}(jQuery),/*
14
+ * jQuery Touch Optimized Sliders "R"Us
15
+ * Autoplay addon
16
+ *
17
+ * Copyright (c) Fred Heusschen
18
+ * www.frebsite.nl
 
19
  */
20
+ function(t){var i,e,s,n,o,a="tosrus",r="autoplay",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,s.add("mouseover mouseout"),d=!0);var l=this,p=this.opts[r];p.play&&(this.opts.infinite=!0,this.nodes.$wrpr.on(s.sliding,function(t){l.autoplay()}),p.pauseOnHover&&this.nodes.$wrpr.on(s.mouseover,function(t){l.autostop()}).on(s.mouseout,function(t){l.autoplay()}),this.autoplay())},t[a].prototype.autoplay=function(){var t=this;this.autostop(),this.vars.autoplay=setTimeout(function(){t.next()},this.opts[r].timeout)},t[a].prototype.autostop=function(){this.vars.autoplay&&clearTimeout(this.vars.autoplay)},t[a].defaults[r]={play:!1,timeout:4e3,pauseOnHover:!1},t[a].addons.push(r)}(jQuery),/*
21
+ * jQuery Touch Optimized Sliders "R"Us
22
+ * Buttons addon
23
+ *
24
+ * Copyright (c) Fred Heusschen
25
+ * www.frebsite.nl
 
26
  */
27
+ function(t){function i(i,e){return t('<a class="'+s[i]+e+'" href="#"><span></span></a>')}function e(t,i,e,s){i.on(o.click,function(i){i.preventDefault(),i.stopPropagation(),t.trigger(o[e],[s])})}var s,n,o,a,r,d="tosrus",l="buttons",p=!1;t[d].prototype["_addon_"+l]=function(){p||(s=t[d]._c,n=t[d]._d,o=t[d]._e,a=t[d]._f,r=t[d]._g,s.add("prev next close disabled"),p=!0);var c=this,h=this.opts[l];this.nodes.$prev=null,this.nodes.$next=null,this.nodes.$clse=null,("boolean"==typeof h||"string"==typeof h&&"inline"==h)&&(h={prev:h,next:h}),"undefined"==typeof h.close&&(h.close=this.vars.fixed),this.nodes.$slides.length<2&&(h.prev=!1,h.next=!1),t.each({prev:"prev",next:"next",close:"clse"},function(n,a){h[n]&&("string"==typeof h[n]&&"inline"==h[n]?c.vars.fixed&&"close"!=n&&c.nodes.$slides.on(o.loading,function(o,a){var r=i(n," "+s.inline)["prev"==n?"prependTo":"appendTo"](this);e(c.nodes.$wrpr,r,n,1),c.opts.infinite||("prev"==n&&t(this).is(":first-child")||"next"==n&&t(this).is(":last-child"))&&r.addClass(s.disabled)}):("string"==typeof h[n]&&(h[n]=t(h[n])),c.nodes["$"+a]=h[n]instanceof t?h[n]:i(n,"").appendTo(c.nodes.$wrpr),e(c.nodes.$wrpr,c.nodes["$"+a],n,null)))}),this.opts.infinite||(this.updateButtons(),this.nodes.$wrpr.on(o.sliding,function(t,i,e){c.updateButtons()}))},t[d].prototype.updateButtons=function(){this.nodes.$prev&&this.nodes.$prev[(this.slides.index<1?"add":"remove")+"Class"](s.disabled),this.nodes.$next&&this.nodes.$next[(this.slides.index>=this.slides.total-this.slides.visible?"add":"remove")+"Class"](s.disabled)},t[d].defaults[l]={prev:!t[d].support.touch,next:!t[d].support.touch},t[d].addons.push(l),t[d].ui.push("prev"),t[d].ui.push("next"),t[d].ui.push("close")}(jQuery),/*
28
+ * jQuery Touch Optimized Sliders "R"Us
29
+ * Caption addon
30
+ *
31
+ * Copyright (c) Fred Heusschen
32
+ * www.frebsite.nl
 
33
  */
34
+ function(t){var i,e,s,n,o,a="tosrus",r="caption",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,i.add("caption uibg"),e.add("caption"),d=!0);var l=this,p=this.opts[r];if(p.add){p.attributes=p.attributes||[],"string"==typeof p.target&&(p.target=t(p.target)),p.target instanceof t?this.nodes.$capt=p.target:(this.nodes.$capt=t('<div class="'+i.caption+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+i.uibg+'" />').prependTo(this.nodes.$wrpr)));for(var c=0,h=this.slides.visible;h>c;c++)t('<div class="'+i.caption+"-"+c+'" />').css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px")).appendTo(this.nodes.$capt);this.nodes.$slides.each(function(i){var s=t(this),n=l.vars.fixed?s.data(e.anchor):s.children();s.data(e.caption,"");for(var o=0,a=p.attributes.length;a>o;o++){var r=n.attr(p.attributes[o]);if(r&&r.length){s.data(e.caption,r);break}}}),this.nodes.$wrpr.on(s.sliding,function(t,i,s){for(var n=0,o=l.slides.visible;o>n;n++)l.nodes.$capt.children().eq(n).html(l.nodes.$sldr.children().eq(l.slides.index+n).data(e.caption)||"")})}},t[a].defaults[r]={add:!1,target:null,attributes:["title","alt","rel"]},t[a].addons.push(r),t[a].ui.push("caption")}(jQuery),/*
35
+ * jQuery Touch Optimized Sliders "R"Us
36
+ * Drag addon
37
+ *
38
+ * Copyright (c) Fred Heusschen
39
+ * www.frebsite.nl
 
40
  */
41
+ function(t){if("function"==typeof Hammer){var i,e,s,n,o,a="tosrus",r="drag",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,d=!0);var l=this;if(this.opts[r]&&"slide"==this.opts.effect){if(Hammer.VERSION<2)return void t[a].deprecated("Older version of the Hammer library","version 2 or newer");if(this.nodes.$slides.length>1){var p=0,c=!1,h=!1,u=new Hammer(this.nodes.$wrpr[0]);u.on("panstart panleft panright panend swipeleft swiperight",function(t){t.preventDefault()}).on("panstart",function(t){l.nodes.$sldr.addClass(i.noanimation)}).on("panleft panright",function(t){switch(p=t.deltaX,h=!1,t.direction){case 2:c="left";break;case 4:c="right";break;default:c=!1}("left"==c&&l.slides.index+l.slides.visible>=l.slides.total||"right"==c&&0==l.slides.index)&&(p/=2.5),l.nodes.$sldr.css("margin-left",Math.round(p))}).on("swipeleft swiperight",function(t){h=!0}).on("panend",function(t){if(l.nodes.$sldr.removeClass(i.noanimation).addClass(i.fastanimation),n.transitionend(l.nodes.$sldr,function(){l.nodes.$sldr.removeClass(i.fastanimation)},l.conf.transitionDuration/2),l.nodes.$sldr.css("margin-left",0),"left"==c||"right"==c){if(h)var e=l.slides.visible;else var o=l.nodes.$slides.first().width(),e=Math.floor((Math.abs(p)+o/2)/o);e>0&&l.nodes.$wrpr.trigger(s["left"==c?"next":"prev"],[e])}c=!1})}}},t[a].defaults[r]=t[a].support.touch,t[a].addons.push(r)}}(jQuery),/*
42
+ * jQuery Touch Optimized Sliders "R"Us
43
+ * Keys addon
44
+ *
45
+ * Copyright (c) Fred Heusschen
46
+ * www.frebsite.nl
 
47
  */
48
+ function(t){var i,e,s,n,o,a="tosrus",r="keys",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,s.add("keyup"),d=!0);var l=this,p=this.opts[r];if("boolean"==typeof p&&p&&(p={prev:!0,next:!0,close:!0}),t.isPlainObject(p)){for(var c in t[a].constants[r])"boolean"==typeof p[c]&&p[c]&&(p[c]=t[a].constants[r][c]);this.nodes.$slides.length<2&&(p.prev=!1,p.next=!1),t(document).on(s.keyup,function(t){if(l.vars.opened){var i=!1;switch(t.keyCode){case p.prev:i=s.prev;break;case p.next:i=s.next;break;case p.close:i=s.close}i&&(t.preventDefault(),t.stopPropagation(),l.nodes.$wrpr.trigger(i))}})}},t[a].defaults[r]=!1,t[a].constants[r]={prev:37,next:39,close:27},t[a].addons.push(r)}(jQuery),/*
49
+ * jQuery Touch Optimized Sliders "R"Us
50
+ * Pagination addon
51
+ *
52
+ * Copyright (c) Fred Heusschen
53
+ * www.frebsite.nl
 
54
  */
55
+ function(t){var i,e,s,n,o,a="tosrus",r="pagination",d=!1;t[a].prototype["_addon_"+r]=function(){d||(i=t[a]._c,e=t[a]._d,s=t[a]._e,n=t[a]._f,o=t[a]._g,i.add("pagination selected uibg bullets thumbnails"),d=!0);var l=this,p=this.opts[r];if(this.nodes.$slides.length<2&&(p.add=!1),p.add){if("string"==typeof p.target&&(p.target=t(p.target)),p.target instanceof t?this.nodes.$pagr=p.target:(this.nodes.$pagr=t('<div class="'+i.pagination+" "+i[p.type]+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+i.uibg+'" />').prependTo(this.nodes.$wrpr))),"function"!=typeof p.anchorBuilder)switch(p.type){case"thumbnails":var c='<a href="#" style="background-image: url(\'',h="');\"></a>";this.vars.fixed?p.anchorBuilder=function(i){return c+t(this).data(e.anchor).attr("href")+h}:p.anchorBuilder=function(i){return c+t(this).find("img").attr("src")+h};break;case"bullets":default:p.anchorBuilder=function(t){return'<a href="#"></a>'}}this.nodes.$slides.each(function(i){t(p.anchorBuilder.call(this,i+1)).appendTo(l.nodes.$pagr).on(s.click,function(t){t.preventDefault(),t.stopPropagation(),l.nodes.$wrpr.trigger(s.slideTo,[i])})}),this.updatePagination(),this.nodes.$wrpr.on(s.sliding,function(t,i,e){l.updatePagination()})}},t[a].prototype.updatePagination=function(){this.nodes.$pagr&&this.nodes.$pagr.children().removeClass(i.selected).eq(this.slides.index).addClass(i.selected)},t[a].defaults[r]={add:!1,type:"bullets",target:null,anchorBuilder:null},t[a].addons.push(r),t[a].ui.push("pagination"),t[a].ui.push("bullets"),t[a].ui.push("thumbnails")}(jQuery),/*
56
+ * jQuery Touch Optimized Sliders "R"Us
57
+ * HTML media
58
+ *
59
+ * Copyright (c) Fred Heusschen
60
+ * www.frebsite.nl
 
61
  */
62
+ function(t){var i="tosrus",e="html";t[i].media[e]={filterAnchors:function(i){var e=i.attr("href");return"#"==e.slice(0,1)&&t(e).is("div")},initAnchors:function(e,s){t('<div class="'+t[i]._c("html")+'" />').append(t(s)).appendTo(e),e.removeClass(t[i]._c.loading).trigger(t[i]._e.loaded)},filterSlides:function(t){return t.is("div")},initSlides:function(t){}},t[i].defaults.media[e]={}}(jQuery),/*
63
+ * jQuery Touch Optimized Sliders "R"Us
64
+ * Images media
65
+ *
66
+ * Copyright (c) Fred Heusschen
67
+ * www.frebsite.nl
 
68
  */
69
+ function(t){var i="tosrus",e="image";t[i].media[e]={filterAnchors:function(i){return t.inArray(i.attr("href").toLowerCase().split(".").pop().split("?")[0],["jpg","jpe","jpeg","gif","png"])>-1},initAnchors:function(e,s){t('<img border="0" />').on(t[i]._e.load,function(s){s.stopPropagation(),e.removeClass(t[i]._c.loading).trigger(t[i]._e.loaded)}).appendTo(e).attr("src",s)},filterSlides:function(t){return t.is("img")},initSlides:function(t){}},t[i].defaults.media[e]={}}(jQuery),/*
70
+ * jQuery Touch Optimized Sliders "R"Us
71
+ * Vimeo media
72
+ *
73
+ * Copyright (c) Fred Heusschen
74
+ * www.frebsite.nl
 
75
  */
76
+ function(t){function i(i){function p(){c.length&&(c.attr("src",""),c.attr("src",u))}l||(e=t[r]._c,s=t[r]._d,n=t[r]._e,o=t[r]._f,a=t[r]._g,s.add("ratio maxWidth maxHeight"),l=!0);var c=i.children(),h=i.data(t[r]._d.anchor)||t(),u=c.attr("src"),f=h.data(s.ratio)||this.opts[d].ratio,g=h.data(s.maxWidth)||this.opts[d].maxWidth,v=h.data(s.maxHeight)||this.opts[d].maxHeight;i.removeClass(e.loading).trigger(n.loaded).on(n.loading,function(t){o.resizeRatio(c,i,g,v,f)}),this.nodes.$wrpr.on(n.sliding,function(t){p()}).on(n.opening,function(t){o.resizeRatio(c,i,g,v,f)}).on(n.closing,function(t){p()}),a.$wndw.on(n.resize,function(t){o.resizeRatio(c,i,g,v,f)})}var e,s,n,o,a,r="tosrus",d="vimeo",l=!1;t[r].media[d]={filterAnchors:function(t){return t.attr("href").toLowerCase().indexOf("vimeo.com/")>-1},initAnchors:function(e,s){var n=this._uniqueID();s=s.split("vimeo.com/")[1].split("?")[0]+"?api=1&player_id="+n,t('<iframe id="'+n+'" src="http://player.vimeo.com/video/'+s+'" frameborder="0" allowfullscreen />').appendTo(e),i.call(this,e)},filterSlides:function(t){return t.is("iframe")&&t.attr("src")?t.attr("src").toLowerCase().indexOf("vimeo.com/video/")>-1:!1},initSlides:function(t){i.call(this,t)}},t[r].defaults.media[d]={},t[r].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1}}(jQuery),/*
77
+ * jQuery Touch Optimized Sliders "R"Us
78
+ * Youtube media
79
+ *
80
+ * Copyright (c) Fred Heusschen
81
+ * www.frebsite.nl
 
82
  */
83
+ function(t){function i(i){function p(t){c.length&&c[0].contentWindow.postMessage('{ "event": "command", "func": "'+t+'Video" }',"*")}l||(e=t[r]._c,s=t[r]._d,n=t[r]._e,o=t[r]._f,a=t[r]._g,s.add("ratio maxWidth maxHeight"),l=!0);var c=i.children(),h=i.data(t[r]._d.anchor)||t(),u=h.data(s.ratio)||this.opts[d].ratio,f=h.data(s.maxWidth)||this.opts[d].maxWidth,g=h.data(s.maxHeight)||this.opts[d].maxHeight;i.removeClass(e.loading).trigger(n.loaded).on(n.loading,function(t){o.resizeRatio(c,i,f,g,u)}),this.nodes.$wrpr.on(n.sliding,function(t){p("pause")}).on(n.opening,function(t){o.resizeRatio(c,i,f,g,u)}).on(n.closing,function(t){p("stop")}),a.$wndw.on(n.resize,function(t){o.resizeRatio(c,i,f,g,u)})}var e,s,n,o,a,r="tosrus",d="youtube",l=!1;t[r].media[d]={filterAnchors:function(t){return t.attr("href").toLowerCase().indexOf("youtube.com/watch?v=")>-1},initAnchors:function(e,s){var n=s;s=s.split("?v=")[1].split("&")[0],this.opts[d].imageLink?(s="http://img.youtube.com/vi/"+s+"/0.jpg",t('<a href="'+n+'" class="'+t[r]._c("play")+'" target="_blank" />').appendTo(e),t('<img border="0" />').on(t[r]._e.load,function(i){i.stopPropagation(),e.removeClass(t[r]._c.loading).trigger(t[r]._e.loaded)}).appendTo(e).attr("src",s)):(t('<iframe src="http://www.youtube.com/embed/'+s+'?enablejsapi=1" frameborder="0" allowfullscreen />').appendTo(e),i.call(this,e))},filterSlides:function(t){return t.is("iframe")&&t.attr("src")?t.attr("src").toLowerCase().indexOf("youtube.com/embed/")>-1:!1},initSlides:function(t){i.call(this,t)}},t[r].defaults.media[d]={},t[r].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1,imageLink:t[r].support.touch}}(jQuery);
assets/tosrus/js/jquery.tosrus.min.js CHANGED
@@ -1,13 +1,13 @@
1
- /*
2
- * jQuery Touch Optimized Sliders "R"Us 2.4.2
3
- *
4
- * Copyright (c) Fred Heusschen
5
- * www.frebsite.nl
6
- *
7
- * Plugin website:
8
- * tosrus.frebsite.nl
9
- *
10
- * Licensed under the MIT license.
11
- * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
- !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.2";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||s().add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
1
+ /*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.5.0
3
+ *
4
+ * Copyright (c) Fred Heusschen
5
+ * www.frebsite.nl
6
+ *
7
+ * Plugin website:
8
+ * tosrus.frebsite.nl
9
+ *
10
+ * Licensed under the MIT license.
11
+ * http://en.wikipedia.org/wiki/MIT_License
12
  */
13
+ !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){if(i.is(":visible")){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)}},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(s){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.5.0";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&(this.nodes.$uibg||s().add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()})),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(s){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
css/admin.css CHANGED
@@ -1,508 +1,508 @@
1
- /* Responsive Lightbox settings */
2
- .responsive-lightbox-settings .df-credits form {
3
- min-width: 260px;
4
- margin-bottom: 1em;
5
- }
6
- .responsive-lightbox-settings .df-credits form input {
7
- margin: 0;
8
- padding: 0;
9
- }
10
- .responsive-lightbox-settings {
11
- margin-right: 300px;
12
- }
13
- .responsive-lightbox-settings td > label {
14
- margin-right: 5px;
15
- }
16
- .responsive-lightbox-settings hr, .df-credits hr {
17
- border: solid #eee;
18
- border-width: 1px 0 0;
19
- clear: both;
20
- height: 0;
21
- }
22
- .responsive-lightbox-settings form {
23
- float: left;
24
- min-width: 463px;
25
- width: auto;
26
- }
27
- .responsive-lightbox-settings fieldset span.description {
28
- margin-bottom: 8px;
29
- margin-top: 4px;
30
- display: block;
31
- }
32
- .responsive-lightbox-settings output {
33
- display: inline-block;
34
- font-size: inherit;
35
- margin: 0;
36
- text-align: left;
37
- }
38
- .responsive-lightbox-settings .rl_license .dashicons {
39
- vertical-align: middle;
40
- }
41
- .responsive-lightbox-settings .rl_license .dashicons-yes {
42
- color: #0073aa;
43
- }
44
- .responsive-lightbox-settings .rl_license .dashicons-no {
45
- color: #a00;
46
- }
47
- .rtl .responsive-lightbox-settings output {
48
- text-align: right;
49
- }
50
-
51
- .df-credits {
52
- float: right;
53
- width: 280px;
54
- background: #fff;
55
- margin: 20px -300px 20px 20px;
56
- position: relative;
57
- }
58
- .df-credits .inner {
59
- padding-left: 10px;
60
- padding-right: 10px;
61
- }
62
- .df-credits h3 {
63
- font-size: 14px;
64
- line-height: 1.4;
65
- margin: 0;
66
- padding: 8px 12px;
67
- border-bottom: 1px solid #eee;
68
- }
69
- .df-credits .df-link {
70
- font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
71
- font-style: italic;
72
- padding-bottom: 10px;
73
- margin: 0;
74
- }
75
- .df-credits .df-link a {
76
- vertical-align: middle;
77
- padding: 5px 0 0 4px;
78
- }
79
- .df-credits .df-link a {
80
- vertical-align: middle;
81
- padding: 5px 0 0 4px;
82
- }
83
-
84
- .df-addons li {
85
- float: left;
86
- margin: 0 1em 1em 0 !important;
87
- padding: 0;
88
- vertical-align: top;
89
- width: 320px;
90
- border: 1px solid #ddd;
91
- box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
92
- color: inherit;
93
- display: block;
94
- min-height: 260px;
95
- overflow: hidden;
96
- }
97
- .df-addons li h3.addon-title {
98
- background: #fff;
99
- margin: 0 !important;
100
- padding: 20px !important;
101
- }
102
- .df-addons li p.addon-description {
103
- padding: 20px !important;
104
- margin: 0 !important;
105
- }
106
- .df-addons li a.addon-image {
107
- margin: 0;
108
- padding: 0;
109
- }
110
- .df-addons li a.addon-image img {
111
- display: block;
112
- }
113
- .df-addons li a.addon-link {
114
- margin: 0 20px 20px !important;
115
- }
116
-
117
- /* All Mobile Sizes (devices and browser) */
118
- @media only screen and (max-width: 959px) {
119
- .df-credits {
120
- width: 100%;
121
- float: none;
122
- margin: 20px 0;
123
- }
124
- .responsive-lightbox-settings {
125
- margin-right: 0;
126
- }
127
- }
128
-
129
- /*
130
- * checkBo lightweight jQuery plugin v0.1.4 by @ElmahdiMahmoud
131
- * Licensed under the MIT license - https://github.com/elmahdim/checkbo/blob/master/LICENSE
132
- *
133
- * Custom checkbox and radio
134
- * Author URL: elmahdim.com
135
- */
136
- .cb-checkbox .cb-inner, .cb-checkbox i {
137
- width:18px;
138
- height:18px;
139
- -moz-border-radius:3px;
140
- -webkit-border-radius:3px;
141
- border-radius:3px
142
- }
143
- .cb-checkbox.cb-sm i, .cb-checkbox.cb-sm .cb-inner {
144
- width:14px;
145
- height:14px
146
- }
147
- .cb-checkbox.cb-md i, .cb-checkbox.cb-md .cb-inner {
148
- width:24px;
149
- height:24px;
150
- -moz-border-radius:4px;
151
- -webkit-border-radius:4px;
152
- border-radius:4px
153
- }
154
- .cb-checkbox.cb-lg i, .cb-checkbox.cb-lg .cb-inner {
155
- width:30px;
156
- height:30px;
157
- -moz-border-radius:6px;
158
- -webkit-border-radius:6px;
159
- border-radius:6px
160
- }
161
- .cb-radio .cb-inner {
162
- width:18px;
163
- height:18px
164
- }
165
- .cb-radio.cb-sm .cb-inner {
166
- width:14px;
167
- height:14px
168
- }
169
- .cb-radio.cb-md .cb-inner {
170
- width:24px;
171
- height:24px
172
- }
173
- .cb-radio.cb-lg .cb-inner {
174
- width:30px;
175
- height:30px
176
- }
177
- .cb-checkbox, .cb-radio {
178
- padding:3px 0;
179
- color:inherit;
180
- cursor:pointer;
181
- overflow:hidden;
182
- font-size:inherit;
183
- font-weight:normal;
184
- display:inline-block;
185
- line-height:18px
186
- }
187
- .cb-checkbox.disabled, .cb-checkbox.disabled *, .cb-radio.disabled, .cb-radio.disabled * {
188
- cursor:default
189
- }
190
- .cb-checkbox input[type="checkbox"], .cb-radio input[type="radio"], .cb-switcher input[type="checkbox"], .cb-switcher input[type="radio"] {
191
- display:none
192
- }
193
- .cb-checkbox.disabled, .cb-checkbox.disabled *, .cb-radio.disabled, .cb-radio.disabled *, .cb-switcher.disabled, .cb-switcher.disabled * {
194
- cursor:default
195
- }
196
- .cb-checkbox.disabled {
197
- color:#ddd
198
- }
199
- .cb-checkbox.disabled .cb-inner {
200
- color:#ddd
201
- }
202
- .cb-checkbox.disabled:hover .cb-inner {
203
- border-color:#ddd
204
- }
205
- .cb-checkbox.disabled.checked .cb-inner {
206
- background-color:#ddd;
207
- border-color:#ddd
208
- }
209
- .cb-radio.disabled {
210
- color:#ddd
211
- }
212
- .cb-radio.disabled .cb-inner {
213
- border-color:#ddd
214
- }
215
- .cb-radio.disabled i {
216
- background-color:transparent
217
- }
218
- .cb-radio.disabled.checked .cb-inner {
219
- border-color:#ddd
220
- }
221
- .cb-radio.disabled.checked .cb-inner i {
222
- background-color:#ddd
223
- }
224
- .cb-radio.disabled:hover .cb-inner {
225
- border-color:#ddd
226
- }
227
- .cb-checkbox .cb-inner {
228
- float:left;
229
- overflow:hidden;
230
- margin:0 5px 0 0;
231
- position:relative;
232
- background:#f2f2f2;
233
- display:inline-block;
234
- border:1px solid #d6d6d6;
235
- -moz-transition:all 0.5s ease;
236
- -o-transition:all 0.5s ease;
237
- -webkit-transition:all 0.5s ease;
238
- transition:all 0.5s ease
239
- }
240
- .cb-checkbox i {
241
- top:1px;
242
- left:2px;
243
- display:block;
244
- position:absolute
245
- }
246
- .cb-checkbox i:before, .cb-checkbox i:after {
247
- height:0;
248
- width:2px;
249
- content:"";
250
- display:block;
251
- position:absolute;
252
- background-color:#fff;
253
- -moz-transition:all 0.2s ease;
254
- -o-transition:all 0.2s ease;
255
- -webkit-transition:all 0.2s ease;
256
- transition:all 0.2s ease
257
- }
258
- .cb-checkbox i:before {
259
- top:0;
260
- left:0;
261
- -moz-transform:rotate(-45deg);
262
- -ms-transform:rotate(-45deg);
263
- -webkit-transform:rotate(-45deg);
264
- transform:rotate(-45deg)
265
- }
266
- .cb-checkbox i:after {
267
- left:7px;
268
- bottom:5px;
269
- -moz-transition-delay:0.3s;
270
- -o-transition-delay:0.3s;
271
- -webkit-transition-delay:0.3s;
272
- transition-delay:0.3s;
273
- -moz-transform:rotate(30deg);
274
- -ms-transform:rotate(30deg);
275
- -webkit-transform:rotate(30deg);
276
- transform:rotate(30deg)
277
- }
278
- .cb-radio .cb-inner {
279
- float:left;
280
- overflow:hidden;
281
- margin:0 5px 0 0;
282
- position:relative;
283
- display:inline-block;
284
- border:1px solid #d7d7d7;
285
- background-color:#f2f2f2;
286
- -moz-border-radius:100%;
287
- -webkit-border-radius:100%;
288
- border-radius:100%;
289
- -moz-transition:all 0.1s ease;
290
- -o-transition:all 0.1s ease;
291
- -webkit-transition:all 0.1s ease;
292
- transition:all 0.1s ease
293
- }
294
- .cb-radio i {
295
- top:50%;
296
- left:50%;
297
- width:6px;
298
- height:6px;
299
- margin-top:-3px;
300
- margin-left:-3px;
301
- position:absolute;
302
- background-color:transparent;
303
- -moz-border-radius:100%;
304
- -webkit-border-radius:100%;
305
- border-radius:100%;
306
- -moz-transform:scale(0.05, 5);
307
- -ms-transform:scale(0.05, 5);
308
- -webkit-transform:scale(0.05, 5);
309
- transform:scale(0.05, 5);
310
- -moz-transition:all 0.2s ease;
311
- -o-transition:all 0.2s ease;
312
- -webkit-transition:all 0.2s ease;
313
- transition:all 0.2s ease
314
- }
315
- .cb-checkbox.cb-sm, .cb-radio.cb-sm {
316
- line-height:14px
317
- }
318
- .cb-checkbox.cb-md, .cb-radio.cb-md {
319
- line-height:24px
320
- }
321
- .cb-checkbox.cb-lg, .cb-radio.cb-lg {
322
- line-height:30px
323
- }
324
- .cb-checkbox.cb-sm i:before {
325
- top:4px;
326
- left:1px
327
- }
328
- .cb-checkbox.cb-sm i:after {
329
- left:5px
330
- }
331
- .cb-checkbox.cb-md i:before {
332
- top:10px;
333
- left:5px
334
- }
335
- .cb-checkbox.cb-md i:after {
336
- bottom:6px;
337
- left:11px
338
- }
339
- .cb-checkbox.checked .cb-inner {
340
- border-color:#0073aa;
341
- background-color:#00a0d2;
342
- box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
343
- }
344
- .cb-checkbox.checked:hover .cb-inner {
345
- background-color:#0091cd
346
- }
347
- .cb-checkbox.checked.cb-sm i:before {
348
- top:4px;
349
- left:1px
350
- }
351
- .cb-checkbox.checked.cb-sm i:after {
352
- height:9px
353
- }
354
- .cb-checkbox.checked.cb-md i:before {
355
- top:10px;
356
- left:4px;
357
- height:8px
358
- }
359
- .cb-checkbox.checked.cb-md i:after {
360
- bottom:6px;
361
- left:11px;
362
- height:16px
363
- }
364
- .cb-checkbox.checked.cb-lg i:before {
365
- top:11px;
366
- left:6px;
367
- height:12px
368
- }
369
- .cb-checkbox.checked.cb-lg i:after {
370
- left:14px;
371
- bottom:7px;
372
- height:20px
373
- }
374
- .cb-checkbox.checked i:before {
375
- top:6px;
376
- left:2px;
377
- height:6px
378
- }
379
- .cb-checkbox.checked i:after {
380
- height:12px
381
- }
382
- .cb-radio.checked .cb-inner {
383
- background:#fff;
384
- box-shadow:0 0 3px #efefef
385
- }
386
- .cb-radio.checked i {
387
- -moz-transform:scale(1.1, 1.1);
388
- -ms-transform:scale(1.1, 1.1);
389
- -webkit-transform:scale(1.1, 1.1);
390
- transform:scale(1.1, 1.1);
391
- background-color:#00a0d2
392
- }
393
- .cb-checkbox:hover .cb-inner, .cb-radio:hover .cb-inner {
394
- border-color:#0073aa
395
- }
396
- .cb-switcher {
397
- display:inline-block;
398
- border:1px solid #eee;
399
- background-color:#fff;
400
- width:95px;
401
- height:35px;
402
- position:relative;
403
- -moz-border-radius:20px;
404
- -webkit-border-radius:20px;
405
- border-radius:20px;
406
- -moz-transition:background 0.4s ease;
407
- -o-transition:background 0.4s ease;
408
- -webkit-transition:background 0.4s ease;
409
- transition:background 0.4s ease
410
- }
411
- .cb-switcher, .cb-switcher * {
412
- cursor:pointer
413
- }
414
- .cb-switcher ::-moz-selection {
415
- background-color:transparent
416
- }
417
- .cb-switcher ::selection {
418
- background-color:transparent
419
- }
420
- .cb-switcher .cb-state {
421
- z-index:1;
422
- text-align:center;
423
- font-size:12px
424
- }
425
- .cb-switcher .cb-state, .cb-switcher:before {
426
- width:34px;
427
- height:34px;
428
- line-height:34px;
429
- position:absolute;
430
- left:0;
431
- top:-1px;
432
- -moz-border-radius:100%;
433
- -webkit-border-radius:100%;
434
- border-radius:100%;
435
- -moz-transition:all 0.4s ease;
436
- -o-transition:all 0.4s ease;
437
- -webkit-transition:all 0.4s ease;
438
- transition:all 0.4s ease
439
- }
440
- .cb-switcher:before {
441
- content:"";
442
- background-color:#eee;
443
- -moz-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1);
444
- -webkit-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1);
445
- box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1)
446
- }
447
- .cb-switcher.checked {
448
- background-color:#00a0d2
449
- }
450
- .cb-switcher.checked .cb-state, .cb-switcher.checked:before {
451
- left:60px;
452
- color:#00a0d2
453
- }
454
- .cb-switcher.checked:before {
455
- background-color:#fff;
456
- -moz-box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1);
457
- -webkit-box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1);
458
- box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1)
459
- }
460
- .cb-switcher.checked .inner-switcher:before {
461
- border-top-color:#0073aa
462
- }
463
- .cb-switcher.checked .inner-switcher:after {
464
- border-bottom-color:#0073aa
465
- }
466
- .cb-switcher .inner-switcher:before, .cb-switcher .inner-switcher:after {
467
- content:"";
468
- position:absolute;
469
- left:50%;
470
- width:0;
471
- height:0;
472
- z-index:2;
473
- margin-left:-20px;
474
- border-left:20px solid transparent;
475
- border-right:20px solid transparent;
476
- -moz-transition:border 0.4s ease;
477
- -o-transition:border 0.4s ease;
478
- -webkit-transition:border 0.4s ease;
479
- transition:border 0.4s ease
480
- }
481
- .cb-switcher .inner-switcher:before {
482
- border-top:17px solid #fff;
483
- top:0
484
- }
485
- .cb-switcher .inner-switcher:after {
486
- border-bottom:17px solid #fff;
487
- bottom:0
488
- }
489
- .cb-state {
490
- color:#ccc;
491
- display:inline-block
492
- }
493
- .cb-switcher-group .cb-state {
494
- position:relative;
495
- top:7px
496
- }
497
- .is-hidden {
498
- display:none !important;
499
- visibility:hidden !important
500
- }
501
- output {
502
- display: block;
503
- font-size: 30px;
504
- font-weight: bold;
505
- text-align: center;
506
- margin: 30px 0;
507
- width: 100%;
508
  }
1
+ /* Responsive Lightbox settings */
2
+ .responsive-lightbox-settings .df-credits form {
3
+ min-width: 260px;
4
+ margin-bottom: 1em;
5
+ }
6
+ .responsive-lightbox-settings .df-credits form input {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+ .responsive-lightbox-settings {
11
+ margin-right: 300px;
12
+ }
13
+ .responsive-lightbox-settings td > label {
14
+ margin-right: 5px;
15
+ }
16
+ .responsive-lightbox-settings hr, .df-credits hr {
17
+ border: solid #eee;
18
+ border-width: 1px 0 0;
19
+ clear: both;
20
+ height: 0;
21
+ }
22
+ .responsive-lightbox-settings form {
23
+ float: left;
24
+ min-width: 463px;
25
+ width: auto;
26
+ }
27
+ .responsive-lightbox-settings fieldset span.description {
28
+ margin-bottom: 8px;
29
+ margin-top: 4px;
30
+ display: block;
31
+ }
32
+ .responsive-lightbox-settings output {
33
+ display: inline-block;
34
+ font-size: inherit;
35
+ margin: 0;
36
+ text-align: left;
37
+ }
38
+ .responsive-lightbox-settings .rl_license .dashicons {
39
+ vertical-align: middle;
40
+ }
41
+ .responsive-lightbox-settings .rl_license .dashicons-yes {
42
+ color: #0073aa;
43
+ }
44
+ .responsive-lightbox-settings .rl_license .dashicons-no {
45
+ color: #a00;
46
+ }
47
+ .rtl .responsive-lightbox-settings output {
48
+ text-align: right;
49
+ }
50
+
51
+ .df-credits {
52
+ float: right;
53
+ width: 280px;
54
+ background: #fff;
55
+ margin: 20px -300px 20px 20px;
56
+ position: relative;
57
+ }
58
+ .df-credits .inner {
59
+ padding-left: 10px;
60
+ padding-right: 10px;
61
+ }
62
+ .df-credits h3 {
63
+ font-size: 14px;
64
+ line-height: 1.4;
65
+ margin: 0;
66
+ padding: 8px 12px;
67
+ border-bottom: 1px solid #eee;
68
+ }
69
+ .df-credits .df-link {
70
+ font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
71
+ font-style: italic;
72
+ padding-bottom: 10px;
73
+ margin: 0;
74
+ }
75
+ .df-credits .df-link a {
76
+ vertical-align: middle;
77
+ padding: 5px 0 0 4px;
78
+ }
79
+ .df-credits .df-link a {
80
+ vertical-align: middle;
81
+ padding: 5px 0 0 4px;
82
+ }
83
+
84
+ .df-addons li {
85
+ float: left;
86
+ margin: 0 1em 1em 0 !important;
87
+ padding: 0;
88
+ vertical-align: top;
89
+ width: 320px;
90
+ border: 1px solid #ddd;
91
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
92
+ color: inherit;
93
+ display: block;
94
+ min-height: 260px;
95
+ overflow: hidden;
96
+ }
97
+ .df-addons li h3.addon-title {
98
+ background: #fff;
99
+ margin: 0 !important;
100
+ padding: 20px !important;
101
+ }
102
+ .df-addons li p.addon-description {
103
+ padding: 20px !important;
104
+ margin: 0 !important;
105
+ }
106
+ .df-addons li a.addon-image {
107
+ margin: 0;
108
+ padding: 0;
109
+ }
110
+ .df-addons li a.addon-image img {
111
+ display: block;
112
+ }
113
+ .df-addons li a.addon-link {
114
+ margin: 0 20px 20px !important;
115
+ }
116
+
117
+ /* All Mobile Sizes (devices and browser) */
118
+ @media only screen and (max-width: 959px) {
119
+ .df-credits {
120
+ width: 100%;
121
+ float: none;
122
+ margin: 20px 0;
123
+ }
124
+ .responsive-lightbox-settings {
125
+ margin-right: 0;
126
+ }
127
+ }
128
+
129
+ /*
130
+ * checkBo lightweight jQuery plugin v0.1.4 by @ElmahdiMahmoud
131
+ * Licensed under the MIT license - https://github.com/elmahdim/checkbo/blob/master/LICENSE
132
+ *
133
+ * Custom checkbox and radio
134
+ * Author URL: elmahdim.com
135
+ */
136
+ .cb-checkbox .cb-inner, .cb-checkbox i {
137
+ width:18px;
138
+ height:18px;
139
+ -moz-border-radius:3px;
140
+ -webkit-border-radius:3px;
141
+ border-radius:3px
142
+ }
143
+ .cb-checkbox.cb-sm i, .cb-checkbox.cb-sm .cb-inner {
144
+ width:14px;
145
+ height:14px
146
+ }
147
+ .cb-checkbox.cb-md i, .cb-checkbox.cb-md .cb-inner {
148
+ width:24px;
149
+ height:24px;
150
+ -moz-border-radius:4px;
151
+ -webkit-border-radius:4px;
152
+ border-radius:4px
153
+ }
154
+ .cb-checkbox.cb-lg i, .cb-checkbox.cb-lg .cb-inner {
155
+ width:30px;
156
+ height:30px;
157
+ -moz-border-radius:6px;
158
+ -webkit-border-radius:6px;
159
+ border-radius:6px
160
+ }
161
+ .cb-radio .cb-inner {
162
+ width:18px;
163
+ height:18px
164
+ }
165
+ .cb-radio.cb-sm .cb-inner {
166
+ width:14px;
167
+ height:14px
168
+ }
169
+ .cb-radio.cb-md .cb-inner {
170
+ width:24px;
171
+ height:24px
172
+ }
173
+ .cb-radio.cb-lg .cb-inner {
174
+ width:30px;
175
+ height:30px
176
+ }
177
+ .cb-checkbox, .cb-radio {
178
+ padding:3px 0;
179
+ color:inherit;
180
+ cursor:pointer;
181
+ overflow:hidden;
182
+ font-size:inherit;
183
+ font-weight:normal;
184
+ display:inline-block;
185
+ line-height:18px
186
+ }
187
+ .cb-checkbox.disabled, .cb-checkbox.disabled *, .cb-radio.disabled, .cb-radio.disabled * {
188
+ cursor:default
189
+ }
190
+ .cb-checkbox input[type="checkbox"], .cb-radio input[type="radio"], .cb-switcher input[type="checkbox"], .cb-switcher input[type="radio"] {
191
+ display:none
192
+ }
193
+ .cb-checkbox.disabled, .cb-checkbox.disabled *, .cb-radio.disabled, .cb-radio.disabled *, .cb-switcher.disabled, .cb-switcher.disabled * {
194
+ cursor:default
195
+ }
196
+ .cb-checkbox.disabled {
197
+ color:#ddd
198
+ }
199
+ .cb-checkbox.disabled .cb-inner {
200
+ color:#ddd
201
+ }
202
+ .cb-checkbox.disabled:hover .cb-inner {
203
+ border-color:#ddd
204
+ }
205
+ .cb-checkbox.disabled.checked .cb-inner {
206
+ background-color:#ddd;
207
+ border-color:#ddd
208
+ }
209
+ .cb-radio.disabled {
210
+ color:#ddd
211
+ }
212
+ .cb-radio.disabled .cb-inner {
213
+ border-color:#ddd
214
+ }
215
+ .cb-radio.disabled i {
216
+ background-color:transparent
217
+ }
218
+ .cb-radio.disabled.checked .cb-inner {
219
+ border-color:#ddd
220
+ }
221
+ .cb-radio.disabled.checked .cb-inner i {
222
+ background-color:#ddd
223
+ }
224
+ .cb-radio.disabled:hover .cb-inner {
225
+ border-color:#ddd
226
+ }
227
+ .cb-checkbox .cb-inner {
228
+ float:left;
229
+ overflow:hidden;
230
+ margin:0 5px 0 0;
231
+ position:relative;
232
+ background:#f2f2f2;
233
+ display:inline-block;
234
+ border:1px solid #d6d6d6;
235
+ -moz-transition:all 0.5s ease;
236
+ -o-transition:all 0.5s ease;
237
+ -webkit-transition:all 0.5s ease;
238
+ transition:all 0.5s ease
239
+ }
240
+ .cb-checkbox i {
241
+ top:1px;
242
+ left:2px;
243
+ display:block;
244
+ position:absolute
245
+ }
246
+ .cb-checkbox i:before, .cb-checkbox i:after {
247
+ height:0;
248
+ width:2px;
249
+ content:"";
250
+ display:block;
251
+ position:absolute;
252
+ background-color:#fff;
253
+ -moz-transition:all 0.2s ease;
254
+ -o-transition:all 0.2s ease;
255
+ -webkit-transition:all 0.2s ease;
256
+ transition:all 0.2s ease
257
+ }
258
+ .cb-checkbox i:before {
259
+ top:0;
260
+ left:0;
261
+ -moz-transform:rotate(-45deg);
262
+ -ms-transform:rotate(-45deg);
263
+ -webkit-transform:rotate(-45deg);
264
+ transform:rotate(-45deg)
265
+ }
266
+ .cb-checkbox i:after {
267
+ left:7px;
268
+ bottom:5px;
269
+ -moz-transition-delay:0.3s;
270
+ -o-transition-delay:0.3s;
271
+ -webkit-transition-delay:0.3s;
272
+ transition-delay:0.3s;
273
+ -moz-transform:rotate(30deg);
274
+ -ms-transform:rotate(30deg);
275
+ -webkit-transform:rotate(30deg);
276
+ transform:rotate(30deg)
277
+ }
278
+ .cb-radio .cb-inner {
279
+ float:left;
280
+ overflow:hidden;
281
+ margin:0 5px 0 0;
282
+ position:relative;
283
+ display:inline-block;
284
+ border:1px solid #d7d7d7;
285
+ background-color:#f2f2f2;
286
+ -moz-border-radius:100%;
287
+ -webkit-border-radius:100%;
288
+ border-radius:100%;
289
+ -moz-transition:all 0.1s ease;
290
+ -o-transition:all 0.1s ease;
291
+ -webkit-transition:all 0.1s ease;
292
+ transition:all 0.1s ease
293
+ }
294
+ .cb-radio i {
295
+ top:50%;
296
+ left:50%;
297
+ width:6px;
298
+ height:6px;
299
+ margin-top:-3px;
300
+ margin-left:-3px;
301
+ position:absolute;
302
+ background-color:transparent;
303
+ -moz-border-radius:100%;
304
+ -webkit-border-radius:100%;
305
+ border-radius:100%;
306
+ -moz-transform:scale(0.05, 5);
307
+ -ms-transform:scale(0.05, 5);
308
+ -webkit-transform:scale(0.05, 5);
309
+ transform:scale(0.05, 5);
310
+ -moz-transition:all 0.2s ease;
311
+ -o-transition:all 0.2s ease;
312
+ -webkit-transition:all 0.2s ease;
313
+ transition:all 0.2s ease
314
+ }
315
+ .cb-checkbox.cb-sm, .cb-radio.cb-sm {
316
+ line-height:14px
317
+ }
318
+ .cb-checkbox.cb-md, .cb-radio.cb-md {
319
+ line-height:24px
320
+ }
321
+ .cb-checkbox.cb-lg, .cb-radio.cb-lg {
322
+ line-height:30px
323
+ }
324
+ .cb-checkbox.cb-sm i:before {
325
+ top:4px;
326
+ left:1px
327
+ }
328
+ .cb-checkbox.cb-sm i:after {
329
+ left:5px
330
+ }
331
+ .cb-checkbox.cb-md i:before {
332
+ top:10px;
333
+ left:5px
334
+ }
335
+ .cb-checkbox.cb-md i:after {
336
+ bottom:6px;
337
+ left:11px
338
+ }
339
+ .cb-checkbox.checked .cb-inner {
340
+ border-color:#0073aa;
341
+ background-color:#00a0d2;
342
+ box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
343
+ }
344
+ .cb-checkbox.checked:hover .cb-inner {
345
+ background-color:#0091cd
346
+ }
347
+ .cb-checkbox.checked.cb-sm i:before {
348
+ top:4px;
349
+ left:1px
350
+ }
351
+ .cb-checkbox.checked.cb-sm i:after {
352
+ height:9px
353
+ }
354
+ .cb-checkbox.checked.cb-md i:before {
355
+ top:10px;
356
+ left:4px;
357
+ height:8px
358
+ }
359
+ .cb-checkbox.checked.cb-md i:after {
360
+ bottom:6px;
361
+ left:11px;
362
+ height:16px
363
+ }
364
+ .cb-checkbox.checked.cb-lg i:before {
365
+ top:11px;
366
+ left:6px;
367
+ height:12px
368
+ }
369
+ .cb-checkbox.checked.cb-lg i:after {
370
+ left:14px;
371
+ bottom:7px;
372
+ height:20px
373
+ }
374
+ .cb-checkbox.checked i:before {
375
+ top:6px;
376
+ left:2px;
377
+ height:6px
378
+ }
379
+ .cb-checkbox.checked i:after {
380
+ height:12px
381
+ }
382
+ .cb-radio.checked .cb-inner {
383
+ background:#fff;
384
+ box-shadow:0 0 3px #efefef
385
+ }
386
+ .cb-radio.checked i {
387
+ -moz-transform:scale(1.1, 1.1);
388
+ -ms-transform:scale(1.1, 1.1);
389
+ -webkit-transform:scale(1.1, 1.1);
390
+ transform:scale(1.1, 1.1);
391
+ background-color:#00a0d2
392
+ }
393
+ .cb-checkbox:hover .cb-inner, .cb-radio:hover .cb-inner {
394
+ border-color:#0073aa
395
+ }
396
+ .cb-switcher {
397
+ display:inline-block;
398
+ border:1px solid #eee;
399
+ background-color:#fff;
400
+ width:95px;
401
+ height:35px;
402
+ position:relative;
403
+ -moz-border-radius:20px;
404
+ -webkit-border-radius:20px;
405
+ border-radius:20px;
406
+ -moz-transition:background 0.4s ease;
407
+ -o-transition:background 0.4s ease;
408
+ -webkit-transition:background 0.4s ease;
409
+ transition:background 0.4s ease
410
+ }
411
+ .cb-switcher, .cb-switcher * {
412
+ cursor:pointer
413
+ }
414
+ .cb-switcher ::-moz-selection {
415
+ background-color:transparent
416
+ }
417
+ .cb-switcher ::selection {
418
+ background-color:transparent
419
+ }
420
+ .cb-switcher .cb-state {
421
+ z-index:1;
422
+ text-align:center;
423
+ font-size:12px
424
+ }
425
+ .cb-switcher .cb-state, .cb-switcher:before {
426
+ width:34px;
427
+ height:34px;
428
+ line-height:34px;
429
+ position:absolute;
430
+ left:0;
431
+ top:-1px;
432
+ -moz-border-radius:100%;
433
+ -webkit-border-radius:100%;
434
+ border-radius:100%;
435
+ -moz-transition:all 0.4s ease;
436
+ -o-transition:all 0.4s ease;
437
+ -webkit-transition:all 0.4s ease;
438
+ transition:all 0.4s ease
439
+ }
440
+ .cb-switcher:before {
441
+ content:"";
442
+ background-color:#eee;
443
+ -moz-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1);
444
+ -webkit-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1);
445
+ box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1)
446
+ }
447
+ .cb-switcher.checked {
448
+ background-color:#00a0d2
449
+ }
450
+ .cb-switcher.checked .cb-state, .cb-switcher.checked:before {
451
+ left:60px;
452
+ color:#00a0d2
453
+ }
454
+ .cb-switcher.checked:before {
455
+ background-color:#fff;
456
+ -moz-box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1);
457
+ -webkit-box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1);
458
+ box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1)
459
+ }
460
+ .cb-switcher.checked .inner-switcher:before {
461
+ border-top-color:#0073aa
462
+ }
463
+ .cb-switcher.checked .inner-switcher:after {
464
+ border-bottom-color:#0073aa
465
+ }
466
+ .cb-switcher .inner-switcher:before, .cb-switcher .inner-switcher:after {
467
+ content:"";
468
+ position:absolute;
469
+ left:50%;
470
+ width:0;
471
+ height:0;
472
+ z-index:2;
473
+ margin-left:-20px;
474
+ border-left:20px solid transparent;
475
+ border-right:20px solid transparent;
476
+ -moz-transition:border 0.4s ease;
477
+ -o-transition:border 0.4s ease;
478
+ -webkit-transition:border 0.4s ease;
479
+ transition:border 0.4s ease
480
+ }
481
+ .cb-switcher .inner-switcher:before {
482
+ border-top:17px solid #fff;
483
+ top:0
484
+ }
485
+ .cb-switcher .inner-switcher:after {
486
+ border-bottom:17px solid #fff;
487
+ bottom:0
488
+ }
489
+ .cb-state {
490
+ color:#ccc;
491
+ display:inline-block
492
+ }
493
+ .cb-switcher-group .cb-state {
494
+ position:relative;
495
+ top:7px
496
+ }
497
+ .is-hidden {
498
+ display:none !important;
499
+ visibility:hidden !important
500
+ }
501
+ output {
502
+ display: block;
503
+ font-size: 30px;
504
+ font-weight: bold;
505
+ text-align: center;
506
+ margin: 30px 0;
507
+ width: 100%;
508
  }
includes/class-frontend.php CHANGED
@@ -1,345 +1,350 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) )
3
- exit;
4
-
5
- new Responsive_Lightbox_Frontend();
6
-
7
- /**
8
- * Responsive Lightbox frontend class.
9
- *
10
- * @class Responsive_Lightbox_Frontend
11
- */
12
- class Responsive_Lightbox_Frontend {
13
-
14
- public $gallery_no = 0;
15
-
16
- public function __construct() {
17
- // set instance
18
- Responsive_Lightbox()->frontend = $this;
19
-
20
- // filters
21
- add_filter( 'post_gallery', array( $this, 'gallery_attributes' ), 1000 );
22
- add_filter( 'post_gallery', array( $this, 'add_custom_gallery_lightbox_selector' ), 2000, 2 );
23
- add_filter( 'wp_get_attachment_link', array( $this, 'add_gallery_lightbox_selector' ), 1000, 6 );
24
- add_filter( 'the_content', array( $this, 'add_videos_lightbox_selector' ) );
25
- add_filter( 'the_content', array( $this, 'add_links_lightbox_selector' ) );
26
- add_filter( 'woocommerce_single_product_image_html', array( $this, 'woocommerce_single_product_image_html' ), 100 );
27
- add_filter( 'woocommerce_single_product_image_thumbnail_html', array( $this, 'woocommerce_single_product_image_thumbnail_html' ), 100 );
28
-
29
- // actions
30
- add_action( 'wp_enqueue_scripts', array( $this, 'woocommerce_remove_lightbox' ), 100 );
31
- }
32
-
33
- /**
34
- * Add lightbox to videos
35
- *
36
- * @param mixed $content
37
- * @return mixed
38
- */
39
- public function add_videos_lightbox_selector( $content ) {
40
- if ( Responsive_Lightbox()->options['settings']['videos'] ) {
41
- // search for video-links
42
- preg_match_all('/<a(.*?)href=(?:\'|")((?:http|https)(?::\/\/|)(?:www.)?(?:(?:(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=))(?:[\w\-]{11})[a-z0-9;:@#?&%=+\/\$_.-]*)|(?:vimeo\.com\/[0-9]+[a-z0-9;:@#?&%=+\/\$_.-]*)))(?:\'|")(.*?)>/i', $content, $links );
43
-
44
- // found?
45
- if ( ! empty ( $links[0] ) ) {
46
- foreach ( $links[0] as $id => $link ) {
47
- if ( preg_match( '/<a.*?(?:data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
48
-
49
- // do not modify this link
50
- if ( $result[1] === 'norl' )
51
- continue;
52
-
53
- // swipebox video fix
54
- if ( Responsive_Lightbox()->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo.com') !== false )
55
- $content = str_replace( $link, str_replace( $links[2][$id], $links[2][$id] . '?width=' . Responsive_Lightbox()->options['configuration']['swipebox']['video_max_width'], $link ), $content );
56
-
57
- // replace data-rel
58
- $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
59
- } else {
60
- // swipebox video fix
61
- if ( Responsive_Lightbox()->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo.com') !== false )
62
- $links[2][$id] = $links[2][$id] . '?width=' . Responsive_Lightbox()->options['configuration']['swipebox']['video_max_width'];
63
-
64
- // replace data-rel
65
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '" data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-video-' . $id . '"' . $links[3][$id] . '>', $content );
66
- }
67
- }
68
- }
69
- }
70
-
71
- return $content;
72
- }
73
-
74
- /**
75
- * Add lightbox to to image links
76
- *
77
- * @param mixed $content
78
- * @return mixed
79
- */
80
- public function add_links_lightbox_selector( $content ) {
81
- if ( Responsive_Lightbox()->options['settings']['image_links'] || Responsive_Lightbox()->options['settings']['images_as_gallery'] ) {
82
-
83
- // search for image-links
84
- preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
85
-
86
- // found?
87
- if ( ! empty ( $links[0] ) ) {
88
- // generate hash for single images gallery
89
- if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] )
90
- $rel_hash = '-gallery-' . $this->generate_password( 4 );
91
-
92
- foreach ( $links[0] as $id => $link ) {
93
-
94
- // single image title
95
- $title = '';
96
-
97
- if ( ( $title_arg = Responsive_Lightbox()->options['settings']['image_title'] ) !== 'default' ) {
98
- $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
99
-
100
- if ( $image_id )
101
- $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] ) ) ) );
102
- }
103
-
104
- // link contains data-rel attribute
105
- if ( preg_match( '/<a.*?(?:data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
106
-
107
- // do not modify this link
108
- if ( $result[1] === 'norl' )
109
- continue;
110
-
111
- // single images gallery
112
- if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] )
113
- $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(?:.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . $rel_hash . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . esc_attr( $title ) . '"', $link ), $content );
114
- // single image
115
- else {
116
- $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(?:.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . esc_attr( $title ) . '"', $link ), $content );
117
- }
118
- // link without data-rel
119
- } else {
120
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . ( Responsive_Lightbox()->options['settings']['images_as_gallery'] ? $rel_hash : '-' . $id ) . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . esc_attr( $title ) . '">', $content );
121
- }
122
- }
123
- }
124
- }
125
-
126
- return $content;
127
- }
128
-
129
- /**
130
- * Add lightbox to gallery
131
- */
132
- public function add_gallery_lightbox_selector( $link, $id, $size, $permalink, $icon, $text ) {
133
-
134
- if ( Responsive_Lightbox()->options['settings']['galleries'] && wp_attachment_is_image( $id ) ) {
135
-
136
- // gallery link target image
137
- $src = array();
138
-
139
- // gallery image title
140
- $title = '';
141
-
142
- if ( ( $title_arg = Responsive_Lightbox()->options['settings']['gallery_image_title'] ) !== 'default' ) {
143
- $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $link, $id );
144
- $title = wp_strip_all_tags( trim( $this->get_attachment_title( $id, $title_arg ) ) );
145
- }
146
-
147
- if ( $title )
148
- $link = str_replace( '<a href', '<a title="'. esc_attr( $title ) .'" href', $link );
149
-
150
- $link = ( preg_match( '/<a.*? (?:data-rel)=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? data-rel=(?:"|\').*?)((?:"|\').*?>)/', '$1 ' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '">', $link ) );
151
-
152
- // gallery image size
153
- if ( Responsive_Lightbox()->options['settings']['gallery_image_size'] != 'full' ) {
154
- $src = wp_get_attachment_image_src( $id, Responsive_Lightbox()->options['settings']['gallery_image_size'] );
155
-
156
- $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . $src[0] . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . $src[0] . '">', $link ) );
157
- } else {
158
- $src = wp_get_attachment_image_src( $id, 'full' );
159
-
160
- $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . $src[0] . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . $src[0] . '">', $link ) );
161
- }
162
-
163
- return apply_filters( 'rl_lightbox_attachment_link', $link, $id, $size, $permalink, $icon, $text, $src );
164
-
165
- }
166
-
167
- return $link;
168
- }
169
-
170
- /**
171
- * Add lightbox to Jetpack tiled gallery
172
- *
173
- * @param mixed $content
174
- * @param array $attr
175
- * @return mixed
176
- */
177
- public function add_custom_gallery_lightbox_selector( $content, $attr ) {
178
-
179
- if ( Responsive_Lightbox()->options['settings']['force_custom_gallery'] ) {
180
-
181
- preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
182
-
183
- if ( isset( $links[0] ) ) {
184
-
185
- foreach ( $links[0] as $id => $link ) {
186
-
187
- // gallery image title
188
- $title = '';
189
-
190
- if ( ( $title_arg = Responsive_Lightbox()->options['settings']['gallery_image_title'] ) !== 'default' ) {
191
-
192
- $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
193
-
194
- if ( $image_id ) {
195
- $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] );
196
- $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, $title_arg ) ) );
197
- }
198
- }
199
-
200
- if ( preg_match( '/<a.*?(?:data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
201
- $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( ! empty ( $title ) ? ' title="' . esc_attr( $title ) . '"' : '' ) . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
202
- } else {
203
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . esc_attr( $title ) . '"' : '' ) . '>', $content );
204
- }
205
- }
206
- }
207
-
208
- }
209
-
210
- return $content;
211
- }
212
-
213
- /**
214
- * Remove WooCommerce prettyPhoto lightbox stylrs and scripts.
215
- */
216
- public function woocommerce_remove_lightbox() {
217
- if ( Responsive_Lightbox()->options['settings']['woocommerce_gallery_lightbox'] === true ) {
218
- // remove styles
219
- wp_dequeue_style( 'woocommerce_prettyPhoto_css' );
220
-
221
- // remove scripts
222
- wp_dequeue_script( 'prettyPhoto' );
223
- wp_dequeue_script( 'prettyPhoto-init' );
224
- wp_dequeue_script( 'fancybox' );
225
- wp_dequeue_script( 'enable-lightbox' );
226
- }
227
- }
228
-
229
- /**
230
- * Apply lightbox to WooCommerce procust image.
231
- *
232
- * @param mixed $html
233
- * @return mixed
234
- */
235
- public function woocommerce_single_product_image_html( $html ) {
236
- if ( Responsive_Lightbox()->options['settings']['woocommerce_gallery_lightbox'] === true ) {
237
- $html = str_replace( 'data-rel="prettyPhoto"', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '"', $html );
238
- }
239
- return $html;
240
- }
241
-
242
- /**
243
- * Apply lightbox to WooCommerce procust gallery.
244
- *
245
- * @param mixed $html
246
- * @return mixed
247
- */
248
- public function woocommerce_single_product_image_thumbnail_html( $html ) {
249
- if ( Responsive_Lightbox()->options['settings']['woocommerce_gallery_lightbox'] === true ) {
250
- $html = str_replace( 'data-rel="prettyPhoto[product-gallery]"', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"', $html );
251
- }
252
- return $html;
253
- }
254
-
255
- /**
256
- * Get attachment title function
257
- *
258
- * @param int $id
259
- * @param string $title_arg
260
- * @return string
261
- */
262
- public function get_attachment_title( $id, $title_arg ) {
263
-
264
- if ( empty( $title_arg ) || empty( $id ) ) {
265
- return false;
266
- }
267
-
268
- switch( $title_arg ) {
269
- case 'title':
270
- $title = get_the_title( $id );
271
- break;
272
- case 'caption':
273
- $title = get_post_field( 'post_excerpt', $id ) ;
274
- break;
275
- case 'alt':
276
- $title = get_post_meta( $id, '_wp_attachment_image_alt', true );
277
- break;
278
- case 'description':
279
- $title = get_post_field( 'post_content', $id ) ;
280
- break;
281
- default:
282
- $title = '';
283
- break;
284
- }
285
-
286
- return apply_filters( 'rl_get_attachment_title', $title, $id, $title_arg );
287
-
288
- }
289
-
290
- /**
291
- * Get attachment id by url function, adjusted to work cropped images
292
- *
293
- * @param string $url
294
- * @return int
295
- */
296
- public function get_attachment_id_by_url( $url ) {
297
- $post_id = attachment_url_to_postid( $url );
298
-
299
- if ( ! $post_id ) {
300
- $dir = wp_upload_dir();
301
- $path = $url;
302
-
303
- if ( 0 === strpos( $path, $dir['baseurl'] . '/' ) ) {
304
- $path = substr( $path, strlen( $dir['baseurl'] . '/' ) );
305
- }
306
-
307
- if ( preg_match( '/^(.*)(\-\d*x\d*)(\.\w{1,})/i', $path, $matches ) ){
308
- $url = $dir['baseurl'] . '/' . $matches[1] . $matches[3];
309
- $post_id = attachment_url_to_postid( $url );
310
- }
311
- }
312
-
313
- return (int) $post_id;
314
- }
315
-
316
- /**
317
- * Helper: generate password without wp_rand() and DB call it uses
318
- *
319
- * @param int $length
320
- * @return string
321
- */
322
- private function generate_password( $length = 64 ) {
323
- $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
324
- $password = '';
325
-
326
- for( $i = 0; $i < $length; $i++ ) {
327
- $password .= substr( $chars, mt_rand( 0, strlen( $chars ) - 1 ), 1 );
328
- }
329
-
330
- return $password;
331
- }
332
-
333
- /**
334
- * Helper: gallery number function
335
- *
336
- * @param mixed $content
337
- * @return mixed
338
- */
339
- public function gallery_attributes( $content ) {
340
- ++$this->gallery_no;
341
-
342
- return $content;
343
- }
344
-
 
 
 
 
 
345
  }
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) )
3
+ exit;
4
+
5
+ new Responsive_Lightbox_Frontend();
6
+
7
+ /**
8
+ * Responsive Lightbox frontend class.
9
+ *
10
+ * @class Responsive_Lightbox_Frontend
11
+ */
12
+ class Responsive_Lightbox_Frontend {
13
+
14
+ public $gallery_no = 0;
15
+
16
+ public function __construct() {
17
+ // set instance
18
+ Responsive_Lightbox()->frontend = $this;
19
+
20
+ // filters
21
+ add_filter( 'post_gallery', array( $this, 'gallery_attributes' ), 1000 );
22
+ add_filter( 'post_gallery', array( $this, 'add_custom_gallery_lightbox_selector' ), 2000, 2 );
23
+ add_filter( 'wp_get_attachment_link', array( $this, 'add_gallery_lightbox_selector' ), 1000, 6 );
24
+ add_filter( 'the_content', array( $this, 'add_videos_lightbox_selector' ) );
25
+ add_filter( 'the_content', array( $this, 'add_links_lightbox_selector' ) );
26
+ add_filter( 'woocommerce_single_product_image_html', array( $this, 'woocommerce_single_product_image_html' ), 100 );
27
+ add_filter( 'woocommerce_single_product_image_thumbnail_html', array( $this, 'woocommerce_single_product_image_thumbnail_html' ), 100 );
28
+
29
+ // actions
30
+ add_action( 'wp_enqueue_scripts', array( $this, 'woocommerce_remove_lightbox' ), 100 );
31
+ }
32
+
33
+ /**
34
+ * Add lightbox to videos
35
+ *
36
+ * @param mixed $content
37
+ * @return mixed
38
+ */
39
+ public function add_videos_lightbox_selector( $content ) {
40
+ if ( Responsive_Lightbox()->options['settings']['videos'] ) {
41
+ // search for video-links
42
+ preg_match_all('/<a(.*?)href=(?:\'|")((?:http|https)(?::\/\/|)(?:www\.)?(?:(?:(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=))(?:[\w\-]{11})[a-z0-9;:@#?&%=+\/\$_.-]*)|(?:vimeo\.com\/[0-9]+[a-z0-9;:@#?&%=+\/\$_.-]*)))(?:\'|")(.*?)>/i', $content, $links );
43
+
44
+ // found?
45
+ if ( ! empty ( $links[0] ) ) {
46
+ foreach ( $links[0] as $id => $link ) {
47
+ if ( preg_match( '/<a.*?(?:data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
48
+
49
+ // do not modify this link
50
+ if ( $result[1] === 'norl' )
51
+ continue;
52
+
53
+ // swipebox video fix
54
+ if ( Responsive_Lightbox()->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo.com') !== false )
55
+ $content = str_replace( $link, str_replace( $links[2][$id], $links[2][$id] . '?width=' . Responsive_Lightbox()->options['configuration']['swipebox']['video_max_width'], $link ), $content );
56
+
57
+ // replace data-rel
58
+ $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
59
+ } else {
60
+ // swipebox video fix
61
+ if ( Responsive_Lightbox()->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo.com') !== false )
62
+ $links[2][$id] = $links[2][$id] . '?width=' . Responsive_Lightbox()->options['configuration']['swipebox']['video_max_width'];
63
+
64
+ // replace data-rel
65
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '" data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-video-' . $id . '"' . $links[3][$id] . '>', $content );
66
+ }
67
+ }
68
+ }
69
+ }
70
+
71
+ return $content;
72
+ }
73
+
74
+ /**
75
+ * Add lightbox to to image links
76
+ *
77
+ * @param mixed $content
78
+ * @return mixed
79
+ */
80
+ public function add_links_lightbox_selector( $content ) {
81
+ if ( Responsive_Lightbox()->options['settings']['image_links'] || Responsive_Lightbox()->options['settings']['images_as_gallery'] ) {
82
+
83
+ // search for image-links
84
+ preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/is', $content, $links );
85
+
86
+ // found?
87
+ if ( ! empty ( $links[0] ) ) {
88
+ // generate hash for single images gallery
89
+ if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] )
90
+ $rel_hash = '-gallery-' . $this->generate_password( 4 );
91
+
92
+ foreach ( $links[0] as $id => $link ) {
93
+ // single image title
94
+ $title = '';
95
+
96
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['image_title'] ) !== 'default' ) {
97
+ // get attachment id
98
+ $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
99
+
100
+ if ( $image_id )
101
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] ) ) ) );
102
+ }
103
+
104
+ // update title if needed
105
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['image_title'] ) !== 'default' && $image_id )
106
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] ) ) ) );
107
+
108
+ // link contains data-rel attribute
109
+ if ( preg_match( '/<a.*?(?:data-rel)=(?:\'|")(.*?)(?:\'|").*?>/s', $link, $result ) === 1 ) {
110
+
111
+ // do not modify this link
112
+ if ( $result[1] === 'norl' )
113
+ continue;
114
+
115
+ // single images gallery
116
+ if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] )
117
+ $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(?:.*?)(?:\'|")/s', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . $rel_hash . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . esc_attr( $title ) . '"', $link ), $content );
118
+ // single image
119
+ else {
120
+ $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(?:.*?)(?:\'|")/s', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . esc_attr( $title ) . '"', $link ), $content );
121
+ }
122
+ // link without data-rel
123
+ } else {
124
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . ( Responsive_Lightbox()->options['settings']['images_as_gallery'] ? $rel_hash : '-' . $id ) . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . esc_attr( $title ) . '">', $content );
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ return $content;
131
+ }
132
+
133
+ /**
134
+ * Add lightbox to gallery
135
+ */
136
+ public function add_gallery_lightbox_selector( $link, $id, $size, $permalink, $icon, $text ) {
137
+
138
+ if ( Responsive_Lightbox()->options['settings']['galleries'] && wp_attachment_is_image( $id ) ) {
139
+ // gallery link target image
140
+ $src = array();
141
+
142
+ // gallery image title
143
+ $title = '';
144
+
145
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['gallery_image_title'] ) !== 'default' ) {
146
+ $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $link, $id );
147
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $id, $title_arg ) ) );
148
+ }
149
+
150
+ if ( $title )
151
+ $link = str_replace( '<a href', '<a title="'. esc_attr( $title ) .'" href', $link );
152
+
153
+ $link = ( preg_match( '/<a.*? (?:data-rel)=("|\').*?("|\')>/s', $link ) === 1 ? preg_replace( '/(<a.*? data-rel=(?:"|\').*?)((?:"|\').*?>)/s', '$1 ' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '$2', $link ) : preg_replace( '/(<a.*?)>/s', '$1 data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '">', $link ) );
154
+
155
+ // gallery image size
156
+ if ( Responsive_Lightbox()->options['settings']['gallery_image_size'] != 'full' ) {
157
+ $src = wp_get_attachment_image_src( $id, Responsive_Lightbox()->options['settings']['gallery_image_size'] );
158
+
159
+ $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . $src[0] . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . $src[0] . '">', $link ) );
160
+ } else {
161
+ $src = wp_get_attachment_image_src( $id, 'full' );
162
+
163
+ $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . $src[0] . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . $src[0] . '">', $link ) );
164
+ }
165
+
166
+ return apply_filters( 'rl_lightbox_attachment_link', $link, $id, $size, $permalink, $icon, $text, $src );
167
+ }
168
+
169
+ return $link;
170
+ }
171
+
172
+ /**
173
+ * Add lightbox to Jetpack tiled gallery
174
+ *
175
+ * @param mixed $content
176
+ * @param array $attr
177
+ * @return mixed
178
+ */
179
+ public function add_custom_gallery_lightbox_selector( $content, $attr ) {
180
+ if ( Responsive_Lightbox()->options['settings']['force_custom_gallery'] ) {
181
+
182
+ preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
183
+
184
+ if ( isset( $links[0] ) ) {
185
+
186
+ foreach ( $links[0] as $id => $link ) {
187
+ // gallery image title
188
+ $title = '';
189
+
190
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['gallery_image_title'] ) !== 'default' ) {
191
+ // get attachment id
192
+ $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
193
+
194
+ if ( $image_id ) {
195
+ $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] );
196
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, $title_arg ) ) );
197
+ }
198
+ }
199
+
200
+ // get attachment id
201
+ $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
202
+
203
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['gallery_image_title'] ) !== 'default' && $image_id ) {
204
+ $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] );
205
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, $title_arg ) ) );
206
+ }
207
+
208
+ if ( preg_match( '/<a.*?(?:data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
209
+ $content = str_replace( $link, preg_replace( '/(?:data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( ! empty ( $title ) ? ' title="' . esc_attr( $title ) . '"' : '' ) . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
210
+ } else {
211
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . esc_attr( $title ) . '"' : '' ) . '>', $content );
212
+ }
213
+ }
214
+ }
215
+
216
+ }
217
+
218
+ return $content;
219
+ }
220
+
221
+ /**
222
+ * Remove WooCommerce prettyPhoto lightbox stylrs and scripts.
223
+ */
224
+ public function woocommerce_remove_lightbox() {
225
+ if ( Responsive_Lightbox()->options['settings']['woocommerce_gallery_lightbox'] === true ) {
226
+ // remove styles
227
+ wp_dequeue_style( 'woocommerce_prettyPhoto_css' );
228
+
229
+ // remove scripts
230
+ wp_dequeue_script( 'prettyPhoto' );
231
+ wp_dequeue_script( 'prettyPhoto-init' );
232
+ wp_dequeue_script( 'fancybox' );
233
+ wp_dequeue_script( 'enable-lightbox' );
234
+ }
235
+ }
236
+
237
+ /**
238
+ * Apply lightbox to WooCommerce procust image.
239
+ *
240
+ * @param mixed $html
241
+ * @return mixed
242
+ */
243
+ public function woocommerce_single_product_image_html( $html ) {
244
+ if ( Responsive_Lightbox()->options['settings']['woocommerce_gallery_lightbox'] === true ) {
245
+ $html = str_replace( 'data-rel="prettyPhoto"', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '"', $html );
246
+ }
247
+ return $html;
248
+ }
249
+
250
+ /**
251
+ * Apply lightbox to WooCommerce procust gallery.
252
+ *
253
+ * @param mixed $html
254
+ * @return mixed
255
+ */
256
+ public function woocommerce_single_product_image_thumbnail_html( $html ) {
257
+ if ( Responsive_Lightbox()->options['settings']['woocommerce_gallery_lightbox'] === true ) {
258
+ $html = str_replace( 'data-rel="prettyPhoto[product-gallery]"', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"', $html );
259
+ }
260
+ return $html;
261
+ }
262
+
263
+ /**
264
+ * Get attachment title function
265
+ *
266
+ * @param int $id
267
+ * @param string $title_arg
268
+ * @return string
269
+ */
270
+ public function get_attachment_title( $id, $title_arg ) {
271
+
272
+ if ( empty( $title_arg ) || empty( $id ) ) {
273
+ return false;
274
+ }
275
+
276
+ switch( $title_arg ) {
277
+ case 'title':
278
+ $title = get_the_title( $id );
279
+ break;
280
+ case 'caption':
281
+ $title = get_post_field( 'post_excerpt', $id ) ;
282
+ break;
283
+ case 'alt':
284
+ $title = get_post_meta( $id, '_wp_attachment_image_alt', true );
285
+ break;
286
+ case 'description':
287
+ $title = get_post_field( 'post_content', $id ) ;
288
+ break;
289
+ default:
290
+ $title = '';
291
+ break;
292
+ }
293
+
294
+ return apply_filters( 'rl_get_attachment_title', $title, $id, $title_arg );
295
+
296
+ }
297
+
298
+ /**
299
+ * Get attachment id by url function, adjusted to work cropped images
300
+ *
301
+ * @param string $url
302
+ * @return int
303
+ */
304
+ public function get_attachment_id_by_url( $url ) {
305
+ $post_id = attachment_url_to_postid( $url );
306
+
307
+ if ( ! $post_id ) {
308
+ $dir = wp_upload_dir();
309
+ $path = $url;
310
+
311
+ if ( strpos( $path, $dir['baseurl'] . '/' ) === 0 )
312
+ $path = substr( $path, strlen( $dir['baseurl'] . '/' ) );
313
+
314
+ if ( preg_match( '/^(.*)(\-\d*x\d*)(\.\w{1,})/i', $path, $matches ) )
315
+ $post_id = attachment_url_to_postid( $dir['baseurl'] . '/' . $matches[1] . $matches[3] );
316
+ }
317
+
318
+ return (int) $post_id;
319
+ }
320
+
321
+ /**
322
+ * Helper: generate password without wp_rand() and DB call it uses
323
+ *
324
+ * @param int $length
325
+ * @return string
326
+ */
327
+ private function generate_password( $length = 64 ) {
328
+ $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
329
+ $password = '';
330
+
331
+ for( $i = 0; $i < $length; $i++ ) {
332
+ $password .= substr( $chars, mt_rand( 0, strlen( $chars ) - 1 ), 1 );
333
+ }
334
+
335
+ return $password;
336
+ }
337
+
338
+ /**
339
+ * Helper: gallery number function
340
+ *
341
+ * @param mixed $content
342
+ * @return mixed
343
+ */
344
+ public function gallery_attributes( $content ) {
345
+ ++$this->gallery_no;
346
+
347
+ return $content;
348
+ }
349
+
350
  }
js/front.js CHANGED
@@ -9,23 +9,72 @@
9
  selector : rlArgs.selector,
10
  args : rlArgs
11
  } );
12
-
13
  } );
14
 
15
  // this is similar to the WP function add_action();
16
  $( document ).on( 'doResponsiveLightbox', function( event ) {
17
 
18
- var script = event.script,
19
- selector = event.selector
20
- args = event.args;
21
 
22
  if ( typeof script === 'undefined' || typeof selector === 'undefined' ) {
23
  return false;
24
  }
25
 
26
- switch( script ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
- case 'swipebox':
 
 
 
29
 
30
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).swipebox( {
31
  useCSS : ( rlArgs.animation === '1' ? true : false ),
@@ -34,13 +83,106 @@
34
  removeBarsOnMobile : ( rlArgs.removeBarsOnMobile === '1' ? true : false ),
35
  hideBarsDelay : ( rlArgs.hideBars === '1' ? parseInt( rlArgs.hideBarsDelay ) : 0 ),
36
  videoMaxWidth : parseInt( rlArgs.videoMaxWidth ),
37
- loopAtEnd : ( rlArgs.loopAtEnd === '1' ? true : false )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  } );
39
 
40
  break;
41
 
42
  case 'prettyphoto':
43
 
 
 
 
44
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).prettyPhoto( {
45
  hook : 'data-rel',
46
  animation_speed : rlArgs.animationSpeed,
@@ -63,46 +205,80 @@
63
  overlay_gallery : ( rlArgs.overlayGallery === '1' ? true : false ),
64
  keyboard_shortcuts : ( rlArgs.keyboardShortcuts === '1' ? true : false ),
65
  social_tools : ( rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="//twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href=' + location.href + '&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : '' ),
66
- changepicturecallback : function () {
67
- },
68
- callback : function () {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  },
70
- ie6_fallback : true
 
 
 
71
  } );
72
 
73
  break;
74
 
75
  case 'fancybox':
76
 
 
 
77
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).fancybox( {
78
- modal : ( rlArgs.modal === '1' ? true : false ),
79
- overlayShow : ( rlArgs.showOverlay === '1' ? true : false ),
80
- showCloseButton : ( rlArgs.showCloseButton === '1' ? true : false ),
81
- enableEscapeButton : ( rlArgs.enableEscapeButton === '1' ? true : false ),
82
- hideOnOverlayClick : ( rlArgs.hideOnOverlayClick === '1' ? true : false ),
83
- hideOnContentClick : ( rlArgs.hideOnContentClick === '1' ? true : false ),
84
- cyclic : ( rlArgs.cyclic === '1' ? true : false ),
85
- showNavArrows : ( rlArgs.showNavArrows === '1' ? true : false ),
86
- autoScale : ( rlArgs.autoScale === '1' ? true : false ),
87
- scrolling : rlArgs.scrolling,
88
- centerOnScroll : ( rlArgs.centerOnScroll === '1' ? true : false ),
89
- opacity : ( rlArgs.opacity === '1' ? true : false ),
90
- overlayOpacity : parseFloat( rlArgs.overlayOpacity / 100 ),
91
- overlayColor : rlArgs.overlayColor,
92
- titleShow : ( rlArgs.titleShow === '1' ? true : false ),
93
- titlePosition : rlArgs.titlePosition,
94
- transitionIn : rlArgs.transitions,
95
- transitionOut : rlArgs.transitions,
96
- easingIn : rlArgs.easings,
97
- easingOut : rlArgs.easings,
98
- speedIn : parseInt( rlArgs.speeds ),
99
- speedOut : parseInt( rlArgs.speeds ),
100
- changeSpeed : parseInt( rlArgs.changeSpeed ),
101
- changeFade : parseInt( rlArgs.changeFade ),
102
- padding : parseInt( rlArgs.padding ),
103
- margin : parseInt( rlArgs.margin ),
104
- width : parseInt( rlArgs.videoWidth ),
105
- height : parseInt( rlArgs.videoHeight )
 
 
 
 
 
 
 
 
 
 
106
  } );
107
 
108
  break;
@@ -129,18 +305,70 @@
129
 
130
  } );
131
 
 
 
 
 
132
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).nivoLightbox( {
133
  effect : rlArgs.effect,
134
  clickOverlayToClose : ( rlArgs.clickOverlayToClose === '1' ? true : false ),
135
  keyboardNav : ( rlArgs.keyboardNav === '1' ? true : false ),
136
- errorMessage : rlArgs.errorMessage
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  } );
138
 
139
  break;
140
 
141
  case 'imagelightbox':
142
 
143
- var selectors = [];
 
144
 
145
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
146
  var attr = $( item ).attr( 'data-rel' );
@@ -169,7 +397,17 @@
169
  enableKeyboard : ( rlArgs.enableKeyboard === '1' ? true : false ),
170
  quitOnEnd : ( rlArgs.quitOnEnd === '1' ? true : false ),
171
  quitOnImgClick : ( rlArgs.quitOnImageClick === '1' ? true : false ),
172
- quitOnDocClick : ( rlArgs.quitOnDocumentClick === '1' ? true : false )
 
 
 
 
 
 
 
 
 
 
173
  } );
174
  } );
175
  }
@@ -178,7 +416,8 @@
178
 
179
  case 'tosrus':
180
 
181
- var selectors = [];
 
182
 
183
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
184
  var attr = $( item ).attr( 'data-rel' );
@@ -201,31 +440,44 @@
201
  selectors = $.unique( selectors );
202
 
203
  $( selectors ).each( function ( i, item ) {
204
- $( 'a[data-rel="' + item + '"], a[rel="' + item + '"]' ).tosrus( {
205
  infinite : ( rlArgs.infinite === '1' ? true : false ),
206
- autoplay : {
207
- play : ( rlArgs.autoplay === '1' ? true : false ),
208
- pauseOnHover : ( rlArgs.pauseOnHover === '1' ? true : false ),
209
- timeout : rlArgs.timeout
210
  },
211
- effect : rlArgs.effect,
212
- keys : {
213
- prev : ( rlArgs.keys === '1' ? true : false ),
214
- next : ( rlArgs.keys === '1' ? true : false ),
215
- close : ( rlArgs.keys === '1' ? true : false )
216
  },
217
- pagination : {
218
- add : ( rlArgs.pagination === '1' ? true : false ),
219
- type : rlArgs.paginationType
220
  },
221
  // forced
222
- show : false,
223
- buttons : true,
224
- caption : {
225
- add : true,
226
- attributes : ["title"]
227
  }
228
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  } );
230
  }
231
 
9
  selector : rlArgs.selector,
10
  args : rlArgs
11
  } );
 
12
  } );
13
 
14
  // this is similar to the WP function add_action();
15
  $( document ).on( 'doResponsiveLightbox', function( event ) {
16
 
17
+ var script = event.script,
18
+ selector = event.selector,
19
+ args = event.args;
20
 
21
  if ( typeof script === 'undefined' || typeof selector === 'undefined' ) {
22
  return false;
23
  }
24
 
25
+ var observe_script_dom = ( function() {
26
+ var MutationObserver = window.MutationObserver || window.WebKitMutationObserver,
27
+ eventListenerSupported = window.addEventListener;
28
+
29
+ return function ( obj, only_added, callback ) {
30
+ if ( MutationObserver ) {
31
+ // define a new observer
32
+ var obs = new MutationObserver( function( mutations, observer ) {
33
+ if ( only_added ) {
34
+ if ( mutations[0].addedNodes.length )
35
+ callback();
36
+ } else {
37
+ if ( mutations[0].addedNodes.length || mutations[0].removedNodes.length )
38
+ callback();
39
+ }
40
+ } );
41
+
42
+ // have the observer observe for changes in children
43
+ obs.observe( obj, { childList:true, subtree:true } );
44
+ } else if ( eventListenerSupported ) {
45
+ obj.addEventListener( 'DOMNodeInserted', callback, false );
46
+
47
+ if ( ! only_added ) {
48
+ obj.addEventListener( 'DOMNodeRemoved', callback, false );
49
+ }
50
+ }
51
+ }
52
+ } )();
53
+
54
+ rl_view_image = function( script, url ) {
55
+ $.event.trigger( {
56
+ type: 'doLightboxViewImage',
57
+ script: script,
58
+ url: url
59
+ } );
60
+ }
61
+
62
+ rl_hide_image = function( script, url ) {
63
+ $.event.trigger( {
64
+ type: 'doLightboxHideImage',
65
+ script: script,
66
+ url: url
67
+ } );
68
+ }
69
+
70
+ switch ( script ) {
71
+
72
+ case 'swipebox':
73
 
74
+ var slide = $( '#swipebox-overlay' ).find( '.slide.current' ),
75
+ image_source = '',
76
+ allow_hide = false,
77
+ close_executed = false;
78
 
79
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).swipebox( {
80
  useCSS : ( rlArgs.animation === '1' ? true : false ),
83
  removeBarsOnMobile : ( rlArgs.removeBarsOnMobile === '1' ? true : false ),
84
  hideBarsDelay : ( rlArgs.hideBars === '1' ? parseInt( rlArgs.hideBarsDelay ) : 0 ),
85
  videoMaxWidth : parseInt( rlArgs.videoMaxWidth ),
86
+ loopAtEnd : ( rlArgs.loopAtEnd === '1' ? true : false ),
87
+ afterOpen: function() {
88
+ close_executed = false;
89
+
90
+ // update current slide container
91
+ slide = $( '#swipebox-overlay' ).find( '.slide.current' );
92
+
93
+ // get image source
94
+ var image = slide.find( 'img' ).attr( 'src' );
95
+
96
+ // valid image source?
97
+ if ( typeof image !== 'undefined' ) {
98
+ image_source = image;
99
+
100
+ // trigger image view
101
+ rl_view_image( script, image_source );
102
+ } else {
103
+ image_source = '';
104
+ }
105
+
106
+ // add current slide observer
107
+ observe_script_dom( document.getElementById( 'swipebox-slider' ), false, function() {
108
+ if ( image_source === '' ) {
109
+ // get image source
110
+ var image = slide.find( 'img' ).attr( 'src' );
111
+
112
+ // valid image source?
113
+ if ( typeof image !== 'undefined' ) {
114
+ image_source = image;
115
+
116
+ // trigger image view
117
+ rl_view_image( script, image_source );
118
+ } else {
119
+ image_source = '';
120
+ }
121
+ }
122
+ } );
123
+ },
124
+ nextSlide: function() {
125
+ // update current slide container
126
+ slide = $( '#swipebox-overlay' ).find( '.slide.current' );
127
+
128
+ // get image source
129
+ var image = slide.find( 'img' ).attr( 'src' );
130
+
131
+ // valid image source?
132
+ if ( typeof image !== 'undefined' ) {
133
+ image_source = image;
134
+
135
+ // trigger image view
136
+ rl_view_image( script, image_source );
137
+ } else {
138
+ image_source = '';
139
+ }
140
+ },
141
+ prevSlide: function() {
142
+ // update current slide container
143
+ slide = $( '#swipebox-overlay' ).find( '.slide.current' );
144
+
145
+ // get image source
146
+ var image = slide.find( 'img' ).attr( 'src' );
147
+
148
+ // valid image source?
149
+ if ( typeof image !== 'undefined' ) {
150
+ image_source = image;
151
+
152
+ // trigger image view
153
+ rl_view_image( script, image_source );
154
+ } else {
155
+ image_source = '';
156
+ }
157
+ },
158
+ afterClose: function() {
159
+ // afterClose event executed
160
+ close_executed = true;
161
+
162
+ // allow to hide image?
163
+ if ( allow_hide ) {
164
+ // trigger image hide
165
+ rl_hide_image( script, image_source );
166
+
167
+ allow_hide = false;
168
+ }
169
+ }
170
+ } );
171
+
172
+ // additional event to prevent rl_hide_image to execure while opening modal
173
+ $( window ).on( 'resize', function() {
174
+ if ( ! close_executed ) {
175
+ allow_hide = true;
176
+ }
177
  } );
178
 
179
  break;
180
 
181
  case 'prettyphoto':
182
 
183
+ var view_disabled = false,
184
+ last_image = '';
185
+
186
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).prettyPhoto( {
187
  hook : 'data-rel',
188
  animation_speed : rlArgs.animationSpeed,
205
  overlay_gallery : ( rlArgs.overlayGallery === '1' ? true : false ),
206
  keyboard_shortcuts : ( rlArgs.keyboardShortcuts === '1' ? true : false ),
207
  social_tools : ( rlArgs.social === '1' ? '<div class="pp_social"><div class="twitter"><a href="//twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href=' + location.href + '&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' : '' ),
208
+ ie6_fallback : true,
209
+ changepicturecallback: function() {
210
+ // is view disabled?
211
+ if ( view_disabled ) {
212
+ // enable view
213
+ view_disabled = false;
214
+
215
+ return;
216
+ }
217
+
218
+ last_image = $( '#pp_full_res' ).find( 'img' ).attr( 'src' );
219
+
220
+ // trigger image view
221
+ rl_view_image( script, last_image );
222
+
223
+ // is expanding allowed?
224
+ if ( rlArgs.allowExpand === '1' ) {
225
+ // disable changepicturecallback event after expanding
226
+ $( 'a.pp_expand' ).on( 'click', function() {
227
+ view_disabled = true;
228
+ } );
229
+ }
230
  },
231
+ callback: function() {
232
+ // trigger image hide
233
+ rl_hide_image( script, last_image );
234
+ }
235
  } );
236
 
237
  break;
238
 
239
  case 'fancybox':
240
 
241
+ var last_image = '';
242
+
243
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).fancybox( {
244
+ modal : ( rlArgs.modal === '1' ? true : false ),
245
+ overlayShow : ( rlArgs.showOverlay === '1' ? true : false ),
246
+ showCloseButton : ( rlArgs.showCloseButton === '1' ? true : false ),
247
+ enableEscapeButton : ( rlArgs.enableEscapeButton === '1' ? true : false ),
248
+ hideOnOverlayClick : ( rlArgs.hideOnOverlayClick === '1' ? true : false ),
249
+ hideOnContentClick : ( rlArgs.hideOnContentClick === '1' ? true : false ),
250
+ cyclic : ( rlArgs.cyclic === '1' ? true : false ),
251
+ showNavArrows : ( rlArgs.showNavArrows === '1' ? true : false ),
252
+ autoScale : ( rlArgs.autoScale === '1' ? true : false ),
253
+ scrolling : rlArgs.scrolling,
254
+ centerOnScroll : ( rlArgs.centerOnScroll === '1' ? true : false ),
255
+ opacity : ( rlArgs.opacity === '1' ? true : false ),
256
+ overlayOpacity : parseFloat( rlArgs.overlayOpacity / 100 ),
257
+ overlayColor : rlArgs.overlayColor,
258
+ titleShow : ( rlArgs.titleShow === '1' ? true : false ),
259
+ titlePosition : rlArgs.titlePosition,
260
+ transitionIn : rlArgs.transitions,
261
+ transitionOut : rlArgs.transitions,
262
+ easingIn : rlArgs.easings,
263
+ easingOut : rlArgs.easings,
264
+ speedIn : parseInt( rlArgs.speeds ),
265
+ speedOut : parseInt( rlArgs.speeds ),
266
+ changeSpeed : parseInt( rlArgs.changeSpeed ),
267
+ changeFade : parseInt( rlArgs.changeFade ),
268
+ padding : parseInt( rlArgs.padding ),
269
+ margin : parseInt( rlArgs.margin ),
270
+ width : parseInt( rlArgs.videoWidth ),
271
+ height : parseInt( rlArgs.videoHeight ),
272
+ onComplete: function() {
273
+ last_image = $( '#fancybox-content' ).find( 'img' ).attr( 'src' );
274
+
275
+ // trigger image view
276
+ rl_view_image( script, last_image );
277
+ },
278
+ onClosed: function() {
279
+ // trigger image hide
280
+ rl_hide_image( script, last_image );
281
+ }
282
  } );
283
 
284
  break;
305
 
306
  } );
307
 
308
+ var observer_initialized = false,
309
+ change_allowed = true,
310
+ last_image = '';
311
+
312
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).nivoLightbox( {
313
  effect : rlArgs.effect,
314
  clickOverlayToClose : ( rlArgs.clickOverlayToClose === '1' ? true : false ),
315
  keyboardNav : ( rlArgs.keyboardNav === '1' ? true : false ),
316
+ errorMessage : rlArgs.errorMessage,
317
+ afterShowLightbox: function( lightbox ) {
318
+ var content = $( lightbox )[0].find( '.nivo-lightbox-content' );
319
+
320
+ // is observer initialized?
321
+ if ( ! observer_initialized ) {
322
+ // turn it off
323
+ observer_initialized = true;
324
+
325
+ // add content observer
326
+ observe_script_dom( document.getElementsByClassName( 'nivo-lightbox-content' )[0], true, function() {
327
+ if ( change_allowed ) {
328
+ last_image = content.find( '.nivo-lightbox-image img' ).attr( 'src' );
329
+
330
+ // trigger image view
331
+ rl_view_image( script, last_image );
332
+
333
+ // disallow observer changes
334
+ change_allowed = false;
335
+ }
336
+ } );
337
+ }
338
+ },
339
+ afterHideLightbox: function() {
340
+ // allow observer changes
341
+ change_allowed = true;
342
+
343
+ // trigger image hide
344
+ rl_hide_image( script, last_image );
345
+ },
346
+ onPrev: function( element ) {
347
+ // disallow observer changes
348
+ change_allowed = false;
349
+
350
+ last_image = element[0].attr( 'href' );
351
+
352
+ // trigger image view
353
+ rl_view_image( script, last_image );
354
+ },
355
+ onNext: function( element ) {
356
+ // disallow observer changes
357
+ change_allowed = false;
358
+
359
+ last_image = element[0].attr( 'href' );
360
+
361
+ // trigger image view
362
+ rl_view_image( script, last_image );
363
+ }
364
  } );
365
 
366
  break;
367
 
368
  case 'imagelightbox':
369
 
370
+ var selectors = [],
371
+ last_image = '';
372
 
373
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
374
  var attr = $( item ).attr( 'data-rel' );
397
  enableKeyboard : ( rlArgs.enableKeyboard === '1' ? true : false ),
398
  quitOnEnd : ( rlArgs.quitOnEnd === '1' ? true : false ),
399
  quitOnImgClick : ( rlArgs.quitOnImageClick === '1' ? true : false ),
400
+ quitOnDocClick : ( rlArgs.quitOnDocumentClick === '1' ? true : false ),
401
+ onLoadEnd: function() {
402
+ last_image = $( '#imagelightbox' ).attr( 'src' );
403
+
404
+ // trigger image view
405
+ rl_view_image( script, last_image );
406
+ },
407
+ onEnd: function() {
408
+ // trigger image hide
409
+ rl_hide_image( script, last_image );
410
+ }
411
  } );
412
  } );
413
  }
416
 
417
  case 'tosrus':
418
 
419
+ var selectors = [],
420
+ last_image = '';
421
 
422
  $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
423
  var attr = $( item ).attr( 'data-rel' );
440
  selectors = $.unique( selectors );
441
 
442
  $( selectors ).each( function ( i, item ) {
443
+ var tos = $( 'a[data-rel="' + item + '"], a[rel="' + item + '"]' ).tosrus( {
444
  infinite : ( rlArgs.infinite === '1' ? true : false ),
445
+ autoplay : {
446
+ play : ( rlArgs.autoplay === '1' ? true : false ),
447
+ pauseOnHover : ( rlArgs.pauseOnHover === '1' ? true : false ),
448
+ timeout : rlArgs.timeout
449
  },
450
+ effect : rlArgs.effect,
451
+ keys : {
452
+ prev : ( rlArgs.keys === '1' ? true : false ),
453
+ next : ( rlArgs.keys === '1' ? true : false ),
454
+ close : ( rlArgs.keys === '1' ? true : false )
455
  },
456
+ pagination : {
457
+ add : ( rlArgs.pagination === '1' ? true : false ),
458
+ type : rlArgs.paginationType
459
  },
460
  // forced
461
+ show : false,
462
+ buttons : true,
463
+ caption : {
464
+ add : true,
465
+ attributes : ["title"]
466
  }
467
  } );
468
+
469
+ tos.bind( 'sliding.tos', function( event, number ) {
470
+ last_image = $( $( event.target ).find( '.tos-slider .tos-slide' )[number] ).find( 'img' ).attr( 'src' );
471
+
472
+ // trigger image view
473
+ rl_view_image( script, last_image );
474
+ } );
475
+
476
+ tos.bind( 'closing.tos', function() {
477
+ // trigger image hide
478
+ rl_hide_image( script, last_image );
479
+ } );
480
+
481
  } );
482
  }
483
 
languages/responsive-lightbox-fr_FR.mo CHANGED
Binary file
languages/responsive-lightbox-fr_FR.po CHANGED
@@ -1,1099 +1,426 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox fr\n"
4
- "POT-Creation-Date: 2015-06-13 18:20+0100\n"
5
- "PO-Revision-Date: 2015-06-17 14:51+0100\n"
6
  "Last-Translator: Li-An <lian00@gmail.com>\n"
7
  "Language-Team: Li-An <lian00@gmail.com>\n"
8
- "Language: fr\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.7.5\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../includes/class-settings.php:46
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
- #: ../includes/class-settings.php:48
23
  msgid "slow"
24
  msgstr "lent"
25
 
26
- #: ../includes/class-settings.php:49
27
  msgid "normal"
28
  msgstr "normal"
29
 
30
- #: ../includes/class-settings.php:50
31
  msgid "fast"
32
  msgstr "rapide"
33
 
34
- #: ../includes/class-settings.php:53
35
  msgid "default"
36
  msgstr "par défaut"
37
 
38
- #: ../includes/class-settings.php:54
39
  msgid "light rounded"
40
  msgstr "coins arrondis clair"
41
 
42
- #: ../includes/class-settings.php:55
43
  msgid "dark rounded"
44
  msgstr "coins arrondis sombre"
45
 
46
- #: ../includes/class-settings.php:56
47
  msgid "light square"
48
  msgstr "rectangle clair"
49
 
50
- #: ../includes/class-settings.php:57
51
  msgid "dark square"
52
  msgstr "rectangle sombre"
53
 
54
- #: ../includes/class-settings.php:58
55
  msgid "facebook"
56
  msgstr "facebook"
57
 
58
- #: ../includes/class-settings.php:61
59
  msgid "window"
60
  msgstr "fenêtre"
61
 
62
- #: ../includes/class-settings.php:62
63
  msgid "transparent"
64
  msgstr "transparente"
65
 
66
- #: ../includes/class-settings.php:63
67
  msgid "opaque"
68
  msgstr "opaque"
69
 
70
- #: ../includes/class-settings.php:64
71
  msgid "direct"
72
  msgstr "direct"
73
 
74
- #: ../includes/class-settings.php:65
75
  msgid "gpu"
76
  msgstr "gpu"
77
 
78
- #: ../includes/class-settings.php:69
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
- #: ../includes/class-settings.php:71
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
- #: ../includes/class-settings.php:72
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
- #: ../includes/class-settings.php:76
91
- msgid "FancyBox"
92
- msgstr "FancyBox"
93
-
94
- #: ../includes/class-settings.php:78
95
- msgid "elastic"
96
- msgstr "élastique"
97
-
98
- #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
99
- #: ../includes/class-settings.php:801
100
- msgid "fade"
101
- msgstr "fondu"
102
-
103
- #: ../includes/class-settings.php:80
104
- msgid "none"
105
- msgstr "aucun"
106
-
107
- #: ../includes/class-settings.php:83
108
- msgid "auto"
109
- msgstr "auto"
110
-
111
- #: ../includes/class-settings.php:84
112
- msgid "yes"
113
- msgstr "oui"
114
-
115
- #: ../includes/class-settings.php:85
116
- msgid "no"
117
- msgstr "non"
118
-
119
- #: ../includes/class-settings.php:88
120
- msgid "swing"
121
- msgstr "swing"
122
-
123
- #: ../includes/class-settings.php:89
124
- msgid "linear"
125
- msgstr "linéaire"
126
-
127
- #: ../includes/class-settings.php:92
128
- msgid "outside"
129
- msgstr "à l'extérieur"
130
-
131
- #: ../includes/class-settings.php:93
132
- msgid "inside"
133
- msgstr "à l'intérieur"
134
-
135
- #: ../includes/class-settings.php:94
136
- msgid "over"
137
- msgstr "par dessus"
138
-
139
- #: ../includes/class-settings.php:98
140
- msgid "Nivo Lightbox"
141
- msgstr "Nivo Lightbox"
142
-
143
- #: ../includes/class-settings.php:101
144
- msgid "fade scale"
145
- msgstr "échelle de fondu"
146
-
147
- #: ../includes/class-settings.php:102
148
- msgid "slide left"
149
- msgstr "glissement à gauche"
150
-
151
- #: ../includes/class-settings.php:103
152
- msgid "slide right"
153
- msgstr "glissement à droite"
154
-
155
- #: ../includes/class-settings.php:104
156
- msgid "slide up"
157
- msgstr "glissement vers le haut"
158
-
159
- #: ../includes/class-settings.php:105
160
- msgid "slide down"
161
- msgstr "glissement vers le bas"
162
-
163
- #: ../includes/class-settings.php:106
164
- msgid "fall"
165
- msgstr "tomber"
166
-
167
- #: ../includes/class-settings.php:110
168
- msgid "Image Lightbox"
169
- msgstr "Image Lightbox"
170
-
171
- #: ../includes/class-settings.php:113
172
- msgid "TosRUs"
173
- msgstr "TosRUs"
174
-
175
- #: ../includes/class-settings.php:118
176
- msgid "None (default)"
177
- msgstr "Aucun (par défaut)"
178
-
179
- #: ../includes/class-settings.php:119
180
- msgid "Image Title"
181
- msgstr "Titre de l'image"
182
-
183
- #: ../includes/class-settings.php:120
184
- msgid "Image Caption"
185
- msgstr "Légende de l'image"
186
-
187
- #: ../includes/class-settings.php:121
188
- msgid "Image Alt Text"
189
- msgstr "Texte alternatif de l'image"
190
-
191
- #: ../includes/class-settings.php:122
192
- msgid "Image Description"
193
- msgstr "Description de l'image"
194
-
195
- #: ../includes/class-settings.php:126
196
- msgid "Header"
197
- msgstr "Header"
198
-
199
- #: ../includes/class-settings.php:127
200
- msgid "Footer"
201
- msgstr "Footer"
202
-
203
- #: ../includes/class-settings.php:137
204
- msgid "Thumbnail"
205
- msgstr "Miniature"
206
-
207
- #: ../includes/class-settings.php:138
208
- msgid "Medium"
209
- msgstr "Moyenne"
210
-
211
- #: ../includes/class-settings.php:139
212
- msgid "Large"
213
- msgstr "Grande taille"
214
 
215
- #: ../includes/class-settings.php:140
216
- msgid "Full Size (default)"
217
- msgstr "Taille originale (par défaut)"
218
 
219
- #: ../includes/class-settings.php:150 ../includes/class-settings.php:875
220
  msgid "General settings"
221
  msgstr "Réglages généraux"
222
 
223
- #: ../includes/class-settings.php:159
 
 
 
 
224
  msgid "Lightbox script"
225
  msgstr "Script Lightbox"
226
 
227
- #: ../includes/class-settings.php:165
228
- msgid "Select your preffered ligthbox effect script."
229
- msgstr "Sélectionnez votre script d'effet Lightbox préféré."
230
-
231
- #: ../includes/class-settings.php:172
232
  msgid "Selector"
233
  msgstr "Sélecteur"
234
 
235
- #: ../includes/class-settings.php:175
236
- msgid "Enter the rel selector lightbox effect will be applied to."
237
- msgstr "Entrez le sélecteur rel de l'effet Lightbox qui sera appliqué."
238
-
239
- #: ../includes/class-settings.php:178
240
- msgid "Image links"
241
- msgstr "Liens image"
242
-
243
- #: ../includes/class-settings.php:181
244
- msgid "Add lightbox to WordPress image links by default."
245
- msgstr "Ajouter Lightbox aux liens des images Wordpress par défaut."
246
-
247
- #: ../includes/class-settings.php:184
248
- msgid "Single images as gallery"
249
- msgstr "Les images isolées en tant que galerie"
250
-
251
- #: ../includes/class-settings.php:187
252
- msgid "Display single post images as a gallery."
253
- msgstr "Afficher les images isolées des billets comme un galerie."
254
-
255
- #: ../includes/class-settings.php:190
256
  msgid "Galleries"
257
  msgstr "Galeries"
258
 
259
- #: ../includes/class-settings.php:193
260
- msgid "Add lightbox to WordPress image galleries by default."
261
- msgstr "Ajouter Lightbox aux galeries d'image Wordpress par défaut."
262
-
263
- #: ../includes/class-settings.php:196
264
- msgid "Gallery image size"
265
- msgstr "Taille des images de galerie"
266
-
267
- #: ../includes/class-settings.php:199
268
- msgid "Select image size for gallery image links."
269
- msgstr "Sélectionner la taille d'image pour les liens d'image de galerie."
270
-
271
- #: ../includes/class-settings.php:203
272
- msgid "Gallery image title"
273
- msgstr "Titre l'image de galerie"
274
-
275
- #: ../includes/class-settings.php:206
276
- msgid "Select title for images in native WordPress galleries."
277
- msgstr ""
278
- "Sélectionnez un titre pour les images des galeries natives de Wordpress."
279
-
280
- #: ../includes/class-settings.php:210
281
- msgid "Force gallery lightbox"
282
- msgstr "Forcer Lightbox sur les galeries"
283
-
284
- #: ../includes/class-settings.php:213
285
- msgid ""
286
- "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
287
- "galleries."
288
- msgstr ""
289
- "Essayer de forcer Lightbox pour les substituts personnalisés de galeries WP "
290
- "comme les galeries en tuiles de Jetpack."
291
-
292
- #: ../includes/class-settings.php:216
293
  msgid "Video links"
294
  msgstr "Liens vidéo"
295
 
296
- #: ../includes/class-settings.php:219
297
- msgid "Add lightbox to YouTube and Vimeo video links by default."
298
- msgstr "Ajouter Lightbox aux liens YouTube et Vimeo par défaut."
299
-
300
- #: ../includes/class-settings.php:222
301
- msgid "Custom events"
302
- msgstr "Évènemements personnalisés"
303
-
304
- #: ../includes/class-settings.php:228
305
- msgid "Enable triggering lightbox on custom jQuery events."
306
- msgstr ""
307
- "Autoriser un déclenchement de Lightbox sur des évènements jQuery "
308
- "personnalisés."
309
-
310
- #: ../includes/class-settings.php:232
311
- msgid "Enter a space separated list of events."
312
- msgstr "Entrez une liste d'évènements séparés par un espace."
313
-
314
- #: ../includes/class-settings.php:237
315
- msgid "Loading place"
316
- msgstr "Endroit de chargement"
317
-
318
- #: ../includes/class-settings.php:240
319
- msgid "Select where all the lightbox scripts should be placed."
320
- msgstr "Sélectionnez l'endroit où les scripts Lightbox doivent être placés."
321
-
322
- #: ../includes/class-settings.php:244
323
- msgid "Conditional loading"
324
- msgstr "Chargement conditionnel"
325
-
326
- #: ../includes/class-settings.php:247
327
- msgid ""
328
- "Enable to load scripts and styles only on pages that have images or "
329
- "galleries in post content."
330
- msgstr ""
331
- "Autoriser à charger les scripts et styles uniquement dans les pages où il y "
332
- "a des images ou galeries dans le contenu de billet."
333
-
334
- #: ../includes/class-settings.php:250
335
- msgid "Delete data"
336
- msgstr "Supprimer les données"
337
-
338
- #: ../includes/class-settings.php:253
339
- msgid "Delete all plugin settings on deactivation."
340
- msgstr "Supprimer tous les réglages du plugin lors de la désactivation."
341
 
342
- #: ../includes/class-settings.php:263 ../includes/class-settings.php:881
343
- msgid "Lightbox settings"
344
- msgstr "Réglages Lightbox"
345
 
346
- #: ../includes/class-settings.php:281
347
  msgid "Animation type"
348
  msgstr "Type d'animation"
349
 
350
- #: ../includes/class-settings.php:285
351
- msgid "Select a method of applying a lightbox effect."
352
- msgstr "Sélectionnez une méthode d'application de l'effet Lightbox."
353
-
354
- #: ../includes/class-settings.php:290
355
- msgid "Force PNG icons"
356
- msgstr "Forcer les icons PNG"
357
-
358
- #: ../includes/class-settings.php:293
359
- msgid ""
360
- "Enable this if you're having problems with navigation icons not visible on "
361
- "some devices."
362
- msgstr ""
363
- "Activez ceci si vous avez des problèmses avec les icônes de navigation "
364
- "invisibles sur certains appareils."
365
-
366
- #: ../includes/class-settings.php:297
367
- msgid "Hide close on mobile"
368
- msgstr "Cacher la fermeture sur les mobiles"
369
-
370
- #: ../includes/class-settings.php:300
371
- msgid "Hide the close button on mobile devices."
372
- msgstr "Cacher le bouton de fermeture sur les appareils mobiles."
373
-
374
- #: ../includes/class-settings.php:304
375
- msgid "Remove bars on mobile"
376
- msgstr "Retirer les barres sur les mobiles"
377
-
378
- #: ../includes/class-settings.php:307
379
- msgid "Hide the top and bottom bars on mobile devices."
380
- msgstr "Cacher les barres du haut et du bas sur les appareils mobiles."
381
-
382
- #: ../includes/class-settings.php:311
383
  msgid "Top and bottom bars"
384
  msgstr "Barre en haut et en bas"
385
 
386
- #: ../includes/class-settings.php:317
387
- msgid "Hide top and bottom bars after a period of time."
388
- msgstr "Cacher les barres du haut et du bas après un moment."
389
-
390
- #: ../includes/class-settings.php:322
391
- msgid ""
392
- "Enter the time after which the top and bottom bars will be hidden (when "
393
- "hiding is enabled)."
394
- msgstr ""
395
- "Entrer le temps après lequel les barres du haut et du bas seront cachées "
396
- "(lorsque le masquage est activé)."
397
-
398
- #: ../includes/class-settings.php:329
399
  msgid "Video max width"
400
  msgstr "Largeur max vidéo"
401
 
402
- #: ../includes/class-settings.php:332
403
- msgid "Enter the max video width in a lightbox."
404
- msgstr "Entrer la largeur maximum de la vidéo dans une Lightbox."
405
-
406
- #: ../includes/class-settings.php:337
407
- msgid "Loop at end"
408
- msgstr "Boucle à la fin"
409
-
410
- #: ../includes/class-settings.php:340
411
- msgid "True will return to the first image after the last image is reached."
412
- msgstr ""
413
- "Si activé affichera de nouveau la première image après que la dernière soit "
414
- "atteinte."
415
-
416
- #: ../includes/class-settings.php:352 ../includes/class-settings.php:744
417
  msgid "Animation speed"
418
  msgstr "Vitesse d'animation"
419
 
420
- #: ../includes/class-settings.php:356
421
- msgid "Select animation speed for lightbox effect."
422
- msgstr "Sélectionner la vitesse d'animation de l'effet Lightbox."
423
-
424
- #: ../includes/class-settings.php:361
425
  msgid "Slideshow"
426
  msgstr "Diaporama"
427
 
428
- #: ../includes/class-settings.php:367
429
- msgid "Display images as slideshow"
430
- msgstr "Afficher les images dans un diaporama"
431
-
432
- #: ../includes/class-settings.php:372
433
- msgid "Enter time (in miliseconds)."
434
- msgstr "Entrer la durées (en millisecondes)."
435
-
436
- #: ../includes/class-settings.php:379
437
  msgid "Slideshow autoplay"
438
  msgstr "Démarrage automatique diaporama"
439
 
440
- #: ../includes/class-settings.php:382 ../includes/class-settings.php:826
441
- msgid "Automatically start slideshow."
442
- msgstr "Lancer automatiquement le caroussel."
443
-
444
- #: ../includes/class-settings.php:386 ../includes/class-settings.php:588
445
  msgid "Opacity"
446
  msgstr "Opacité"
447
 
448
- #: ../includes/class-settings.php:389
449
- msgid "Value between 0 and 100, 100 for no opacity."
450
- msgstr "Une valeur entre 0 et 100, 100 pour aucune opacité."
451
-
452
- #: ../includes/class-settings.php:395
453
  msgid "Show title"
454
  msgstr "Montrer le titre"
455
 
456
- #: ../includes/class-settings.php:398
457
- msgid "Display image title."
458
- msgstr "Afficher le titre de l'image."
459
-
460
- #: ../includes/class-settings.php:402
461
  msgid "Allow resize big images"
462
  msgstr "Autoriser le redimensionnement des grandes images"
463
 
464
- #: ../includes/class-settings.php:405
465
- msgid "Resize the photos bigger than viewport."
466
- msgstr "Redimensionner les images plus grandes que la fenêtre d'affichage."
467
-
468
- #: ../includes/class-settings.php:409
469
- msgid "Allow expand"
470
- msgstr "Autoriser l'agrandissement"
471
-
472
- #: ../includes/class-settings.php:412
473
- msgid "Allow expanding images."
474
- msgstr "Autoriser l'agrandissment des images"
475
-
476
- #: ../includes/class-settings.php:416 ../includes/class-settings.php:682
477
  msgid "Video width"
478
  msgstr "Largeur vidéo"
479
 
480
- #: ../includes/class-settings.php:423 ../includes/class-settings.php:690
481
  msgid "Video height"
482
  msgstr "Hauteur vidéo"
483
 
484
- #: ../includes/class-settings.php:430
485
  msgid "Theme"
486
  msgstr "Thème"
487
 
488
- #: ../includes/class-settings.php:433
489
- msgid "Select the theme for lightbox effect."
490
- msgstr "Sélectionner le thème pour l'effet Lightbox."
491
-
492
- #: ../includes/class-settings.php:438
493
  msgid "Horizontal padding"
494
  msgstr "Padding horizontal"
495
 
496
- #: ../includes/class-settings.php:445
497
  msgid "Hide Flash"
498
  msgstr "Cacher le Flash"
499
 
500
- #: ../includes/class-settings.php:448
501
- msgid ""
502
- "Hide all the flash objects on a page. Enable this if flash appears over "
503
- "prettyPhoto."
504
- msgstr ""
505
- "Cacher tous les objets Flash sur la page. À activer si du Flash apparaît par "
506
- "dessus prettyPhoto."
507
-
508
- #: ../includes/class-settings.php:452
509
  msgid "Flash Window Mode (wmode)"
510
  msgstr "Mode fenêtre Flash (wmode)"
511
 
512
- #: ../includes/class-settings.php:455
513
- msgid "Select flash window mode."
514
- msgstr "Sélectionner un mode de fenêtre Flash."
515
-
516
- #: ../includes/class-settings.php:460
517
  msgid "Video autoplay"
518
  msgstr "Autodémarrage de vidéo"
519
 
520
- #: ../includes/class-settings.php:463
521
- msgid "Automatically start videos."
522
- msgstr "Lancer automatiquement les vidéos."
523
-
524
- #: ../includes/class-settings.php:467 ../includes/class-settings.php:510
525
  msgid "Modal"
526
  msgstr "Modale"
527
 
528
- #: ../includes/class-settings.php:470
529
- msgid "If set to true, only the close button will close the window."
530
- msgstr "Si coché, seul le bouton de fermeture pourra fermer la fenêtre."
531
-
532
- #: ../includes/class-settings.php:474
533
  msgid "Deeplinking"
534
  msgstr "Deeplinking"
535
 
536
- #: ../includes/class-settings.php:477
537
- msgid "Allow prettyPhoto to update the url to enable deeplinking."
538
- msgstr ""
539
- "Autoriser prettyPhoto à mettre à jour l'URL pour autoriser le lien en "
540
- "profondeur (deeplinking)."
541
-
542
- #: ../includes/class-settings.php:481
543
  msgid "Overlay gallery"
544
  msgstr "Galerie superposée"
545
 
546
- #: ../includes/class-settings.php:484
547
- msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
548
- msgstr ""
549
- "Si activé, une galerie s'affichera par dessus l'image en vue plein écran au "
550
- "passage de la souris."
551
-
552
- #: ../includes/class-settings.php:488
553
  msgid "Keyboard shortcuts"
554
  msgstr "Raccourcis clavier"
555
 
556
- #: ../includes/class-settings.php:491
557
- msgid "Set to false if you open forms inside prettyPhoto."
558
- msgstr ""
559
- "Désactiver si vous ouvrez des formulaires à l'intérieur de prettyPhoto."
560
-
561
- #: ../includes/class-settings.php:495
562
  msgid "Social (Twitter, Facebook)"
563
  msgstr "Social (Twitter, Facebook)"
564
 
565
- #: ../includes/class-settings.php:498
566
- msgid "Display links to Facebook and Twitter."
567
- msgstr "Afficher des liens vers Facebook et Twitter."
568
-
569
- #: ../includes/class-settings.php:513
570
- msgid ""
571
- "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
572
- "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
573
- "to false."
574
- msgstr ""
575
- "Quand activé, \"overlayShow\" est activé et \"hideOnOverlayClick\", "
576
- "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" sont "
577
- "désactivés."
578
-
579
- #: ../includes/class-settings.php:517
580
- msgid "Show overlay"
581
- msgstr "Montrer la galerie superposée."
582
-
583
- #: ../includes/class-settings.php:520
584
- msgid "Toggle overlay."
585
- msgstr "Cocher pour la galerie superposée."
586
-
587
- #: ../includes/class-settings.php:524
588
- msgid "Show close button"
589
- msgstr "Montrer le bouton de fermeture"
590
-
591
- #: ../includes/class-settings.php:527
592
- msgid "Toggle close button."
593
- msgstr "Cocher pour le bouton de fermeture."
594
-
595
- #: ../includes/class-settings.php:531
596
- msgid "Enable escape button"
597
- msgstr "Autoriser le bouton échappe"
598
 
599
- #: ../includes/class-settings.php:534
600
- msgid "Toggle if pressing Esc button closes FancyBox."
601
- msgstr "Cocher si le bouton Échappe ferme FancyBox."
602
 
603
- #: ../includes/class-settings.php:538
604
- msgid "Hide on overlay click"
605
- msgstr "Cacher lors d'un clic sur la superposition"
606
 
607
- #: ../includes/class-settings.php:541
608
- msgid "Toggle if clicking the overlay should close FancyBox."
609
- msgstr "Cocher si un clic sur la superposition doit fermer FancyBox"
610
 
611
- #: ../includes/class-settings.php:545
612
- msgid "Hide on content click"
613
- msgstr "Cacher lors d'un clic sur le contenu"
614
 
615
- #: ../includes/class-settings.php:548
616
- msgid "Toggle if clicking the content should close FancyBox."
617
- msgstr "Cocher si le clic sur le contenu doit fermer FancyBox."
618
 
619
- #: ../includes/class-settings.php:552
620
- msgid "Cyclic"
621
- msgstr "Cyclique"
622
 
623
- #: ../includes/class-settings.php:555
624
- msgid ""
625
- "When true, galleries will be cyclic, allowing you to keep pressing next/back."
626
  msgstr ""
627
- "Si activé, les galeries feront un cycle, vous autorisant à continuer à "
628
- "presser suivant/en arrière. "
629
-
630
- #: ../includes/class-settings.php:559
631
- msgid "Show nav arrows"
632
- msgstr "Montrer les flèches de navigation"
633
-
634
- #: ../includes/class-settings.php:562
635
- msgid "Toggle navigation arrows."
636
- msgstr "Cocher pour les flèches de navigation."
637
-
638
- #: ../includes/class-settings.php:566
639
- msgid "Auto scale"
640
- msgstr "Mise à l'échelle automatique"
641
-
642
- #: ../includes/class-settings.php:569
643
- msgid "If true, FancyBox is scaled to fit in viewport."
644
- msgstr "Si activé, FancyBox est mis à l'échelle pour s'adapter à la fenêtre."
645
 
646
- #: ../includes/class-settings.php:573
647
- msgid "Scrolling (in/out)"
648
- msgstr "Défilement (in/out)"
649
 
650
- #: ../includes/class-settings.php:576
651
- msgid "Set the overflow CSS property to create or hide scrollbars."
652
- msgstr ""
653
- "Définissez la propriété CSS overflow pour créer ou cacher les barres de "
654
- "défilement."
655
 
656
- #: ../includes/class-settings.php:581
657
- msgid "Center on scroll"
658
- msgstr "Centrer lors du défilement"
659
 
660
- #: ../includes/class-settings.php:584
661
- msgid "When true, FancyBox is centered while scrolling page."
662
- msgstr "Si activé, FancyBox est centré lors du défilement de la page."
663
 
664
- #: ../includes/class-settings.php:591
665
- msgid "When true, transparency of content is changed for elastic transitions."
666
- msgstr ""
667
- "Si activé, la transparence du contenu est modidié pour les transistions "
668
- "élastiques."
669
 
670
- #: ../includes/class-settings.php:595
671
- msgid "Overlay opacity"
672
- msgstr "Opacité du calque superposé"
673
 
674
- #: ../includes/class-settings.php:598
675
- msgid "Opacity of the overlay."
676
- msgstr "Opacité du calque superposé"
677
 
678
- #: ../includes/class-settings.php:604
679
- msgid "Overlay color"
680
- msgstr "Couleur du calque"
681
 
682
- #: ../includes/class-settings.php:607
683
- msgid "Color of the overlay."
684
- msgstr "Couleur du calque superposé"
685
 
686
- #: ../includes/class-settings.php:611
687
- msgid "Title show"
688
- msgstr "Montrer le titre"
689
 
690
- #: ../includes/class-settings.php:614
691
- msgid "Toggle title."
692
- msgstr "Activer le titre."
693
 
694
- #: ../includes/class-settings.php:618
695
- msgid "Title position"
696
- msgstr "Position du titre"
697
 
698
- #: ../includes/class-settings.php:621
699
- msgid "The position of title."
700
- msgstr "La position du titre."
 
 
 
 
701
 
702
- #: ../includes/class-settings.php:626
703
- msgid "Transition (in/out)"
704
- msgstr "Transition (in/out)"
705
 
706
- #: ../includes/class-settings.php:629
707
- msgid "The transition type."
708
- msgstr "Le type de transition."
709
 
710
- #: ../includes/class-settings.php:634
711
- msgid "Easings (in/out)"
712
- msgstr "Défilement (in/out)"
713
 
714
- #: ../includes/class-settings.php:637
715
- msgid "Easing used for elastic animations."
716
- msgstr "Défilement utilisé pour les animations élastiques."
717
 
718
- #: ../includes/class-settings.php:642
719
- msgid "Speed (in/out)"
720
- msgstr "Vitesse (in/out)"
 
 
721
 
722
- #: ../includes/class-settings.php:645
723
- msgid "Speed of the fade and elastic transitions, in milliseconds."
724
- msgstr "Vitesse du fondu et des transitions élastiques, en millisecondes."
725
 
726
- #: ../includes/class-settings.php:650
727
- msgid "Change speed"
728
- msgstr "Modifier la vitesse"
729
 
730
- #: ../includes/class-settings.php:653
731
- msgid "Speed of resizing when changing gallery items, in milliseconds."
 
 
732
  msgstr ""
733
- "Vitesse de redimensionnement lorsque l'on change d'objet dans la galerie, en "
734
- "millisecondes."
 
735
 
736
- #: ../includes/class-settings.php:658
737
- msgid "Change fade"
738
- msgstr "Modifier le fondu"
739
-
740
- #: ../includes/class-settings.php:661
741
- msgid "Speed of the content fading while changing gallery items."
742
  msgstr ""
743
- "Vitesse du fondu du contenu lors du changement d'objets dans la galerie."
744
-
745
- #: ../includes/class-settings.php:666
746
- msgid "Padding"
747
- msgstr "Padding"
748
-
749
- #: ../includes/class-settings.php:669
750
- msgid "Space between FancyBox wrapper and content."
751
- msgstr "Espace entre le conteneur FancyBox et le contenu."
752
-
753
- #: ../includes/class-settings.php:674
754
- msgid "Margin"
755
- msgstr "Margin"
756
-
757
- #: ../includes/class-settings.php:677
758
- msgid "Space between viewport and FancyBox wrapper."
759
- msgstr "Espace entre la fenêtre d'affichage et le conteneur Fancybox."
760
-
761
- #: ../includes/class-settings.php:685
762
- msgid "Width of the video."
763
- msgstr "Largeur de la vidéo."
764
-
765
- #: ../includes/class-settings.php:693
766
- msgid "Height of the video."
767
- msgstr "Hauteur de la vidéo."
768
-
769
- #: ../includes/class-settings.php:706
770
- msgid "Effect"
771
- msgstr "Effet"
772
-
773
- #: ../includes/class-settings.php:709
774
- msgid "The effect to use when showing the lightbox."
775
- msgstr "L'effet à utiliser à l'affichage de l'effet Lightbox."
776
-
777
- #: ../includes/class-settings.php:714 ../includes/class-settings.php:813
778
- msgid "Keyboard navigation"
779
- msgstr "Navigation au clavier"
780
 
781
- #: ../includes/class-settings.php:717 ../includes/class-settings.php:816
782
- msgid "Enable keyboard navigation (left/right/escape)."
783
- msgstr "Permettre la navigation au clavier (droite/gauche/échappe)."
784
-
785
- #: ../includes/class-settings.php:721
786
- msgid "Click overlay to close"
787
- msgstr "Cliquer sur le calque de superposition pour fermer"
788
-
789
- #: ../includes/class-settings.php:724
790
- msgid "Enable to close lightbox on overlay click."
791
  msgstr ""
792
- "Permettre la fermeture de l'effet Lightbox en cliquant sur le calque de "
793
- "superposition."
794
-
795
- #: ../includes/class-settings.php:728
796
- msgid "Error message"
797
- msgstr "Message d'erreur"
798
-
799
- #: ../includes/class-settings.php:732
800
- msgid "Error message if the content cannot be loaded."
801
- msgstr "Message d'erreur si le contenu ne peut pas être chargé."
802
-
803
- #: ../includes/class-settings.php:747
804
- msgid "Animation speed."
805
- msgstr "Vitesse d'animation."
806
-
807
- #: ../includes/class-settings.php:752
808
- msgid "Preload next image"
809
- msgstr "Précharger l'image suivante"
810
-
811
- #: ../includes/class-settings.php:755
812
- msgid "Silently preload the next image."
813
- msgstr "Précharger l'image suivante en arrière plan."
814
-
815
- #: ../includes/class-settings.php:759
816
- msgid "Enable keyboard keys"
817
- msgstr "Permettre l'utilisation des touches de clavier"
818
-
819
- #: ../includes/class-settings.php:762
820
- msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
821
- msgstr "Permettre les raccourcis clavier (flèches droite/gauche et Echappe)."
822
-
823
- #: ../includes/class-settings.php:766
824
- msgid "Quit after last image"
825
- msgstr "Quitter après la dernière image"
826
-
827
- #: ../includes/class-settings.php:769
828
- msgid "Quit after viewing the last image."
829
- msgstr "Quitter après la visualisation de la dernière image."
830
-
831
- #: ../includes/class-settings.php:773
832
- msgid "Quit on image click"
833
- msgstr "Quitter au clic sur l'image"
834
-
835
- #: ../includes/class-settings.php:776
836
- msgid "Quit when the viewed image is clicked."
837
- msgstr "Quitter quand l'image visualisée est cliquée."
838
-
839
- #: ../includes/class-settings.php:780
840
- msgid "Quit on anything click"
841
- msgstr "Quitter à n'importe quel clic"
842
 
843
- #: ../includes/class-settings.php:783
844
- msgid "Quit when anything but the viewed image is clicked."
845
- msgstr "Qitter pour n'importe quel clic excepté sur l'image visualisée ."
846
-
847
- #: ../includes/class-settings.php:795
848
- msgid "Transition effect"
849
- msgstr "Effet de transition"
850
-
851
- #: ../includes/class-settings.php:798
852
- msgid "What effect to use for the transition."
853
- msgstr "Quel effet utiliser pour la transition."
854
-
855
- #: ../includes/class-settings.php:800
856
- msgid "slide"
857
- msgstr "Glissement"
858
-
859
- #: ../includes/class-settings.php:806
860
- msgid "Infinite loop"
861
- msgstr "Boucle infinie"
862
-
863
- #: ../includes/class-settings.php:809
864
  msgid ""
865
- "Whether or not to slide back to the first slide when the last has been "
866
- "reached."
867
  msgstr ""
868
- "Choisir d'effectuer un glissement en arrière ou pas vers le premier slide "
869
- "quand le dernier a été atteint."
870
-
871
- #: ../includes/class-settings.php:820
872
- msgid "Autoplay"
873
- msgstr "Démarrage automatique"
874
-
875
- #: ../includes/class-settings.php:831
876
- msgid "The timeout between sliding to the next slide in milliseconds."
877
- msgstr "La durée entre deux défilements en millisecondes."
878
-
879
- #: ../includes/class-settings.php:838
880
- msgid "Pause on hover"
881
- msgstr "Pause au passage de la souris"
882
-
883
- #: ../includes/class-settings.php:841
884
- msgid "Whether or not to pause on hover."
885
- msgstr "Choisir de faire une pause ou pas au passage de la souris."
886
-
887
- #: ../includes/class-settings.php:845
888
- msgid "Pagination"
889
- msgstr "Pagination"
890
-
891
- #: ../includes/class-settings.php:851
892
- msgid "Whether or not to add a pagination."
893
- msgstr "Choisir d'ajouter ou pas une pagination."
894
-
895
- #: ../includes/class-settings.php:856
896
- msgid "What type of pagination to use."
897
- msgstr "Quel type de pagination utiliser."
898
-
899
- #: ../includes/class-settings.php:858
900
- msgid "Bullets"
901
- msgstr "Marque de liste"
902
-
903
- #: ../includes/class-settings.php:859
904
- msgid "Thumbnails"
905
- msgstr "Miniatures"
906
 
907
- #: ../includes/class-settings.php:897 ../includes/class-settings.php:911
908
- #: ../includes/class-settings.php:924
909
  msgid "Responsive Lightbox"
910
  msgstr "Responsive Lightbox"
911
 
912
- #: ../includes/class-settings.php:926
 
 
 
 
913
  msgid "Need support?"
914
  msgstr "Vous avez besoin d'aide ?"
915
 
916
- #: ../includes/class-settings.php:927
917
  msgid ""
918
  "If you are having problems with this plugin, please talk about them in the"
919
  msgstr "Si vous avez des problèmes avec ce plugin, veuillez en parler dans"
920
 
921
- #: ../includes/class-settings.php:927
922
  msgid "Support forum"
923
  msgstr "forum d'aide"
924
 
925
- #: ../includes/class-settings.php:929
926
  msgid "Do you like this plugin?"
927
  msgstr "Aimez-vous ce plugin ?"
928
 
929
- #: ../includes/class-settings.php:936
930
  msgid "Rate it 5"
931
  msgstr "Mettez lui la note 5"
932
 
933
- #: ../includes/class-settings.php:936
934
  msgid "on WordPress.org"
935
  msgstr "sur WordPress.org"
936
 
937
- #: ../includes/class-settings.php:937
938
  msgid "Blog about it & link to the"
939
  msgstr "Blogguez à son propos et faites un lien vers"
940
 
941
- #: ../includes/class-settings.php:937
942
  msgid "plugin page"
943
  msgstr "la page de plugin"
944
 
945
- #: ../includes/class-settings.php:938
946
  msgid "Check out our other"
947
  msgstr "Jetez un coup d'oeil sur"
948
 
949
- #: ../includes/class-settings.php:938
950
  msgid "WordPress plugins"
951
  msgstr "les plugins WordPress"
952
 
953
- #: ../includes/class-settings.php:958
954
- msgid "Reset to defaults"
955
- msgstr "Rétablir les valeurs par défaut"
956
-
957
- #: ../includes/class-settings.php:1325
958
- msgid "Settings restored to defaults."
959
- msgstr "Réglages remis par défaut."
960
 
961
- #: ../responsive-lightbox.php:286
962
  msgid "Support"
963
  msgstr "Aide"
964
 
965
- #: ../responsive-lightbox.php:305
966
  msgid "Settings"
967
  msgstr "Réglages"
968
-
969
- #: ../responsive-lightbox.php:325
970
- msgid "Are you sure you want to reset these settings to defaults?"
971
- msgstr "Êtes-vous sûr de vouloir remettre ces réglages par défaut ?"
972
-
973
- #: ../responsive-lightbox.php:326
974
- msgid "Are you sure you want to reset this script settings to defaults?"
975
- msgstr "Êtes-vous sûr de vouloir remettre ces réglages de script par défaut ?"
976
-
977
- #~ msgid "Enable"
978
- #~ msgstr "Activé"
979
-
980
- #~ msgid "Disable"
981
- #~ msgstr "Désactivé"
982
-
983
- #~ msgid "Deactivation"
984
- #~ msgstr "Désactivation"
985
-
986
- #~ msgid "Select to which rel selector lightbox effect will be applied to."
987
- #~ msgstr "Sélectionnez à quel sélecteur rel l'effet Lightbox sera appliqué."
988
-
989
- #~ msgid "Add lightbox to WordPress image galleries by default"
990
- #~ msgstr "Ajouter Lightbox aux images de galeries Wordpress par défaut"
991
-
992
- #~ msgid "Add lightbox to YouTube and Vimeo video links by default"
993
- #~ msgstr "Ajouter Lightbox aus liens vidéos YouTube et Vimeo par défaut"
994
-
995
- #~ msgid "Add lightbox to WordPress image links by default"
996
- #~ msgstr "Ajouter Lightbox aux liens d'images Wordpress par défaut"
997
-
998
- #~ msgid "Delete settings on plugin deactivation"
999
- #~ msgstr "Supprimer les réglages à la désactivation du plugin"
1000
-
1001
- #~ msgid "Disable if you don't want to display top and bottom bars."
1002
- #~ msgstr ""
1003
- #~ "Désactivez si vous ne voulez pas afficher les barres au dessus et en "
1004
- #~ "dessous. "
1005
-
1006
- #~ msgid "Enter the time for images animation (in miliseconds)"
1007
- #~ msgstr "Entrez le temps d'animation pour les images (en millisecondes)"
1008
-
1009
- #~ msgid "Enter the max video width in a lightbox"
1010
- #~ msgstr "Entrez la largeur max de la vidéà dans une Lightbox"
1011
-
1012
- #~ msgid "Select animation speed for lightbox effect"
1013
- #~ msgstr "Sélectionnez une vitesse d'animation pour l'effet Lightbox"
1014
-
1015
- #~ msgid "Enter time (in miliseconds)"
1016
- #~ msgstr "Entrez le temps (en millisecondes)"
1017
-
1018
- #~ msgid "Automatically start slideshow"
1019
- #~ msgstr "Démarrer automatiquement le diaporama"
1020
-
1021
- #~ msgid "Value between 0 and 1 (for e.g. 0.5)"
1022
- #~ msgstr "Une valeur entre 0 et 1 (par exemple 0.5)"
1023
-
1024
- #~ msgid "Display image tiltle"
1025
- #~ msgstr "Afficher le titre de l'image"
1026
-
1027
- #~ msgid "in pixels"
1028
- #~ msgstr "en pixels"
1029
-
1030
- #~ msgid "Select theme for lightbox effect"
1031
- #~ msgstr "Sélectionnez le thème pour l'effet Lightbox"
1032
-
1033
- #~ msgid "Horizontal padding (in pixels)"
1034
- #~ msgstr "Padding horizontal (en pixels)"
1035
-
1036
- #~ msgid ""
1037
- #~ "Hides all the flash object on a page. Enable this if flash appears over "
1038
- #~ "prettyPhoto"
1039
- #~ msgstr ""
1040
- #~ "Cacher les objets Flash sur une page. Activez si des animations Flash "
1041
- #~ "apparaissent au dessus de prettyPhoto."
1042
-
1043
- #~ msgid "Select flash window mode"
1044
- #~ msgstr "Sélectionner le mode de fenêtre Flash"
1045
-
1046
- #~ msgid "Automatically start videos"
1047
- #~ msgstr "Démarrer automatiquement les vidéos"
1048
-
1049
- #~ msgid "If set to true, only the close button will close the window"
1050
- #~ msgstr ""
1051
- #~ "Si activé, seul le bouton de fermeture permettra de fermer la fenêtre"
1052
-
1053
- #~ msgid "Allow prettyPhoto to update the url to enable deeplinking"
1054
- #~ msgstr ""
1055
- #~ "Autorise prettyPhoto à mettre à jour l'URL pour activer le deeplinking"
1056
-
1057
- #~ msgid ""
1058
- #~ "If enabled, a gallery will overlay the fullscreen image on mouse over"
1059
- #~ msgstr ""
1060
- #~ "Si activé, une galerie sera affichée par dessus l'image plein écran au "
1061
- #~ "passage de la souris"
1062
-
1063
- #~ msgid "Set to false if you open forms inside prettyPhoto"
1064
- #~ msgstr "Désactivez si vous ouvrez des formulaires dans prettyPhoto"
1065
-
1066
- #~ msgid "Display links to Facebook and Twitter"
1067
- #~ msgstr "Afficher des liens vers Facebook et Twitter"
1068
-
1069
- #~ msgid ""
1070
- #~ "Changes were not saved because there was attempt to save settings of "
1071
- #~ "inactive script. The site has been reloaded to the proper script settings."
1072
- #~ msgstr ""
1073
- #~ "Les modifications n'ont pas été sauvegardées parce qu'il y a eu une "
1074
- #~ "tentative pour sauvegarder les réglages d'un script inactif. Le site a "
1075
- #~ "été rafraîchi avec les réglages de script convenables."
1076
-
1077
- #~ msgid "Settings of SwipeBox script were restored to defaults."
1078
- #~ msgstr ""
1079
- #~ "Les réglages du script SwipeBox ont été rétablis dans leurs valeurs par "
1080
- #~ "défaut."
1081
-
1082
- #~ msgid "Settings of prettyPhoto script were restored to defaults."
1083
- #~ msgstr ""
1084
- #~ "Les réglages du script prettyPhoto ont été rétablis dans leurs valeurs "
1085
- #~ "par défaut."
1086
-
1087
- #~ msgid ""
1088
- #~ "Changes were not set to defaults because there was attempt to reset "
1089
- #~ "settings of inactive script. The site has been reloaded to the proper "
1090
- #~ "script settings."
1091
- #~ msgstr ""
1092
- #~ "La remise aux valeurs par défaut n'a pas été effectuée parce qu'il y a eu "
1093
- #~ "une tentative pour remettre par défaut les réglages d'un script inactif. "
1094
- #~ "Le site a été rafraîchi avec les réglages de script convenables."
1095
-
1096
- #~ msgid "Are you sure you want to reset scripts settings to defaults?"
1097
- #~ msgstr ""
1098
- #~ "Êtes-vous sûr de vouloir rétablir les réglages des scripts aux valeurs "
1099
- #~ "par défaut ?"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox fr\n"
4
+ "POT-Creation-Date: 2013-07-09 19:35+0100\n"
5
+ "PO-Revision-Date: 2013-07-14 17:44+0100\n"
6
  "Last-Translator: Li-An <lian00@gmail.com>\n"
7
  "Language-Team: Li-An <lian00@gmail.com>\n"
8
+ "Language: Français\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.7\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../responsive-lightbox.php:253
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
+ #: ../responsive-lightbox.php:255
23
  msgid "slow"
24
  msgstr "lent"
25
 
26
+ #: ../responsive-lightbox.php:256
27
  msgid "normal"
28
  msgstr "normal"
29
 
30
+ #: ../responsive-lightbox.php:257
31
  msgid "fast"
32
  msgstr "rapide"
33
 
34
+ #: ../responsive-lightbox.php:260
35
  msgid "default"
36
  msgstr "par défaut"
37
 
38
+ #: ../responsive-lightbox.php:261
39
  msgid "light rounded"
40
  msgstr "coins arrondis clair"
41
 
42
+ #: ../responsive-lightbox.php:262
43
  msgid "dark rounded"
44
  msgstr "coins arrondis sombre"
45
 
46
+ #: ../responsive-lightbox.php:263
47
  msgid "light square"
48
  msgstr "rectangle clair"
49
 
50
+ #: ../responsive-lightbox.php:264
51
  msgid "dark square"
52
  msgstr "rectangle sombre"
53
 
54
+ #: ../responsive-lightbox.php:265
55
  msgid "facebook"
56
  msgstr "facebook"
57
 
58
+ #: ../responsive-lightbox.php:268
59
  msgid "window"
60
  msgstr "fenêtre"
61
 
62
+ #: ../responsive-lightbox.php:269
63
  msgid "transparent"
64
  msgstr "transparente"
65
 
66
+ #: ../responsive-lightbox.php:270
67
  msgid "opaque"
68
  msgstr "opaque"
69
 
70
+ #: ../responsive-lightbox.php:271
71
  msgid "direct"
72
  msgstr "direct"
73
 
74
+ #: ../responsive-lightbox.php:272
75
  msgid "gpu"
76
  msgstr "gpu"
77
 
78
+ #: ../responsive-lightbox.php:277
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
+ #: ../responsive-lightbox.php:279
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
+ #: ../responsive-lightbox.php:280
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
+ #: ../responsive-lightbox.php:286
91
+ msgid "Enable"
92
+ msgstr "Activé"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
+ #: ../responsive-lightbox.php:287
95
+ msgid "Disable"
96
+ msgstr "Désactivé"
97
 
98
+ #: ../responsive-lightbox.php:292 ../responsive-lightbox.php:328
99
  msgid "General settings"
100
  msgstr "Réglages généraux"
101
 
102
+ #: ../responsive-lightbox.php:297 ../responsive-lightbox.php:338
103
+ msgid "Lightbox settings"
104
+ msgstr "Réglages Lightbox"
105
+
106
+ #: ../responsive-lightbox.php:329
107
  msgid "Lightbox script"
108
  msgstr "Script Lightbox"
109
 
110
+ #: ../responsive-lightbox.php:330
 
 
 
 
111
  msgid "Selector"
112
  msgstr "Sélecteur"
113
 
114
+ #: ../responsive-lightbox.php:331
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  msgid "Galleries"
116
  msgstr "Galeries"
117
 
118
+ #: ../responsive-lightbox.php:332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  msgid "Video links"
120
  msgstr "Liens vidéo"
121
 
122
+ #: ../responsive-lightbox.php:333
123
+ msgid "Image links"
124
+ msgstr "Liens image"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
 
126
+ #: ../responsive-lightbox.php:334
127
+ msgid "Deactivation"
128
+ msgstr "Désactivation"
129
 
130
+ #: ../responsive-lightbox.php:342
131
  msgid "Animation type"
132
  msgstr "Type d'animation"
133
 
134
+ #: ../responsive-lightbox.php:343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  msgid "Top and bottom bars"
136
  msgstr "Barre en haut et en bas"
137
 
138
+ #: ../responsive-lightbox.php:344
 
 
 
 
 
 
 
 
 
 
 
 
139
  msgid "Video max width"
140
  msgstr "Largeur max vidéo"
141
 
142
+ #: ../responsive-lightbox.php:348
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  msgid "Animation speed"
144
  msgstr "Vitesse d'animation"
145
 
146
+ #: ../responsive-lightbox.php:349
 
 
 
 
147
  msgid "Slideshow"
148
  msgstr "Diaporama"
149
 
150
+ #: ../responsive-lightbox.php:350
 
 
 
 
 
 
 
 
151
  msgid "Slideshow autoplay"
152
  msgstr "Démarrage automatique diaporama"
153
 
154
+ #: ../responsive-lightbox.php:351
 
 
 
 
155
  msgid "Opacity"
156
  msgstr "Opacité"
157
 
158
+ #: ../responsive-lightbox.php:352
 
 
 
 
159
  msgid "Show title"
160
  msgstr "Montrer le titre"
161
 
162
+ #: ../responsive-lightbox.php:353
 
 
 
 
163
  msgid "Allow resize big images"
164
  msgstr "Autoriser le redimensionnement des grandes images"
165
 
166
+ #: ../responsive-lightbox.php:354
 
 
 
 
 
 
 
 
 
 
 
 
167
  msgid "Video width"
168
  msgstr "Largeur vidéo"
169
 
170
+ #: ../responsive-lightbox.php:355
171
  msgid "Video height"
172
  msgstr "Hauteur vidéo"
173
 
174
+ #: ../responsive-lightbox.php:356
175
  msgid "Theme"
176
  msgstr "Thème"
177
 
178
+ #: ../responsive-lightbox.php:357
 
 
 
 
179
  msgid "Horizontal padding"
180
  msgstr "Padding horizontal"
181
 
182
+ #: ../responsive-lightbox.php:358
183
  msgid "Hide Flash"
184
  msgstr "Cacher le Flash"
185
 
186
+ #: ../responsive-lightbox.php:359
 
 
 
 
 
 
 
 
187
  msgid "Flash Window Mode (wmode)"
188
  msgstr "Mode fenêtre Flash (wmode)"
189
 
190
+ #: ../responsive-lightbox.php:360
 
 
 
 
191
  msgid "Video autoplay"
192
  msgstr "Autodémarrage de vidéo"
193
 
194
+ #: ../responsive-lightbox.php:361
 
 
 
 
195
  msgid "Modal"
196
  msgstr "Modale"
197
 
198
+ #: ../responsive-lightbox.php:362
 
 
 
 
199
  msgid "Deeplinking"
200
  msgstr "Deeplinking"
201
 
202
+ #: ../responsive-lightbox.php:363
 
 
 
 
 
 
203
  msgid "Overlay gallery"
204
  msgstr "Galerie superposée"
205
 
206
+ #: ../responsive-lightbox.php:364
 
 
 
 
 
 
207
  msgid "Keyboard shortcuts"
208
  msgstr "Raccourcis clavier"
209
 
210
+ #: ../responsive-lightbox.php:365
 
 
 
 
 
211
  msgid "Social (Twitter, Facebook)"
212
  msgstr "Social (Twitter, Facebook)"
213
 
214
+ #: ../responsive-lightbox.php:383
215
+ msgid "Select your preffered ligthbox effect script."
216
+ msgstr "Sélectionnez votre script d'effet Lightbox préféré."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
 
218
+ #: ../responsive-lightbox.php:393
219
+ msgid "Select to which rel selector lightbox effect will be applied to."
220
+ msgstr "Sélectionnez à quel sélecteur rel l'effet Lightbox sera appliqué."
221
 
222
+ #: ../responsive-lightbox.php:411
223
+ msgid "Add lightbox to WordPress image galleries by default"
224
+ msgstr "Ajouter Lightbox aux images de galeries Wordpress par défaut"
225
 
226
+ #: ../responsive-lightbox.php:429
227
+ msgid "Add lightbox to YouTube and Vimeo video links by default"
228
+ msgstr "Ajouter Lightbox aus liens vidéos YouTube et Vimeo par défaut"
229
 
230
+ #: ../responsive-lightbox.php:447
231
+ msgid "Add lightbox to WordPress image links by default"
232
+ msgstr "Ajouter Lightbox aux liens d'images Wordpress par défaut"
233
 
234
+ #: ../responsive-lightbox.php:465
235
+ msgid "Delete settings on plugin deactivation"
236
+ msgstr "Supprimer les réglages à la désactivation du plugin"
237
 
238
+ #: ../responsive-lightbox.php:483
239
+ msgid "Select a method of applying a lightbox effect."
240
+ msgstr "Sélectionnez une méthode d'application de l'effet Lightbox."
241
 
242
+ #: ../responsive-lightbox.php:501
243
+ msgid "Disable if you don't want to display top and bottom bars."
 
244
  msgstr ""
245
+ "Désactivez si vous ne voulez pas afficher les barres au dessus et en "
246
+ "dessous. "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
 
248
+ #: ../responsive-lightbox.php:505
249
+ msgid "Enter the time for images animation (in miliseconds)"
250
+ msgstr "Entrez le temps d'animation pour les images (en millisecondes)"
251
 
252
+ #: ../responsive-lightbox.php:515
253
+ msgid "Enter the max video width in a lightbox"
254
+ msgstr "Entrez la largeur max de la vidéà dans une Lightbox"
 
 
255
 
256
+ #: ../responsive-lightbox.php:533
257
+ msgid "Select animation speed for lightbox effect"
258
+ msgstr "Sélectionnez une vitesse d'animation pour l'effet Lightbox"
259
 
260
+ #: ../responsive-lightbox.php:551
261
+ msgid "Display images as slideshow"
262
+ msgstr "Afficher les images dans un diaporama"
263
 
264
+ #: ../responsive-lightbox.php:555
265
+ msgid "Enter time (in miliseconds)"
266
+ msgstr "Entrez le temps (en millisecondes)"
 
 
267
 
268
+ #: ../responsive-lightbox.php:573
269
+ msgid "Automatically start slideshow"
270
+ msgstr "Démarrer automatiquement le diaporama"
271
 
272
+ #: ../responsive-lightbox.php:583
273
+ msgid "Value between 0 and 1 (for e.g. 0.5)"
274
+ msgstr "Une valeur entre 0 et 1 (par exemple 0.5)"
275
 
276
+ #: ../responsive-lightbox.php:601
277
+ msgid "Display image tiltle"
278
+ msgstr "Afficher le titre de l'image"
279
 
280
+ #: ../responsive-lightbox.php:619
281
+ msgid "Resize the photos bigger than viewport."
282
+ msgstr "Redimensionner les images plus grandes que la fenêtre d'affichage."
283
 
284
+ #: ../responsive-lightbox.php:629 ../responsive-lightbox.php:639
285
+ msgid "in pixels"
286
+ msgstr "en pixels"
287
 
288
+ #: ../responsive-lightbox.php:657
289
+ msgid "Select theme for lightbox effect"
290
+ msgstr "Sélectionnez le thème pour l'effet Lightbox"
291
 
292
+ #: ../responsive-lightbox.php:667
293
+ msgid "Horizontal padding (in pixels)"
294
+ msgstr "Padding horizontal (en pixels)"
295
 
296
+ #: ../responsive-lightbox.php:685
297
+ msgid ""
298
+ "Hides all the flash object on a page. Enable this if flash appears over "
299
+ "prettyPhoto"
300
+ msgstr ""
301
+ "Cacher les objets Flash sur une page. Activez si des animations Flash "
302
+ "apparaissent au dessus de prettyPhoto."
303
 
304
+ #: ../responsive-lightbox.php:703
305
+ msgid "Select flash window mode"
306
+ msgstr "Sélectionner le mode de fenêtre Flash"
307
 
308
+ #: ../responsive-lightbox.php:721
309
+ msgid "Automatically start videos"
310
+ msgstr "Démarrer automatiquement les vidéos"
311
 
312
+ #: ../responsive-lightbox.php:739
313
+ msgid "If set to true, only the close button will close the window"
314
+ msgstr "Si activé, seul le bouton de fermeture permettra de fermer la fenêtre"
315
 
316
+ #: ../responsive-lightbox.php:757
317
+ msgid "Allow prettyPhoto to update the url to enable deeplinking"
318
+ msgstr "Autorise prettyPhoto à mettre à jour l'URL pour activer le deeplinking"
319
 
320
+ #: ../responsive-lightbox.php:775
321
+ msgid "If enabled, a gallery will overlay the fullscreen image on mouse over"
322
+ msgstr ""
323
+ "Si activé, une galerie sera affichée par dessus l'image plein écran au "
324
+ "passage de la souris"
325
 
326
+ #: ../responsive-lightbox.php:793
327
+ msgid "Set to false if you open forms inside prettyPhoto"
328
+ msgstr "Désactivez si vous ouvrez des formulaires dans prettyPhoto"
329
 
330
+ #: ../responsive-lightbox.php:811
331
+ msgid "Display links to Facebook and Twitter"
332
+ msgstr "Afficher des liens vers Facebook et Twitter"
333
 
334
+ #: ../responsive-lightbox.php:906
335
+ msgid ""
336
+ "Changes were not saved because there was attempt to save settings of "
337
+ "inactive script. The site has been reloaded to the proper script settings."
338
  msgstr ""
339
+ "Les modifications n'ont pas été sauvegardées parce qu'il y a eu une "
340
+ "tentative pour sauvegarder les réglages d'un script inactif. Le site a été "
341
+ "rafraîchi avec les réglages de script convenables."
342
 
343
+ #: ../responsive-lightbox.php:918
344
+ msgid "Settings of SwipeBox script were restored to defaults."
 
 
 
 
345
  msgstr ""
346
+ "Les réglages du script SwipeBox ont été rétablis dans leurs valeurs par "
347
+ "défaut."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
 
349
+ #: ../responsive-lightbox.php:924
350
+ msgid "Settings of prettyPhoto script were restored to defaults."
 
 
 
 
 
 
 
 
351
  msgstr ""
352
+ "Les réglages du script prettyPhoto ont été rétablis dans leurs valeurs par "
353
+ "défaut."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
354
 
355
+ #: ../responsive-lightbox.php:928
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
356
  msgid ""
357
+ "Changes were not set to defaults because there was attempt to reset settings "
358
+ "of inactive script. The site has been reloaded to the proper script settings."
359
  msgstr ""
360
+ "La remise aux valeurs par défaut n'a pas été effectuée parce qu'il y a eu "
361
+ "une tentative pour remettre par défaut les réglages d'un script inactif. Le "
362
+ "site a été rafraîchi avec les réglages de script convenables."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
 
364
+ #: ../responsive-lightbox.php:942 ../responsive-lightbox.php:943
365
+ #: ../responsive-lightbox.php:957 ../responsive-lightbox.php:989
366
  msgid "Responsive Lightbox"
367
  msgstr "Responsive Lightbox"
368
 
369
+ #: ../responsive-lightbox.php:982
370
+ msgid "Reset to defaults"
371
+ msgstr "Rétablir les valeurs par défaut"
372
+
373
+ #: ../responsive-lightbox.php:991
374
  msgid "Need support?"
375
  msgstr "Vous avez besoin d'aide ?"
376
 
377
+ #: ../responsive-lightbox.php:992
378
  msgid ""
379
  "If you are having problems with this plugin, please talk about them in the"
380
  msgstr "Si vous avez des problèmes avec ce plugin, veuillez en parler dans"
381
 
382
+ #: ../responsive-lightbox.php:992
383
  msgid "Support forum"
384
  msgstr "forum d'aide"
385
 
386
+ #: ../responsive-lightbox.php:994
387
  msgid "Do you like this plugin?"
388
  msgstr "Aimez-vous ce plugin ?"
389
 
390
+ #: ../responsive-lightbox.php:995
391
  msgid "Rate it 5"
392
  msgstr "Mettez lui la note 5"
393
 
394
+ #: ../responsive-lightbox.php:995
395
  msgid "on WordPress.org"
396
  msgstr "sur WordPress.org"
397
 
398
+ #: ../responsive-lightbox.php:996
399
  msgid "Blog about it & link to the"
400
  msgstr "Blogguez à son propos et faites un lien vers"
401
 
402
+ #: ../responsive-lightbox.php:996
403
  msgid "plugin page"
404
  msgstr "la page de plugin"
405
 
406
+ #: ../responsive-lightbox.php:997
407
  msgid "Check out our other"
408
  msgstr "Jetez un coup d'oeil sur"
409
 
410
+ #: ../responsive-lightbox.php:997
411
  msgid "WordPress plugins"
412
  msgstr "les plugins WordPress"
413
 
414
+ #: ../responsive-lightbox.php:1022
415
+ msgid "Are you sure you want to reset scripts settings to defaults?"
416
+ msgstr ""
417
+ "Êtes-vous sûr de vouloir rétablir les réglages des scripts aux valeurs par "
418
+ "défaut ?"
 
 
419
 
420
+ #: ../responsive-lightbox.php:1149
421
  msgid "Support"
422
  msgstr "Aide"
423
 
424
+ #: ../responsive-lightbox.php:1171
425
  msgid "Settings"
426
  msgstr "Réglages"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/responsive-lightbox-nl_NL.mo CHANGED
Binary file
languages/responsive-lightbox-nl_NL.po CHANGED
@@ -1,842 +1,744 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Responsive Lightbox\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2014-09-04 21:25+0100\n"
6
- "PO-Revision-Date: 2015-02-09 15:37+0100\n"
7
- "Last-Translator: basbva\n"
8
- "Language-Team: basbva.nl\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Language: de_DE\n"
13
- "X-Generator: Poedit 1.6.3\n"
14
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
15
- "X-Poedit-Basepath: .\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
- "X-Poedit-Language: Dutch\n"
19
- "X-Poedit-Country: NETHERLANDS\n"
20
- "X-Poedit-SearchPath-0: ..\n"
21
-
22
- #: ../responsive-lightbox.php:294
23
- msgid "prettyPhoto"
24
- msgstr "prettyPhoto"
25
-
26
- #: ../responsive-lightbox.php:296
27
- msgid "slow"
28
- msgstr "langzaam"
29
-
30
- #: ../responsive-lightbox.php:297
31
- msgid "normal"
32
- msgstr "normaal"
33
-
34
- #: ../responsive-lightbox.php:298
35
- msgid "fast"
36
- msgstr "snel"
37
-
38
- #: ../responsive-lightbox.php:301
39
- msgid "default"
40
- msgstr "standaard"
41
-
42
- #: ../responsive-lightbox.php:302
43
- msgid "light rounded"
44
- msgstr "afgerond licht"
45
-
46
- #: ../responsive-lightbox.php:303
47
- msgid "dark rounded"
48
- msgstr "afgerond donker"
49
-
50
- #: ../responsive-lightbox.php:304
51
- msgid "light square"
52
- msgstr "hoekig licht"
53
-
54
- #: ../responsive-lightbox.php:305
55
- msgid "dark square"
56
- msgstr "hoekig donker"
57
-
58
- #: ../responsive-lightbox.php:306
59
- msgid "facebook"
60
- msgstr "facebook"
61
-
62
- #: ../responsive-lightbox.php:309
63
- msgid "window"
64
- msgstr "venster"
65
-
66
- #: ../responsive-lightbox.php:310
67
- msgid "transparent"
68
- msgstr "transparant"
69
-
70
- #: ../responsive-lightbox.php:311
71
- msgid "opaque"
72
- msgstr "opaak"
73
-
74
- #: ../responsive-lightbox.php:312
75
- msgid "direct"
76
- msgstr "direct"
77
-
78
- #: ../responsive-lightbox.php:313
79
- msgid "gpu"
80
- msgstr "GPU"
81
-
82
- #: ../responsive-lightbox.php:317
83
- msgid "SwipeBox"
84
- msgstr "SwipeBox"
85
-
86
- #: ../responsive-lightbox.php:319
87
- msgid "CSS"
88
- msgstr "CSS"
89
-
90
- #: ../responsive-lightbox.php:320
91
- msgid "jQuery"
92
- msgstr "jQuery"
93
-
94
- #: ../responsive-lightbox.php:324
95
- msgid "FancyBox"
96
- msgstr "FancyBox"
97
-
98
- #: ../responsive-lightbox.php:326
99
- msgid "elastic"
100
- msgstr "elastisch"
101
-
102
- #: ../responsive-lightbox.php:327
103
- #: ../responsive-lightbox.php:348
104
- msgid "fade"
105
- msgstr "vervagen"
106
-
107
- #: ../responsive-lightbox.php:328
108
- msgid "none"
109
- msgstr "geen"
110
-
111
- #: ../responsive-lightbox.php:331
112
- msgid "auto"
113
- msgstr "automatisch"
114
-
115
- #: ../responsive-lightbox.php:332
116
- msgid "yes"
117
- msgstr "ja"
118
-
119
- #: ../responsive-lightbox.php:333
120
- msgid "no"
121
- msgstr "nee"
122
-
123
- #: ../responsive-lightbox.php:336
124
- msgid "swing"
125
- msgstr "swing"
126
-
127
- #: ../responsive-lightbox.php:337
128
- msgid "linear"
129
- msgstr "lineair"
130
-
131
- #: ../responsive-lightbox.php:340
132
- msgid "outside"
133
- msgstr "buiten"
134
-
135
- #: ../responsive-lightbox.php:341
136
- msgid "inside"
137
- msgstr "binnen"
138
-
139
- #: ../responsive-lightbox.php:342
140
- msgid "over"
141
- msgstr "over"
142
-
143
- #: ../responsive-lightbox.php:346
144
- msgid "Nivo Lightbox"
145
- msgstr "Nivo Lightbox"
146
-
147
- #: ../responsive-lightbox.php:349
148
- #, fuzzy
149
- msgid "fade scale"
150
- msgstr "fade scale"
151
-
152
- #: ../responsive-lightbox.php:350
153
- msgid "slide left"
154
- msgstr "linksom"
155
-
156
- #: ../responsive-lightbox.php:351
157
- msgid "slide right"
158
- msgstr "rechtsom"
159
-
160
- #: ../responsive-lightbox.php:352
161
- msgid "slide up"
162
- msgstr "omhoog"
163
-
164
- #: ../responsive-lightbox.php:353
165
- msgid "slide down"
166
- msgstr "omlaag"
167
-
168
- #: ../responsive-lightbox.php:354
169
- msgid "fall"
170
- msgstr "vallen"
171
-
172
- #: ../responsive-lightbox.php:358
173
- msgid "Image Lightbox"
174
- msgstr "Image Lightbox"
175
-
176
- #: ../responsive-lightbox.php:363
177
- msgid "Enable"
178
- msgstr "Inschakelen"
179
-
180
- #: ../responsive-lightbox.php:364
181
- msgid "Disable"
182
- msgstr "Uitschakelen"
183
-
184
- #: ../responsive-lightbox.php:368
185
- msgid "Header"
186
- msgstr "Koptekst"
187
-
188
- #: ../responsive-lightbox.php:369
189
- msgid "Footer"
190
- msgstr "Voettekst"
191
-
192
- #: ../responsive-lightbox.php:374
193
- #: ../responsive-lightbox.php:475
194
- msgid "General settings"
195
- msgstr "Algemene instellingen"
196
-
197
- #: ../responsive-lightbox.php:380
198
- #: ../responsive-lightbox.php:489
199
- msgid "Lightbox settings"
200
- msgstr "Lightbox instellingen"
201
-
202
- #: ../responsive-lightbox.php:476
203
- msgid "Lightbox script"
204
- msgstr "Lightbox-script"
205
-
206
- #: ../responsive-lightbox.php:477
207
- msgid "Selector"
208
- msgstr "Selecteerder"
209
-
210
- #: ../responsive-lightbox.php:478
211
- msgid "Galleries"
212
- msgstr "Galerijen"
213
-
214
- #: ../responsive-lightbox.php:479
215
- msgid "Gallery image size"
216
- msgstr "Galerij-afbeeldingsformaat"
217
-
218
- #: ../responsive-lightbox.php:480
219
- msgid "Video links"
220
- msgstr "Video Links"
221
-
222
- #: ../responsive-lightbox.php:481
223
- msgid "Image links"
224
- msgstr "Links naar afbeeldingen"
225
-
226
- #: ../responsive-lightbox.php:482
227
- msgid "Single images as gallery"
228
- msgstr "Losse afbeeldingen als galerij"
229
-
230
- #: ../responsive-lightbox.php:483
231
- msgid "Custom events"
232
- msgstr "Custom events"
233
-
234
- #: ../responsive-lightbox.php:484
235
- msgid "Loading place"
236
- msgstr "Laadplaats"
237
-
238
- #: ../responsive-lightbox.php:485
239
- msgid "Deactivation"
240
- msgstr "Deactivatie"
241
-
242
- #: ../responsive-lightbox.php:493
243
- msgid "Animation type"
244
- msgstr "Animatietype"
245
-
246
- #: ../responsive-lightbox.php:494
247
- msgid "Force PNG icons"
248
- msgstr "Forceer PNG symbolen"
249
-
250
- #: ../responsive-lightbox.php:495
251
- msgid "Top and bottom bars"
252
- msgstr "Boven- en onderbalken"
253
-
254
- #: ../responsive-lightbox.php:496
255
- msgid "Video max width"
256
- msgstr "Video (grootste breedte)"
257
-
258
- #: ../responsive-lightbox.php:500
259
- #: ../responsive-lightbox.php:557
260
- msgid "Animation speed"
261
- msgstr "Animatiesnelheid"
262
-
263
- #: ../responsive-lightbox.php:501
264
- msgid "Slideshow"
265
- msgstr "Diashow"
266
-
267
- #: ../responsive-lightbox.php:502
268
- msgid "Slideshow autoplay"
269
- msgstr "Autostart diashow"
270
-
271
- #: ../responsive-lightbox.php:503
272
- #: ../responsive-lightbox.php:533
273
- msgid "Opacity"
274
- msgstr "Opaciteit"
275
-
276
- #: ../responsive-lightbox.php:504
277
- msgid "Show title"
278
- msgstr "Toon titel"
279
-
280
- #: ../responsive-lightbox.php:505
281
- msgid "Allow resize big images"
282
- msgstr "Verkleinen van grote afbeeldingen toestaan"
283
-
284
- #: ../responsive-lightbox.php:506
285
- msgid "Allow expand"
286
- msgstr "Sta expantie toe"
287
-
288
- #: ../responsive-lightbox.php:507
289
- #: ../responsive-lightbox.php:545
290
- msgid "Video width"
291
- msgstr "Videobreedte"
292
-
293
- #: ../responsive-lightbox.php:508
294
- #: ../responsive-lightbox.php:546
295
- msgid "Video height"
296
- msgstr "Videohoogte"
297
-
298
- #: ../responsive-lightbox.php:509
299
- msgid "Theme"
300
- msgstr "Thema"
301
-
302
- #: ../responsive-lightbox.php:510
303
- msgid "Horizontal padding"
304
- msgstr "Horizontale padding"
305
-
306
- #: ../responsive-lightbox.php:511
307
- msgid "Hide Flash"
308
- msgstr "Verberg Flash"
309
-
310
- #: ../responsive-lightbox.php:512
311
- msgid "Flash Window Mode (wmode)"
312
- msgstr "Flash-venstermodus (wmode)"
313
-
314
- #: ../responsive-lightbox.php:513
315
- msgid "Video autoplay"
316
- msgstr "Autostart video"
317
-
318
- #: ../responsive-lightbox.php:514
319
- #: ../responsive-lightbox.php:522
320
- msgid "Modal"
321
- msgstr "Modus"
322
-
323
- #: ../responsive-lightbox.php:515
324
- msgid "Deeplinking"
325
- msgstr "Dieplinken"
326
-
327
- #: ../responsive-lightbox.php:516
328
- msgid "Overlay gallery"
329
- msgstr "Overlay-galerij"
330
-
331
- #: ../responsive-lightbox.php:517
332
- msgid "Keyboard shortcuts"
333
- msgstr "Sneltoetsen"
334
-
335
- #: ../responsive-lightbox.php:518
336
- msgid "Social (Twitter, Facebook)"
337
- msgstr "Sociaal (Twitter, Facebook)"
338
-
339
- #: ../responsive-lightbox.php:523
340
- msgid "Show overlay"
341
- msgstr "Toon overlay"
342
-
343
- #: ../responsive-lightbox.php:524
344
- msgid "Show close button"
345
- msgstr "Toon sluitknop"
346
-
347
- #: ../responsive-lightbox.php:525
348
- msgid "Enable escape button"
349
- msgstr "esc-toets inschakelen"
350
-
351
- #: ../responsive-lightbox.php:526
352
- msgid "Hide on overlay click"
353
- msgstr "Verbergen bij overlay-klik"
354
-
355
- #: ../responsive-lightbox.php:527
356
- msgid "Hide on content click"
357
- msgstr "Verbergen bij inhoud-klik"
358
-
359
- #: ../responsive-lightbox.php:528
360
- msgid "Cyclic"
361
- msgstr "Cyclisch"
362
-
363
- #: ../responsive-lightbox.php:529
364
- msgid "Show nav arrows"
365
- msgstr "Toon navigatiepijlen"
366
-
367
- #: ../responsive-lightbox.php:530
368
- msgid "Auto scale"
369
- msgstr "Automatisch schalen"
370
-
371
- #: ../responsive-lightbox.php:531
372
- msgid "Scrolling (in/out)"
373
- msgstr "Scrollen (in/uit)"
374
-
375
- #: ../responsive-lightbox.php:532
376
- msgid "Center on scroll"
377
- msgstr "Centreer bij scrollen"
378
-
379
- #: ../responsive-lightbox.php:534
380
- msgid "Overlay opacity"
381
- msgstr "Overlay-opaciteit"
382
-
383
- #: ../responsive-lightbox.php:535
384
- msgid "Overlay color"
385
- msgstr "Overlay-kleur"
386
-
387
- #: ../responsive-lightbox.php:536
388
- msgid "Title show"
389
- msgstr "Titel tonen"
390
-
391
- #: ../responsive-lightbox.php:537
392
- msgid "Title position"
393
- msgstr "Titelpositie"
394
-
395
- #: ../responsive-lightbox.php:538
396
- msgid "Transition (in/out)"
397
- msgstr "Overgang (in/uit)"
398
-
399
- #: ../responsive-lightbox.php:539
400
- msgid "Easings (in/out)"
401
- msgstr "Beweging (in/uit)"
402
-
403
- #: ../responsive-lightbox.php:540
404
- msgid "Speed (in/out)"
405
- msgstr "Snelheid (in/uit)"
406
-
407
- #: ../responsive-lightbox.php:541
408
- msgid "Change speed"
409
- msgstr "Veranderingssnelheid"
410
-
411
- #: ../responsive-lightbox.php:542
412
- msgid "Change fade"
413
- msgstr "Snelheid van vervagen"
414
-
415
- #: ../responsive-lightbox.php:543
416
- msgid "Padding"
417
- msgstr "Padding"
418
-
419
- #: ../responsive-lightbox.php:544
420
- msgid "Margin"
421
- msgstr "Marge"
422
-
423
- #: ../responsive-lightbox.php:550
424
- msgid "Effect"
425
- msgstr "Effect"
426
-
427
- #: ../responsive-lightbox.php:551
428
- msgid "Click overlay to close"
429
- msgstr "Klik op overlay om te sluiten"
430
-
431
- #: ../responsive-lightbox.php:552
432
- msgid "Keyboard navigation"
433
- msgstr "Toetsenbordnavigatie"
434
-
435
- #: ../responsive-lightbox.php:553
436
- msgid "Error message"
437
- msgstr "Foutmelding"
438
-
439
- #: ../responsive-lightbox.php:558
440
- msgid "Preload next image"
441
- msgstr "Laad de volgende afbeelding vooraf"
442
-
443
- #: ../responsive-lightbox.php:559
444
- msgid "Enable keyboard keys"
445
- msgstr "Schakel toetsenbordtoetsen in"
446
-
447
- #: ../responsive-lightbox.php:560
448
- msgid "Quit after last image"
449
- msgstr "Sluit af na laatste afbeelding"
450
-
451
- #: ../responsive-lightbox.php:561
452
- msgid "Quit when image is clicked"
453
- msgstr "Sluit af bij klikken op afbeelding"
454
-
455
- #: ../responsive-lightbox.php:562
456
- msgid "Quit when anything but image is clicked"
457
- msgstr "Sluit af bij klikken buiten de afbeelding"
458
-
459
- #: ../responsive-lightbox.php:582
460
- msgid "Select your preffered ligthbox effect script."
461
- msgstr "Selecteer het Lightbox effect-script van je voorkeur."
462
-
463
- #: ../responsive-lightbox.php:592
464
- msgid "Select to which rel selector lightbox effect will be applied to."
465
- msgstr "Geef een rel selecteerder op voor het Lightbox-effect."
466
-
467
- #: ../responsive-lightbox.php:612
468
- msgid "Enable triggering lightbox on custom jquery events."
469
- msgstr "Schakel openen van Lightbox bij 'custom jquery events' in."
470
-
471
- #: ../responsive-lightbox.php:615
472
- msgid "Enter a space separated list of events."
473
- msgstr "Voer een spatiegescheiden lijst van 'events' in."
474
-
475
- #: ../responsive-lightbox.php:636
476
- msgid "Select where all the lightbox scripts should be placed."
477
- msgstr "Selecteer waar alle Lightbox scripts moeten worden geplaatst."
478
-
479
- #: ../responsive-lightbox.php:654
480
- msgid "Add lightbox to WordPress image galleries by default."
481
- msgstr "Lightbox standaard toewijzen aan Wordpress beeldgalerijen."
482
-
483
- #: ../responsive-lightbox.php:674
484
- msgid "By default WP gallery links point to full size images only. Enable that to modify the image size of native WP gallery image links."
485
- msgstr "WP galerij-links wijzen standaard alleen naar vol formaat afbeeldingen. Schakel in om het afbeeldingformaat van WP gallerij-links te wijzigen."
486
-
487
- #: ../responsive-lightbox.php:684
488
- msgid "full"
489
- msgstr "vol"
490
-
491
- #: ../responsive-lightbox.php:693
492
- msgid "Select image size for gallery image links."
493
- msgstr "Selecteer het afbeeldingsformaat voor links van galerij-afbeeldingen."
494
-
495
- #: ../responsive-lightbox.php:712
496
- msgid "Add lightbox to YouTube and Vimeo video links by default."
497
- msgstr "Lightbox standaard toewijzen aan YouTube- en Vimeo links."
498
-
499
- #: ../responsive-lightbox.php:730
500
- msgid "Add lightbox to WordPress image links by default."
501
- msgstr "Lightbox standaard toewijzen aan links naar afbeeldingen."
502
-
503
- #: ../responsive-lightbox.php:748
504
- msgid "Display single post images as a gallery."
505
- msgstr "Losse afbeeldingen in een bericht als galerij tonen."
506
-
507
- #: ../responsive-lightbox.php:766
508
- msgid "Delete settings on plugin deactivation."
509
- msgstr "Instellingen wissen bij deactivatie van de plugin."
510
-
511
- #: ../responsive-lightbox.php:784
512
- msgid "Select a method of applying a lightbox effect."
513
- msgstr "Selecteer een methode om een Lightbox-effekt toe te passen."
514
-
515
- #: ../responsive-lightbox.php:802
516
- msgid "Disable if you don't want to top and bottom bars to be hidden after a period of time."
517
- msgstr "Schakel deze optie uit om de onder- en bovenbalken niet te verbergen."
518
-
519
- #: ../responsive-lightbox.php:805
520
- msgid "Enter the time after which the top and bottom bars will be hidden (when hiding is enabled)."
521
- msgstr "Voer de tijd in waarna de boven- en onderbalk worden verborgen (als verbergen is ingeschakeld)."
522
-
523
- #: ../responsive-lightbox.php:816
524
- msgid "Enter the max video width in a lightbox."
525
- msgstr "Geef de grootste breedte aan voor video in een Lightbox."
526
-
527
- #: ../responsive-lightbox.php:834
528
- msgid "Enable this if you're having problems with navigation icons not visible on some devices."
529
- msgstr "Inschakelen als je problemen hebt met de zichtbaarheid van navigatiepijlen op sommige apparaten."
530
-
531
- #: ../responsive-lightbox.php:852
532
- msgid "Select animation speed for lightbox effect."
533
- msgstr "Selecteer de animatiesnelheid van het Lightbox-effect."
534
-
535
- #: ../responsive-lightbox.php:870
536
- msgid "Display images as slideshow."
537
- msgstr "Afbeeldingen tonen als diashow."
538
-
539
- #: ../responsive-lightbox.php:873
540
- msgid "Enter time (in miliseconds)."
541
- msgstr "Tijd aangeven (in milliseconden)."
542
-
543
- #: ../responsive-lightbox.php:892
544
- msgid "Automatically start slideshow."
545
- msgstr "Diashow automatisch starten."
546
-
547
- #: ../responsive-lightbox.php:905
548
- msgid "Value between 0 and 100, 100 for no opacity."
549
- msgstr "Waarde tussen 0 en 100 (0 is transparant)."
550
-
551
- #: ../responsive-lightbox.php:923
552
- msgid "Display image tiltle."
553
- msgstr "Titel van de afbeelding tonen."
554
-
555
- #: ../responsive-lightbox.php:941
556
- msgid "Resize the photos bigger than viewport."
557
- msgstr "Foto's groter dan het zichtvenster verkleinen."
558
-
559
- #: ../responsive-lightbox.php:959
560
- msgid "Expands something."
561
- msgstr "Staat expantie van afbeelding toe."
562
-
563
- #: ../responsive-lightbox.php:969
564
- #: ../responsive-lightbox.php:979
565
- msgid "in pixels"
566
- msgstr "in pixels"
567
-
568
- #: ../responsive-lightbox.php:997
569
- msgid "Select theme for lightbox effect."
570
- msgstr "Selecteer een thema voor het Lightbox-effect."
571
-
572
- #: ../responsive-lightbox.php:1007
573
- msgid "Horizontal padding (in pixels)."
574
- msgstr "Horizontale padding (in pixels)."
575
-
576
- #: ../responsive-lightbox.php:1025
577
- msgid "Hides all the flash object on a page. Enable this if flash appears over prettyPhoto."
578
- msgstr "Verbergt alle flash-objecten op een pagina. Pas toe wanneer flash over PrettyPhoto heen verschijnt."
579
-
580
- #: ../responsive-lightbox.php:1043
581
- msgid "Select flash window mode."
582
- msgstr "Flash-venstermodus selecteren."
583
-
584
- #: ../responsive-lightbox.php:1061
585
- msgid "Automatically start videos."
586
- msgstr "Start video's automatisch."
587
-
588
- #: ../responsive-lightbox.php:1079
589
- msgid "If set to true, only the close button will close the window."
590
- msgstr "Indien actief kan het venster alleen met de sluitknop gesloten worden."
591
-
592
- #: ../responsive-lightbox.php:1097
593
- msgid "Allow prettyPhoto to update the url to enable deeplinking."
594
- msgstr "PrettyPhoto toestaan de URL te actualiseren om te kunnen dieplinken."
595
-
596
- #: ../responsive-lightbox.php:1115
597
- msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
598
- msgstr "Schakelt een galerij-overlay in bij muizen over de Lightbox afbeelding."
599
-
600
- #: ../responsive-lightbox.php:1133
601
- msgid "Set to false if you open forms inside prettyPhoto."
602
- msgstr "Deactiveer om formulieren in prettyPhoto te openen."
603
-
604
- #: ../responsive-lightbox.php:1151
605
- msgid "Display links to Facebook and Twitter."
606
- msgstr "Toon links naar Facebook en Twitter."
607
-
608
- #: ../responsive-lightbox.php:1169
609
- msgid "The transition type."
610
- msgstr "Type van overgang."
611
-
612
- #: ../responsive-lightbox.php:1179
613
- msgid "Space between FancyBox wrapper and content."
614
- msgstr "Ruimte tussen de Fancybox omtrek en inhoud."
615
-
616
- #: ../responsive-lightbox.php:1189
617
- msgid "Space between viewport and FancyBox wrapper."
618
- msgstr "Ruimte tussen de FancyBox omtrek en zichtvenster."
619
-
620
- #: ../responsive-lightbox.php:1207
621
- msgid "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", \"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set to FALSE."
622
- msgstr "Indien ingeschakeld is \"overlayShow\" actief en zijn \"showCloseButton\", \"enableEscapeButton\", \"hideOnOverlayClick\" en \"hideOnContentClick\" inactief."
623
-
624
- #: ../responsive-lightbox.php:1225
625
- msgid "Toggle overlay."
626
- msgstr "Overlay tonen (\"overlayShow\")."
627
-
628
- #: ../responsive-lightbox.php:1243
629
- msgid "Toggle close button."
630
- msgstr "Sluitknop tonen (\"showCloseButton\")."
631
-
632
- #: ../responsive-lightbox.php:1261
633
- msgid "Toggle if pressing Esc button closes FancyBox."
634
- msgstr "Esc-toets inschakelen om Fancybox te sluiten (\"enableEscapeButton\")."
635
-
636
- #: ../responsive-lightbox.php:1279
637
- msgid "Toggle if clicking the overlay should close FancyBox."
638
- msgstr "Inschakelen als klikken op de overlay Fancybox moet sluiten (\"hideOnOverlayClick\")."
639
-
640
- #: ../responsive-lightbox.php:1297
641
- msgid "Toggle if clicking the content should close FancyBox."
642
- msgstr "Inschakelen als klikken op de inhoud Fancybox moet sluiten (\"hideOnContentClick\")."
643
-
644
- #: ../responsive-lightbox.php:1315
645
- msgid "When true, galleries will be cyclic, allowing you to keep pressing next/back."
646
- msgstr "Toon galerijen als cycli, met de 'volgende/vorige'-functie nog steeds actief."
647
-
648
- #: ../responsive-lightbox.php:1333
649
- msgid "Toggle navigation arrows."
650
- msgstr "Navigatiepijlen inschakelen."
651
-
652
- #: ../responsive-lightbox.php:1351
653
- msgid "If true, FancyBox is scaled to fit in viewport."
654
- msgstr "FancyBox verschalen om in het zichtvenster te passen."
655
-
656
- #: ../responsive-lightbox.php:1369
657
- msgid "Set the overflow CSS property to create or hide scrollbars."
658
- msgstr "Stel de CSS-eigenschap 'overflow' in om schuifbalken te tonen of te verbergen."
659
-
660
- #: ../responsive-lightbox.php:1387
661
- msgid "When true, FancyBox is centered while scrolling page."
662
- msgstr "Fancybox centreren bij scrollen door de pagina."
663
-
664
- #: ../responsive-lightbox.php:1405
665
- msgid "When true, transparency of content is changed for elastic transitions."
666
- msgstr "Indien actief verandert de transparantie van inhoud bij elastische overgangen."
667
-
668
- #: ../responsive-lightbox.php:1418
669
- msgid "Opacity of the overlay."
670
- msgstr "Opaciteit van de overlay."
671
-
672
- #: ../responsive-lightbox.php:1428
673
- msgid "Color of the overlay."
674
- msgstr "Kleur van de overlay."
675
-
676
- #: ../responsive-lightbox.php:1446
677
- msgid "Toggle title."
678
- msgstr "Inschakelen om titel te tonen."
679
-
680
- #: ../responsive-lightbox.php:1464
681
- msgid "The position of title."
682
- msgstr "De positie van de titel."
683
-
684
- #: ../responsive-lightbox.php:1482
685
- msgid "Easing used for elastic animations."
686
- msgstr "Soort van beweging bij elastische animaties."
687
-
688
- #: ../responsive-lightbox.php:1492
689
- msgid "Speed of the fade and elastic transitions, in milliseconds."
690
- msgstr "Duur van vervagende en elastische overgangen, in milliseconden."
691
-
692
- #: ../responsive-lightbox.php:1502
693
- msgid "Speed of resizing when changing gallery items, in milliseconds."
694
- msgstr "Duur van verschalen bij wisselingen in de galerij, in milliseconden."
695
-
696
- #: ../responsive-lightbox.php:1512
697
- msgid "Speed of the content fading while changing gallery items."
698
- msgstr "Duur van vervagen bij wisselingen in de galerij."
699
-
700
- #: ../responsive-lightbox.php:1522
701
- msgid "Width of the video."
702
- msgstr "Breedte van de video."
703
-
704
- #: ../responsive-lightbox.php:1532
705
- msgid "Height of the video."
706
- msgstr "Hoogte van de video."
707
-
708
- #: ../responsive-lightbox.php:1550
709
- msgid "The effect to use when showing the lightbox."
710
- msgstr "Het te kiezen effect wanneer Lightbox wordt getoond."
711
-
712
- #: ../responsive-lightbox.php:1568
713
- msgid "Enable/Disable keyboard navigation (left/right/escape)."
714
- msgstr "Toetsenbordnavigatie in- of uitschakelen (links/rechts/esc)."
715
-
716
- #: ../responsive-lightbox.php:1586
717
- msgid "Eneble to close lightbox on overlay click."
718
- msgstr "Schakel in om lightbox te sluiten bij klik op overlay."
719
-
720
- #: ../responsive-lightbox.php:1596
721
- msgid "Error message if the content cannot be loaded."
722
- msgstr "Foutmelding als de inhoud niet geladen kan worden."
723
-
724
- #: ../responsive-lightbox.php:1606
725
- msgid "Animation speed."
726
- msgstr "Animatiesnelheid."
727
-
728
- #: ../responsive-lightbox.php:1624
729
- msgid "Silently preload the next image."
730
- msgstr "Laad de volgende afbeelding stil vooraf."
731
-
732
- #: ../responsive-lightbox.php:1642
733
- msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
734
- msgstr "Schakel sneltoetsen in (links/rechts-toets en Esc)."
735
-
736
- #: ../responsive-lightbox.php:1660
737
- msgid "Quit after viewing the last image."
738
- msgstr "Sluit af na weergave van de laatste afbeelding."
739
-
740
- #: ../responsive-lightbox.php:1678
741
- msgid "Quit when the viewed image is clicked."
742
- msgstr "Sluit af bij klikken op de weergegeven afbeelding."
743
-
744
- #: ../responsive-lightbox.php:1696
745
- msgid "Quit when anything but the viewed image is clicked."
746
- msgstr "Sluit af bij klikken buiten de weergegeven afbeelding."
747
-
748
- #: ../responsive-lightbox.php:1938
749
- msgid "Changes were not saved because there was attempt to save settings of inactive script. The site has been reloaded to the proper script settings."
750
- msgstr "Wijzigingen zijn niet bewaard omdat geprobeerd is instellingen van een inactieve script te wijzigen. De site is herladen met de juiste scriptinstellingen."
751
-
752
- #: ../responsive-lightbox.php:1948
753
- msgid "Settings restored to defaults."
754
- msgstr "Standaard instellingen zijn hersteld."
755
-
756
- #: ../responsive-lightbox.php:1956
757
- msgid "Settings of SwipeBox script were restored to defaults."
758
- msgstr "Standaard instellingen van SwipeBox-script zijn hesteld."
759
-
760
- #: ../responsive-lightbox.php:1962
761
- msgid "Settings of prettyPhoto script were restored to defaults."
762
- msgstr "Standaard instellingen van prettyPhoto-script zijn hersteld."
763
-
764
- #: ../responsive-lightbox.php:1968
765
- msgid "Settings of FancyBox script were restored to defaults."
766
- msgstr "Standaard instellingen van FancyBox-script zijn hersteld."
767
-
768
- #: ../responsive-lightbox.php:1974
769
- msgid "Settings of Nivo script were restored to defaults."
770
- msgstr "Standaard instellingen van Nivo-script zijn hersteld."
771
-
772
- #: ../responsive-lightbox.php:1978
773
- msgid "Changes were not set to defaults because there was attempt to reset settings of inactive script. The site has been reloaded to the proper script settings."
774
- msgstr "Standaard instellingen zijn niet hersteld omdat geprobeerd is de instellingen van een inactieve script te herstellen. De site is herladen met de juiste scriptinstellingen."
775
-
776
- #: ../responsive-lightbox.php:1992
777
- #: ../responsive-lightbox.php:1993
778
- #: ../responsive-lightbox.php:2007
779
- #: ../responsive-lightbox.php:2021
780
- msgid "Responsive Lightbox"
781
- msgstr "Responsive Lightbox"
782
-
783
- #: ../responsive-lightbox.php:2023
784
- msgid "Need support?"
785
- msgstr "Hulp nodig?"
786
-
787
- #: ../responsive-lightbox.php:2024
788
- msgid "If you are having problems with this plugin, please talk about them in the"
789
- msgstr "Als je een probleem hebt met deze plugin meldt dit dan in het "
790
-
791
- #: ../responsive-lightbox.php:2024
792
- msgid "Support forum"
793
- msgstr "Support Forum"
794
-
795
- #: ../responsive-lightbox.php:2026
796
- msgid "Do you like this plugin?"
797
- msgstr "Bevalt deze plugin?"
798
-
799
- #: ../responsive-lightbox.php:2027
800
- msgid "Rate it 5"
801
- msgstr "Beoordeel met 5 sterren"
802
-
803
- #: ../responsive-lightbox.php:2027
804
- msgid "on WordPress.org"
805
- msgstr "op WordPress.org"
806
-
807
- #: ../responsive-lightbox.php:2028
808
- msgid "Blog about it & link to the"
809
- msgstr "Schijf erover & link naar de"
810
-
811
- #: ../responsive-lightbox.php:2028
812
- msgid "plugin page"
813
- msgstr "plugin pagina"
814
-
815
- #: ../responsive-lightbox.php:2029
816
- msgid "Check out our other"
817
- msgstr "Bekijk ook onze andere"
818
-
819
- #: ../responsive-lightbox.php:2029
820
- msgid "WordPress plugins"
821
- msgstr "WordPress Plugins"
822
-
823
- #: ../responsive-lightbox.php:2055
824
- msgid "Reset to defaults"
825
- msgstr "Herstel standaard instellingen"
826
-
827
- #: ../responsive-lightbox.php:2082
828
- msgid "Are you sure you want to reset these settings to defaults?"
829
- msgstr "Weet je zeker dat je de algemene standaardinstellingen wilt herstellen?"
830
-
831
- #: ../responsive-lightbox.php:2083
832
- msgid "Are you sure you want to reset scripts settings to defaults?"
833
- msgstr "Weet je zeker dat je de standaard scriptinstellingen wilt herstellen?"
834
-
835
- #: ../responsive-lightbox.php:2373
836
- msgid "Support"
837
- msgstr "Support"
838
-
839
- #: ../responsive-lightbox.php:2395
840
- msgid "Settings"
841
- msgstr "Instellingen"
842
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Responsive Lightbox\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-02-17 00:03+0100\n"
6
+ "PO-Revision-Date: 2014-02-19 00:51+0100\n"
7
+ "Last-Translator: basbva\n"
8
+ "Language-Team: basbva.nl\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Language: de_DE\n"
13
+ "X-Generator: Poedit 1.6.3\n"
14
+ "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
15
+ "X-Poedit-Basepath: .\n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "X-Poedit-Language: Dutch\n"
19
+ "X-Poedit-Country: NETHERLANDS\n"
20
+ "X-Poedit-SearchPath-0: ..\n"
21
+
22
+ #: ../responsive-lightbox.php:276
23
+ msgid "prettyPhoto"
24
+ msgstr "prettyPhoto"
25
+
26
+ #: ../responsive-lightbox.php:278
27
+ msgid "slow"
28
+ msgstr "langzaam"
29
+
30
+ #: ../responsive-lightbox.php:279
31
+ msgid "normal"
32
+ msgstr "normaal"
33
+
34
+ #: ../responsive-lightbox.php:280
35
+ msgid "fast"
36
+ msgstr "snel"
37
+
38
+ #: ../responsive-lightbox.php:283
39
+ msgid "default"
40
+ msgstr "standaard"
41
+
42
+ #: ../responsive-lightbox.php:284
43
+ msgid "light rounded"
44
+ msgstr "afgerond licht"
45
+
46
+ #: ../responsive-lightbox.php:285
47
+ msgid "dark rounded"
48
+ msgstr "afgerond donker"
49
+
50
+ #: ../responsive-lightbox.php:286
51
+ msgid "light square"
52
+ msgstr "hoekig licht"
53
+
54
+ #: ../responsive-lightbox.php:287
55
+ msgid "dark square"
56
+ msgstr "hoekig donker"
57
+
58
+ #: ../responsive-lightbox.php:288
59
+ msgid "facebook"
60
+ msgstr "facebook"
61
+
62
+ #: ../responsive-lightbox.php:291
63
+ msgid "window"
64
+ msgstr "venster"
65
+
66
+ #: ../responsive-lightbox.php:292
67
+ msgid "transparent"
68
+ msgstr "transparant"
69
+
70
+ #: ../responsive-lightbox.php:293
71
+ msgid "opaque"
72
+ msgstr "opaak"
73
+
74
+ #: ../responsive-lightbox.php:294
75
+ msgid "direct"
76
+ msgstr "direct"
77
+
78
+ #: ../responsive-lightbox.php:295
79
+ msgid "gpu"
80
+ msgstr "GPU"
81
+
82
+ #: ../responsive-lightbox.php:299
83
+ msgid "SwipeBox"
84
+ msgstr "SwipeBox"
85
+
86
+ #: ../responsive-lightbox.php:301
87
+ msgid "CSS"
88
+ msgstr "CSS"
89
+
90
+ #: ../responsive-lightbox.php:302
91
+ msgid "jQuery"
92
+ msgstr "jQuery"
93
+
94
+ #: ../responsive-lightbox.php:306
95
+ msgid "FancyBox"
96
+ msgstr "FancyBox"
97
+
98
+ #: ../responsive-lightbox.php:308
99
+ msgid "elastic"
100
+ msgstr "elastisch"
101
+
102
+ #: ../responsive-lightbox.php:309
103
+ #: ../responsive-lightbox.php:330
104
+ msgid "fade"
105
+ msgstr "vervagen"
106
+
107
+ #: ../responsive-lightbox.php:310
108
+ msgid "none"
109
+ msgstr "geen"
110
+
111
+ #: ../responsive-lightbox.php:313
112
+ msgid "auto"
113
+ msgstr "automatisch"
114
+
115
+ #: ../responsive-lightbox.php:314
116
+ msgid "yes"
117
+ msgstr "ja"
118
+
119
+ #: ../responsive-lightbox.php:315
120
+ msgid "no"
121
+ msgstr "nee"
122
+
123
+ #: ../responsive-lightbox.php:318
124
+ msgid "swing"
125
+ msgstr "swing"
126
+
127
+ #: ../responsive-lightbox.php:319
128
+ msgid "linear"
129
+ msgstr "lineair"
130
+
131
+ #: ../responsive-lightbox.php:322
132
+ msgid "outside"
133
+ msgstr "buiten"
134
+
135
+ #: ../responsive-lightbox.php:323
136
+ msgid "inside"
137
+ msgstr "binnen"
138
+
139
+ #: ../responsive-lightbox.php:324
140
+ msgid "over"
141
+ msgstr "over"
142
+
143
+ #: ../responsive-lightbox.php:328
144
+ msgid "Nivo Lightbox"
145
+ msgstr "Nivo Lightbox"
146
+
147
+ #: ../responsive-lightbox.php:331
148
+ msgid "fade scale"
149
+ msgstr "fade scale"
150
+
151
+ #: ../responsive-lightbox.php:332
152
+ msgid "slide left"
153
+ msgstr "linksom"
154
+
155
+ #: ../responsive-lightbox.php:333
156
+ msgid "slide right"
157
+ msgstr "rechtsom"
158
+
159
+ #: ../responsive-lightbox.php:334
160
+ msgid "slide up"
161
+ msgstr "omhoog"
162
+
163
+ #: ../responsive-lightbox.php:335
164
+ msgid "slide down"
165
+ msgstr "omlaag"
166
+
167
+ #: ../responsive-lightbox.php:336
168
+ msgid "fall"
169
+ msgstr "vallen"
170
+
171
+ #: ../responsive-lightbox.php:342
172
+ msgid "Enable"
173
+ msgstr "Inschakelen"
174
+
175
+ #: ../responsive-lightbox.php:343
176
+ msgid "Disable"
177
+ msgstr "Uitschakelen"
178
+
179
+ #: ../responsive-lightbox.php:348
180
+ #: ../responsive-lightbox.php:449
181
+ msgid "General settings"
182
+ msgstr "Algemene instellingen"
183
+
184
+ #: ../responsive-lightbox.php:354
185
+ #: ../responsive-lightbox.php:461
186
+ msgid "Lightbox settings"
187
+ msgstr "Lightbox instellingen"
188
+
189
+ #: ../responsive-lightbox.php:450
190
+ msgid "Lightbox script"
191
+ msgstr "Lightbox-script"
192
+
193
+ #: ../responsive-lightbox.php:451
194
+ msgid "Selector"
195
+ msgstr "Selecteerder"
196
+
197
+ #: ../responsive-lightbox.php:452
198
+ msgid "Galleries"
199
+ msgstr "Galerijen"
200
+
201
+ #: ../responsive-lightbox.php:453
202
+ msgid "Video links"
203
+ msgstr "Video Links"
204
+
205
+ #: ../responsive-lightbox.php:454
206
+ msgid "Image links"
207
+ msgstr "Links naar afbeeldingen"
208
+
209
+ #: ../responsive-lightbox.php:455
210
+ msgid "Single images as gallery"
211
+ msgstr "Losse afbeeldingen als galerij"
212
+
213
+ #: ../responsive-lightbox.php:456
214
+ msgid "Custom events"
215
+ msgstr "Custom events"
216
+
217
+ #: ../responsive-lightbox.php:457
218
+ msgid "Deactivation"
219
+ msgstr "Deactivatie"
220
+
221
+ #: ../responsive-lightbox.php:465
222
+ msgid "Animation type"
223
+ msgstr "Animatietype"
224
+
225
+ #: ../responsive-lightbox.php:466
226
+ msgid "Force PNG icons"
227
+ msgstr "Forceer PNG symbolen"
228
+
229
+ #: ../responsive-lightbox.php:467
230
+ msgid "Top and bottom bars"
231
+ msgstr "Boven- en onderbalken"
232
+
233
+ #: ../responsive-lightbox.php:468
234
+ msgid "Video max width"
235
+ msgstr "Video (grootste breedte)"
236
+
237
+ #: ../responsive-lightbox.php:472
238
+ msgid "Animation speed"
239
+ msgstr "Animatiesnelheid"
240
+
241
+ #: ../responsive-lightbox.php:473
242
+ msgid "Slideshow"
243
+ msgstr "Diashow"
244
+
245
+ #: ../responsive-lightbox.php:474
246
+ msgid "Slideshow autoplay"
247
+ msgstr "Autostart diashow"
248
+
249
+ #: ../responsive-lightbox.php:475
250
+ #: ../responsive-lightbox.php:504
251
+ msgid "Opacity"
252
+ msgstr "Opaciteit"
253
+
254
+ #: ../responsive-lightbox.php:476
255
+ msgid "Show title"
256
+ msgstr "Toon titel"
257
+
258
+ #: ../responsive-lightbox.php:477
259
+ msgid "Allow resize big images"
260
+ msgstr "Verkleinen van grote afbeeldingen toestaan"
261
+
262
+ #: ../responsive-lightbox.php:478
263
+ #: ../responsive-lightbox.php:516
264
+ msgid "Video width"
265
+ msgstr "Videobreedte"
266
+
267
+ #: ../responsive-lightbox.php:479
268
+ #: ../responsive-lightbox.php:517
269
+ msgid "Video height"
270
+ msgstr "Videohoogte"
271
+
272
+ #: ../responsive-lightbox.php:480
273
+ msgid "Theme"
274
+ msgstr "Thema"
275
+
276
+ #: ../responsive-lightbox.php:481
277
+ msgid "Horizontal padding"
278
+ msgstr "Horizontale padding"
279
+
280
+ #: ../responsive-lightbox.php:482
281
+ msgid "Hide Flash"
282
+ msgstr "Verberg Flash"
283
+
284
+ #: ../responsive-lightbox.php:483
285
+ msgid "Flash Window Mode (wmode)"
286
+ msgstr "Flash-venstermodus (wmode)"
287
+
288
+ #: ../responsive-lightbox.php:484
289
+ msgid "Video autoplay"
290
+ msgstr "Autostart video"
291
+
292
+ #: ../responsive-lightbox.php:485
293
+ #: ../responsive-lightbox.php:493
294
+ msgid "Modal"
295
+ msgstr "Modus"
296
+
297
+ #: ../responsive-lightbox.php:486
298
+ msgid "Deeplinking"
299
+ msgstr "Dieplinken"
300
+
301
+ #: ../responsive-lightbox.php:487
302
+ msgid "Overlay gallery"
303
+ msgstr "Overlay-galerij"
304
+
305
+ #: ../responsive-lightbox.php:488
306
+ msgid "Keyboard shortcuts"
307
+ msgstr "Sneltoetsen"
308
+
309
+ #: ../responsive-lightbox.php:489
310
+ msgid "Social (Twitter, Facebook)"
311
+ msgstr "Sociaal (Twitter, Facebook)"
312
+
313
+ #: ../responsive-lightbox.php:494
314
+ msgid "Show overlay"
315
+ msgstr "Toon overlay"
316
+
317
+ #: ../responsive-lightbox.php:495
318
+ msgid "Show close button"
319
+ msgstr "Toon sluitknop"
320
+
321
+ #: ../responsive-lightbox.php:496
322
+ msgid "Enable escape button"
323
+ msgstr "esc-toets inschakelen"
324
+
325
+ #: ../responsive-lightbox.php:497
326
+ msgid "Hide on overlay click"
327
+ msgstr "Verbergen bij overlay-klik"
328
+
329
+ #: ../responsive-lightbox.php:498
330
+ msgid "Hide on content click"
331
+ msgstr "Verbergen bij inhoud-klik"
332
+
333
+ #: ../responsive-lightbox.php:499
334
+ msgid "Cyclic"
335
+ msgstr "Cyclisch"
336
+
337
+ #: ../responsive-lightbox.php:500
338
+ msgid "Show nav arrows"
339
+ msgstr "Toon navigatiepijlen"
340
+
341
+ #: ../responsive-lightbox.php:501
342
+ msgid "Auto scale"
343
+ msgstr "Automatisch schalen"
344
+
345
+ #: ../responsive-lightbox.php:502
346
+ msgid "Scrolling (in/out)"
347
+ msgstr "Scrollen (in/uit)"
348
+
349
+ #: ../responsive-lightbox.php:503
350
+ msgid "Center on scroll"
351
+ msgstr "Centreer bij scrollen"
352
+
353
+ #: ../responsive-lightbox.php:505
354
+ msgid "Overlay opacity"
355
+ msgstr "Overlay-opaciteit"
356
+
357
+ #: ../responsive-lightbox.php:506
358
+ msgid "Overlay color"
359
+ msgstr "Overlay-kleur"
360
+
361
+ #: ../responsive-lightbox.php:507
362
+ msgid "Title show"
363
+ msgstr "Titel tonen"
364
+
365
+ #: ../responsive-lightbox.php:508
366
+ msgid "Title position"
367
+ msgstr "Titelpositie"
368
+
369
+ #: ../responsive-lightbox.php:509
370
+ msgid "Transition (in/out)"
371
+ msgstr "Overgang (in/uit)"
372
+
373
+ #: ../responsive-lightbox.php:510
374
+ msgid "Easings (in/out)"
375
+ msgstr "Beweging (in/uit)"
376
+
377
+ #: ../responsive-lightbox.php:511
378
+ msgid "Speed (in/out)"
379
+ msgstr "Snelheid (in/uit)"
380
+
381
+ #: ../responsive-lightbox.php:512
382
+ msgid "Change speed"
383
+ msgstr "Veranderingssnelheid"
384
+
385
+ #: ../responsive-lightbox.php:513
386
+ msgid "Change fade"
387
+ msgstr "Snelheid van vervagen"
388
+
389
+ #: ../responsive-lightbox.php:514
390
+ msgid "Padding"
391
+ msgstr "Padding"
392
+
393
+ #: ../responsive-lightbox.php:515
394
+ msgid "Margin"
395
+ msgstr "Marge"
396
+
397
+ #: ../responsive-lightbox.php:521
398
+ msgid "Effect"
399
+ msgstr "Effect"
400
+
401
+ #: ../responsive-lightbox.php:522
402
+ msgid "Keyboard navigation"
403
+ msgstr "Toetsenbordnavigatie"
404
+
405
+ #: ../responsive-lightbox.php:523
406
+ msgid "Error message"
407
+ msgstr "Foutmelding"
408
+
409
+ #: ../responsive-lightbox.php:541
410
+ msgid "Select your preffered ligthbox effect script."
411
+ msgstr "Selecteer het Lightbox effect-script van je voorkeur."
412
+
413
+ #: ../responsive-lightbox.php:551
414
+ msgid "Select to which rel selector lightbox effect will be applied to."
415
+ msgstr "Geef een rel selecteerder op voor het Lightbox-effect."
416
+
417
+ #: ../responsive-lightbox.php:569
418
+ msgid "Enable triggering lightbox on custom jquery events."
419
+ msgstr "Schakel openen van Lightbox bij 'custom jquery events' in."
420
+
421
+ #: ../responsive-lightbox.php:572
422
+ msgid "Enter a space separated list of events."
423
+ msgstr "Voer een spatiegescheiden lijst van 'events' in."
424
+
425
+ #: ../responsive-lightbox.php:591
426
+ msgid "Add lightbox to WordPress image galleries by default."
427
+ msgstr "Lightbox standaard toewijzen aan Wordpress beeldgalerijen."
428
+
429
+ #: ../responsive-lightbox.php:609
430
+ msgid "Add lightbox to YouTube and Vimeo video links by default."
431
+ msgstr "Lightbox standaard toewijzen aan YouTube- en Vimeo links."
432
+
433
+ #: ../responsive-lightbox.php:627
434
+ msgid "Add lightbox to WordPress image links by default."
435
+ msgstr "Lightbox standaard toewijzen aan links naar afbeeldingen."
436
+
437
+ #: ../responsive-lightbox.php:645
438
+ msgid "Display single post images as a gallery."
439
+ msgstr "Losse afbeeldingen in een bericht als galerij tonen."
440
+
441
+ #: ../responsive-lightbox.php:663
442
+ msgid "Delete settings on plugin deactivation."
443
+ msgstr "Instellingen wissen bij deactivatie van de plugin."
444
+
445
+ #: ../responsive-lightbox.php:681
446
+ msgid "Select a method of applying a lightbox effect."
447
+ msgstr "Selecteer een methode om een Lightbox-effekt toe te passen."
448
+
449
+ #: ../responsive-lightbox.php:699
450
+ msgid "Disable if you don't want to top and bottom bars to be hidden after a period of time."
451
+ msgstr "Schakel deze optie uit om de onder- en bovenbalken niet te verbergen."
452
+
453
+ #: ../responsive-lightbox.php:702
454
+ msgid "Enter the time after which the top and bottom bars will be hidden (when hiding is enabled)."
455
+ msgstr "Voer de tijd in waarna de boven- en onderbalk worden verborgen (als verbergen is ingeschakeld)."
456
+
457
+ #: ../responsive-lightbox.php:713
458
+ msgid "Enter the max video width in a lightbox."
459
+ msgstr "Geef de grootste breedte aan voor video in een Lightbox."
460
+
461
+ #: ../responsive-lightbox.php:731
462
+ msgid "Enable this if you're having problems with navigation icons not visible on some devices."
463
+ msgstr "Inschakelen als je problemen hebt met de zichtbaarheid van navigatiepijlen op sommige apparaten."
464
+
465
+ #: ../responsive-lightbox.php:749
466
+ msgid "Select animation speed for lightbox effect."
467
+ msgstr "Selecteer de animatiesnelheid van het Lightbox-effect."
468
+
469
+ #: ../responsive-lightbox.php:767
470
+ msgid "Display images as slideshow."
471
+ msgstr "Afbeeldingen tonen als diashow."
472
+
473
+ #: ../responsive-lightbox.php:770
474
+ msgid "Enter time (in miliseconds)."
475
+ msgstr "Tijd aangeven (in milliseconden)."
476
+
477
+ #: ../responsive-lightbox.php:789
478
+ msgid "Automatically start slideshow."
479
+ msgstr "Diashow automatisch starten."
480
+
481
+ #: ../responsive-lightbox.php:802
482
+ msgid "Value between 0 and 100, 100 for no opacity."
483
+ msgstr "Waarde tussen 0 en 100 (0 is transparant)."
484
+
485
+ #: ../responsive-lightbox.php:820
486
+ msgid "Display image tiltle."
487
+ msgstr "Titel van de afbeelding tonen."
488
+
489
+ #: ../responsive-lightbox.php:838
490
+ msgid "Resize the photos bigger than viewport."
491
+ msgstr "Foto's groter dan het zichtvenster verkleinen."
492
+
493
+ #: ../responsive-lightbox.php:848
494
+ #: ../responsive-lightbox.php:858
495
+ msgid "in pixels"
496
+ msgstr "in pixels"
497
+
498
+ #: ../responsive-lightbox.php:876
499
+ msgid "Select theme for lightbox effect."
500
+ msgstr "Selecteer een thema voor het Lightbox-effect."
501
+
502
+ #: ../responsive-lightbox.php:886
503
+ msgid "Horizontal padding (in pixels)."
504
+ msgstr "Horizontale padding (in pixels)."
505
+
506
+ #: ../responsive-lightbox.php:904
507
+ msgid "Hides all the flash object on a page. Enable this if flash appears over prettyPhoto."
508
+ msgstr "Verbergt alle flash-objecten op een pagina. Pas toe wanneer flash over PrettyPhoto heen verschijnt."
509
+
510
+ #: ../responsive-lightbox.php:922
511
+ msgid "Select flash window mode."
512
+ msgstr "Flash-venstermodus selecteren."
513
+
514
+ #: ../responsive-lightbox.php:940
515
+ msgid "Automatically start videos."
516
+ msgstr "Start video's automatisch."
517
+
518
+ #: ../responsive-lightbox.php:958
519
+ msgid "If set to true, only the close button will close the window."
520
+ msgstr "Indien actief kan het venster alleen met de sluitknop gesloten worden."
521
+
522
+ #: ../responsive-lightbox.php:976
523
+ msgid "Allow prettyPhoto to update the url to enable deeplinking."
524
+ msgstr "PrettyPhoto toestaan de URL te actualiseren om te kunnen dieplinken."
525
+
526
+ #: ../responsive-lightbox.php:994
527
+ msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
528
+ msgstr "Schakelt een galerij-overlay in bij muizen over de Lightbox afbeelding."
529
+
530
+ #: ../responsive-lightbox.php:1012
531
+ msgid "Set to false if you open forms inside prettyPhoto."
532
+ msgstr "Deactiveer om formulieren in prettyPhoto te openen."
533
+
534
+ #: ../responsive-lightbox.php:1030
535
+ msgid "Display links to Facebook and Twitter."
536
+ msgstr "Toon links naar Facebook en Twitter."
537
+
538
+ #: ../responsive-lightbox.php:1048
539
+ msgid "The transition type."
540
+ msgstr "Type van overgang."
541
+
542
+ #: ../responsive-lightbox.php:1058
543
+ msgid "Space between FancyBox wrapper and content."
544
+ msgstr "Ruimte tussen de Fancybox omtrek en inhoud."
545
+
546
+ #: ../responsive-lightbox.php:1068
547
+ msgid "Space between viewport and FancyBox wrapper."
548
+ msgstr "Ruimte tussen de FancyBox omtrek en zichtvenster."
549
+
550
+ #: ../responsive-lightbox.php:1086
551
+ msgid "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", \"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set to FALSE."
552
+ msgstr "Indien ingeschakeld is \"overlayShow\" actief en zijn \"showCloseButton\", \"enableEscapeButton\", \"hideOnOverlayClick\" en \"hideOnContentClick\" inactief."
553
+
554
+ #: ../responsive-lightbox.php:1104
555
+ msgid "Toggle overlay."
556
+ msgstr "Overlay tonen (\"overlayShow\")."
557
+
558
+ #: ../responsive-lightbox.php:1122
559
+ msgid "Toggle close button."
560
+ msgstr "Sluitknop tonen (\"showCloseButton\")."
561
+
562
+ #: ../responsive-lightbox.php:1140
563
+ msgid "Toggle if pressing Esc button closes FancyBox."
564
+ msgstr "Esc-toets inschakelen om Fancybox te sluiten (\"enableEscapeButton\")."
565
+
566
+ #: ../responsive-lightbox.php:1158
567
+ msgid "Toggle if clicking the overlay should close FancyBox."
568
+ msgstr "Inschakelen als klikken op de overlay Fancybox moet sluiten (\"hideOnOverlayClick\")."
569
+
570
+ #: ../responsive-lightbox.php:1176
571
+ msgid "Toggle if clicking the content should close FancyBox."
572
+ msgstr "Inschakelen als klikken op de inhoud Fancybox moet sluiten (\"hideOnContentClick\")."
573
+
574
+ #: ../responsive-lightbox.php:1194
575
+ msgid "When true, galleries will be cyclic, allowing you to keep pressing next/back."
576
+ msgstr "Toon galerijen als cycli, met de 'volgende/vorige'-functie nog steeds actief."
577
+
578
+ #: ../responsive-lightbox.php:1212
579
+ msgid "Toggle navigation arrows."
580
+ msgstr "Navigatiepijlen inschakelen."
581
+
582
+ #: ../responsive-lightbox.php:1230
583
+ msgid "If true, FancyBox is scaled to fit in viewport."
584
+ msgstr "FancyBox verschalen om in het zichtvenster te passen."
585
+
586
+ #: ../responsive-lightbox.php:1248
587
+ msgid "Set the overflow CSS property to create or hide scrollbars."
588
+ msgstr "Stel de CSS-eigenschap 'overflow' in om schuifbalken te tonen of te verbergen."
589
+
590
+ #: ../responsive-lightbox.php:1266
591
+ msgid "When true, FancyBox is centered while scrolling page."
592
+ msgstr "Fancybox centreren bij scrollen door de pagina."
593
+
594
+ #: ../responsive-lightbox.php:1284
595
+ msgid "When true, transparency of content is changed for elastic transitions."
596
+ msgstr "Indien actief verandert de transparantie van inhoud bij elastische overgangen."
597
+
598
+ #: ../responsive-lightbox.php:1297
599
+ msgid "Opacity of the overlay."
600
+ msgstr "Opaciteit van de overlay."
601
+
602
+ #: ../responsive-lightbox.php:1307
603
+ msgid "Color of the overlay."
604
+ msgstr "Kleur van de overlay."
605
+
606
+ #: ../responsive-lightbox.php:1325
607
+ msgid "Toggle title."
608
+ msgstr "Inschakelen om titel te tonen."
609
+
610
+ #: ../responsive-lightbox.php:1343
611
+ msgid "The position of title."
612
+ msgstr "De positie van de titel."
613
+
614
+ #: ../responsive-lightbox.php:1361
615
+ msgid "Easing used for elastic animations."
616
+ msgstr "Soort van beweging bij elastische animaties."
617
+
618
+ #: ../responsive-lightbox.php:1371
619
+ msgid "Speed of the fade and elastic transitions, in milliseconds."
620
+ msgstr "Duur van vervagende en elastische overgangen, in milliseconden."
621
+
622
+ #: ../responsive-lightbox.php:1381
623
+ msgid "Speed of resizing when changing gallery items, in milliseconds."
624
+ msgstr "Duur van verschalen bij wisselingen in de galerij, in milliseconden."
625
+
626
+ #: ../responsive-lightbox.php:1391
627
+ msgid "Speed of the content fading while changing gallery items."
628
+ msgstr "Duur van vervagen bij wisselingen in de galerij."
629
+
630
+ #: ../responsive-lightbox.php:1401
631
+ msgid "Width of the video."
632
+ msgstr "Breedte van de video."
633
+
634
+ #: ../responsive-lightbox.php:1411
635
+ msgid "Height of the video."
636
+ msgstr "Hoogte van de video."
637
+
638
+ #: ../responsive-lightbox.php:1429
639
+ msgid "The effect to use when showing the lightbox."
640
+ msgstr "Het te kiezen effect wanneer Lightbox wordt getoond."
641
+
642
+ #: ../responsive-lightbox.php:1447
643
+ msgid "Enable/Disable keyboard navigation (left/right/escape)."
644
+ msgstr "Toetsenbordnavigatie in- of uitschakelen (links/rechts/esc)."
645
+
646
+ #: ../responsive-lightbox.php:1457
647
+ msgid "Error message if the content cannot be loaded."
648
+ msgstr "Foutmelding als de inhoud niet geladen kan worden."
649
+
650
+ #: ../responsive-lightbox.php:1661
651
+ msgid "Changes were not saved because there was attempt to save settings of inactive script. The site has been reloaded to the proper script settings."
652
+ msgstr "Wijzigingen zijn niet bewaard omdat geprobeerd is instellingen van een inactieve script te wijzigen. De site is herladen met de juiste scriptinstellingen."
653
+
654
+ #: ../responsive-lightbox.php:1671
655
+ msgid "Settings restored to defaults."
656
+ msgstr "Standaard instellingen zijn hersteld."
657
+
658
+ #: ../responsive-lightbox.php:1679
659
+ msgid "Settings of SwipeBox script were restored to defaults."
660
+ msgstr "Standaard instellingen van SwipeBox-script zijn hesteld."
661
+
662
+ #: ../responsive-lightbox.php:1685
663
+ msgid "Settings of prettyPhoto script were restored to defaults."
664
+ msgstr "Standaard instellingen van prettyPhoto-script zijn hersteld."
665
+
666
+ #: ../responsive-lightbox.php:1691
667
+ msgid "Settings of FancyBox script were restored to defaults."
668
+ msgstr "Standaard instellingen van FancyBox-script zijn hersteld."
669
+
670
+ #: ../responsive-lightbox.php:1697
671
+ msgid "Settings of Nivo script were restored to defaults."
672
+ msgstr "Standaard instellingen van Nivo-script zijn hersteld."
673
+
674
+ #: ../responsive-lightbox.php:1701
675
+ msgid "Changes were not set to defaults because there was attempt to reset settings of inactive script. The site has been reloaded to the proper script settings."
676
+ msgstr "Standaard instellingen zijn niet hersteld omdat geprobeerd is de instellingen van een inactieve script te herstellen. De site is herladen met de juiste scriptinstellingen."
677
+
678
+ #: ../responsive-lightbox.php:1715
679
+ #: ../responsive-lightbox.php:1716
680
+ #: ../responsive-lightbox.php:1730
681
+ #: ../responsive-lightbox.php:1744
682
+ msgid "Responsive Lightbox"
683
+ msgstr "Responsive Lightbox"
684
+
685
+ #: ../responsive-lightbox.php:1746
686
+ msgid "Need support?"
687
+ msgstr "Hulp nodig?"
688
+
689
+ #: ../responsive-lightbox.php:1747
690
+ msgid "If you are having problems with this plugin, please talk about them in the"
691
+ msgstr "Als je een probleem hebt met deze plugin meldt dit dan in het "
692
+
693
+ #: ../responsive-lightbox.php:1747
694
+ msgid "Support forum"
695
+ msgstr "Support Forum"
696
+
697
+ #: ../responsive-lightbox.php:1749
698
+ msgid "Do you like this plugin?"
699
+ msgstr "Bevalt deze plugin?"
700
+
701
+ #: ../responsive-lightbox.php:1750
702
+ msgid "Rate it 5"
703
+ msgstr "Beoordeel met 5 sterren"
704
+
705
+ #: ../responsive-lightbox.php:1750
706
+ msgid "on WordPress.org"
707
+ msgstr "op WordPress.org"
708
+
709
+ #: ../responsive-lightbox.php:1751
710
+ msgid "Blog about it & link to the"
711
+ msgstr "Schijf erover & link naar de"
712
+
713
+ #: ../responsive-lightbox.php:1751
714
+ msgid "plugin page"
715
+ msgstr "plugin pagina"
716
+
717
+ #: ../responsive-lightbox.php:1752
718
+ msgid "Check out our other"
719
+ msgstr "Bekijk ook onze andere"
720
+
721
+ #: ../responsive-lightbox.php:1752
722
+ msgid "WordPress plugins"
723
+ msgstr "WordPress Plugins"
724
+
725
+ #: ../responsive-lightbox.php:1772
726
+ msgid "Reset to defaults"
727
+ msgstr "Herstel standaard instellingen"
728
+
729
+ #: ../responsive-lightbox.php:1799
730
+ msgid "Are you sure you want to reset these settings to defaults?"
731
+ msgstr "Weet je zeker dat je de algemene standaardinstellingen wilt herstellen?"
732
+
733
+ #: ../responsive-lightbox.php:1800
734
+ msgid "Are you sure you want to reset scripts settings to defaults?"
735
+ msgstr "Weet je zeker dat je de standaard scriptinstellingen wilt herstellen?"
736
+
737
+ #: ../responsive-lightbox.php:2047
738
+ msgid "Support"
739
+ msgstr "Support"
740
+
741
+ #: ../responsive-lightbox.php:2069
742
+ msgid "Settings"
743
+ msgstr "Instellingen"
744
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/responsive-lightbox-pl_PL.mo CHANGED
Binary file
languages/responsive-lightbox-pl_PL.po CHANGED
@@ -1,403 +1,515 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2015-08-24 16:04+0200\n"
5
- "PO-Revision-Date: 2015-08-24 16:11+0200\n"
6
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: pl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.4\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../includes/class-settings.php:41
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
- #: ../includes/class-settings.php:43
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
- #: ../includes/class-settings.php:44
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
- #: ../includes/class-settings.php:45
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
- #: ../includes/class-settings.php:48
35
  msgid "default"
36
  msgstr ""
37
 
38
- #: ../includes/class-settings.php:49
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
- #: ../includes/class-settings.php:50
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
- #: ../includes/class-settings.php:51
47
  msgid "light square"
48
  msgstr ""
49
 
50
- #: ../includes/class-settings.php:52
51
  msgid "dark square"
52
  msgstr ""
53
 
54
- #: ../includes/class-settings.php:53
55
  msgid "facebook"
56
  msgstr ""
57
 
58
- #: ../includes/class-settings.php:56
59
  msgid "window"
60
  msgstr ""
61
 
62
- #: ../includes/class-settings.php:57
63
  msgid "transparent"
64
  msgstr ""
65
 
66
- #: ../includes/class-settings.php:58
67
  msgid "opaque"
68
  msgstr ""
69
 
70
- #: ../includes/class-settings.php:59
71
  msgid "direct"
72
  msgstr ""
73
 
74
- #: ../includes/class-settings.php:60
75
  msgid "gpu"
76
  msgstr ""
77
 
78
- #: ../includes/class-settings.php:64
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
- #: ../includes/class-settings.php:66
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
- #: ../includes/class-settings.php:67
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
- #: ../includes/class-settings.php:71
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
- #: ../includes/class-settings.php:73
95
  msgid "elastic"
96
  msgstr ""
97
 
98
- #: ../includes/class-settings.php:74 ../includes/class-settings.php:95
99
- #: ../includes/class-settings.php:803
100
  msgid "fade"
101
  msgstr ""
102
 
103
- #: ../includes/class-settings.php:75
104
  msgid "none"
105
  msgstr "brak"
106
 
107
- #: ../includes/class-settings.php:78
108
  msgid "auto"
109
  msgstr "automatycznie"
110
 
111
- #: ../includes/class-settings.php:79
112
  msgid "yes"
113
  msgstr "tak"
114
 
115
- #: ../includes/class-settings.php:80
116
  msgid "no"
117
  msgstr "nie"
118
 
119
- #: ../includes/class-settings.php:83
120
  msgid "swing"
121
  msgstr ""
122
 
123
- #: ../includes/class-settings.php:84
124
  msgid "linear"
125
  msgstr ""
126
 
127
- #: ../includes/class-settings.php:87
128
  msgid "outside"
129
  msgstr ""
130
 
131
- #: ../includes/class-settings.php:88
132
  msgid "inside"
133
  msgstr ""
134
 
135
- #: ../includes/class-settings.php:89
136
  msgid "over"
137
  msgstr ""
138
 
139
- #: ../includes/class-settings.php:93
140
  msgid "Nivo Lightbox"
141
  msgstr "Nivo Lightbox"
142
 
143
- #: ../includes/class-settings.php:96
144
  msgid "fade scale"
145
  msgstr "fade scale"
146
 
147
- #: ../includes/class-settings.php:97
148
  msgid "slide left"
149
  msgstr ""
150
 
151
- #: ../includes/class-settings.php:98
152
  msgid "slide right"
153
  msgstr "slide right"
154
 
155
- #: ../includes/class-settings.php:99
156
  msgid "slide up"
157
  msgstr ""
158
 
159
- #: ../includes/class-settings.php:100
160
  msgid "slide down"
161
  msgstr "slide down"
162
 
163
- #: ../includes/class-settings.php:101
164
  msgid "fall"
165
  msgstr ""
166
 
167
- #: ../includes/class-settings.php:105
168
  msgid "Image Lightbox"
169
  msgstr "Image Lightbox"
170
 
171
- #: ../includes/class-settings.php:108
172
- msgid "TosRUs"
173
- msgstr "TosRUs"
174
 
175
- #: ../includes/class-settings.php:113
176
- msgid "None (default)"
177
- msgstr "Brak (domyślny)"
178
 
179
- #: ../includes/class-settings.php:114
180
- msgid "Image Title"
181
- msgstr "Tytuł obrazka"
182
-
183
- #: ../includes/class-settings.php:115
184
- msgid "Image Caption"
185
- msgstr "Podpis obrazka"
186
-
187
- #: ../includes/class-settings.php:116
188
- msgid "Image Alt Text"
189
- msgstr "Tekst alternatywny"
190
-
191
- #: ../includes/class-settings.php:117
192
- msgid "Image Description"
193
- msgstr "Opis obrazka"
194
-
195
- #: ../includes/class-settings.php:121
196
  msgid "Header"
197
  msgstr "W nagłówku"
198
 
199
- #: ../includes/class-settings.php:122
200
  msgid "Footer"
201
  msgstr "W stopce"
202
 
203
- #: ../includes/class-settings.php:132
204
- msgid "Thumbnail"
205
- msgstr "Miniatura"
206
-
207
- #: ../includes/class-settings.php:133
208
- msgid "Medium"
209
- msgstr "Średni"
210
-
211
- #: ../includes/class-settings.php:134
212
- msgid "Large"
213
- msgstr "Duży"
214
-
215
- #: ../includes/class-settings.php:135
216
- msgid "Full Size (default)"
217
- msgstr "Pełny rozmiar (domyslny)"
218
-
219
- #: ../includes/class-settings.php:145 ../includes/class-settings.php:880
220
  msgid "General settings"
221
  msgstr "Ustawienia ogólne"
222
 
223
- #: ../includes/class-settings.php:154
 
 
 
 
224
  msgid "Lightbox script"
225
  msgstr "Skrypt lightbox"
226
 
227
- #: ../includes/class-settings.php:160
228
- #, php-format
229
- msgid ""
230
- "Select your preffered ligthbox effect script or get our <a href=\"%s"
231
- "\">premium extensions</a>."
232
- msgstr ""
233
- "Wybierz swój preferowany efekt lightbox lub wybierz coś z <a href=\"%s"
234
- "\">dostępnych dodatków.</a>."
235
-
236
- #: ../includes/class-settings.php:167
237
  msgid "Selector"
238
  msgstr "Znacznik"
239
 
240
- #: ../includes/class-settings.php:170
241
- msgid "Enter the rel selector lightbox effect will be applied to."
242
- msgstr "Wybierz dla którego znacznika będzie dodawany efekt lightbox."
 
 
 
 
 
 
 
 
243
 
244
- #: ../includes/class-settings.php:173
245
  msgid "Image links"
246
  msgstr "Linki obrazków"
247
 
248
- #: ../includes/class-settings.php:176
249
- msgid "Add lightbox to WordPress image links by default."
250
- msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
251
 
252
- #: ../includes/class-settings.php:179
253
- msgid "Single image title"
254
- msgstr "Tytuł pojedynczego obrazka"
255
 
256
- #: ../includes/class-settings.php:182
257
- msgid "Select title for single images."
258
- msgstr "Wybierz tytuł dla pojedynczych obrazków."
259
 
260
- #: ../includes/class-settings.php:186
261
- msgid "Single images as gallery"
262
- msgstr "Pojedyncze obrazki"
263
 
264
- #: ../includes/class-settings.php:189
265
- msgid "Display single post images as a gallery."
266
- msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
267
 
268
- #: ../includes/class-settings.php:192
269
- msgid "Galleries"
270
- msgstr "Galerie"
271
 
272
- #: ../includes/class-settings.php:195
273
- msgid "Add lightbox to WordPress image galleries by default."
274
- msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
275
 
276
- #: ../includes/class-settings.php:198
277
- msgid "Gallery image size"
278
- msgstr "WIelkość obrazka w galerii"
279
 
280
- #: ../includes/class-settings.php:201
281
- msgid "Select image size for gallery image links."
282
- msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
283
 
284
- #: ../includes/class-settings.php:205
285
- msgid "Gallery image title"
286
- msgstr "Tytuł obrazków w galerii"
287
 
288
- #: ../includes/class-settings.php:208
289
- msgid "Select title for images in native WordPress galleries."
290
- msgstr "Wybierz pochodzenie tytułu dla obrazków w galerii."
291
 
292
- #: ../includes/class-settings.php:212
293
- msgid "Force gallery lightbox"
294
- msgstr "Wymuszanie lightboxa w galerii"
295
 
296
- #: ../includes/class-settings.php:215
297
- msgid ""
298
- "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
299
- "galleries."
300
- msgstr ""
301
- "Spróbuj wymusić lightbox w galeriach zastępujących domyślną galerię "
302
- "WordPress, jak np. galeria Jetpack."
303
 
304
- #: ../includes/class-settings.php:218
305
- msgid "Video links"
306
- msgstr "Linki video"
307
 
308
- #: ../includes/class-settings.php:221
309
- msgid "Add lightbox to YouTube and Vimeo video links by default."
310
- msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
311
 
312
- #: ../includes/class-settings.php:224
313
- msgid "Custom events"
314
- msgstr "Własne zdarzenia"
315
 
316
- #: ../includes/class-settings.php:230
317
- msgid "Enable triggering lightbox on custom jQuery events."
318
- msgstr ""
319
- "Włącz uruchamianie efektu lightbox przy pomocy własnych zdarzeń jQuery."
320
 
321
- #: ../includes/class-settings.php:234
322
- msgid "Enter a space separated list of events."
323
- msgstr "Wpisz oddzieloną spacją listę wydarzeń."
324
 
325
- #: ../includes/class-settings.php:239
326
- msgid "Loading place"
327
- msgstr "Ładowanie"
328
 
329
- #: ../includes/class-settings.php:242
330
- msgid "Select where all the lightbox scripts should be placed."
331
- msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
332
 
333
- #: ../includes/class-settings.php:246
334
- msgid "Conditional loading"
335
- msgstr "Ładowanie warunkowe"
336
 
337
- #: ../includes/class-settings.php:249
338
- msgid ""
339
- "Enable to load scripts and styles only on pages that have images or "
340
- "galleries in post content."
341
- msgstr ""
342
- "Włącz aby wczytywać sklrypty i style wyłącznie na stronach, które w treści "
343
- "zawierają galerie obrazków lub pojedyncze obrazki."
344
 
345
- #: ../includes/class-settings.php:252
346
- msgid "Delete data"
347
- msgstr "Usuwanie danych"
348
 
349
- #: ../includes/class-settings.php:255
350
- msgid "Delete all plugin settings on deactivation."
351
- msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
352
 
353
- #: ../includes/class-settings.php:265 ../includes/class-settings.php:886
354
- msgid "Lightbox settings"
355
- msgstr "Ustawienia lightbox"
356
 
357
- #: ../includes/class-settings.php:283
358
- msgid "Animation type"
359
- msgstr "Typ animacji"
360
 
361
- #: ../includes/class-settings.php:287
362
- msgid "Select a method of applying a lightbox effect."
363
- msgstr "Wybierz sposób dodawania efektu lightbox."
364
 
365
- #: ../includes/class-settings.php:292
366
- msgid "Force PNG icons"
367
- msgstr "Wymuszanie ikon PNG"
368
 
369
- #: ../includes/class-settings.php:295
370
- msgid ""
371
- "Enable this if you're having problems with navigation icons not visible on "
372
- "some devices."
373
- msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
 
375
- #: ../includes/class-settings.php:299
376
- msgid "Hide close on mobile"
377
- msgstr "Ukrywanie przycisku zamknij"
 
 
 
 
 
 
 
 
 
 
 
 
378
 
379
- #: ../includes/class-settings.php:302
380
- msgid "Hide the close button on mobile devices."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  msgstr ""
382
- "Włącz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
 
383
 
384
- #: ../includes/class-settings.php:306
385
- msgid "Remove bars on mobile"
386
- msgstr "Ukrywanie pasków"
387
 
388
- #: ../includes/class-settings.php:309
389
- msgid "Hide the top and bottom bars on mobile devices."
390
- msgstr "Ukryj górny i dolny pasek na urządzeniach mobilnych."
391
 
392
- #: ../includes/class-settings.php:313
393
- msgid "Top and bottom bars"
394
- msgstr "Górne i dolne paski"
395
 
396
- #: ../includes/class-settings.php:319
397
- msgid "Hide top and bottom bars after a period of time."
398
- msgstr "Ukryj górny i dolny pasek po określonym czasie."
 
 
 
 
 
 
 
 
 
 
 
 
399
 
400
- #: ../includes/class-settings.php:324
 
 
 
 
 
 
401
  msgid ""
402
  "Enter the time after which the top and bottom bars will be hidden (when "
403
  "hiding is enabled)."
@@ -405,762 +517,353 @@ msgstr ""
405
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
406
  "jest włączona)."
407
 
408
- #: ../includes/class-settings.php:331
409
- msgid "Video max width"
410
- msgstr "Maksymalna szerokość video"
411
-
412
- #: ../includes/class-settings.php:334
413
  msgid "Enter the max video width in a lightbox."
414
  msgstr "Podaj maksymalną szerokość video."
415
 
416
- #: ../includes/class-settings.php:339
417
- msgid "Loop at end"
418
- msgstr "Zapętlenie galerii"
419
-
420
- #: ../includes/class-settings.php:342
421
- msgid "True will return to the first image after the last image is reached."
422
- msgstr ""
423
- "Włącz, aby powrócić do pierwszego zdjęcia po ostatnim zdjęciu w galerii."
424
-
425
- #: ../includes/class-settings.php:354 ../includes/class-settings.php:746
426
- msgid "Animation speed"
427
- msgstr "Szybkość animacji"
428
 
429
- #: ../includes/class-settings.php:358
430
  msgid "Select animation speed for lightbox effect."
431
  msgstr "Wybierz szybkość animacji efektu lightbox."
432
 
433
- #: ../includes/class-settings.php:363
434
- msgid "Slideshow"
435
- msgstr "Pokaz slidów"
436
-
437
- #: ../includes/class-settings.php:369
438
- msgid "Display images as slideshow"
439
- msgstr "Wyświetlanie obrazków jako pokaz slajdów"
440
 
441
- #: ../includes/class-settings.php:374
442
  msgid "Enter time (in miliseconds)."
443
  msgstr "Podaj czas (w milisekundach)."
444
 
445
- #: ../includes/class-settings.php:381
446
- msgid "Slideshow autoplay"
447
- msgstr "Automatyczne odtwarzanie pokazu slajdów"
448
-
449
- #: ../includes/class-settings.php:384 ../includes/class-settings.php:828
450
  msgid "Automatically start slideshow."
451
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
452
 
453
- #: ../includes/class-settings.php:388 ../includes/class-settings.php:590
454
- msgid "Opacity"
455
- msgstr "Przezroczystość"
456
-
457
- #: ../includes/class-settings.php:391
458
  msgid "Value between 0 and 100, 100 for no opacity."
459
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
460
 
461
- #: ../includes/class-settings.php:397
462
- msgid "Show title"
463
- msgstr "Wyświetlanie tytułu"
464
-
465
- #: ../includes/class-settings.php:400
466
- msgid "Display image title."
467
  msgstr "Wyświetlanie tytułu obrazka."
468
 
469
- #: ../includes/class-settings.php:404
470
- msgid "Allow resize big images"
471
- msgstr "Powiększanie dużych zdjęć"
472
-
473
- #: ../includes/class-settings.php:407
474
  msgid "Resize the photos bigger than viewport."
475
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
476
 
477
- #: ../includes/class-settings.php:411
478
- msgid "Allow expand"
479
- msgstr "Zezwól na powiększanie"
480
-
481
- #: ../includes/class-settings.php:414
482
- msgid "Allow expanding images."
483
- msgstr "Zezwól na powiększanie zdjęć."
484
 
485
- #: ../includes/class-settings.php:418 ../includes/class-settings.php:684
486
- msgid "Video width"
487
- msgstr "Szerokość video"
488
-
489
- #: ../includes/class-settings.php:425 ../includes/class-settings.php:692
490
- msgid "Video height"
491
- msgstr "Wysokość video"
492
 
493
- #: ../includes/class-settings.php:432
494
- msgid "Theme"
495
- msgstr "Motyw"
496
-
497
- #: ../includes/class-settings.php:435
498
- msgid "Select the theme for lightbox effect."
499
  msgstr "Wybierz motyw dla efektu lightbox."
500
 
501
- #: ../includes/class-settings.php:440
502
- msgid "Horizontal padding"
503
- msgstr "Odstępy w poziomie"
504
-
505
- #: ../includes/class-settings.php:447
506
- msgid "Hide Flash"
507
- msgstr "Ukrywanie flash"
508
 
509
- #: ../includes/class-settings.php:450
510
  msgid ""
511
- "Hide all the flash objects on a page. Enable this if flash appears over "
512
  "prettyPhoto."
513
  msgstr ""
514
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
515
  "wyświetlane są nad lightboxem."
516
 
517
- #: ../includes/class-settings.php:454
518
- msgid "Flash Window Mode (wmode)"
519
- msgstr "Tryb okna flash (wmode)"
520
-
521
- #: ../includes/class-settings.php:457
522
  msgid "Select flash window mode."
523
  msgstr "Wybierz tryb okna flash."
524
 
525
- #: ../includes/class-settings.php:462
526
- msgid "Video autoplay"
527
- msgstr "Automatyczne odtwarzanie wideo"
528
-
529
- #: ../includes/class-settings.php:465
530
  msgid "Automatically start videos."
531
  msgstr "Automatycznie rozpoczynaj video."
532
 
533
- #: ../includes/class-settings.php:469 ../includes/class-settings.php:512
534
- msgid "Modal"
535
- msgstr "Tryb modal"
536
-
537
- #: ../includes/class-settings.php:472
538
  msgid "If set to true, only the close button will close the window."
539
  msgstr ""
540
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
541
 
542
- #: ../includes/class-settings.php:476
543
- msgid "Deeplinking"
544
- msgstr "Głębokie linki"
545
-
546
- #: ../includes/class-settings.php:479
547
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
548
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
549
 
550
- #: ../includes/class-settings.php:483
551
- msgid "Overlay gallery"
552
- msgstr "Efekt overlay galerii"
553
-
554
- #: ../includes/class-settings.php:486
555
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
556
  msgstr ""
557
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
558
  "najechaniu myszką."
559
 
560
- #: ../includes/class-settings.php:490
561
- msgid "Keyboard shortcuts"
562
- msgstr "Skróty klawiaturowe"
563
-
564
- #: ../includes/class-settings.php:493
565
  msgid "Set to false if you open forms inside prettyPhoto."
566
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
567
 
568
- #: ../includes/class-settings.php:497
569
- msgid "Social (Twitter, Facebook)"
570
- msgstr "Linki społeczności (Twitter, Facebook)"
571
-
572
- #: ../includes/class-settings.php:500
573
  msgid "Display links to Facebook and Twitter."
574
  msgstr "Wyświetl linki do Facebboka i Twittera."
575
 
576
- #: ../includes/class-settings.php:515
 
 
 
 
 
 
 
 
 
 
 
 
577
  msgid ""
578
- "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
579
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
580
- "to false."
581
  msgstr ""
582
- "Jeśli będzie włączone, opcja \"overlayShow\" także zostanie włączona, "
583
- "natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
584
- "\"enableEscapeButton\", \"showCloseButton\" zostaną wyłączone."
585
-
586
- #: ../includes/class-settings.php:519
587
- msgid "Show overlay"
588
- msgstr "Wyświetlanie tła"
589
 
590
- #: ../includes/class-settings.php:522
591
  msgid "Toggle overlay."
592
  msgstr "Włącz tło."
593
 
594
- #: ../includes/class-settings.php:526
595
- msgid "Show close button"
596
- msgstr "Wyświetlanie przycisku Zamknij"
597
-
598
- #: ../includes/class-settings.php:529
599
  msgid "Toggle close button."
600
  msgstr "Włącz przycisk Zamknij."
601
 
602
- #: ../includes/class-settings.php:533
603
- msgid "Enable escape button"
604
- msgstr "Wyświetlanie przycisku Wyjdź"
605
-
606
- #: ../includes/class-settings.php:536
607
  msgid "Toggle if pressing Esc button closes FancyBox."
608
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
609
 
610
- #: ../includes/class-settings.php:540
611
- msgid "Hide on overlay click"
612
- msgstr "Ukryj po kliknięciu w tło"
613
-
614
- #: ../includes/class-settings.php:543
615
  msgid "Toggle if clicking the overlay should close FancyBox."
616
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
617
 
618
- #: ../includes/class-settings.php:547
619
- msgid "Hide on content click"
620
- msgstr "Ukryj po kliknięciu w treść"
621
-
622
- #: ../includes/class-settings.php:550
623
  msgid "Toggle if clicking the content should close FancyBox."
624
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
625
 
626
- #: ../includes/class-settings.php:554
627
- msgid "Cyclic"
628
- msgstr "Cykliczność"
629
-
630
- #: ../includes/class-settings.php:557
631
  msgid ""
632
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
633
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
634
 
635
- #: ../includes/class-settings.php:561
636
- msgid "Show nav arrows"
637
- msgstr "Wyświetlanie strzałek"
638
-
639
- #: ../includes/class-settings.php:564
640
  msgid "Toggle navigation arrows."
641
  msgstr "Włącz strzałki nawigacyjne."
642
 
643
- #: ../includes/class-settings.php:568
644
- msgid "Auto scale"
645
- msgstr "Automatyczne skalowanie"
646
-
647
- #: ../includes/class-settings.php:571
648
  msgid "If true, FancyBox is scaled to fit in viewport."
649
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
650
 
651
- #: ../includes/class-settings.php:575
652
- msgid "Scrolling (in/out)"
653
- msgstr "Przewijanie"
654
-
655
- #: ../includes/class-settings.php:578
656
  msgid "Set the overflow CSS property to create or hide scrollbars."
657
  msgstr ""
658
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
659
 
660
- #: ../includes/class-settings.php:583
661
- msgid "Center on scroll"
662
- msgstr "Centrowanie przy przewijaniu"
663
-
664
- #: ../includes/class-settings.php:586
665
  msgid "When true, FancyBox is centered while scrolling page."
666
  msgstr ""
667
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
668
  "strony."
669
 
670
- #: ../includes/class-settings.php:593
671
  msgid "When true, transparency of content is changed for elastic transitions."
672
  msgstr ""
673
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
674
  "animacji."
675
 
676
- #: ../includes/class-settings.php:597
677
- msgid "Overlay opacity"
678
- msgstr "Przezroczystość tła"
679
-
680
- #: ../includes/class-settings.php:600
681
  msgid "Opacity of the overlay."
682
  msgstr "Przezroczystość tła."
683
 
684
- #: ../includes/class-settings.php:606
685
- msgid "Overlay color"
686
- msgstr "Kolor tła"
687
-
688
- #: ../includes/class-settings.php:609
689
  msgid "Color of the overlay."
690
  msgstr "Kolor tła."
691
 
692
- #: ../includes/class-settings.php:613
693
- msgid "Title show"
694
- msgstr "Wyświetlanie tytułu"
695
-
696
- #: ../includes/class-settings.php:616
697
  msgid "Toggle title."
698
  msgstr "Wyświetlanie tytułu."
699
 
700
- #: ../includes/class-settings.php:620
701
- msgid "Title position"
702
- msgstr "Pozycja tytułu"
703
-
704
- #: ../includes/class-settings.php:623
705
  msgid "The position of title."
706
  msgstr "Pozycja tytułu."
707
 
708
- #: ../includes/class-settings.php:628
709
- msgid "Transition (in/out)"
710
- msgstr "Efekty przejścia"
711
-
712
- #: ../includes/class-settings.php:631
713
- msgid "The transition type."
714
- msgstr "Typ animacji."
715
-
716
- #: ../includes/class-settings.php:636
717
- msgid "Easings (in/out)"
718
- msgstr "Wygładzanie animacji"
719
-
720
- #: ../includes/class-settings.php:639
721
  msgid "Easing used for elastic animations."
722
  msgstr "Wygładzanie animacji dla trybu elastic."
723
 
724
- #: ../includes/class-settings.php:644
725
- msgid "Speed (in/out)"
726
- msgstr "Szybkość"
727
-
728
- #: ../includes/class-settings.php:647
729
  msgid "Speed of the fade and elastic transitions, in milliseconds."
730
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
731
 
732
- #: ../includes/class-settings.php:652
733
- msgid "Change speed"
734
- msgstr "Zmień szybkość"
735
-
736
- #: ../includes/class-settings.php:655
737
  msgid "Speed of resizing when changing gallery items, in milliseconds."
738
  msgstr ""
739
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
740
  "milisekundach)."
741
 
742
- #: ../includes/class-settings.php:660
743
- msgid "Change fade"
744
- msgstr "Zmień zanikanie"
745
-
746
- #: ../includes/class-settings.php:663
747
  msgid "Speed of the content fading while changing gallery items."
748
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
749
 
750
- #: ../includes/class-settings.php:668
751
- msgid "Padding"
752
- msgstr "Odstęp (padding)"
753
-
754
- #: ../includes/class-settings.php:671
755
- msgid "Space between FancyBox wrapper and content."
756
- msgstr "Przestrzeń między FancyBox a treścią"
757
-
758
- #: ../includes/class-settings.php:676
759
- msgid "Margin"
760
- msgstr "Margines (margin)"
761
-
762
- #: ../includes/class-settings.php:679
763
- msgid "Space between viewport and FancyBox wrapper."
764
- msgstr "Przestrzeń między ekranem a Fancybox"
765
-
766
- #: ../includes/class-settings.php:687
767
  msgid "Width of the video."
768
  msgstr "Szerokość video."
769
 
770
- #: ../includes/class-settings.php:695
771
  msgid "Height of the video."
772
  msgstr "Wysokość video."
773
 
774
- #: ../includes/class-settings.php:708
775
- msgid "Effect"
776
- msgstr "Efekt"
777
-
778
- #: ../includes/class-settings.php:711
779
  msgid "The effect to use when showing the lightbox."
780
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
781
 
782
- #: ../includes/class-settings.php:716 ../includes/class-settings.php:815
783
- msgid "Keyboard navigation"
784
- msgstr "Nawigacja klawiaturą"
785
-
786
- #: ../includes/class-settings.php:719 ../includes/class-settings.php:818
787
- msgid "Enable keyboard navigation (left/right/escape)."
788
- msgstr "Włącz nawigację za pomocą klawiatury (lewo, prawo, esc)."
789
-
790
- #: ../includes/class-settings.php:723
791
- msgid "Click overlay to close"
792
- msgstr "Kliknięcie poza obrazek"
793
-
794
- #: ../includes/class-settings.php:726
795
- msgid "Enable to close lightbox on overlay click."
796
- msgstr "Włącz aby zamykać lightbox po kliknięciu w obszar poza obrazkiem."
797
 
798
- #: ../includes/class-settings.php:730
799
- msgid "Error message"
800
- msgstr "Treść komunikatu o błędzie"
801
 
802
- #: ../includes/class-settings.php:734
803
  msgid "Error message if the content cannot be loaded."
804
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
805
 
806
- #: ../includes/class-settings.php:749
807
  msgid "Animation speed."
808
  msgstr "Szybkość animacji."
809
 
810
- #: ../includes/class-settings.php:754
811
- msgid "Preload next image"
812
- msgstr "Wstępne ładowanie kolejnego obrazka"
813
-
814
- #: ../includes/class-settings.php:757
815
  msgid "Silently preload the next image."
816
  msgstr "W niezauważalny sposób ładuje kolejny obrazek."
817
 
818
- #: ../includes/class-settings.php:761
819
- msgid "Enable keyboard keys"
820
- msgstr "Obługa klawiaturą"
821
-
822
- #: ../includes/class-settings.php:764
823
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
824
  msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
825
 
826
- #: ../includes/class-settings.php:768
827
- msgid "Quit after last image"
828
- msgstr "Wyjście po ostanim obrazku"
829
-
830
- #: ../includes/class-settings.php:771
831
  msgid "Quit after viewing the last image."
832
  msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
833
 
834
- #: ../includes/class-settings.php:775
835
- msgid "Quit on image click"
836
- msgstr "Wyjście po kliknięciu w obrazek"
837
-
838
- #: ../includes/class-settings.php:778
839
  msgid "Quit when the viewed image is clicked."
840
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
841
 
842
- #: ../includes/class-settings.php:782
843
- msgid "Quit on anything click"
844
- msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
845
-
846
- #: ../includes/class-settings.php:785
847
  msgid "Quit when anything but the viewed image is clicked."
848
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
849
 
850
- #: ../includes/class-settings.php:797
851
- msgid "Transition effect"
852
- msgstr "Efekt przejścia"
853
-
854
- #: ../includes/class-settings.php:800
855
- msgid "What effect to use for the transition."
856
- msgstr "Wybierz efekt jaki zastosować dla przejścia między slajdami."
857
-
858
- #: ../includes/class-settings.php:802
859
- msgid "slide"
860
- msgstr ""
861
-
862
- #: ../includes/class-settings.php:808
863
- msgid "Infinite loop"
864
- msgstr "Nieskończona pętla"
865
-
866
- #: ../includes/class-settings.php:811
867
  msgid ""
868
- "Whether or not to slide back to the first slide when the last has been "
869
- "reached."
870
  msgstr ""
871
- "Włącz przewijanie do pierwszego slajdu po wyświetleniu ostatniego slajdu."
872
-
873
- #: ../includes/class-settings.php:822
874
- msgid "Autoplay"
875
- msgstr "Autopla"
876
-
877
- #: ../includes/class-settings.php:833
878
- msgid "The timeout between sliding to the next slide in milliseconds."
879
- msgstr "Czas pomiędzy slajdami, w milisekundach."
880
 
881
- #: ../includes/class-settings.php:840
882
- msgid "Pause on hover"
883
- msgstr "Pauza po najechaniu"
884
-
885
- #: ../includes/class-settings.php:843
886
- msgid "Whether or not to pause on hover."
887
- msgstr "Włącz pauzę po najechaniu kursorem."
888
-
889
- #: ../includes/class-settings.php:847
890
- msgid "Pagination"
891
- msgstr "Stronicowanie"
892
 
893
- #: ../includes/class-settings.php:853
894
- msgid "Whether or not to add a pagination."
895
- msgstr "Włącz stronicowanie."
896
 
897
- #: ../includes/class-settings.php:858
898
- msgid "What type of pagination to use."
899
- msgstr "Wybierz rodzaj stronicowania."
900
 
901
- #: ../includes/class-settings.php:860
902
- msgid "Bullets"
903
- msgstr "Kropki"
904
 
905
- #: ../includes/class-settings.php:861
906
- msgid "Thumbnails"
907
- msgstr "Miniatury"
908
 
909
- #: ../includes/class-settings.php:894
910
- msgid "Add-ons"
911
- msgstr "Dodatki"
 
 
 
 
 
912
 
913
- #: ../includes/class-settings.php:908 ../includes/class-settings.php:922
914
- #: ../includes/class-settings.php:935
915
  msgid "Responsive Lightbox"
916
  msgstr "Efekt Lightbox"
917
 
918
- #: ../includes/class-settings.php:937
919
  msgid "Need support?"
920
  msgstr "Potrzebujesz pomocy?"
921
 
922
- #: ../includes/class-settings.php:938
923
  msgid ""
924
  "If you are having problems with this plugin, please talk about them in the"
925
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
926
 
927
- #: ../includes/class-settings.php:938
928
  msgid "Support forum"
929
  msgstr "Forum pomocy"
930
 
931
- #: ../includes/class-settings.php:940
932
  msgid "Do you like this plugin?"
933
  msgstr "Lubisz tę wtyczkę?"
934
 
935
- #: ../includes/class-settings.php:947
936
  msgid "Rate it 5"
937
  msgstr "Oceń ją na 5"
938
 
939
- #: ../includes/class-settings.php:947
940
  msgid "on WordPress.org"
941
  msgstr "na WordPress.org"
942
 
943
- #: ../includes/class-settings.php:948
944
  msgid "Blog about it & link to the"
945
  msgstr "Napisz o niej i dodaj link"
946
 
947
- #: ../includes/class-settings.php:948
948
  msgid "plugin page"
949
  msgstr "do strony wtyczki"
950
 
951
- #: ../includes/class-settings.php:949
952
  msgid "Check out our other"
953
  msgstr "Sprawdź nasze pozostałe"
954
 
955
- #: ../includes/class-settings.php:949
956
  msgid "WordPress plugins"
957
  msgstr "wtyczki do WordPress'a"
958
 
959
- #: ../includes/class-settings.php:975
960
  msgid "Reset to defaults"
961
  msgstr "Resetuj do domyślnych"
962
 
963
- #: ../includes/class-settings.php:1093
964
- msgid "Licenses"
965
- msgstr "Licencje"
966
-
967
- #: ../includes/class-settings.php:1384
968
- msgid "Settings restored to defaults."
969
- msgstr "Ustawienia zostały przywrócone do domyślnych."
970
-
971
- #: ../includes/class-settings.php:1398
972
- msgid "Add-ons / Extensions"
973
- msgstr "Dodatki / Rozszerzenia"
974
-
975
- #: ../includes/class-settings.php:1399
976
- msgid ""
977
- "Enhance your website with these beautiful, easy to use extensions, designed "
978
- "with Responsive Lightbox integration in mind."
979
- msgstr ""
980
- "Rozszerz swoją stronę z wykorzystaniem tych pięknych, łatwych w użyciu i "
981
- "zaprojektowanych specjalnie z myślą o Responsive Lightbox dodatków."
982
-
983
- #: ../includes/class-settings.php:1413
984
- msgid ""
985
- "There was an error retrieving the extensions list from the server. Please "
986
- "try again later."
987
- msgstr ""
988
- "W trakcie wczytywania listy rozszerzeń i dodatków wystąpił problem na "
989
- "serwerze. Proszę spróbować później."
990
-
991
- #: ../includes/class-settings.php:1426
992
- msgid "A list of licenses for your Responsive Lightbox extensions."
993
- msgstr "Lista licencji dostępnych dla Twoich rozszerzeń Responsive Lightbox."
994
-
995
- #: ../includes/class-settings.php:1442
996
- #, php-format
997
- msgid ""
998
- "Enter your license key to activate %s extension and enable automatic upgrade "
999
- "notices."
1000
- msgstr ""
1001
- "Wpisz klucz licencji aby aktywować rozszerzenie %s i włączyć powiadomienia o "
1002
- "automatycznych aktualizacjach."
1003
-
1004
- #: ../includes/class-settings.php:1498 ../includes/class-settings.php:1511
1005
- #: ../includes/class-settings.php:1536 ../includes/class-settings.php:1547
1006
- msgid "License activation failed."
1007
- msgstr "Aktywacja licencji nie powiodła się."
1008
-
1009
- #: ../includes/class-settings.php:1508
1010
- msgid "License successfully activated."
1011
- msgstr "Licencja została aktywowana."
1012
-
1013
- #: ../includes/class-settings.php:1545
1014
- msgid "License successfully deactivated."
1015
- msgstr "Licencja została zdeaktywowana."
1016
 
1017
- #: ../responsive-lightbox.php:314
1018
- #, php-format
1019
- msgid ""
1020
- "Thank you for updating Responsive Lightbox to version %s. <a href=\"%s"
1021
- "\">Click here</a> to check out our latest extensions!"
1022
- msgstr ""
1023
- "Dziękujemy za aktualizację Responsive Lightbox do wersji %s. <a href=\"%s"
1024
- "\">Kliknij tutaj</a> aby sprawdzić najnowsze rozszerzenia!"
1025
 
1026
- #: ../responsive-lightbox.php:359
1027
  msgid "Support"
1028
  msgstr "Pomoc"
1029
 
1030
- #: ../responsive-lightbox.php:378
1031
  msgid "Settings"
1032
  msgstr "Ustawienia"
1033
-
1034
- #: ../responsive-lightbox.php:398
1035
- msgid "Are you sure you want to reset these settings to defaults?"
1036
- msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
1037
-
1038
- #: ../responsive-lightbox.php:399
1039
- msgid "Are you sure you want to reset this script settings to defaults?"
1040
- msgstr ""
1041
- "Jesteś pewny, że chcesz zresetować ustawienia tego skryptu do ustawień "
1042
- "domyślnych?"
1043
-
1044
- #~ msgid "Select your preffered ligthbox effect script."
1045
- #~ msgstr "Wybierz preferowany efekt lightbox."
1046
-
1047
- #~ msgid "Enable"
1048
- #~ msgstr "Włącz"
1049
-
1050
- #~ msgid "Disable"
1051
- #~ msgstr "Wyłącz"
1052
-
1053
- #~ msgid "Default (none)"
1054
- #~ msgstr "Domyślny (brak)"
1055
-
1056
- #~ msgid "Deactivation"
1057
- #~ msgstr "Deaktywacja"
1058
-
1059
- #~ msgid "Quit when image is clicked"
1060
- #~ msgstr "Wyjście po kliknięciu w obrazek"
1061
-
1062
- #~ msgid "Quit when anything but image is clicked"
1063
- #~ msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
1064
-
1065
- #~ msgid "Select to which rel selector lightbox effect will be applied to."
1066
- #~ msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
1067
-
1068
- #~ msgid "Enable triggering lightbox on custom jquery events."
1069
- #~ msgstr ""
1070
- #~ "Włącz uruchamianie efektu lightbox przy własnych zdarzeniach jquery."
1071
-
1072
- #~ msgid ""
1073
- #~ "By default WP gallery links point to full size images only. Enable that "
1074
- #~ "to modify the image size of native WP gallery image links."
1075
- #~ msgstr ""
1076
- #~ "Domyślnie galerie w WordPressie linkują do obrazków o pełnym rozmiarze. "
1077
- #~ "Włącze tę opcję, jeśli chcesz to zmodyfikwać. "
1078
-
1079
- #~ msgid "Select the title for lightboxed WP gallery images."
1080
- #~ msgstr "Wybierz tytuł dla obrazków w galerii."
1081
-
1082
- #~ msgid "Delete settings on plugin deactivation."
1083
- #~ msgstr "Usuń ustawienia przy deaktywacji wtyczki."
1084
-
1085
- #~ msgid ""
1086
- #~ "Disable if you don't want to top and bottom bars to be hidden after a "
1087
- #~ "period of time."
1088
- #~ msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
1089
-
1090
- #~ msgid "True will hide the close button on mobile devices."
1091
- #~ msgstr ""
1092
- #~ "Wybierz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
1093
-
1094
- #~ msgid "Display images as slideshow."
1095
- #~ msgstr "Wyświetl obrazki jako pokaz sladów ."
1096
-
1097
- #~ msgid "Display image tiltle."
1098
- #~ msgstr "Wyświetlanie tytułu obrazka."
1099
-
1100
- #~ msgid "Expands something."
1101
- #~ msgstr "Powiększeniei okna."
1102
-
1103
- #~ msgid "in pixels"
1104
- #~ msgstr "w pikselach"
1105
-
1106
- #~ msgid "Select theme for lightbox effect."
1107
- #~ msgstr "Wybierz motyw dla efektu lightbox."
1108
-
1109
- #~ msgid "Horizontal padding (in pixels)."
1110
- #~ msgstr "Odstępy w poziomie (w pikselach)."
1111
-
1112
- #~ msgid ""
1113
- #~ "Hides all the flash object on a page. Enable this if flash appears over "
1114
- #~ "prettyPhoto."
1115
- #~ msgstr ""
1116
- #~ "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
1117
- #~ "wyświetlane są nad lightboxem."
1118
-
1119
- #~ msgid "Enable/Disable keyboard navigation (left/right/escape)."
1120
- #~ msgstr ""
1121
- #~ "Włącz / Wyłącz nawigację klawiaturą (strzałka w lewo, w prawo i przycisk "
1122
- #~ "ESC)"
1123
-
1124
- #~ msgid "Eneble to close lightbox on overlay click."
1125
- #~ msgstr "Włącz aby zamykać lightbox po kliknięciu w obzar poza obrazkiem."
1126
-
1127
- #~ msgid ""
1128
- #~ "Changes were not saved because there was attempt to save settings of "
1129
- #~ "inactive script. The site has been reloaded to the proper script settings."
1130
- #~ msgstr ""
1131
- #~ "Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
1132
- #~ "nieaktywnego skryptu. Strona została odświeżona z prawidłowymi "
1133
- #~ "ustawieniami."
1134
-
1135
- #~ msgid "Settings of SwipeBox script were restored to defaults."
1136
- #~ msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
1137
-
1138
- #~ msgid "Settings of prettyPhoto script were restored to defaults."
1139
- #~ msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
1140
-
1141
- #~ msgid "Settings of FancyBox script were restored to defaults."
1142
- #~ msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
1143
-
1144
- #~ msgid "Settings of Nivo script were restored to defaults."
1145
- #~ msgstr "Ustawienia skryptu Nivo Lightbox zostały przywrócone."
1146
-
1147
- #~ msgid ""
1148
- #~ "Changes were not set to defaults because there was attempt to reset "
1149
- #~ "settings of inactive script. The site has been reloaded to the proper "
1150
- #~ "script settings."
1151
- #~ msgstr ""
1152
- #~ "Zmiany nie zostały przywrócone do domyślnych ponieważ wykryto próbę "
1153
- #~ "resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
1154
- #~ "prawidłowymi ustawieniami."
1155
-
1156
- #~ msgid "Are you sure you want to reset scripts settings to defaults?"
1157
- #~ msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
1158
-
1159
- #~ msgid ""
1160
- #~ "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
1161
- #~ "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are "
1162
- #~ "set to FALSE."
1163
- #~ msgstr ""
1164
- #~ "Jeśli będzie włączone, opcja \"overlayShow\" także zostanie ustawiona na "
1165
- #~ "TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
1166
- #~ "\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2014-09-04 21:25+0100\n"
5
+ "PO-Revision-Date: 2014-09-04 21:26+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: pl\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.7\n"
13
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../responsive-lightbox.php:294
19
  msgid "prettyPhoto"
20
  msgstr "prettyPhoto"
21
 
22
+ #: ../responsive-lightbox.php:296
23
  msgid "slow"
24
  msgstr "wolno"
25
 
26
+ #: ../responsive-lightbox.php:297
27
  msgid "normal"
28
  msgstr "normalnie"
29
 
30
+ #: ../responsive-lightbox.php:298
31
  msgid "fast"
32
  msgstr "szybko"
33
 
34
+ #: ../responsive-lightbox.php:301
35
  msgid "default"
36
  msgstr ""
37
 
38
+ #: ../responsive-lightbox.php:302
39
  msgid "light rounded"
40
  msgstr ""
41
 
42
+ #: ../responsive-lightbox.php:303
43
  msgid "dark rounded"
44
  msgstr ""
45
 
46
+ #: ../responsive-lightbox.php:304
47
  msgid "light square"
48
  msgstr ""
49
 
50
+ #: ../responsive-lightbox.php:305
51
  msgid "dark square"
52
  msgstr ""
53
 
54
+ #: ../responsive-lightbox.php:306
55
  msgid "facebook"
56
  msgstr ""
57
 
58
+ #: ../responsive-lightbox.php:309
59
  msgid "window"
60
  msgstr ""
61
 
62
+ #: ../responsive-lightbox.php:310
63
  msgid "transparent"
64
  msgstr ""
65
 
66
+ #: ../responsive-lightbox.php:311
67
  msgid "opaque"
68
  msgstr ""
69
 
70
+ #: ../responsive-lightbox.php:312
71
  msgid "direct"
72
  msgstr ""
73
 
74
+ #: ../responsive-lightbox.php:313
75
  msgid "gpu"
76
  msgstr ""
77
 
78
+ #: ../responsive-lightbox.php:317
79
  msgid "SwipeBox"
80
  msgstr "SwipeBox"
81
 
82
+ #: ../responsive-lightbox.php:319
83
  msgid "CSS"
84
  msgstr "CSS"
85
 
86
+ #: ../responsive-lightbox.php:320
87
  msgid "jQuery"
88
  msgstr "jQuery"
89
 
90
+ #: ../responsive-lightbox.php:324
91
  msgid "FancyBox"
92
  msgstr "FancyBox"
93
 
94
+ #: ../responsive-lightbox.php:326
95
  msgid "elastic"
96
  msgstr ""
97
 
98
+ #: ../responsive-lightbox.php:327 ../responsive-lightbox.php:348
 
99
  msgid "fade"
100
  msgstr ""
101
 
102
+ #: ../responsive-lightbox.php:328
103
  msgid "none"
104
  msgstr "brak"
105
 
106
+ #: ../responsive-lightbox.php:331
107
  msgid "auto"
108
  msgstr "automatycznie"
109
 
110
+ #: ../responsive-lightbox.php:332
111
  msgid "yes"
112
  msgstr "tak"
113
 
114
+ #: ../responsive-lightbox.php:333
115
  msgid "no"
116
  msgstr "nie"
117
 
118
+ #: ../responsive-lightbox.php:336
119
  msgid "swing"
120
  msgstr ""
121
 
122
+ #: ../responsive-lightbox.php:337
123
  msgid "linear"
124
  msgstr ""
125
 
126
+ #: ../responsive-lightbox.php:340
127
  msgid "outside"
128
  msgstr ""
129
 
130
+ #: ../responsive-lightbox.php:341
131
  msgid "inside"
132
  msgstr ""
133
 
134
+ #: ../responsive-lightbox.php:342
135
  msgid "over"
136
  msgstr ""
137
 
138
+ #: ../responsive-lightbox.php:346
139
  msgid "Nivo Lightbox"
140
  msgstr "Nivo Lightbox"
141
 
142
+ #: ../responsive-lightbox.php:349
143
  msgid "fade scale"
144
  msgstr "fade scale"
145
 
146
+ #: ../responsive-lightbox.php:350
147
  msgid "slide left"
148
  msgstr ""
149
 
150
+ #: ../responsive-lightbox.php:351
151
  msgid "slide right"
152
  msgstr "slide right"
153
 
154
+ #: ../responsive-lightbox.php:352
155
  msgid "slide up"
156
  msgstr ""
157
 
158
+ #: ../responsive-lightbox.php:353
159
  msgid "slide down"
160
  msgstr "slide down"
161
 
162
+ #: ../responsive-lightbox.php:354
163
  msgid "fall"
164
  msgstr ""
165
 
166
+ #: ../responsive-lightbox.php:358
167
  msgid "Image Lightbox"
168
  msgstr "Image Lightbox"
169
 
170
+ #: ../responsive-lightbox.php:363
171
+ msgid "Enable"
172
+ msgstr "Włącz"
173
 
174
+ #: ../responsive-lightbox.php:364
175
+ msgid "Disable"
176
+ msgstr "Wyłącz"
177
 
178
+ #: ../responsive-lightbox.php:368
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  msgid "Header"
180
  msgstr "W nagłówku"
181
 
182
+ #: ../responsive-lightbox.php:369
183
  msgid "Footer"
184
  msgstr "W stopce"
185
 
186
+ #: ../responsive-lightbox.php:374 ../responsive-lightbox.php:475
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  msgid "General settings"
188
  msgstr "Ustawienia ogólne"
189
 
190
+ #: ../responsive-lightbox.php:380 ../responsive-lightbox.php:489
191
+ msgid "Lightbox settings"
192
+ msgstr "Ustawienia lightbox"
193
+
194
+ #: ../responsive-lightbox.php:476
195
  msgid "Lightbox script"
196
  msgstr "Skrypt lightbox"
197
 
198
+ #: ../responsive-lightbox.php:477
 
 
 
 
 
 
 
 
 
199
  msgid "Selector"
200
  msgstr "Znacznik"
201
 
202
+ #: ../responsive-lightbox.php:478
203
+ msgid "Galleries"
204
+ msgstr "Galerie"
205
+
206
+ #: ../responsive-lightbox.php:479
207
+ msgid "Gallery image size"
208
+ msgstr "WIelkość obrazka w galerii"
209
+
210
+ #: ../responsive-lightbox.php:480
211
+ msgid "Video links"
212
+ msgstr "Linki video"
213
 
214
+ #: ../responsive-lightbox.php:481
215
  msgid "Image links"
216
  msgstr "Linki obrazków"
217
 
218
+ #: ../responsive-lightbox.php:482
219
+ msgid "Single images as gallery"
220
+ msgstr "Galeria pojedynczych obrazków"
221
 
222
+ #: ../responsive-lightbox.php:483
223
+ msgid "Custom events"
224
+ msgstr "Własne zdarzenia"
225
 
226
+ #: ../responsive-lightbox.php:484
227
+ msgid "Loading place"
228
+ msgstr "Ładowanie"
229
 
230
+ #: ../responsive-lightbox.php:485
231
+ msgid "Deactivation"
232
+ msgstr "Deaktywacja"
233
 
234
+ #: ../responsive-lightbox.php:493
235
+ msgid "Animation type"
236
+ msgstr "Typ animacji"
237
 
238
+ #: ../responsive-lightbox.php:494
239
+ msgid "Force PNG icons"
240
+ msgstr "Wymuszanie ikon PNG"
241
 
242
+ #: ../responsive-lightbox.php:495
243
+ msgid "Top and bottom bars"
244
+ msgstr "Górne i dolne paski"
245
 
246
+ #: ../responsive-lightbox.php:496
247
+ msgid "Video max width"
248
+ msgstr "Maksymalna szerokość video"
249
 
250
+ #: ../responsive-lightbox.php:500 ../responsive-lightbox.php:557
251
+ msgid "Animation speed"
252
+ msgstr "Szybkość animacji"
253
 
254
+ #: ../responsive-lightbox.php:501
255
+ msgid "Slideshow"
256
+ msgstr "Pokaz slidów"
257
 
258
+ #: ../responsive-lightbox.php:502
259
+ msgid "Slideshow autoplay"
260
+ msgstr "Automatyczne odtwarzanie pokazu slajdów"
261
 
262
+ #: ../responsive-lightbox.php:503 ../responsive-lightbox.php:533
263
+ msgid "Opacity"
264
+ msgstr "Przezroczystość"
265
 
266
+ #: ../responsive-lightbox.php:504
267
+ msgid "Show title"
268
+ msgstr "Wyświetlanie tytułu"
 
 
 
 
269
 
270
+ #: ../responsive-lightbox.php:505
271
+ msgid "Allow resize big images"
272
+ msgstr "Powiększanie dużych zdjęć"
273
 
274
+ #: ../responsive-lightbox.php:506
275
+ msgid "Allow expand"
276
+ msgstr "Zezwól na powiększanie"
277
 
278
+ #: ../responsive-lightbox.php:507 ../responsive-lightbox.php:545
279
+ msgid "Video width"
280
+ msgstr "Szerokość video"
281
 
282
+ #: ../responsive-lightbox.php:508 ../responsive-lightbox.php:546
283
+ msgid "Video height"
284
+ msgstr "Wysokość video"
 
285
 
286
+ #: ../responsive-lightbox.php:509
287
+ msgid "Theme"
288
+ msgstr "Motyw"
289
 
290
+ #: ../responsive-lightbox.php:510
291
+ msgid "Horizontal padding"
292
+ msgstr "Odstępy w poziomie"
293
 
294
+ #: ../responsive-lightbox.php:511
295
+ msgid "Hide Flash"
296
+ msgstr "Ukrywanie flash"
297
 
298
+ #: ../responsive-lightbox.php:512
299
+ msgid "Flash Window Mode (wmode)"
300
+ msgstr "Tryb okna flash (wmode)"
301
 
302
+ #: ../responsive-lightbox.php:513
303
+ msgid "Video autoplay"
304
+ msgstr "Automatyczne odtwarzanie wideo"
 
 
 
 
305
 
306
+ #: ../responsive-lightbox.php:514 ../responsive-lightbox.php:522
307
+ msgid "Modal"
308
+ msgstr "Tryb modal"
309
 
310
+ #: ../responsive-lightbox.php:515
311
+ msgid "Deeplinking"
312
+ msgstr "Głębokie linki"
313
 
314
+ #: ../responsive-lightbox.php:516
315
+ msgid "Overlay gallery"
316
+ msgstr "Efekt overlay galerii"
317
 
318
+ #: ../responsive-lightbox.php:517
319
+ msgid "Keyboard shortcuts"
320
+ msgstr "Skróty klawiaturowe"
321
 
322
+ #: ../responsive-lightbox.php:518
323
+ msgid "Social (Twitter, Facebook)"
324
+ msgstr "Linki społeczności (Twitter, Facebook)"
325
 
326
+ #: ../responsive-lightbox.php:523
327
+ msgid "Show overlay"
328
+ msgstr "Wyświetlanie tła"
329
 
330
+ #: ../responsive-lightbox.php:524
331
+ msgid "Show close button"
332
+ msgstr "Wyświetlanie przycisku Zamknij"
333
+
334
+ #: ../responsive-lightbox.php:525
335
+ msgid "Enable escape button"
336
+ msgstr "Wyświetlanie przycisku Wyjdź"
337
+
338
+ #: ../responsive-lightbox.php:526
339
+ msgid "Hide on overlay click"
340
+ msgstr "Ukryj po kliknięciu w tło"
341
+
342
+ #: ../responsive-lightbox.php:527
343
+ msgid "Hide on content click"
344
+ msgstr "Ukryj po kliknięciu w treść"
345
+
346
+ #: ../responsive-lightbox.php:528
347
+ msgid "Cyclic"
348
+ msgstr "Cykliczność"
349
+
350
+ #: ../responsive-lightbox.php:529
351
+ msgid "Show nav arrows"
352
+ msgstr "Wyświetlanie strzałek"
353
+
354
+ #: ../responsive-lightbox.php:530
355
+ msgid "Auto scale"
356
+ msgstr "Automatyczne skalowanie"
357
 
358
+ #: ../responsive-lightbox.php:531
359
+ msgid "Scrolling (in/out)"
360
+ msgstr "Przewijanie"
361
+
362
+ #: ../responsive-lightbox.php:532
363
+ msgid "Center on scroll"
364
+ msgstr "Centrowanie przy przewijaniu"
365
+
366
+ #: ../responsive-lightbox.php:534
367
+ msgid "Overlay opacity"
368
+ msgstr "Przezroczystość tła"
369
+
370
+ #: ../responsive-lightbox.php:535
371
+ msgid "Overlay color"
372
+ msgstr "Kolor tła"
373
 
374
+ #: ../responsive-lightbox.php:536
375
+ msgid "Title show"
376
+ msgstr "Wyświetlanie tytułu"
377
+
378
+ #: ../responsive-lightbox.php:537
379
+ msgid "Title position"
380
+ msgstr "Pozycja tytułu"
381
+
382
+ #: ../responsive-lightbox.php:538
383
+ msgid "Transition (in/out)"
384
+ msgstr "Efekty przejścia"
385
+
386
+ #: ../responsive-lightbox.php:539
387
+ msgid "Easings (in/out)"
388
+ msgstr "Wygładzanie animacji"
389
+
390
+ #: ../responsive-lightbox.php:540
391
+ msgid "Speed (in/out)"
392
+ msgstr "Szybkość"
393
+
394
+ #: ../responsive-lightbox.php:541
395
+ msgid "Change speed"
396
+ msgstr "Zmień szybkość"
397
+
398
+ #: ../responsive-lightbox.php:542
399
+ msgid "Change fade"
400
+ msgstr "Zmień zanikanie"
401
+
402
+ #: ../responsive-lightbox.php:543
403
+ msgid "Padding"
404
+ msgstr "Odstęp (padding)"
405
+
406
+ #: ../responsive-lightbox.php:544
407
+ msgid "Margin"
408
+ msgstr "Margines (margin)"
409
+
410
+ #: ../responsive-lightbox.php:550
411
+ msgid "Effect"
412
+ msgstr "Efekt"
413
+
414
+ #: ../responsive-lightbox.php:551
415
+ msgid "Click overlay to close"
416
+ msgstr "Kliknięcie poza obrazek"
417
+
418
+ #: ../responsive-lightbox.php:552
419
+ msgid "Keyboard navigation"
420
+ msgstr "Nawigacja klawiaturą"
421
+
422
+ #: ../responsive-lightbox.php:553
423
+ msgid "Error message"
424
+ msgstr "Treść komunikatu o błędzie"
425
+
426
+ #: ../responsive-lightbox.php:558
427
+ msgid "Preload next image"
428
+ msgstr "Wstępne ładowanie kolejnego obrazka"
429
+
430
+ #: ../responsive-lightbox.php:559
431
+ msgid "Enable keyboard keys"
432
+ msgstr "Obługa klawiaturą"
433
+
434
+ #: ../responsive-lightbox.php:560
435
+ msgid "Quit after last image"
436
+ msgstr "Wyjście po ostanim obrazku"
437
+
438
+ #: ../responsive-lightbox.php:561
439
+ msgid "Quit when image is clicked"
440
+ msgstr "Wyjście po kliknięciu w obrazek"
441
+
442
+ #: ../responsive-lightbox.php:562
443
+ msgid "Quit when anything but image is clicked"
444
+ msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
445
+
446
+ #: ../responsive-lightbox.php:582
447
+ msgid "Select your preffered ligthbox effect script."
448
+ msgstr "Wybierz preferowany efekt lightbox."
449
+
450
+ #: ../responsive-lightbox.php:592
451
+ msgid "Select to which rel selector lightbox effect will be applied to."
452
+ msgstr "Wybierz dla któego znacznika będzie dodawany efekt lightbox."
453
+
454
+ #: ../responsive-lightbox.php:612
455
+ msgid "Enable triggering lightbox on custom jquery events."
456
+ msgstr "Włącz uruchamianie efektu lightbox przy własnych zdarzeniach jquery."
457
+
458
+ #: ../responsive-lightbox.php:615
459
+ msgid "Enter a space separated list of events."
460
+ msgstr "Wpisz oddzieloną spacją listę wydarzeń."
461
+
462
+ #: ../responsive-lightbox.php:636
463
+ msgid "Select where all the lightbox scripts should be placed."
464
+ msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
465
+
466
+ #: ../responsive-lightbox.php:654
467
+ msgid "Add lightbox to WordPress image galleries by default."
468
+ msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
469
+
470
+ #: ../responsive-lightbox.php:674
471
+ msgid ""
472
+ "By default WP gallery links point to full size images only. Enable that to "
473
+ "modify the image size of native WP gallery image links."
474
  msgstr ""
475
+ "Domyślnie galerie w WordPressie linkują do obrazków o pełnym rozmiarze. "
476
+ "Włącze tę opcję, jeśli chcesz to zmodyfikwać. "
477
 
478
+ #: ../responsive-lightbox.php:684
479
+ msgid "full"
480
+ msgstr ""
481
 
482
+ #: ../responsive-lightbox.php:693
483
+ msgid "Select image size for gallery image links."
484
+ msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
485
 
486
+ #: ../responsive-lightbox.php:712
487
+ msgid "Add lightbox to YouTube and Vimeo video links by default."
488
+ msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
489
 
490
+ #: ../responsive-lightbox.php:730
491
+ msgid "Add lightbox to WordPress image links by default."
492
+ msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
493
+
494
+ #: ../responsive-lightbox.php:748
495
+ msgid "Display single post images as a gallery."
496
+ msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
497
+
498
+ #: ../responsive-lightbox.php:766
499
+ msgid "Delete settings on plugin deactivation."
500
+ msgstr "Usuń ustawienia przy deaktywacji wtyczki."
501
+
502
+ #: ../responsive-lightbox.php:784
503
+ msgid "Select a method of applying a lightbox effect."
504
+ msgstr "Wybierz sposób dodawania efekty lightbox."
505
 
506
+ #: ../responsive-lightbox.php:802
507
+ msgid ""
508
+ "Disable if you don't want to top and bottom bars to be hidden after a period "
509
+ "of time."
510
+ msgstr "Wyłącz to, jeśli nie chcesz ukrywać górnego i dolnego paska."
511
+
512
+ #: ../responsive-lightbox.php:805
513
  msgid ""
514
  "Enter the time after which the top and bottom bars will be hidden (when "
515
  "hiding is enabled)."
517
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
518
  "jest włączona)."
519
 
520
+ #: ../responsive-lightbox.php:816
 
 
 
 
521
  msgid "Enter the max video width in a lightbox."
522
  msgstr "Podaj maksymalną szerokość video."
523
 
524
+ #: ../responsive-lightbox.php:834
525
+ msgid ""
526
+ "Enable this if you're having problems with navigation icons not visible on "
527
+ "some devices."
528
+ msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
 
 
 
 
 
 
 
529
 
530
+ #: ../responsive-lightbox.php:852
531
  msgid "Select animation speed for lightbox effect."
532
  msgstr "Wybierz szybkość animacji efektu lightbox."
533
 
534
+ #: ../responsive-lightbox.php:870
535
+ msgid "Display images as slideshow."
536
+ msgstr "Wyświetl obrazki jako pokaz sladów ."
 
 
 
 
537
 
538
+ #: ../responsive-lightbox.php:873
539
  msgid "Enter time (in miliseconds)."
540
  msgstr "Podaj czas (w milisekundach)."
541
 
542
+ #: ../responsive-lightbox.php:892
 
 
 
 
543
  msgid "Automatically start slideshow."
544
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
545
 
546
+ #: ../responsive-lightbox.php:905
 
 
 
 
547
  msgid "Value between 0 and 100, 100 for no opacity."
548
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
549
 
550
+ #: ../responsive-lightbox.php:923
551
+ msgid "Display image tiltle."
 
 
 
 
552
  msgstr "Wyświetlanie tytułu obrazka."
553
 
554
+ #: ../responsive-lightbox.php:941
 
 
 
 
555
  msgid "Resize the photos bigger than viewport."
556
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
557
 
558
+ #: ../responsive-lightbox.php:959
559
+ msgid "Expands something."
560
+ msgstr "Powiększeniei okna."
 
 
 
 
561
 
562
+ #: ../responsive-lightbox.php:969 ../responsive-lightbox.php:979
563
+ msgid "in pixels"
564
+ msgstr "w pikselach"
 
 
 
 
565
 
566
+ #: ../responsive-lightbox.php:997
567
+ msgid "Select theme for lightbox effect."
 
 
 
 
568
  msgstr "Wybierz motyw dla efektu lightbox."
569
 
570
+ #: ../responsive-lightbox.php:1007
571
+ msgid "Horizontal padding (in pixels)."
572
+ msgstr "Odstępy w poziomie (w pikselach)."
 
 
 
 
573
 
574
+ #: ../responsive-lightbox.php:1025
575
  msgid ""
576
+ "Hides all the flash object on a page. Enable this if flash appears over "
577
  "prettyPhoto."
578
  msgstr ""
579
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
580
  "wyświetlane są nad lightboxem."
581
 
582
+ #: ../responsive-lightbox.php:1043
 
 
 
 
583
  msgid "Select flash window mode."
584
  msgstr "Wybierz tryb okna flash."
585
 
586
+ #: ../responsive-lightbox.php:1061
 
 
 
 
587
  msgid "Automatically start videos."
588
  msgstr "Automatycznie rozpoczynaj video."
589
 
590
+ #: ../responsive-lightbox.php:1079
 
 
 
 
591
  msgid "If set to true, only the close button will close the window."
592
  msgstr ""
593
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
594
 
595
+ #: ../responsive-lightbox.php:1097
 
 
 
 
596
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
597
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
598
 
599
+ #: ../responsive-lightbox.php:1115
 
 
 
 
600
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
601
  msgstr ""
602
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
603
  "najechaniu myszką."
604
 
605
+ #: ../responsive-lightbox.php:1133
 
 
 
 
606
  msgid "Set to false if you open forms inside prettyPhoto."
607
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
608
 
609
+ #: ../responsive-lightbox.php:1151
 
 
 
 
610
  msgid "Display links to Facebook and Twitter."
611
  msgstr "Wyświetl linki do Facebboka i Twittera."
612
 
613
+ #: ../responsive-lightbox.php:1169
614
+ msgid "The transition type."
615
+ msgstr "Typ animacji."
616
+
617
+ #: ../responsive-lightbox.php:1179
618
+ msgid "Space between FancyBox wrapper and content."
619
+ msgstr "Przestrzeń między FancyBox a treścią"
620
+
621
+ #: ../responsive-lightbox.php:1189
622
+ msgid "Space between viewport and FancyBox wrapper."
623
+ msgstr "Przestrzeń między ekranem a Fancybox"
624
+
625
+ #: ../responsive-lightbox.php:1207
626
  msgid ""
627
+ "When true, \"overlayShow\" is set to TRUE and \"hideOnOverlayClick\", "
628
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
629
+ "to FALSE."
630
  msgstr ""
631
+ "Jeśli będzie włączone, opcja \"overlayShow\" także zostanie ustawiona na "
632
+ "TRUE, natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
633
+ "\"enableEscapeButton\", \"showCloseButton\" zostaną ustawione na FALSE."
 
 
 
 
634
 
635
+ #: ../responsive-lightbox.php:1225
636
  msgid "Toggle overlay."
637
  msgstr "Włącz tło."
638
 
639
+ #: ../responsive-lightbox.php:1243
 
 
 
 
640
  msgid "Toggle close button."
641
  msgstr "Włącz przycisk Zamknij."
642
 
643
+ #: ../responsive-lightbox.php:1261
 
 
 
 
644
  msgid "Toggle if pressing Esc button closes FancyBox."
645
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
646
 
647
+ #: ../responsive-lightbox.php:1279
 
 
 
 
648
  msgid "Toggle if clicking the overlay should close FancyBox."
649
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
650
 
651
+ #: ../responsive-lightbox.php:1297
 
 
 
 
652
  msgid "Toggle if clicking the content should close FancyBox."
653
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
654
 
655
+ #: ../responsive-lightbox.php:1315
 
 
 
 
656
  msgid ""
657
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
658
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
659
 
660
+ #: ../responsive-lightbox.php:1333
 
 
 
 
661
  msgid "Toggle navigation arrows."
662
  msgstr "Włącz strzałki nawigacyjne."
663
 
664
+ #: ../responsive-lightbox.php:1351
 
 
 
 
665
  msgid "If true, FancyBox is scaled to fit in viewport."
666
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
667
 
668
+ #: ../responsive-lightbox.php:1369
 
 
 
 
669
  msgid "Set the overflow CSS property to create or hide scrollbars."
670
  msgstr ""
671
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
672
 
673
+ #: ../responsive-lightbox.php:1387
 
 
 
 
674
  msgid "When true, FancyBox is centered while scrolling page."
675
  msgstr ""
676
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
677
  "strony."
678
 
679
+ #: ../responsive-lightbox.php:1405
680
  msgid "When true, transparency of content is changed for elastic transitions."
681
  msgstr ""
682
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
683
  "animacji."
684
 
685
+ #: ../responsive-lightbox.php:1418
 
 
 
 
686
  msgid "Opacity of the overlay."
687
  msgstr "Przezroczystość tła."
688
 
689
+ #: ../responsive-lightbox.php:1428
 
 
 
 
690
  msgid "Color of the overlay."
691
  msgstr "Kolor tła."
692
 
693
+ #: ../responsive-lightbox.php:1446
 
 
 
 
694
  msgid "Toggle title."
695
  msgstr "Wyświetlanie tytułu."
696
 
697
+ #: ../responsive-lightbox.php:1464
 
 
 
 
698
  msgid "The position of title."
699
  msgstr "Pozycja tytułu."
700
 
701
+ #: ../responsive-lightbox.php:1482
 
 
 
 
 
 
 
 
 
 
 
 
702
  msgid "Easing used for elastic animations."
703
  msgstr "Wygładzanie animacji dla trybu elastic."
704
 
705
+ #: ../responsive-lightbox.php:1492
 
 
 
 
706
  msgid "Speed of the fade and elastic transitions, in milliseconds."
707
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
708
 
709
+ #: ../responsive-lightbox.php:1502
 
 
 
 
710
  msgid "Speed of resizing when changing gallery items, in milliseconds."
711
  msgstr ""
712
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
713
  "milisekundach)."
714
 
715
+ #: ../responsive-lightbox.php:1512
 
 
 
 
716
  msgid "Speed of the content fading while changing gallery items."
717
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
718
 
719
+ #: ../responsive-lightbox.php:1522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
  msgid "Width of the video."
721
  msgstr "Szerokość video."
722
 
723
+ #: ../responsive-lightbox.php:1532
724
  msgid "Height of the video."
725
  msgstr "Wysokość video."
726
 
727
+ #: ../responsive-lightbox.php:1550
 
 
 
 
728
  msgid "The effect to use when showing the lightbox."
729
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
730
 
731
+ #: ../responsive-lightbox.php:1568
732
+ msgid "Enable/Disable keyboard navigation (left/right/escape)."
733
+ msgstr ""
734
+ "Włącz / Wyłącz nawigację klawiaturą (strzałka w lewo, w prawo i przycisk ESC)"
 
 
 
 
 
 
 
 
 
 
 
735
 
736
+ #: ../responsive-lightbox.php:1586
737
+ msgid "Eneble to close lightbox on overlay click."
738
+ msgstr "Włącz aby zamykać lightbox po kliknięciu w obzar poza obrazkiem."
739
 
740
+ #: ../responsive-lightbox.php:1596
741
  msgid "Error message if the content cannot be loaded."
742
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
743
 
744
+ #: ../responsive-lightbox.php:1606
745
  msgid "Animation speed."
746
  msgstr "Szybkość animacji."
747
 
748
+ #: ../responsive-lightbox.php:1624
 
 
 
 
749
  msgid "Silently preload the next image."
750
  msgstr "W niezauważalny sposób ładuje kolejny obrazek."
751
 
752
+ #: ../responsive-lightbox.php:1642
 
 
 
 
753
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
754
  msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
755
 
756
+ #: ../responsive-lightbox.php:1660
 
 
 
 
757
  msgid "Quit after viewing the last image."
758
  msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
759
 
760
+ #: ../responsive-lightbox.php:1678
 
 
 
 
761
  msgid "Quit when the viewed image is clicked."
762
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
763
 
764
+ #: ../responsive-lightbox.php:1696
 
 
 
 
765
  msgid "Quit when anything but the viewed image is clicked."
766
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
767
 
768
+ #: ../responsive-lightbox.php:1938
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
769
  msgid ""
770
+ "Changes were not saved because there was attempt to save settings of "
771
+ "inactive script. The site has been reloaded to the proper script settings."
772
  msgstr ""
773
+ "Zmiany nie zostały zapisane ponieważ wykryto próbę zapisu ustawień "
774
+ "nieaktywnego skryptu. Strona została odświeżona z prawidłowymi ustawieniami."
 
 
 
 
 
 
 
775
 
776
+ #: ../responsive-lightbox.php:1948
777
+ msgid "Settings restored to defaults."
778
+ msgstr "Ustawienia zostały przywrócone do domyślnych."
 
 
 
 
 
 
 
 
779
 
780
+ #: ../responsive-lightbox.php:1956
781
+ msgid "Settings of SwipeBox script were restored to defaults."
782
+ msgstr "Ustawienia skryptu SwipeBox zostały przywrócone."
783
 
784
+ #: ../responsive-lightbox.php:1962
785
+ msgid "Settings of prettyPhoto script were restored to defaults."
786
+ msgstr "Ustawienia skryptu prettyPhoto zostały przywrócone."
787
 
788
+ #: ../responsive-lightbox.php:1968
789
+ msgid "Settings of FancyBox script were restored to defaults."
790
+ msgstr "Ustawienia skryptu FancyBox zostały przywrócone."
791
 
792
+ #: ../responsive-lightbox.php:1974
793
+ msgid "Settings of Nivo script were restored to defaults."
794
+ msgstr "Ustawienia skryptu Nivo Lightbox zostały przywrócone."
795
 
796
+ #: ../responsive-lightbox.php:1978
797
+ msgid ""
798
+ "Changes were not set to defaults because there was attempt to reset settings "
799
+ "of inactive script. The site has been reloaded to the proper script settings."
800
+ msgstr ""
801
+ "Zmiany nie zostały przywrócone do domyślnych ponieważ wykryto próbę "
802
+ "resetowania ustawień nieaktywnego skryptu. Strona została odświeżona z "
803
+ "prawidłowymi ustawieniami."
804
 
805
+ #: ../responsive-lightbox.php:1992 ../responsive-lightbox.php:1993
806
+ #: ../responsive-lightbox.php:2007 ../responsive-lightbox.php:2021
807
  msgid "Responsive Lightbox"
808
  msgstr "Efekt Lightbox"
809
 
810
+ #: ../responsive-lightbox.php:2023
811
  msgid "Need support?"
812
  msgstr "Potrzebujesz pomocy?"
813
 
814
+ #: ../responsive-lightbox.php:2024
815
  msgid ""
816
  "If you are having problems with this plugin, please talk about them in the"
817
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
818
 
819
+ #: ../responsive-lightbox.php:2024
820
  msgid "Support forum"
821
  msgstr "Forum pomocy"
822
 
823
+ #: ../responsive-lightbox.php:2026
824
  msgid "Do you like this plugin?"
825
  msgstr "Lubisz tę wtyczkę?"
826
 
827
+ #: ../responsive-lightbox.php:2027
828
  msgid "Rate it 5"
829
  msgstr "Oceń ją na 5"
830
 
831
+ #: ../responsive-lightbox.php:2027
832
  msgid "on WordPress.org"
833
  msgstr "na WordPress.org"
834
 
835
+ #: ../responsive-lightbox.php:2028
836
  msgid "Blog about it & link to the"
837
  msgstr "Napisz o niej i dodaj link"
838
 
839
+ #: ../responsive-lightbox.php:2028
840
  msgid "plugin page"
841
  msgstr "do strony wtyczki"
842
 
843
+ #: ../responsive-lightbox.php:2029
844
  msgid "Check out our other"
845
  msgstr "Sprawdź nasze pozostałe"
846
 
847
+ #: ../responsive-lightbox.php:2029
848
  msgid "WordPress plugins"
849
  msgstr "wtyczki do WordPress'a"
850
 
851
+ #: ../responsive-lightbox.php:2055
852
  msgid "Reset to defaults"
853
  msgstr "Resetuj do domyślnych"
854
 
855
+ #: ../responsive-lightbox.php:2082
856
+ msgid "Are you sure you want to reset these settings to defaults?"
857
+ msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
858
 
859
+ #: ../responsive-lightbox.php:2083
860
+ msgid "Are you sure you want to reset scripts settings to defaults?"
861
+ msgstr "Jesteś pewny, że chcesz zresetować ustawienia?"
 
 
 
 
 
862
 
863
+ #: ../responsive-lightbox.php:2373
864
  msgid "Support"
865
  msgstr "Pomoc"
866
 
867
+ #: ../responsive-lightbox.php:2395
868
  msgid "Settings"
869
  msgstr "Ustawienia"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/responsive-lightbox-ro_RO.mo DELETED
Binary file
languages/responsive-lightbox-ro_RO.po DELETED
@@ -1,949 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2015-06-11 11:26+0100\n"
5
- "PO-Revision-Date: 2015-06-14 14:11+0100\n"
6
- "Last-Translator: Chiritoiu Roman Victor <chr.vytza@gmail.com>\n"
7
- "Language-Team: dFactory <info@dfactory.eu>\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "X-Generator: Poedit 1.6.9\n"
12
- "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
13
- "X-Poedit-Basepath: .\n"
14
- "X-Poedit-SourceCharset: UTF-8\n"
15
- "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
16
- "2:1));\n"
17
- "Language: ro_RO\n"
18
- "X-Poedit-SearchPath-0: ..\n"
19
-
20
- #: ../includes/class-settings.php:46
21
- msgid "prettyPhoto"
22
- msgstr "prettyPhoto"
23
-
24
- #: ../includes/class-settings.php:48
25
- msgid "slow"
26
- msgstr "incet"
27
-
28
- #: ../includes/class-settings.php:49
29
- msgid "normal"
30
- msgstr "normal"
31
-
32
- #: ../includes/class-settings.php:50
33
- msgid "fast"
34
- msgstr "rapid"
35
-
36
- #: ../includes/class-settings.php:53
37
- msgid "default"
38
- msgstr "standard"
39
-
40
- #: ../includes/class-settings.php:54
41
- msgid "light rounded"
42
- msgstr "light rounded"
43
-
44
- #: ../includes/class-settings.php:55
45
- msgid "dark rounded"
46
- msgstr "dark rounded"
47
-
48
- #: ../includes/class-settings.php:56
49
- msgid "light square"
50
- msgstr "light square"
51
-
52
- #: ../includes/class-settings.php:57
53
- msgid "dark square"
54
- msgstr "dark square"
55
-
56
- #: ../includes/class-settings.php:58
57
- msgid "facebook"
58
- msgstr "facebook"
59
-
60
- #: ../includes/class-settings.php:61
61
- msgid "window"
62
- msgstr "window"
63
-
64
- #: ../includes/class-settings.php:62
65
- msgid "transparent"
66
- msgstr "transparent"
67
-
68
- #: ../includes/class-settings.php:63
69
- msgid "opaque"
70
- msgstr "opac"
71
-
72
- #: ../includes/class-settings.php:64
73
- msgid "direct"
74
- msgstr "direct"
75
-
76
- #: ../includes/class-settings.php:65
77
- msgid "gpu"
78
- msgstr "gpu"
79
-
80
- #: ../includes/class-settings.php:69
81
- msgid "SwipeBox"
82
- msgstr "SwipeBox"
83
-
84
- #: ../includes/class-settings.php:71
85
- msgid "CSS"
86
- msgstr "CSS"
87
-
88
- #: ../includes/class-settings.php:72
89
- msgid "jQuery"
90
- msgstr "jQuery"
91
-
92
- #: ../includes/class-settings.php:76
93
- msgid "FancyBox"
94
- msgstr "FancyBox"
95
-
96
- #: ../includes/class-settings.php:78
97
- msgid "elastic"
98
- msgstr "elastic"
99
-
100
- #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
101
- #: ../includes/class-settings.php:795
102
- msgid "fade"
103
- msgstr "fade"
104
-
105
- #: ../includes/class-settings.php:80
106
- msgid "none"
107
- msgstr "nimic"
108
-
109
- #: ../includes/class-settings.php:83
110
- msgid "auto"
111
- msgstr "auto"
112
-
113
- #: ../includes/class-settings.php:84
114
- msgid "yes"
115
- msgstr "da"
116
-
117
- #: ../includes/class-settings.php:85
118
- msgid "no"
119
- msgstr "nu"
120
-
121
- #: ../includes/class-settings.php:88
122
- msgid "swing"
123
- msgstr "leganare"
124
-
125
- #: ../includes/class-settings.php:89
126
- msgid "linear"
127
- msgstr "liniar"
128
-
129
- #: ../includes/class-settings.php:92
130
- msgid "outside"
131
- msgstr "in afara"
132
-
133
- #: ../includes/class-settings.php:93
134
- msgid "inside"
135
- msgstr "inauntru"
136
-
137
- #: ../includes/class-settings.php:94
138
- msgid "over"
139
- msgstr "deasupra"
140
-
141
- #: ../includes/class-settings.php:98
142
- msgid "Nivo Lightbox"
143
- msgstr "Nivo Lightbox"
144
-
145
- #: ../includes/class-settings.php:101
146
- msgid "fade scale"
147
- msgstr "scala fade"
148
-
149
- #: ../includes/class-settings.php:102
150
- msgid "slide left"
151
- msgstr "slide la stanga"
152
-
153
- #: ../includes/class-settings.php:103
154
- msgid "slide right"
155
- msgstr "slide dreapta"
156
-
157
- #: ../includes/class-settings.php:104
158
- msgid "slide up"
159
- msgstr "slide sus"
160
-
161
- #: ../includes/class-settings.php:105
162
- msgid "slide down"
163
- msgstr "slide jos"
164
-
165
- #: ../includes/class-settings.php:106
166
- msgid "fall"
167
- msgstr "fall"
168
-
169
- #: ../includes/class-settings.php:110
170
- msgid "Image Lightbox"
171
- msgstr "Image Lightbox"
172
-
173
- #: ../includes/class-settings.php:113
174
- msgid "TosRUs"
175
- msgstr "TosRUs"
176
-
177
- #: ../includes/class-settings.php:118
178
- msgid "None (default)"
179
- msgstr "Nimic (standard)"
180
-
181
- #: ../includes/class-settings.php:119
182
- msgid "Image Title"
183
- msgstr "Titlu Imagine"
184
-
185
- #: ../includes/class-settings.php:120
186
- msgid "Image Caption"
187
- msgstr "Eticheta Imagine"
188
-
189
- #: ../includes/class-settings.php:121
190
- msgid "Image Alt Text"
191
- msgstr "Text Alt Imagine"
192
-
193
- #: ../includes/class-settings.php:122
194
- msgid "Image Description"
195
- msgstr "Descriere Imagine"
196
-
197
- #: ../includes/class-settings.php:126
198
- msgid "Header"
199
- msgstr "Header"
200
-
201
- #: ../includes/class-settings.php:127
202
- msgid "Footer"
203
- msgstr "Footer"
204
-
205
- #: ../includes/class-settings.php:137
206
- msgid "Thumbnail"
207
- msgstr "Iconita"
208
-
209
- #: ../includes/class-settings.php:138
210
- msgid "Medium"
211
- msgstr "Mediu"
212
-
213
- #: ../includes/class-settings.php:139
214
- msgid "Large"
215
- msgstr "Mare"
216
-
217
- #: ../includes/class-settings.php:140
218
- msgid "Full Size (default)"
219
- msgstr "Marime Completa (standard)"
220
-
221
- #: ../includes/class-settings.php:150 ../includes/class-settings.php:869
222
- msgid "General settings"
223
- msgstr "Setari generale"
224
-
225
- #: ../includes/class-settings.php:159
226
- msgid "Lightbox script"
227
- msgstr "script Lightbox"
228
-
229
- #: ../includes/class-settings.php:165
230
- msgid "Select your preffered ligthbox effect script."
231
- msgstr "Alege efectul preferat de lightbox."
232
-
233
- #: ../includes/class-settings.php:172
234
- msgid "Selector"
235
- msgstr "Selector"
236
-
237
- #: ../includes/class-settings.php:175
238
- msgid "Enter the rel selector lightbox effect will be applied to."
239
- msgstr "Introdu efectul de lightbox ce va fi selectat."
240
-
241
- #: ../includes/class-settings.php:178
242
- msgid "Image links"
243
- msgstr "Link-uri imagine"
244
-
245
- #: ../includes/class-settings.php:181
246
- msgid "Add lightbox to WordPress image links by default."
247
- msgstr "Adauga lightbox la link-urile imaginilor WordPress standard."
248
-
249
- #: ../includes/class-settings.php:184
250
- msgid "Single images as gallery"
251
- msgstr "Imagini singulare ca si galerie"
252
-
253
- #: ../includes/class-settings.php:187
254
- msgid "Display single post images as a gallery."
255
- msgstr "Arata imaginile postarilor ca si galerie."
256
-
257
- #: ../includes/class-settings.php:190
258
- msgid "Galleries"
259
- msgstr "Galerii"
260
-
261
- #: ../includes/class-settings.php:193
262
- msgid "Add lightbox to WordPress image galleries by default."
263
- msgstr "Adauga lightbox la galeriile de imagini in WordPress standard."
264
-
265
- #: ../includes/class-settings.php:196
266
- msgid "Gallery image size"
267
- msgstr "Marime imagine galerie"
268
-
269
- #: ../includes/class-settings.php:199
270
- msgid "Select image size for gallery image links."
271
- msgstr "Selecteaza marime imagine pentru link-urile imaginii galeriei."
272
-
273
- #: ../includes/class-settings.php:203
274
- msgid "Gallery image title"
275
- msgstr "Titlu imagine galerie"
276
-
277
- #: ../includes/class-settings.php:206
278
- msgid "Select title for images in native WordPress galleries."
279
- msgstr "Selecteaza titlul pentru imagini in galeriile WordPress native."
280
-
281
- #: ../includes/class-settings.php:210
282
- msgid "Force gallery lightbox"
283
- msgstr "Forteaza galerie lightbox"
284
-
285
- #: ../includes/class-settings.php:213
286
- msgid ""
287
- "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
288
- "galleries."
289
- msgstr ""
290
- "Incearca sa fortezi lightbox pentru inlocuirea galeriei WP, precum cele din "
291
- "Jetpack."
292
-
293
- #: ../includes/class-settings.php:216
294
- msgid "Video links"
295
- msgstr "Link-uri video"
296
-
297
- #: ../includes/class-settings.php:219
298
- msgid "Add lightbox to YouTube and Vimeo video links by default."
299
- msgstr "Adauga lightbox la videoclipurile YouTube si Vimeo in mod standard."
300
-
301
- #: ../includes/class-settings.php:222
302
- msgid "Custom events"
303
- msgstr "Evenimente personalizate"
304
-
305
- #: ../includes/class-settings.php:228
306
- msgid "Enable triggering lightbox on custom jQuery events."
307
- msgstr "Activeaza pornirea lightbox la evenimente personalizate jQuery."
308
-
309
- #: ../includes/class-settings.php:232
310
- msgid "Enter a space separated list of events."
311
- msgstr "Introdu o lista de evenimente separate prin spatiu."
312
-
313
- #: ../includes/class-settings.php:237
314
- msgid "Loading place"
315
- msgstr "Incarcare loc"
316
-
317
- #: ../includes/class-settings.php:240
318
- msgid "Select where all the lightbox scripts should be placed."
319
- msgstr "Selecteaza unde sa fie pozitionate toate script-urile lightbox."
320
-
321
- #: ../includes/class-settings.php:244
322
- msgid "Delete data"
323
- msgstr "Sterge date"
324
-
325
- #: ../includes/class-settings.php:247
326
- msgid "Delete all plugin settings on deactivation."
327
- msgstr "Sterge toate setarile plugin-ului la dezactivare."
328
-
329
- #: ../includes/class-settings.php:257 ../includes/class-settings.php:875
330
- msgid "Lightbox settings"
331
- msgstr "Setari lightbox"
332
-
333
- #: ../includes/class-settings.php:275
334
- msgid "Animation type"
335
- msgstr "Tip animatie"
336
-
337
- #: ../includes/class-settings.php:279
338
- msgid "Select a method of applying a lightbox effect."
339
- msgstr "Selecteaza o metoda de aplicare efect lightbox."
340
-
341
- #: ../includes/class-settings.php:284
342
- msgid "Force PNG icons"
343
- msgstr "Forteaza iconite PNG"
344
-
345
- #: ../includes/class-settings.php:287
346
- msgid ""
347
- "Enable this if you're having problems with navigation icons not visible on "
348
- "some devices."
349
- msgstr ""
350
- "Activeaza asta daca ai probleme cu iconite de navigare care nu sunt vizibile "
351
- "pe anumite dispozitive."
352
-
353
- #: ../includes/class-settings.php:291
354
- msgid "Hide close on mobile"
355
- msgstr "Ascunde inchidere pe mobil"
356
-
357
- #: ../includes/class-settings.php:294
358
- msgid "Hide the close button on mobile devices."
359
- msgstr "Ascunde butonul de inchidere pe dispozitive mobile."
360
-
361
- #: ../includes/class-settings.php:298
362
- msgid "Remove bars on mobile"
363
- msgstr "Scoate bare pe mobil"
364
-
365
- #: ../includes/class-settings.php:301
366
- msgid "Hide the top and bottom bars on mobile devices."
367
- msgstr "Ascunde barele de sus si jos pe dispozitive mobile."
368
-
369
- #: ../includes/class-settings.php:305
370
- msgid "Top and bottom bars"
371
- msgstr "Bare sus si jos"
372
-
373
- #: ../includes/class-settings.php:311
374
- msgid "Hide top and bottom bars after a period of time."
375
- msgstr "Ascunde barele de sus si jos dupa o perioada."
376
-
377
- #: ../includes/class-settings.php:316
378
- msgid ""
379
- "Enter the time after which the top and bottom bars will be hidden (when "
380
- "hiding is enabled)."
381
- msgstr ""
382
- "Introdu timpul dupa care sa dispara barele de sus si jos (cand ai activat "
383
- "ascunderea)."
384
-
385
- #: ../includes/class-settings.php:323
386
- msgid "Video max width"
387
- msgstr "Lungima maxima video"
388
-
389
- #: ../includes/class-settings.php:326
390
- msgid "Enter the max video width in a lightbox."
391
- msgstr "Introdu marime maxima video in lightbox."
392
-
393
- #: ../includes/class-settings.php:331
394
- msgid "Loop at end"
395
- msgstr "Repeta la final"
396
-
397
- #: ../includes/class-settings.php:334
398
- msgid "True will return to the first image after the last image is reached."
399
- msgstr "Intoarcere la prima imagine cand a ajuns la capat."
400
-
401
- #: ../includes/class-settings.php:346 ../includes/class-settings.php:738
402
- msgid "Animation speed"
403
- msgstr "Viteza animatie"
404
-
405
- #: ../includes/class-settings.php:350
406
- msgid "Select animation speed for lightbox effect."
407
- msgstr "Selecteaza viteza animatie pentru efectul lightbox."
408
-
409
- #: ../includes/class-settings.php:355
410
- msgid "Slideshow"
411
- msgstr "Slideshow"
412
-
413
- #: ../includes/class-settings.php:361
414
- msgid "Display images as slideshow"
415
- msgstr "Arata imaginile ca si slideshow"
416
-
417
- #: ../includes/class-settings.php:366
418
- msgid "Enter time (in miliseconds)."
419
- msgstr "Introdu timpul (in milisecunde)."
420
-
421
- #: ../includes/class-settings.php:373
422
- msgid "Slideshow autoplay"
423
- msgstr "Autoplay slideshow"
424
-
425
- #: ../includes/class-settings.php:376 ../includes/class-settings.php:820
426
- msgid "Automatically start slideshow."
427
- msgstr "Porneste slideshow automat."
428
-
429
- #: ../includes/class-settings.php:380 ../includes/class-settings.php:582
430
- msgid "Opacity"
431
- msgstr "Opacitate"
432
-
433
- #: ../includes/class-settings.php:383
434
- msgid "Value between 0 and 100, 100 for no opacity."
435
- msgstr "Valori intre 0 si 100, 100 pentru fara opacitate."
436
-
437
- #: ../includes/class-settings.php:389
438
- msgid "Show title"
439
- msgstr "Arata titlu"
440
-
441
- #: ../includes/class-settings.php:392
442
- msgid "Display image title."
443
- msgstr "Arata titlu imagine."
444
-
445
- #: ../includes/class-settings.php:396
446
- msgid "Allow resize big images"
447
- msgstr "Permite redimensionare imagini mari"
448
-
449
- #: ../includes/class-settings.php:399
450
- msgid "Resize the photos bigger than viewport."
451
- msgstr "Redimensioneaza fotografiile mai mari decat disponibil."
452
-
453
- #: ../includes/class-settings.php:403
454
- msgid "Allow expand"
455
- msgstr "Permite expandare"
456
-
457
- #: ../includes/class-settings.php:406
458
- msgid "Allow expanding images."
459
- msgstr "Permite expandare imagini."
460
-
461
- #: ../includes/class-settings.php:410 ../includes/class-settings.php:676
462
- msgid "Video width"
463
- msgstr "Lungime video"
464
-
465
- #: ../includes/class-settings.php:417 ../includes/class-settings.php:684
466
- msgid "Video height"
467
- msgstr "Inaltime video"
468
-
469
- #: ../includes/class-settings.php:424
470
- msgid "Theme"
471
- msgstr "Tema"
472
-
473
- #: ../includes/class-settings.php:427
474
- msgid "Select the theme for lightbox effect."
475
- msgstr "Selecteaza tema pentru efectul lightbox."
476
-
477
- #: ../includes/class-settings.php:432
478
- msgid "Horizontal padding"
479
- msgstr "Padding orizontal"
480
-
481
- #: ../includes/class-settings.php:439
482
- msgid "Hide Flash"
483
- msgstr "Ascunde Flash"
484
-
485
- #: ../includes/class-settings.php:442
486
- msgid ""
487
- "Hide all the flash objects on a page. Enable this if flash appears over "
488
- "prettyPhoto."
489
- msgstr ""
490
- "Ascunde toate obiectele flash pe pagina. Activeaza asta daca flasul apare "
491
- "peste prettyPhoto."
492
-
493
- #: ../includes/class-settings.php:446
494
- msgid "Flash Window Mode (wmode)"
495
- msgstr "Flash Window Mode (wmode)"
496
-
497
- #: ../includes/class-settings.php:449
498
- msgid "Select flash window mode."
499
- msgstr "Selecteaza modul flash window."
500
-
501
- #: ../includes/class-settings.php:454
502
- msgid "Video autoplay"
503
- msgstr "Autoplay video"
504
-
505
- #: ../includes/class-settings.php:457
506
- msgid "Automatically start videos."
507
- msgstr "Porneste videoclipurile automat"
508
-
509
- #: ../includes/class-settings.php:461 ../includes/class-settings.php:504
510
- msgid "Modal"
511
- msgstr "Modal"
512
-
513
- #: ../includes/class-settings.php:464
514
- msgid "If set to true, only the close button will close the window."
515
- msgstr "Daca e setat adevarat, doar butonul inchidere va inchide fereastra."
516
-
517
- #: ../includes/class-settings.php:468
518
- msgid "Deeplinking"
519
- msgstr "Deeplinking"
520
-
521
- #: ../includes/class-settings.php:471
522
- msgid "Allow prettyPhoto to update the url to enable deeplinking."
523
- msgstr "Permite prettyPhoto sa actualizeze URL-ul pentru deeplinking."
524
-
525
- #: ../includes/class-settings.php:475
526
- msgid "Overlay gallery"
527
- msgstr "Galerie suprapusa"
528
-
529
- #: ../includes/class-settings.php:478
530
- msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
531
- msgstr ""
532
- "Daca activezi, o galerie va suprapune o imagine fullscreen cu mouse peste."
533
-
534
- #: ../includes/class-settings.php:482
535
- msgid "Keyboard shortcuts"
536
- msgstr "Scurtaturi tastatura"
537
-
538
- #: ../includes/class-settings.php:485
539
- msgid "Set to false if you open forms inside prettyPhoto."
540
- msgstr "Seteaza false daca deschizi formulare in prettyPhoto."
541
-
542
- #: ../includes/class-settings.php:489
543
- msgid "Social (Twitter, Facebook)"
544
- msgstr "Social (Twitter, Facebook)"
545
-
546
- #: ../includes/class-settings.php:492
547
- msgid "Display links to Facebook and Twitter."
548
- msgstr "Arata link-uri catre Facebook si Twitter."
549
-
550
- #: ../includes/class-settings.php:507
551
- msgid ""
552
- "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
553
- "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
554
- "to false."
555
- msgstr ""
556
- "Cand e activat, \"overlayShow\" e setat la true si \"hideOnOverlayClick\", "
557
- "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" sunt "
558
- "setate la false."
559
-
560
- #: ../includes/class-settings.php:511
561
- msgid "Show overlay"
562
- msgstr "Arata overlay"
563
-
564
- #: ../includes/class-settings.php:514
565
- msgid "Toggle overlay."
566
- msgstr "Toggle overlay."
567
-
568
- #: ../includes/class-settings.php:518
569
- msgid "Show close button"
570
- msgstr "Arata buton inchidere"
571
-
572
- #: ../includes/class-settings.php:521
573
- msgid "Toggle close button."
574
- msgstr "Toggle buton inchidere."
575
-
576
- #: ../includes/class-settings.php:525
577
- msgid "Enable escape button"
578
- msgstr "Activeaza buton inchidere"
579
-
580
- #: ../includes/class-settings.php:528
581
- msgid "Toggle if pressing Esc button closes FancyBox."
582
- msgstr "Alege daca tasta Esc inchide FancyBox."
583
-
584
- #: ../includes/class-settings.php:532
585
- msgid "Hide on overlay click"
586
- msgstr "Ascunde la click peste"
587
-
588
- #: ../includes/class-settings.php:535
589
- msgid "Toggle if clicking the overlay should close FancyBox."
590
- msgstr "Alege daca ar trebui inchis FancyBox cu click overlay."
591
-
592
- #: ../includes/class-settings.php:539
593
- msgid "Hide on content click"
594
- msgstr "Ascunde la click pe continut"
595
-
596
- #: ../includes/class-settings.php:542
597
- msgid "Toggle if clicking the content should close FancyBox."
598
- msgstr "Alege daca ar trebui inchis FancyBox la click pe continut."
599
-
600
- #: ../includes/class-settings.php:546
601
- msgid "Cyclic"
602
- msgstr "Ciclu"
603
-
604
- #: ../includes/class-settings.php:549
605
- msgid ""
606
- "When true, galleries will be cyclic, allowing you to keep pressing next/back."
607
- msgstr ""
608
- "Cand activat, galeriile vor fi ciclu continuu, si vor permite apasarea "
609
- "urmatoarea/inapoi."
610
-
611
- #: ../includes/class-settings.php:553
612
- msgid "Show nav arrows"
613
- msgstr "Arata sageti navigare"
614
-
615
- #: ../includes/class-settings.php:556
616
- msgid "Toggle navigation arrows."
617
- msgstr "Alege sageti navigare."
618
-
619
- #: ../includes/class-settings.php:560
620
- msgid "Auto scale"
621
- msgstr "Scalare automata"
622
-
623
- #: ../includes/class-settings.php:563
624
- msgid "If true, FancyBox is scaled to fit in viewport."
625
- msgstr "Daca activat, FancyBox e scalat sa incapa pe ecran."
626
-
627
- #: ../includes/class-settings.php:567
628
- msgid "Scrolling (in/out)"
629
- msgstr "Scrolling (in/out)"
630
-
631
- #: ../includes/class-settings.php:570
632
- msgid "Set the overflow CSS property to create or hide scrollbars."
633
- msgstr ""
634
- "Seteaza proprietatea overflow CSS pentru a crea sau ascunde bara de scroll."
635
-
636
- #: ../includes/class-settings.php:575
637
- msgid "Center on scroll"
638
- msgstr "Centreaza cu scroll"
639
-
640
- #: ../includes/class-settings.php:578
641
- msgid "When true, FancyBox is centered while scrolling page."
642
- msgstr "Cand activat, FancyBox se centreaza cand dai scroll."
643
-
644
- #: ../includes/class-settings.php:585
645
- msgid "When true, transparency of content is changed for elastic transitions."
646
- msgstr ""
647
- "Cand activat, transparenta continutului e schimbata cu tranzitii elastice."
648
-
649
- #: ../includes/class-settings.php:589
650
- msgid "Overlay opacity"
651
- msgstr "Opacitate overlay"
652
-
653
- #: ../includes/class-settings.php:592
654
- msgid "Opacity of the overlay."
655
- msgstr "Opacitatea suprapunerii."
656
-
657
- #: ../includes/class-settings.php:598
658
- msgid "Overlay color"
659
- msgstr "Culoare suprapunere"
660
-
661
- #: ../includes/class-settings.php:601
662
- msgid "Color of the overlay."
663
- msgstr "Culoarea suprapunerii."
664
-
665
- #: ../includes/class-settings.php:605
666
- msgid "Title show"
667
- msgstr "Arata titlu"
668
-
669
- #: ../includes/class-settings.php:608
670
- msgid "Toggle title."
671
- msgstr "Alege titlu."
672
-
673
- #: ../includes/class-settings.php:612
674
- msgid "Title position"
675
- msgstr "Pozitie titlu"
676
-
677
- #: ../includes/class-settings.php:615
678
- msgid "The position of title."
679
- msgstr "Pozitia titlului."
680
-
681
- #: ../includes/class-settings.php:620
682
- msgid "Transition (in/out)"
683
- msgstr "Tranzitie (in/out)"
684
-
685
- #: ../includes/class-settings.php:623
686
- msgid "The transition type."
687
- msgstr "Tipul tranzitiei."
688
-
689
- #: ../includes/class-settings.php:628
690
- msgid "Easings (in/out)"
691
- msgstr "Easings (in/out)"
692
-
693
- #: ../includes/class-settings.php:631
694
- msgid "Easing used for elastic animations."
695
- msgstr "Folosirea animatiilor elastice."
696
-
697
- #: ../includes/class-settings.php:636
698
- msgid "Speed (in/out)"
699
- msgstr "Viteza (in/out)"
700
-
701
- #: ../includes/class-settings.php:639
702
- msgid "Speed of the fade and elastic transitions, in milliseconds."
703
- msgstr "Viteza tranzitiilor fade si elastic, in milisecunde."
704
-
705
- #: ../includes/class-settings.php:644
706
- msgid "Change speed"
707
- msgstr "Schimba viteza"
708
-
709
- #: ../includes/class-settings.php:647
710
- msgid "Speed of resizing when changing gallery items, in milliseconds."
711
- msgstr ""
712
- "Viteza redimensionarii la schimbarea produselor din galerie, in milisecunde."
713
-
714
- #: ../includes/class-settings.php:652
715
- msgid "Change fade"
716
- msgstr "Schimba fade"
717
-
718
- #: ../includes/class-settings.php:655
719
- msgid "Speed of the content fading while changing gallery items."
720
- msgstr "Viteza disparitiei continutului cand apar schimbari in galerie."
721
-
722
- #: ../includes/class-settings.php:660
723
- msgid "Padding"
724
- msgstr "Padding"
725
-
726
- #: ../includes/class-settings.php:663
727
- msgid "Space between FancyBox wrapper and content."
728
- msgstr "Spatiul intre wrapper si continut din FancyBox."
729
-
730
- #: ../includes/class-settings.php:668
731
- msgid "Margin"
732
- msgstr "Margine"
733
-
734
- #: ../includes/class-settings.php:671
735
- msgid "Space between viewport and FancyBox wrapper."
736
- msgstr "Spatiul dintre wrapper si chenar FancyBox."
737
-
738
- #: ../includes/class-settings.php:679
739
- msgid "Width of the video."
740
- msgstr "Lungimea videoclipului."
741
-
742
- #: ../includes/class-settings.php:687
743
- msgid "Height of the video."
744
- msgstr "Inaltimea videoclipului."
745
-
746
- #: ../includes/class-settings.php:700
747
- msgid "Effect"
748
- msgstr "Efect"
749
-
750
- #: ../includes/class-settings.php:703
751
- msgid "The effect to use when showing the lightbox."
752
- msgstr "Efectul folosit cand apare lightbox."
753
-
754
- #: ../includes/class-settings.php:708 ../includes/class-settings.php:807
755
- msgid "Keyboard navigation"
756
- msgstr "Navigare tastatura"
757
-
758
- #: ../includes/class-settings.php:711 ../includes/class-settings.php:810
759
- msgid "Enable keyboard navigation (left/right/escape)."
760
- msgstr "Activeaza navigare tastatura (stanga/dreapta/iesire)."
761
-
762
- #: ../includes/class-settings.php:715
763
- msgid "Click overlay to close"
764
- msgstr "Click peste pentru inchidere"
765
-
766
- #: ../includes/class-settings.php:718
767
- msgid "Enable to close lightbox on overlay click."
768
- msgstr "Activeaza pentru inchidere lightbox cu click peste."
769
-
770
- #: ../includes/class-settings.php:722
771
- msgid "Error message"
772
- msgstr "Mesaj eroare"
773
-
774
- #: ../includes/class-settings.php:726
775
- msgid "Error message if the content cannot be loaded."
776
- msgstr "Mesaj eroare cand nu se incarca continutul."
777
-
778
- #: ../includes/class-settings.php:741
779
- msgid "Animation speed."
780
- msgstr "Viteza animatie."
781
-
782
- #: ../includes/class-settings.php:746
783
- msgid "Preload next image"
784
- msgstr "Preincarca urmatoarea imagine"
785
-
786
- #: ../includes/class-settings.php:749
787
- msgid "Silently preload the next image."
788
- msgstr "Preincarca usor urmatoarea imagine."
789
-
790
- #: ../includes/class-settings.php:753
791
- msgid "Enable keyboard keys"
792
- msgstr "Activeaza taste tastatura"
793
-
794
- #: ../includes/class-settings.php:756
795
- msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
796
- msgstr "Activeaza scurtaturi tastatura (sageti stanga/dreapta si Esc)."
797
-
798
- #: ../includes/class-settings.php:760
799
- msgid "Quit after last image"
800
- msgstr "Iesire dupa ultima imagine"
801
-
802
- #: ../includes/class-settings.php:763
803
- msgid "Quit after viewing the last image."
804
- msgstr "Iesire dupa vizualizarea ultimei imagini."
805
-
806
- #: ../includes/class-settings.php:767
807
- msgid "Quit on image click"
808
- msgstr "Iesire la click pe imagine"
809
-
810
- #: ../includes/class-settings.php:770
811
- msgid "Quit when the viewed image is clicked."
812
- msgstr "Iesire la click pe imaginea vizualizata."
813
-
814
- #: ../includes/class-settings.php:774
815
- msgid "Quit on anything click"
816
- msgstr "Iesire la orice click"
817
-
818
- #: ../includes/class-settings.php:777
819
- msgid "Quit when anything but the viewed image is clicked."
820
- msgstr "Iesire cand se da click pe orice in afara de imaginea vizualizata."
821
-
822
- #: ../includes/class-settings.php:789
823
- msgid "Transition effect"
824
- msgstr "Efect de tranzitie"
825
-
826
- #: ../includes/class-settings.php:792
827
- msgid "What effect to use for the transition."
828
- msgstr "Ce efect doresti pentru tranzitie."
829
-
830
- #: ../includes/class-settings.php:794
831
- msgid "slide"
832
- msgstr "slide"
833
-
834
- #: ../includes/class-settings.php:800
835
- msgid "Infinite loop"
836
- msgstr "Rulare la infinit"
837
-
838
- #: ../includes/class-settings.php:803
839
- msgid ""
840
- "Whether or not to slide back to the first slide when the last has been "
841
- "reached."
842
- msgstr "Intoarcere sau nu la primul slide cand a ajuns la ultimul."
843
-
844
- #: ../includes/class-settings.php:814
845
- msgid "Autoplay"
846
- msgstr "Autoplay"
847
-
848
- #: ../includes/class-settings.php:825
849
- msgid "The timeout between sliding to the next slide in milliseconds."
850
- msgstr "Timeout-ul pana la urmatorul slide in milisecunde."
851
-
852
- #: ../includes/class-settings.php:832
853
- msgid "Pause on hover"
854
- msgstr "Pauza pe hover"
855
-
856
- #: ../includes/class-settings.php:835
857
- msgid "Whether or not to pause on hover."
858
- msgstr "Sa se opreasca sau nu pe hover."
859
-
860
- #: ../includes/class-settings.php:839
861
- msgid "Pagination"
862
- msgstr "Paginatie"
863
-
864
- #: ../includes/class-settings.php:845
865
- msgid "Whether or not to add a pagination."
866
- msgstr "Sa adaugi sau nu paginatie."
867
-
868
- #: ../includes/class-settings.php:850
869
- msgid "What type of pagination to use."
870
- msgstr "Ce tip de paginatie sa folosesti."
871
-
872
- #: ../includes/class-settings.php:852
873
- msgid "Bullets"
874
- msgstr "Bullets"
875
-
876
- #: ../includes/class-settings.php:853
877
- msgid "Thumbnails"
878
- msgstr "Iconite"
879
-
880
- #: ../includes/class-settings.php:891 ../includes/class-settings.php:905
881
- #: ../includes/class-settings.php:918
882
- msgid "Responsive Lightbox"
883
- msgstr "Responsive Lightbox"
884
-
885
- #: ../includes/class-settings.php:920
886
- msgid "Need support?"
887
- msgstr "Ai nevoie de ajutor?"
888
-
889
- #: ../includes/class-settings.php:921
890
- msgid ""
891
- "If you are having problems with this plugin, please talk about them in the"
892
- msgstr "Daca aveti probleme cu acest plugin, va rugam sa le discutati in"
893
-
894
- #: ../includes/class-settings.php:921
895
- msgid "Support forum"
896
- msgstr "Forum suport"
897
-
898
- #: ../includes/class-settings.php:923
899
- msgid "Do you like this plugin?"
900
- msgstr "Iti place acest plugin?"
901
-
902
- #: ../includes/class-settings.php:930
903
- msgid "Rate it 5"
904
- msgstr "Da-i 5 stele"
905
-
906
- #: ../includes/class-settings.php:930
907
- msgid "on WordPress.org"
908
- msgstr "pe WordPress.org"
909
-
910
- #: ../includes/class-settings.php:931
911
- msgid "Blog about it & link to the"
912
- msgstr "Publica pe blog un articol si link catre"
913
-
914
- #: ../includes/class-settings.php:931
915
- msgid "plugin page"
916
- msgstr "pagina plugin"
917
-
918
- #: ../includes/class-settings.php:932
919
- msgid "Check out our other"
920
- msgstr "Verifica-ne si celelalte"
921
-
922
- #: ../includes/class-settings.php:932
923
- msgid "WordPress plugins"
924
- msgstr "plugin-uri WordPress"
925
-
926
- #: ../includes/class-settings.php:952
927
- msgid "Reset to defaults"
928
- msgstr "Revino la setarile initiale"
929
-
930
- #: ../includes/class-settings.php:1319
931
- msgid "Settings restored to defaults."
932
- msgstr "Setari standard restaurate."
933
-
934
- #: ../responsive-lightbox.php:285
935
- msgid "Support"
936
- msgstr "Suport"
937
-
938
- #: ../responsive-lightbox.php:304
939
- msgid "Settings"
940
- msgstr "Setari"
941
-
942
- #: ../responsive-lightbox.php:324
943
- msgid "Are you sure you want to reset these settings to defaults?"
944
- msgstr "Esti sigur/a ca vrei sa resetezi aceste setari la cele standard?"
945
-
946
- #: ../responsive-lightbox.php:325
947
- msgid "Are you sure you want to reset this script settings to defaults?"
948
- msgstr ""
949
- "Esti sigur/a ca vrei sa resetezi setarile acestui script la cele standard?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dfactory
3
  Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 4.0
6
- Tested up to: 4.5
7
- Stable tag: 1.6.8
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -40,25 +40,9 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
40
  * [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/)
41
  * [Masonry Image Gallery](https://www.dfactory.eu/products/masonry-image-gallery/)
42
  * [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/)
 
43
  * [Strip Lightbox](https://www.dfactory.eu/products/strip-lightbox/)
44
 
45
- = Translations: =
46
-
47
- * Czech - by Vaclav Hnilicka
48
- * Dutch - by [Sebas Blom](http://www.basbva.nl/)
49
- * Estonian - by Hugo Amtmann
50
- * French - by [Li-An](http://www.echodesplugins.li-an.fr/)
51
- * German - by [Andreas Reitberger](http://wdbase.de)
52
- * Hungarian - by [Zsolt Boda](http://cmfrt.net/)
53
- * Japanese - by stranger-jp
54
- * Persian - by [Ali Mirzaei](http://alimir.ir/)
55
- * Polish - by Bartosz Arendt
56
- * Romanian - by [Victor Chiritoiu](http://contacter.ro)
57
- * Russian - by [Konstantin](http://l-konstantin.ru)
58
- * Serbo-Croatian - by [Borisa Djuraskovic](http://www.webhostinghub.com/)
59
- * Slovak - by [Patrik Zec](http://patwist.com)
60
- * Spanish - by [Gaston](http://www.detodoynada.com.ar)
61
-
62
 
63
  == Installation ==
64
 
@@ -77,6 +61,12 @@ No questions yet.
77
 
78
  == Changelog ==
79
 
 
 
 
 
 
 
80
  = 1.6.8 =
81
  * Tweak: Tos "R" Us script caption issue when empty link title
82
  * Tweak: Undefined notice on extentions activation.
@@ -287,6 +277,6 @@ Initial release
287
 
288
  == Upgrade Notice ==
289
 
290
- = 1.6.8 =
291
- * Tweak: Tos "R" Us script caption issue when empty link title
292
- * Tweak: Undefined notice on extentions activation.
3
  Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 4.0
6
+ Tested up to: 4.6
7
+ Stable tag: 1.6.9
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
40
  * [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/)
41
  * [Masonry Image Gallery](https://www.dfactory.eu/products/masonry-image-gallery/)
42
  * [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/)
43
+ * [PhotoSwipe Lightbox](https://www.dfactory.eu/products/photoswipe-lightbox/)
44
  * [Strip Lightbox](https://www.dfactory.eu/products/strip-lightbox/)
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
  == Installation ==
48
 
61
 
62
  == Changelog ==
63
 
64
+ = 1.6.9 =
65
+ * New: [PhotoSwipe Lightbox](https://www.dfactory.eu/products/photoswipe-lightbox/) premium extension
66
+ * Fix: data-rel attribute missing in multiline links
67
+ * Tweak: Removed local translation files in favor of WP repository translations
68
+ * Tweak: SwipeBox script updated to 1.4.4
69
+
70
  = 1.6.8 =
71
  * Tweak: Tos "R" Us script caption issue when empty link title
72
  * Tweak: Undefined notice on extentions activation.
277
 
278
  == Upgrade Notice ==
279
 
280
+ = 1.6.9 =
281
+ * New: [PhotoSwipe Lightbox](https://www.dfactory.eu/products/photoswipe-lightbox/) premium extension
282
+ * Fix: data-rel attribute missing in multiline links
responsive-lightbox.php CHANGED
@@ -1,741 +1,741 @@
1
- <?php
2
- /*
3
- Plugin Name: Responsive Lightbox
4
- Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
- Version: 1.6.8
6
- Author: dFactory
7
- Author URI: http://www.dfactory.eu/
8
- Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
9
- License: MIT License
10
- License URI: http://opensource.org/licenses/MIT
11
- Text Domain: responsive-lightbox
12
- Domain Path: /languages
13
-
14
- Responsive Lightbox
15
- Copyright (C) 2013-2016, Digital Factory - info@digitalfactory.pl
16
-
17
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18
-
19
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- */
23
-
24
- // exit if accessed directly
25
- if ( ! defined( 'ABSPATH' ) )
26
- exit;
27
-
28
- define( 'RESPONSIVE_LIGHTBOX_URL', plugins_url( '', __FILE__ ) );
29
- define( 'RESPONSIVE_LIGHTBOX_PATH', plugin_dir_path( __FILE__ ) );
30
- define( 'RESPONSIVE_LIGHTBOX_REL_PATH', dirname( plugin_basename( __FILE__ ) ) . '/' );
31
-
32
- include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-frontend.php' );
33
- include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-settings.php' );
34
-
35
- /**
36
- * Responsive Lightbox class.
37
- *
38
- * @class Responsive_Lightbox
39
- * @version 1.6.8
40
- */
41
- class Responsive_Lightbox {
42
-
43
- public $defaults = array(
44
- 'settings' => array(
45
- 'script' => 'swipebox',
46
- 'selector' => 'lightbox',
47
- 'galleries' => true,
48
- 'gallery_image_size' => 'full',
49
- 'gallery_image_title' => 'default',
50
- 'force_custom_gallery' => false,
51
- 'woocommerce_gallery_lightbox' => false,
52
- 'videos' => true,
53
- 'image_links' => true,
54
- 'image_title' => 'default',
55
- 'images_as_gallery' => false,
56
- 'deactivation_delete' => false,
57
- 'loading_place' => 'header',
58
- 'conditional_loading' => false,
59
- 'enable_custom_events' => false,
60
- 'custom_events' => 'ajaxComplete',
61
- 'update_version' => 0,
62
- 'update_notice' => true
63
- ),
64
- 'configuration' => array(
65
- 'prettyphoto' => array(
66
- 'animation_speed' => 'normal',
67
- 'slideshow' => false,
68
- 'slideshow_delay' => 5000,
69
- 'slideshow_autoplay' => false,
70
- 'opacity' => 75,
71
- 'show_title' => true,
72
- 'allow_resize' => true,
73
- 'allow_expand' => true,
74
- 'width' => 1080,
75
- 'height' => 720,
76
- 'separator' => '/',
77
- 'theme' => 'pp_default',
78
- 'horizontal_padding' => 20,
79
- 'hide_flash' => false,
80
- 'wmode' => 'opaque',
81
- 'video_autoplay' => false,
82
- 'modal' => false,
83
- 'deeplinking' => false,
84
- 'overlay_gallery' => true,
85
- 'keyboard_shortcuts' => true,
86
- 'social' => false
87
- ),
88
- 'swipebox' => array(
89
- 'animation' => 'css',
90
- 'force_png_icons' => false,
91
- 'hide_close_mobile' => false,
92
- 'remove_bars_mobile' => false,
93
- 'hide_bars' => true,
94
- 'hide_bars_delay' => 5000,
95
- 'video_max_width' => 1080,
96
- 'loop_at_end' => false
97
- ),
98
- 'fancybox' => array(
99
- 'modal' => false,
100
- 'show_overlay' => true,
101
- 'show_close_button' => true,
102
- 'enable_escape_button' => true,
103
- 'hide_on_overlay_click' => true,
104
- 'hide_on_content_click' => false,
105
- 'cyclic' => false,
106
- 'show_nav_arrows' => true,
107
- 'auto_scale' => true,
108
- 'scrolling' => 'yes',
109
- 'center_on_scroll' => true,
110
- 'opacity' => true,
111
- 'overlay_opacity' => 70,
112
- 'overlay_color' => '#666',
113
- 'title_show' => true,
114
- 'title_position' => 'outside',
115
- 'transitions' => 'fade',
116
- 'easings' => 'swing',
117
- 'speeds' => 300,
118
- 'change_speed' => 300,
119
- 'change_fade' => 100,
120
- 'padding' => 5,
121
- 'margin' => 5,
122
- 'video_width' => 1080,
123
- 'video_height' => 720
124
- ),
125
- 'nivo' => array(
126
- 'effect' => 'fade',
127
- 'click_overlay_to_close' => true,
128
- 'keyboard_nav' => true,
129
- 'error_message' => 'The requested content cannot be loaded. Please try again later.'
130
- ),
131
- 'imagelightbox' => array(
132
- 'animation_speed' => 250,
133
- 'preload_next' => true,
134
- 'enable_keyboard' => true,
135
- 'quit_on_end' => false,
136
- 'quit_on_image_click' => false,
137
- 'quit_on_document_click' => true
138
- ),
139
- 'tosrus' => array(
140
- 'effect' => 'slide',
141
- 'infinite' => true,
142
- 'keys' => false,
143
- 'autoplay' => true,
144
- 'pause_on_hover' => false,
145
- 'timeout' => 4000,
146
- 'pagination' => true,
147
- 'pagination_type' => 'thumbnails'
148
- )
149
- ),
150
- 'version' => '1.6.8'
151
- );
152
- public $options = array();
153
- private $notices = array();
154
- private static $_instance;
155
-
156
- private function __clone() {}
157
- private function __wakeup() {}
158
-
159
- /**
160
- * Main Responsive Lightbox instance.
161
- */
162
- public static function instance() {
163
- if ( self::$_instance === null ) {
164
- self::$_instance = new self();
165
- }
166
- return self::$_instance;
167
- }
168
-
169
- public function __construct() {
170
- register_activation_hook( __FILE__, array( $this, 'activate_multisite' ) );
171
- register_deactivation_hook( __FILE__, array( $this, 'deactivate_multisite' ) );
172
-
173
- // change from older versions
174
- $db_version = get_option( 'responsive_lightbox_version' );
175
-
176
- if ( version_compare( ( $db_version === false ? '1.0.0' : $db_version ), '1.0.5', '<' ) ) {
177
- if ( ($array = get_option( 'rl_settings' )) !== false ) {
178
- update_option( 'responsive_lightbox_settings', $array );
179
- delete_option( 'rl_settings' );
180
- }
181
-
182
- if ( ($array = get_option( 'rl_configuration' )) !== false ) {
183
- update_option( 'responsive_lightbox_configuration', $array );
184
- delete_option( 'rl_configuration' );
185
- }
186
- }
187
-
188
- // update plugin version
189
- update_option( 'responsive_lightbox_version', $this->defaults['version'], '', 'no' );
190
-
191
- $this->options['settings'] = array_merge( $this->defaults['settings'], ( ($array = get_option( 'responsive_lightbox_settings' ) ) === false ? array() : $array ) );
192
-
193
- // for multi arrays we have to merge them separately
194
- $db_conf_opts = ( ( $base = get_option( 'responsive_lightbox_configuration' ) ) === false ? array() : $base );
195
-
196
- foreach ( $this->defaults['configuration'] as $script => $settings ) {
197
- $this->options['configuration'][$script] = array_merge( $settings, (isset( $db_conf_opts[$script] ) ? $db_conf_opts[$script] : array() ) );
198
- }
199
-
200
- // actions
201
- add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
202
- add_action( 'wp_enqueue_scripts', array( $this, 'front_scripts_styles' ) );
203
- add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts_styles' ) );
204
- add_action( 'admin_init', array( $this, 'update_notices' ) );
205
- add_action( 'admin_print_scripts', array( $this, 'admin_inline_js' ), 999 );
206
-
207
- // filters
208
- add_filter( 'plugin_action_links', array( $this, 'plugin_settings_link' ), 10, 2 );
209
- }
210
-
211
- /**
212
- * Single site activation function
213
- */
214
- public function activate_single() {
215
- add_option( 'responsive_lightbox_settings', $this->defaults['settings'], '', 'no' );
216
- add_option( 'responsive_lightbox_configuration', $this->defaults['configuration'], '', 'no' );
217
- add_option( 'responsive_lightbox_version', $this->defaults['version'], '', 'no' );
218
- }
219
-
220
- /**
221
- * Single site deactivation function
222
- */
223
- public function deactivate_single( $multi = false ) {
224
- if ( $multi === true ) {
225
- $options = get_option( 'responsive_lightbox_settings' );
226
- $check = $options['deactivation_delete'];
227
- } else
228
- $check = $this->options['settings']['deactivation_delete'];
229
-
230
- if ( $check === true ) {
231
- delete_option( 'responsive_lightbox_settings' );
232
- delete_option( 'responsive_lightbox_configuration' );
233
- delete_option( 'responsive_lightbox_version' );
234
- }
235
- }
236
-
237
- /**
238
- * Activation function
239
- */
240
- public function activate_multisite( $networkwide ) {
241
- if ( is_multisite() && $networkwide ) {
242
- global $wpdb;
243
-
244
- $activated_blogs = array();
245
- $current_blog_id = $wpdb->blogid;
246
- $blogs_ids = $wpdb->get_col( $wpdb->prepare( 'SELECT blog_id FROM ' . $wpdb->blogs, '' ) );
247
-
248
- foreach ( $blogs_ids as $blog_id ) {
249
- switch_to_blog( $blog_id );
250
- $this->activate_single();
251
- $activated_blogs[] = (int) $blog_id;
252
- }
253
-
254
- switch_to_blog( $current_blog_id );
255
- update_site_option( 'responsive_lightbox_activated_blogs', $activated_blogs, array() );
256
- } else
257
- $this->activate_single();
258
- }
259
-
260
- /**
261
- * Dectivation function
262
- */
263
- public function deactivate_multisite( $networkwide ) {
264
- if ( is_multisite() && $networkwide ) {
265
- global $wpdb;
266
-
267
- $current_blog_id = $wpdb->blogid;
268
- $blogs_ids = $wpdb->get_col( $wpdb->prepare( 'SELECT blog_id FROM ' . $wpdb->blogs, '' ) );
269
-
270
- if ( ($activated_blogs = get_site_option( 'responsive_lightbox_activated_blogs', false, false )) === false )
271
- $activated_blogs = array();
272
-
273
- foreach ( $blogs_ids as $blog_id ) {
274
- switch_to_blog( $blog_id );
275
- $this->deactivate_single( true );
276
-
277
- if ( in_array( (int) $blog_id, $activated_blogs, true ) )
278
- unset( $activated_blogs[array_search( $blog_id, $activated_blogs )] );
279
- }
280
-
281
- switch_to_blog( $current_blog_id );
282
- update_site_option( 'responsive_lightbox_activated_blogs', $activated_blogs );
283
- } else
284
- $this->deactivate_single();
285
- }
286
-
287
- /**
288
- * Load textdomain
289
- */
290
- public function load_textdomain() {
291
- load_plugin_textdomain( 'responsive-lightbox', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
292
- }
293
-
294
- /**
295
- * Update notices.
296
- */
297
- public function update_notices() {
298
- if ( ! current_user_can( 'install_plugins' ) )
299
- return;
300
-
301
- $current_update = 1;
302
-
303
- if ( $this->options['settings']['update_version'] < $current_update ) {
304
- // check version, if update ver is lower than plugin ver, set update notice to true
305
- $this->options['settings'] = array_merge( $this->options['settings'], array( 'update_version' => $current_update, 'update_notice' => true ) );
306
- update_option( 'responsive_lightbox_settings', $this->options['settings'] );
307
- } elseif ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'rl-hide-notice' ) {
308
- if ( wp_verify_nonce( $_REQUEST['rl_nonce'], 'rl_action' ) ) {
309
- // hide notice, if query arg is set, before it gets displayed
310
- $this->options['settings'] = array_merge( $this->options['settings'], array( 'update_notice' => false ) );
311
- update_option( 'responsive_lightbox_settings', $this->options['settings'] );
312
- } else {
313
- print_r( $_REQUEST );
314
- }
315
- }
316
-
317
- // display current version notice
318
- if ( $this->options['settings']['update_notice'] === true ) {
319
-
320
- $this->add_notice( sprintf(__( 'Thank you for installing Responsive Lightbox version %s. <a href="%s">Click here</a> to check out our latest extensions!', 'responsive-lightbox'), $this->defaults['version'], wp_nonce_url( add_query_arg( array( 'action' => 'rl-hide-notice' ), admin_url( 'options-general.php' ) . '?page=responsive-lightbox&tab=addons' ), 'rl_action', 'rl_nonce' ) ), 'updated notice is-dismissible rl-notice' );
321
- }
322
- }
323
-
324
- /**
325
- * Add admin notices.
326
- */
327
- public function add_notice( $html = '', $status = 'error', $paragraph = true, $network = false ) {
328
- $this->notices[] = array(
329
- 'html' => $html,
330
- 'status' => $status,
331
- 'paragraph' => $paragraph
332
- );
333
-
334
- add_action( 'admin_notices', array( $this, 'display_notice') );
335
-
336
- if( $network )
337
- add_action( 'network_admin_notices', array( $this, 'display_notice') );
338
- }
339
-
340
- /**
341
- * Print admin notices.
342
- */
343
- public function display_notice() {
344
- foreach( $this->notices as $notice ) {
345
- echo '
346
- <div class="' . $notice['status'] . '">
347
- ' . ( $notice['paragraph'] ? '<p>' : '' ) . '
348
- ' . $notice['html'] . '
349
- ' . ( $notice['paragraph'] ? '</p>' : '' ) . '
350
- </div>';
351
- }
352
- }
353
-
354
- /**
355
- * Print admin scripts.
356
- */
357
- public function admin_inline_js() {
358
- if ( ! current_user_can( 'install_plugins' ) )
359
- return;
360
- ?>
361
- <script type="text/javascript">
362
- ( function ( $ ) {
363
- $( document ).ready( function () {
364
- // save dismiss state
365
- $( '.rl-notice.is-dismissible' ).on( 'click', '.notice-dismiss', function ( e ) {
366
- e.preventDefault();
367
-
368
- $.post( ajaxurl, {
369
- action: 'rl-hide-notice',
370
- url: '<?php echo admin_url( 'admin-ajax.php' ); ?>',
371
- rl_nonce: '<?php echo wp_create_nonce( 'rl_action' ); ?>'
372
- } );
373
-
374
- } );
375
- } );
376
- } )( jQuery );
377
- </script>
378
- <?php
379
- }
380
-
381
- /**
382
- * Add links to Support Forum
383
- */
384
- public function plugin_extend_links( $links, $file ) {
385
- if ( ! current_user_can( 'install_plugins' ) )
386
- return $links;
387
-
388
- $plugin = plugin_basename( __FILE__ );
389
-
390
- if ( $file == $plugin ) {
391
- return array_merge(
392
- $links, array( sprintf( '<a href="http://www.dfactory.eu/support/forum/responsive-lightbox/" target="_blank">%s</a>', __( 'Support', 'responsive-lightbox' ) ) )
393
- );
394
- }
395
-
396
- return $links;
397
- }
398
-
399
- /**
400
- * Add links to Settings page
401
- */
402
- public function plugin_settings_link( $links, $file ) {
403
- if ( ! is_admin() || ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', 'manage_options' ) ) )
404
- return $links;
405
-
406
- static $plugin;
407
-
408
- $plugin = plugin_basename( __FILE__ );
409
-
410
- if ( $file == $plugin ) {
411
- $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php' ) . '?page=responsive-lightbox', __( 'Settings', 'responsive-lightbox' ) );
412
- array_unshift( $links, $settings_link );
413
- }
414
-
415
- return $links;
416
- }
417
-
418
- /**
419
- * Enqueue admin scripts and styles
420
- */
421
- public function admin_scripts_styles( $page ) {
422
- if ( $page === 'settings_page_responsive-lightbox' ) {
423
-
424
- wp_register_script(
425
- 'responsive-lightbox-admin', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery', 'wp-color-picker' ), $this->defaults['version']
426
- );
427
- wp_enqueue_script( 'responsive-lightbox-admin' );
428
-
429
- wp_localize_script(
430
- 'responsive-lightbox-admin', 'rlArgs', array(
431
- 'resetSettingsToDefaults' => __( 'Are you sure you want to reset these settings to defaults?', 'responsive-lightbox' ),
432
- 'resetScriptToDefaults' => __( 'Are you sure you want to reset this script settings to defaults?', 'responsive-lightbox' ),
433
- )
434
- );
435
-
436
- wp_enqueue_style( 'wp-color-picker' );
437
-
438
- wp_register_style(
439
- 'responsive-lightbox-admin', plugins_url( 'css/admin.css', __FILE__ ), array(), $this->defaults['version']
440
- );
441
- wp_enqueue_style( 'responsive-lightbox-admin' );
442
- }
443
- }
444
-
445
- /**
446
- * Enqueue frontend scripts and styles
447
- */
448
- public function front_scripts_styles() {
449
-
450
- $args = apply_filters( 'rl_lightbox_args', array(
451
- 'script' => $this->options['settings']['script'],
452
- 'selector' => $this->options['settings']['selector'],
453
- 'customEvents' => ( $this->options['settings']['enable_custom_events'] === true ? ' ' . $this->options['settings']['custom_events'] : '' ),
454
- 'activeGalleries' => $this->get_boolean_value( $this->options['settings']['galleries'] )
455
- ) );
456
-
457
- $scripts = array();
458
- $styles = array();
459
-
460
- switch ( $args['script'] ) {
461
-
462
- case 'prettyphoto' :
463
-
464
- wp_register_script(
465
- 'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/js/jquery.prettyPhoto.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
466
- );
467
- wp_register_style(
468
- 'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/css/prettyPhoto.css', __FILE__ ), array(), $this->defaults['version']
469
- );
470
-
471
- $scripts[] = 'responsive-lightbox-prettyphoto';
472
- $styles[] = 'responsive-lightbox-prettyphoto';
473
-
474
- $args = array_merge(
475
- $args, array(
476
- 'animationSpeed' => $this->options['configuration']['prettyphoto']['animation_speed'],
477
- 'slideshow' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['slideshow'] ),
478
- 'slideshowDelay' => $this->options['configuration']['prettyphoto']['slideshow_delay'],
479
- 'slideshowAutoplay' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['slideshow_autoplay'] ),
480
- 'opacity' => sprintf( '%.2f', ($this->options['configuration']['prettyphoto']['opacity'] / 100 ) ),
481
- 'showTitle' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['show_title'] ),
482
- 'allowResize' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['allow_resize'] ),
483
- 'allowExpand' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['allow_expand'] ),
484
- 'width' => $this->options['configuration']['prettyphoto']['width'],
485
- 'height' => $this->options['configuration']['prettyphoto']['height'],
486
- 'separator' => $this->options['configuration']['prettyphoto']['separator'],
487
- 'theme' => $this->options['configuration']['prettyphoto']['theme'],
488
- 'horizontalPadding' => $this->options['configuration']['prettyphoto']['horizontal_padding'],
489
- 'hideFlash' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['hide_flash'] ),
490
- 'wmode' => $this->options['configuration']['prettyphoto']['wmode'],
491
- 'videoAutoplay' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['video_autoplay'] ),
492
- 'modal' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['modal'] ),
493
- 'deeplinking' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['deeplinking'] ),
494
- 'overlayGallery' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['overlay_gallery'] ),
495
- 'keyboardShortcuts' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['keyboard_shortcuts'] ),
496
- 'social' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['social'] )
497
- )
498
- );
499
-
500
- break;
501
-
502
- case 'swipebox' :
503
-
504
- wp_register_script(
505
- 'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/js/jquery.swipebox.min.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
506
- );
507
- wp_register_style(
508
- 'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/css/swipebox.min.css', __FILE__ ), array(), $this->defaults['version']
509
- );
510
-
511
- $scripts[] = 'responsive-lightbox-swipebox';
512
- $styles[] = 'responsive-lightbox-swipebox';
513
-
514
- $args = array_merge(
515
- $args, array(
516
- 'animation' => $this->get_boolean_value( ($this->options['configuration']['swipebox']['animation'] === 'css' ? true : false ) ),
517
- 'hideCloseButtonOnMobile' => $this->get_boolean_value( $this->options['configuration']['swipebox']['hide_close_mobile'] ),
518
- 'removeBarsOnMobile' => $this->get_boolean_value( $this->options['configuration']['swipebox']['remove_bars_mobile'] ),
519
- 'hideBars' => $this->get_boolean_value( $this->options['configuration']['swipebox']['hide_bars'] ),
520
- 'hideBarsDelay' => $this->options['configuration']['swipebox']['hide_bars_delay'],
521
- 'videoMaxWidth' => $this->options['configuration']['swipebox']['video_max_width'],
522
- 'useSVG' => ! $this->options['configuration']['swipebox']['force_png_icons'],
523
- 'loopAtEnd' => $this->get_boolean_value( $this->options['configuration']['swipebox']['loop_at_end'] )
524
- )
525
- );
526
-
527
- break;
528
-
529
- case 'fancybox' :
530
-
531
- wp_register_script(
532
- 'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
533
- );
534
- wp_register_style(
535
- 'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.css', __FILE__ ), array(), $this->defaults['version']
536
- );
537
-
538
- $scripts[] = 'responsive-lightbox-fancybox';
539
- $styles[] = 'responsive-lightbox-fancybox';
540
-
541
- $args = array_merge(
542
- $args, array(
543
- 'modal' => $this->get_boolean_value( $this->options['configuration']['fancybox']['modal'] ),
544
- 'showOverlay' => $this->get_boolean_value( $this->options['configuration']['fancybox']['show_overlay'] ),
545
- 'showCloseButton' => $this->get_boolean_value( $this->options['configuration']['fancybox']['show_close_button'] ),
546
- 'enableEscapeButton' => $this->get_boolean_value( $this->options['configuration']['fancybox']['enable_escape_button'] ),
547
- 'hideOnOverlayClick' => $this->get_boolean_value( $this->options['configuration']['fancybox']['hide_on_overlay_click'] ),
548
- 'hideOnContentClick' => $this->get_boolean_value( $this->options['configuration']['fancybox']['hide_on_content_click'] ),
549
- 'cyclic' => $this->get_boolean_value( $this->options['configuration']['fancybox']['cyclic'] ),
550
- 'showNavArrows' => $this->get_boolean_value( $this->options['configuration']['fancybox']['show_nav_arrows'] ),
551
- 'autoScale' => $this->get_boolean_value( $this->options['configuration']['fancybox']['auto_scale'] ),
552
- 'scrolling' => $this->options['configuration']['fancybox']['scrolling'],
553
- 'centerOnScroll' => $this->get_boolean_value( $this->options['configuration']['fancybox']['center_on_scroll'] ),
554
- 'opacity' => $this->get_boolean_value( $this->options['configuration']['fancybox']['opacity'] ),
555
- 'overlayOpacity' => $this->options['configuration']['fancybox']['overlay_opacity'],
556
- 'overlayColor' => $this->options['configuration']['fancybox']['overlay_color'],
557
- 'titleShow' => $this->get_boolean_value( $this->options['configuration']['fancybox']['title_show'] ),
558
- 'titlePosition' => $this->options['configuration']['fancybox']['title_position'],
559
- 'transitions' => $this->options['configuration']['fancybox']['transitions'],
560
- 'easings' => $this->options['configuration']['fancybox']['easings'],
561
- 'speeds' => $this->options['configuration']['fancybox']['speeds'],
562
- 'changeSpeed' => $this->options['configuration']['fancybox']['change_speed'],
563
- 'changeFade' => $this->options['configuration']['fancybox']['change_fade'],
564
- 'padding' => $this->options['configuration']['fancybox']['padding'],
565
- 'margin' => $this->options['configuration']['fancybox']['margin'],
566
- 'videoWidth' => $this->options['configuration']['fancybox']['video_width'],
567
- 'videoHeight' => $this->options['configuration']['fancybox']['video_height']
568
- )
569
- );
570
-
571
- break;
572
-
573
- case 'nivo' :
574
-
575
- wp_register_script(
576
- 'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.min.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true ), $this->defaults['version']
577
- );
578
- wp_register_style(
579
- 'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.css', __FILE__ ), array(), $this->defaults['version']
580
- );
581
- wp_register_style(
582
- 'responsive-lightbox-nivo-default', plugins_url( 'assets/nivo/themes/default/default.css', __FILE__ ), array(), $this->defaults['version']
583
- );
584
-
585
- $scripts[] = 'responsive-lightbox-nivo';
586
- $styles[] = 'responsive-lightbox-nivo';
587
- $styles[] = 'responsive-lightbox-nivo-default';
588
-
589
- $args = array_merge(
590
- $args, array(
591
- 'effect' => $this->options['configuration']['nivo']['effect'],
592
- 'clickOverlayToClose' => $this->get_boolean_value( $this->options['configuration']['nivo']['click_overlay_to_close'] ),
593
- 'keyboardNav' => $this->get_boolean_value( $this->options['configuration']['nivo']['keyboard_nav'] ),
594
- 'errorMessage' => esc_attr( $this->options['configuration']['nivo']['error_message'] )
595
- )
596
- );
597
-
598
- break;
599
-
600
- case 'imagelightbox' :
601
-
602
- wp_register_script(
603
- 'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/js/imagelightbox.min.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
604
- );
605
- wp_register_style(
606
- 'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/css/imagelightbox.css', __FILE__ ), array(), $this->defaults['version']
607
- );
608
-
609
- $scripts[] = 'responsive-lightbox-imagelightbox';
610
- $styles[] = 'responsive-lightbox-imagelightbox';
611
-
612
- $args = array_merge(
613
- $args, array(
614
- 'animationSpeed' => $this->options['configuration']['imagelightbox']['animation_speed'],
615
- 'preloadNext' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['preload_next'] ),
616
- 'enableKeyboard' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['enable_keyboard'] ),
617
- 'quitOnEnd' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_end'] ),
618
- 'quitOnImageClick' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_image_click'] ),
619
- 'quitOnDocumentClick' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_document_click'] ),
620
- )
621
- );
622
-
623
- break;
624
-
625
- case 'tosrus' :
626
-
627
- // swipe support, enqueue Hammer.js on mobile devices only
628
- if ( wp_is_mobile() ) {
629
- wp_register_script(
630
- 'responsive-lightbox-hammer-js', plugins_url( 'assets/tosrus/js/hammer.min.js', __FILE__ ), array(), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
631
- );
632
- $scripts[] = 'responsive-lightbox-hammer-js';
633
- }
634
-
635
- wp_register_script(
636
- 'responsive-lightbox-tosrus', plugins_url( 'assets/tosrus/js/jquery.tosrus.min.all.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
637
- );
638
- wp_register_style(
639
- 'responsive-lightbox-tosrus', plugins_url( 'assets/tosrus/css/jquery.tosrus.all.css', __FILE__ ), array(), $this->defaults['version']
640
- );
641
-
642
- $scripts[] = 'responsive-lightbox-tosrus';
643
- $styles[] = 'responsive-lightbox-tosrus';
644
-
645
- $args = array_merge( $args, array(
646
- 'effect' => $this->options['configuration']['tosrus']['effect'],
647
- 'infinite' => $this->get_boolean_value( $this->options['configuration']['tosrus']['infinite'] ),
648
- 'keys' => $this->get_boolean_value( $this->options['configuration']['tosrus']['keys'] ),
649
- 'autoplay' => $this->get_boolean_value( $this->options['configuration']['tosrus']['autoplay'] ),
650
- 'pauseOnHover' => $this->get_boolean_value( $this->options['configuration']['tosrus']['pause_on_hover'] ),
651
- 'timeout' => $this->options['configuration']['tosrus']['timeout'],
652
- 'pagination' => $this->get_boolean_value( $this->options['configuration']['tosrus']['pagination'] ),
653
- 'paginationType' => $this->options['configuration']['tosrus']['pagination_type']
654
- )
655
- );
656
-
657
- break;
658
-
659
- default :
660
-
661
- do_action( 'rl_lightbox_enqueue_scripts' );
662
-
663
- $scripts = apply_filters( 'rl_lightbox_scripts', $scripts );
664
- $styles = apply_filters( 'rl_lightbox_styles', $styles );
665
-
666
- break;
667
- }
668
-
669
- // run scripts by default
670
- $contitional_scripts = true;
671
-
672
- if ( $this->options['settings']['conditional_loading'] === true ) {
673
-
674
- global $post;
675
-
676
- if ( is_object( $post ) ) {
677
-
678
- // is gallery present in content
679
- $has_gallery = has_shortcode( $post->post_content, 'gallery' );
680
-
681
- // are images present in content
682
- preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $post->post_content, $links );
683
-
684
- $has_images = (bool) $links[0];
685
-
686
- if ( $has_gallery === false && $has_images === false ) {
687
- $contitional_scripts = false;
688
- }
689
-
690
- }
691
-
692
- }
693
-
694
- if ( ! empty( $args['script'] ) && ! empty( $args['selector'] ) && apply_filters( 'rl_lightbox_conditional_loading', $contitional_scripts ) != false ) {
695
-
696
- wp_register_script( 'responsive-lightbox', plugins_url( 'js/front.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ( $this->options['settings']['loading_place'] === 'header' ? false : true ) );
697
-
698
- $scripts[] = 'responsive-lightbox';
699
-
700
- // enqueue scripts
701
- if ( $scripts && is_array( $scripts ) ) {
702
- foreach ( $scripts as $script ) {
703
- wp_enqueue_script( $script );
704
- }
705
-
706
- wp_localize_script( 'responsive-lightbox', 'rlArgs', $args );
707
- }
708
-
709
- // enqueue styles
710
- if ( $styles && is_array( $styles ) ) {
711
- foreach ( $styles as $style ) {
712
- wp_enqueue_style( $style );
713
- }
714
- }
715
- }
716
- }
717
-
718
- /**
719
- * Helper: convert value to boolean
720
- */
721
- private function get_boolean_value( $option ) {
722
- return ( $option == true ? 1 : 0 );
723
- }
724
-
725
- }
726
-
727
- /**
728
- * Initialise Responsive Lightbox.
729
- */
730
- function Responsive_Lightbox() {
731
- static $instance;
732
-
733
- // first call to instance() initializes the plugin
734
- if ( $instance === null || ! ($instance instanceof Responsive_Lightbox) ) {
735
- $instance = Responsive_Lightbox::instance();
736
- }
737
-
738
- return $instance;
739
- }
740
-
741
  $responsive_lightbox = Responsive_Lightbox();
1
+ <?php
2
+ /*
3
+ Plugin Name: Responsive Lightbox
4
+ Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
+ Version: 1.6.9
6
+ Author: dFactory
7
+ Author URI: http://www.dfactory.eu/
8
+ Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
9
+ License: MIT License
10
+ License URI: http://opensource.org/licenses/MIT
11
+ Text Domain: responsive-lightbox
12
+ Domain Path: /languages
13
+
14
+ Responsive Lightbox
15
+ Copyright (C) 2013-2016, Digital Factory - info@digitalfactory.pl
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ */
23
+
24
+ // exit if accessed directly
25
+ if ( ! defined( 'ABSPATH' ) )
26
+ exit;
27
+
28
+ define( 'RESPONSIVE_LIGHTBOX_URL', plugins_url( '', __FILE__ ) );
29
+ define( 'RESPONSIVE_LIGHTBOX_PATH', plugin_dir_path( __FILE__ ) );
30
+ define( 'RESPONSIVE_LIGHTBOX_REL_PATH', dirname( plugin_basename( __FILE__ ) ) . '/' );
31
+
32
+ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-frontend.php' );
33
+ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-settings.php' );
34
+
35
+ /**
36
+ * Responsive Lightbox class.
37
+ *
38
+ * @class Responsive_Lightbox
39
+ * @version 1.6.9
40
+ */
41
+ class Responsive_Lightbox {
42
+
43
+ public $defaults = array(
44
+ 'settings' => array(
45
+ 'script' => 'swipebox',
46
+ 'selector' => 'lightbox',
47
+ 'galleries' => true,
48
+ 'gallery_image_size' => 'full',
49
+ 'gallery_image_title' => 'default',
50
+ 'force_custom_gallery' => false,
51
+ 'woocommerce_gallery_lightbox' => false,
52
+ 'videos' => true,
53
+ 'image_links' => true,
54
+ 'image_title' => 'default',
55
+ 'images_as_gallery' => false,
56
+ 'deactivation_delete' => false,
57
+ 'loading_place' => 'header',
58
+ 'conditional_loading' => false,
59
+ 'enable_custom_events' => false,
60
+ 'custom_events' => 'ajaxComplete',
61
+ 'update_version' => 0,
62
+ 'update_notice' => true
63
+ ),
64
+ 'configuration' => array(
65
+ 'prettyphoto' => array(
66
+ 'animation_speed' => 'normal',
67
+ 'slideshow' => false,
68
+ 'slideshow_delay' => 5000,
69
+ 'slideshow_autoplay' => false,
70
+ 'opacity' => 75,
71
+ 'show_title' => true,
72
+ 'allow_resize' => true,
73
+ 'allow_expand' => true,
74
+ 'width' => 1080,
75
+ 'height' => 720,
76
+ 'separator' => '/',
77
+ 'theme' => 'pp_default',
78
+ 'horizontal_padding' => 20,
79
+ 'hide_flash' => false,
80
+ 'wmode' => 'opaque',
81
+ 'video_autoplay' => false,
82
+ 'modal' => false,
83
+ 'deeplinking' => false,
84
+ 'overlay_gallery' => true,
85
+ 'keyboard_shortcuts' => true,
86
+ 'social' => false
87
+ ),
88
+ 'swipebox' => array(
89
+ 'animation' => 'css',
90
+ 'force_png_icons' => false,
91
+ 'hide_close_mobile' => false,
92
+ 'remove_bars_mobile' => false,
93
+ 'hide_bars' => true,
94
+ 'hide_bars_delay' => 5000,
95
+ 'video_max_width' => 1080,
96
+ 'loop_at_end' => false
97
+ ),
98
+ 'fancybox' => array(
99
+ 'modal' => false,
100
+ 'show_overlay' => true,
101
+ 'show_close_button' => true,
102
+ 'enable_escape_button' => true,
103
+ 'hide_on_overlay_click' => true,
104
+ 'hide_on_content_click' => false,
105
+ 'cyclic' => false,
106
+ 'show_nav_arrows' => true,
107
+ 'auto_scale' => true,
108
+ 'scrolling' => 'yes',
109
+ 'center_on_scroll' => true,
110
+ 'opacity' => true,
111
+ 'overlay_opacity' => 70,
112
+ 'overlay_color' => '#666',
113
+ 'title_show' => true,
114
+ 'title_position' => 'outside',
115
+ 'transitions' => 'fade',
116
+ 'easings' => 'swing',
117
+ 'speeds' => 300,
118
+ 'change_speed' => 300,
119
+ 'change_fade' => 100,
120
+ 'padding' => 5,
121
+ 'margin' => 5,
122
+ 'video_width' => 1080,
123
+ 'video_height' => 720
124
+ ),
125
+ 'nivo' => array(
126
+ 'effect' => 'fade',
127
+ 'click_overlay_to_close' => true,
128
+ 'keyboard_nav' => true,
129
+ 'error_message' => 'The requested content cannot be loaded. Please try again later.'
130
+ ),
131
+ 'imagelightbox' => array(
132
+ 'animation_speed' => 250,
133
+ 'preload_next' => true,
134
+ 'enable_keyboard' => true,
135
+ 'quit_on_end' => false,
136
+ 'quit_on_image_click' => false,
137
+ 'quit_on_document_click' => true
138
+ ),
139
+ 'tosrus' => array(
140
+ 'effect' => 'slide',
141
+ 'infinite' => true,
142
+ 'keys' => false,
143
+ 'autoplay' => true,
144
+ 'pause_on_hover' => false,
145
+ 'timeout' => 4000,
146
+ 'pagination' => true,
147
+ 'pagination_type' => 'thumbnails'
148
+ )
149
+ ),
150
+ 'version' => '1.6.9'
151
+ );
152
+ public $options = array();
153
+ private $notices = array();
154
+ private static $_instance;
155
+
156
+ private function __clone() {}
157
+ private function __wakeup() {}
158
+
159
+ /**
160
+ * Main Responsive Lightbox instance.
161
+ */
162
+ public static function instance() {
163
+ if ( self::$_instance === null ) {
164
+ self::$_instance = new self();
165
+ }
166
+ return self::$_instance;
167
+ }
168
+
169
+ public function __construct() {
170
+ register_activation_hook( __FILE__, array( $this, 'activate_multisite' ) );
171
+ register_deactivation_hook( __FILE__, array( $this, 'deactivate_multisite' ) );
172
+
173
+ // change from older versions
174
+ $db_version = get_option( 'responsive_lightbox_version' );
175
+
176
+ if ( version_compare( ( $db_version === false ? '1.0.0' : $db_version ), '1.0.5', '<' ) ) {
177
+ if ( ($array = get_option( 'rl_settings' )) !== false ) {
178
+ update_option( 'responsive_lightbox_settings', $array );
179
+ delete_option( 'rl_settings' );
180
+ }
181
+
182
+ if ( ($array = get_option( 'rl_configuration' )) !== false ) {
183
+ update_option( 'responsive_lightbox_configuration', $array );
184
+ delete_option( 'rl_configuration' );
185
+ }
186
+ }
187
+
188
+ // update plugin version
189
+ update_option( 'responsive_lightbox_version', $this->defaults['version'], '', 'no' );
190
+
191
+ $this->options['settings'] = array_merge( $this->defaults['settings'], ( ($array = get_option( 'responsive_lightbox_settings' ) ) === false ? array() : $array ) );
192
+
193
+ // for multi arrays we have to merge them separately
194
+ $db_conf_opts = ( ( $base = get_option( 'responsive_lightbox_configuration' ) ) === false ? array() : $base );
195
+
196
+ foreach ( $this->defaults['configuration'] as $script => $settings ) {
197
+ $this->options['configuration'][$script] = array_merge( $settings, (isset( $db_conf_opts[$script] ) ? $db_conf_opts[$script] : array() ) );
198
+ }
199
+
200
+ // actions
201
+ add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
202
+ add_action( 'wp_enqueue_scripts', array( $this, 'front_scripts_styles' ) );
203
+ add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts_styles' ) );
204
+ add_action( 'admin_init', array( $this, 'update_notices' ) );
205
+ add_action( 'admin_print_scripts', array( $this, 'admin_inline_js' ), 999 );
206
+
207
+ // filters
208
+ add_filter( 'plugin_action_links', array( $this, 'plugin_settings_link' ), 10, 2 );
209
+ }
210
+
211
+ /**
212
+ * Single site activation function
213
+ */
214
+ public function activate_single() {
215
+ add_option( 'responsive_lightbox_settings', $this->defaults['settings'], '', 'no' );
216
+ add_option( 'responsive_lightbox_configuration', $this->defaults['configuration'], '', 'no' );
217
+ add_option( 'responsive_lightbox_version', $this->defaults['version'], '', 'no' );
218
+ }
219
+
220
+ /**
221
+ * Single site deactivation function
222
+ */
223
+ public function deactivate_single( $multi = false ) {
224
+ if ( $multi === true ) {
225
+ $options = get_option( 'responsive_lightbox_settings' );
226
+ $check = $options['deactivation_delete'];
227
+ } else
228
+ $check = $this->options['settings']['deactivation_delete'];
229
+
230
+ if ( $check === true ) {
231
+ delete_option( 'responsive_lightbox_settings' );
232
+ delete_option( 'responsive_lightbox_configuration' );
233
+ delete_option( 'responsive_lightbox_version' );
234
+ }
235
+ }
236
+
237
+ /**
238
+ * Activation function
239
+ */
240
+ public function activate_multisite( $networkwide ) {
241
+ if ( is_multisite() && $networkwide ) {
242
+ global $wpdb;
243
+
244
+ $activated_blogs = array();
245
+ $current_blog_id = $wpdb->blogid;
246
+ $blogs_ids = $wpdb->get_col( $wpdb->prepare( 'SELECT blog_id FROM ' . $wpdb->blogs, '' ) );
247
+
248
+ foreach ( $blogs_ids as $blog_id ) {
249
+ switch_to_blog( $blog_id );
250
+ $this->activate_single();
251
+ $activated_blogs[] = (int) $blog_id;
252
+ }
253
+
254
+ switch_to_blog( $current_blog_id );
255
+ update_site_option( 'responsive_lightbox_activated_blogs', $activated_blogs, array() );
256
+ } else
257
+ $this->activate_single();
258
+ }
259
+
260
+ /**
261
+ * Dectivation function
262
+ */
263
+ public function deactivate_multisite( $networkwide ) {
264
+ if ( is_multisite() && $networkwide ) {
265
+ global $wpdb;
266
+
267
+ $current_blog_id = $wpdb->blogid;
268
+ $blogs_ids = $wpdb->get_col( $wpdb->prepare( 'SELECT blog_id FROM ' . $wpdb->blogs, '' ) );
269
+
270
+ if ( ($activated_blogs = get_site_option( 'responsive_lightbox_activated_blogs', false, false )) === false )
271
+ $activated_blogs = array();
272
+
273
+ foreach ( $blogs_ids as $blog_id ) {
274
+ switch_to_blog( $blog_id );
275
+ $this->deactivate_single( true );
276
+
277
+ if ( in_array( (int) $blog_id, $activated_blogs, true ) )
278
+ unset( $activated_blogs[array_search( $blog_id, $activated_blogs )] );
279
+ }
280
+
281
+ switch_to_blog( $current_blog_id );
282
+ update_site_option( 'responsive_lightbox_activated_blogs', $activated_blogs );
283
+ } else
284
+ $this->deactivate_single();
285
+ }
286
+
287
+ /**
288
+ * Load textdomain
289
+ */
290
+ public function load_textdomain() {
291
+ load_plugin_textdomain( 'responsive-lightbox', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
292
+ }
293
+
294
+ /**
295
+ * Update notices.
296
+ */
297
+ public function update_notices() {
298
+ if ( ! current_user_can( 'install_plugins' ) )
299
+ return;
300
+
301
+ $current_update = 1;
302
+
303
+ if ( $this->options['settings']['update_version'] < $current_update ) {
304
+ // check version, if update ver is lower than plugin ver, set update notice to true
305
+ $this->options['settings'] = array_merge( $this->options['settings'], array( 'update_version' => $current_update, 'update_notice' => true ) );
306
+ update_option( 'responsive_lightbox_settings', $this->options['settings'] );
307
+ } elseif ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'rl-hide-notice' ) {
308
+ if ( wp_verify_nonce( $_REQUEST['rl_nonce'], 'rl_action' ) ) {
309
+ // hide notice, if query arg is set, before it gets displayed
310
+ $this->options['settings'] = array_merge( $this->options['settings'], array( 'update_notice' => false ) );
311
+ update_option( 'responsive_lightbox_settings', $this->options['settings'] );
312
+ } else {
313
+ print_r( $_REQUEST );
314
+ }
315
+ }
316
+
317
+ // display current version notice
318
+ if ( $this->options['settings']['update_notice'] === true ) {
319
+
320
+ $this->add_notice( sprintf(__( 'Thank you for installing Responsive Lightbox version %s. <a href="%s">Click here</a> to check out our latest extensions!', 'responsive-lightbox'), $this->defaults['version'], wp_nonce_url( add_query_arg( array( 'action' => 'rl-hide-notice' ), admin_url( 'options-general.php' ) . '?page=responsive-lightbox&tab=addons' ), 'rl_action', 'rl_nonce' ) ), 'updated notice is-dismissible rl-notice' );
321
+ }
322
+ }
323
+
324
+ /**
325
+ * Add admin notices.
326
+ */
327
+ public function add_notice( $html = '', $status = 'error', $paragraph = true, $network = false ) {
328
+ $this->notices[] = array(
329
+ 'html' => $html,
330
+ 'status' => $status,
331
+ 'paragraph' => $paragraph
332
+ );
333
+
334
+ add_action( 'admin_notices', array( $this, 'display_notice') );
335
+
336
+ if( $network )
337
+ add_action( 'network_admin_notices', array( $this, 'display_notice') );
338
+ }
339
+
340
+ /**
341
+ * Print admin notices.
342
+ */
343
+ public function display_notice() {
344
+ foreach( $this->notices as $notice ) {
345
+ echo '
346
+ <div class="' . $notice['status'] . '">
347
+ ' . ( $notice['paragraph'] ? '<p>' : '' ) . '
348
+ ' . $notice['html'] . '
349
+ ' . ( $notice['paragraph'] ? '</p>' : '' ) . '
350
+ </div>';
351
+ }
352
+ }
353
+
354
+ /**
355
+ * Print admin scripts.
356
+ */
357
+ public function admin_inline_js() {
358
+ if ( ! current_user_can( 'install_plugins' ) )
359
+ return;
360
+ ?>
361
+ <script type="text/javascript">
362
+ ( function ( $ ) {
363
+ $( document ).ready( function () {
364
+ // save dismiss state
365
+ $( '.rl-notice.is-dismissible' ).on( 'click', '.notice-dismiss', function ( e ) {
366
+ e.preventDefault();
367
+
368
+ $.post( ajaxurl, {
369
+ action: 'rl-hide-notice',
370
+ url: '<?php echo admin_url( 'admin-ajax.php' ); ?>',
371
+ rl_nonce: '<?php echo wp_create_nonce( 'rl_action' ); ?>'
372
+ } );
373
+
374
+ } );
375
+ } );
376
+ } )( jQuery );
377
+ </script>
378
+ <?php
379
+ }
380
+
381
+ /**
382
+ * Add links to Support Forum
383
+ */
384
+ public function plugin_extend_links( $links, $file ) {
385
+ if ( ! current_user_can( 'install_plugins' ) )
386
+ return $links;
387
+
388
+ $plugin = plugin_basename( __FILE__ );
389
+
390
+ if ( $file == $plugin ) {
391
+ return array_merge(
392
+ $links, array( sprintf( '<a href="http://www.dfactory.eu/support/forum/responsive-lightbox/" target="_blank">%s</a>', __( 'Support', 'responsive-lightbox' ) ) )
393
+ );
394
+ }
395
+
396
+ return $links;
397
+ }
398
+
399
+ /**
400
+ * Add links to Settings page
401
+ */
402
+ public function plugin_settings_link( $links, $file ) {
403
+ if ( ! is_admin() || ! current_user_can( apply_filters( 'rl_lightbox_settings_capability', 'manage_options' ) ) )
404
+ return $links;
405
+
406
+ static $plugin;
407
+
408
+ $plugin = plugin_basename( __FILE__ );
409
+
410
+ if ( $file == $plugin ) {
411
+ $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php' ) . '?page=responsive-lightbox', __( 'Settings', 'responsive-lightbox' ) );
412
+ array_unshift( $links, $settings_link );
413
+ }
414
+
415
+ return $links;
416
+ }
417
+
418
+ /**
419
+ * Enqueue admin scripts and styles
420
+ */
421
+ public function admin_scripts_styles( $page ) {
422
+ if ( $page === 'settings_page_responsive-lightbox' ) {
423
+
424
+ wp_register_script(
425
+ 'responsive-lightbox-admin', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery', 'wp-color-picker' ), $this->defaults['version']
426
+ );
427
+ wp_enqueue_script( 'responsive-lightbox-admin' );
428
+
429
+ wp_localize_script(
430
+ 'responsive-lightbox-admin', 'rlArgs', array(
431
+ 'resetSettingsToDefaults' => __( 'Are you sure you want to reset these settings to defaults?', 'responsive-lightbox' ),
432
+ 'resetScriptToDefaults' => __( 'Are you sure you want to reset this script settings to defaults?', 'responsive-lightbox' ),
433
+ )
434
+ );
435
+
436
+ wp_enqueue_style( 'wp-color-picker' );
437
+
438
+ wp_register_style(
439
+ 'responsive-lightbox-admin', plugins_url( 'css/admin.css', __FILE__ ), array(), $this->defaults['version']
440
+ );
441
+ wp_enqueue_style( 'responsive-lightbox-admin' );
442
+ }
443
+ }
444
+
445
+ /**
446
+ * Enqueue frontend scripts and styles
447
+ */
448
+ public function front_scripts_styles() {
449
+
450
+ $args = apply_filters( 'rl_lightbox_args', array(
451
+ 'script' => $this->options['settings']['script'],
452
+ 'selector' => $this->options['settings']['selector'],
453
+ 'customEvents' => ( $this->options['settings']['enable_custom_events'] === true ? ' ' . $this->options['settings']['custom_events'] : '' ),
454
+ 'activeGalleries' => $this->get_boolean_value( $this->options['settings']['galleries'] )
455
+ ) );
456
+
457
+ $scripts = array();
458
+ $styles = array();
459
+
460
+ switch ( $args['script'] ) {
461
+
462
+ case 'prettyphoto' :
463
+
464
+ wp_register_script(
465
+ 'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/js/jquery.prettyPhoto.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
466
+ );
467
+ wp_register_style(
468
+ 'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/css/prettyPhoto.css', __FILE__ ), array(), $this->defaults['version']
469
+ );
470
+
471
+ $scripts[] = 'responsive-lightbox-prettyphoto';
472
+ $styles[] = 'responsive-lightbox-prettyphoto';
473
+
474
+ $args = array_merge(
475
+ $args, array(
476
+ 'animationSpeed' => $this->options['configuration']['prettyphoto']['animation_speed'],
477
+ 'slideshow' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['slideshow'] ),
478
+ 'slideshowDelay' => $this->options['configuration']['prettyphoto']['slideshow_delay'],
479
+ 'slideshowAutoplay' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['slideshow_autoplay'] ),
480
+ 'opacity' => sprintf( '%.2f', ($this->options['configuration']['prettyphoto']['opacity'] / 100 ) ),
481
+ 'showTitle' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['show_title'] ),
482
+ 'allowResize' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['allow_resize'] ),
483
+ 'allowExpand' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['allow_expand'] ),
484
+ 'width' => $this->options['configuration']['prettyphoto']['width'],
485
+ 'height' => $this->options['configuration']['prettyphoto']['height'],
486
+ 'separator' => $this->options['configuration']['prettyphoto']['separator'],
487
+ 'theme' => $this->options['configuration']['prettyphoto']['theme'],
488
+ 'horizontalPadding' => $this->options['configuration']['prettyphoto']['horizontal_padding'],
489
+ 'hideFlash' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['hide_flash'] ),
490
+ 'wmode' => $this->options['configuration']['prettyphoto']['wmode'],
491
+ 'videoAutoplay' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['video_autoplay'] ),
492
+ 'modal' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['modal'] ),
493
+ 'deeplinking' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['deeplinking'] ),
494
+ 'overlayGallery' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['overlay_gallery'] ),
495
+ 'keyboardShortcuts' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['keyboard_shortcuts'] ),
496
+ 'social' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['social'] )
497
+ )
498
+ );
499
+
500
+ break;
501
+
502
+ case 'swipebox' :
503
+
504
+ wp_register_script(
505
+ 'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/js/jquery.swipebox.min.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
506
+ );
507
+ wp_register_style(
508
+ 'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/css/swipebox.min.css', __FILE__ ), array(), $this->defaults['version']
509
+ );
510
+
511
+ $scripts[] = 'responsive-lightbox-swipebox';
512
+ $styles[] = 'responsive-lightbox-swipebox';
513
+
514
+ $args = array_merge(
515
+ $args, array(
516
+ 'animation' => $this->get_boolean_value( ($this->options['configuration']['swipebox']['animation'] === 'css' ? true : false ) ),
517
+ 'hideCloseButtonOnMobile' => $this->get_boolean_value( $this->options['configuration']['swipebox']['hide_close_mobile'] ),
518
+ 'removeBarsOnMobile' => $this->get_boolean_value( $this->options['configuration']['swipebox']['remove_bars_mobile'] ),
519
+ 'hideBars' => $this->get_boolean_value( $this->options['configuration']['swipebox']['hide_bars'] ),
520
+ 'hideBarsDelay' => $this->options['configuration']['swipebox']['hide_bars_delay'],
521
+ 'videoMaxWidth' => $this->options['configuration']['swipebox']['video_max_width'],
522
+ 'useSVG' => ! $this->options['configuration']['swipebox']['force_png_icons'],
523
+ 'loopAtEnd' => $this->get_boolean_value( $this->options['configuration']['swipebox']['loop_at_end'] )
524
+ )
525
+ );
526
+
527
+ break;
528
+
529
+ case 'fancybox' :
530
+
531
+ wp_register_script(
532
+ 'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
533
+ );
534
+ wp_register_style(
535
+ 'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.css', __FILE__ ), array(), $this->defaults['version']
536
+ );
537
+
538
+ $scripts[] = 'responsive-lightbox-fancybox';
539
+ $styles[] = 'responsive-lightbox-fancybox';
540
+
541
+ $args = array_merge(
542
+ $args, array(
543
+ 'modal' => $this->get_boolean_value( $this->options['configuration']['fancybox']['modal'] ),
544
+ 'showOverlay' => $this->get_boolean_value( $this->options['configuration']['fancybox']['show_overlay'] ),
545
+ 'showCloseButton' => $this->get_boolean_value( $this->options['configuration']['fancybox']['show_close_button'] ),
546
+ 'enableEscapeButton' => $this->get_boolean_value( $this->options['configuration']['fancybox']['enable_escape_button'] ),
547
+ 'hideOnOverlayClick' => $this->get_boolean_value( $this->options['configuration']['fancybox']['hide_on_overlay_click'] ),
548
+ 'hideOnContentClick' => $this->get_boolean_value( $this->options['configuration']['fancybox']['hide_on_content_click'] ),
549
+ 'cyclic' => $this->get_boolean_value( $this->options['configuration']['fancybox']['cyclic'] ),
550
+ 'showNavArrows' => $this->get_boolean_value( $this->options['configuration']['fancybox']['show_nav_arrows'] ),
551
+ 'autoScale' => $this->get_boolean_value( $this->options['configuration']['fancybox']['auto_scale'] ),
552
+ 'scrolling' => $this->options['configuration']['fancybox']['scrolling'],
553
+ 'centerOnScroll' => $this->get_boolean_value( $this->options['configuration']['fancybox']['center_on_scroll'] ),
554
+ 'opacity' => $this->get_boolean_value( $this->options['configuration']['fancybox']['opacity'] ),
555
+ 'overlayOpacity' => $this->options['configuration']['fancybox']['overlay_opacity'],
556
+ 'overlayColor' => $this->options['configuration']['fancybox']['overlay_color'],
557
+ 'titleShow' => $this->get_boolean_value( $this->options['configuration']['fancybox']['title_show'] ),
558
+ 'titlePosition' => $this->options['configuration']['fancybox']['title_position'],
559
+ 'transitions' => $this->options['configuration']['fancybox']['transitions'],
560
+ 'easings' => $this->options['configuration']['fancybox']['easings'],
561
+ 'speeds' => $this->options['configuration']['fancybox']['speeds'],
562
+ 'changeSpeed' => $this->options['configuration']['fancybox']['change_speed'],
563
+ 'changeFade' => $this->options['configuration']['fancybox']['change_fade'],
564
+ 'padding' => $this->options['configuration']['fancybox']['padding'],
565
+ 'margin' => $this->options['configuration']['fancybox']['margin'],
566
+ 'videoWidth' => $this->options['configuration']['fancybox']['video_width'],
567
+ 'videoHeight' => $this->options['configuration']['fancybox']['video_height']
568
+ )
569
+ );
570
+
571
+ break;
572
+
573
+ case 'nivo' :
574
+
575
+ wp_register_script(
576
+ 'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.min.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true ), $this->defaults['version']
577
+ );
578
+ wp_register_style(
579
+ 'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.css', __FILE__ ), array(), $this->defaults['version']
580
+ );
581
+ wp_register_style(
582
+ 'responsive-lightbox-nivo-default', plugins_url( 'assets/nivo/themes/default/default.css', __FILE__ ), array(), $this->defaults['version']
583
+ );
584
+
585
+ $scripts[] = 'responsive-lightbox-nivo';
586
+ $styles[] = 'responsive-lightbox-nivo';
587
+ $styles[] = 'responsive-lightbox-nivo-default';
588
+
589
+ $args = array_merge(
590
+ $args, array(
591
+ 'effect' => $this->options['configuration']['nivo']['effect'],
592
+ 'clickOverlayToClose' => $this->get_boolean_value( $this->options['configuration']['nivo']['click_overlay_to_close'] ),
593
+ 'keyboardNav' => $this->get_boolean_value( $this->options['configuration']['nivo']['keyboard_nav'] ),
594
+ 'errorMessage' => esc_attr( $this->options['configuration']['nivo']['error_message'] )
595
+ )
596
+ );
597
+
598
+ break;
599
+
600
+ case 'imagelightbox' :
601
+
602
+ wp_register_script(
603
+ 'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/js/imagelightbox.min.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
604
+ );
605
+ wp_register_style(
606
+ 'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/css/imagelightbox.css', __FILE__ ), array(), $this->defaults['version']
607
+ );
608
+
609
+ $scripts[] = 'responsive-lightbox-imagelightbox';
610
+ $styles[] = 'responsive-lightbox-imagelightbox';
611
+
612
+ $args = array_merge(
613
+ $args, array(
614
+ 'animationSpeed' => $this->options['configuration']['imagelightbox']['animation_speed'],
615
+ 'preloadNext' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['preload_next'] ),
616
+ 'enableKeyboard' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['enable_keyboard'] ),
617
+ 'quitOnEnd' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_end'] ),
618
+ 'quitOnImageClick' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_image_click'] ),
619
+ 'quitOnDocumentClick' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_document_click'] ),
620
+ )
621
+ );
622
+
623
+ break;
624
+
625
+ case 'tosrus' :
626
+
627
+ // swipe support, enqueue Hammer.js on mobile devices only
628
+ if ( wp_is_mobile() ) {
629
+ wp_register_script(
630
+ 'responsive-lightbox-hammer-js', plugins_url( 'assets/tosrus/js/hammer.min.js', __FILE__ ), array(), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
631
+ );
632
+ $scripts[] = 'responsive-lightbox-hammer-js';
633
+ }
634
+
635
+ wp_register_script(
636
+ 'responsive-lightbox-tosrus', plugins_url( 'assets/tosrus/js/jquery.tosrus.min.all.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ($this->options['settings']['loading_place'] === 'header' ? false : true )
637
+ );
638
+ wp_register_style(
639
+ 'responsive-lightbox-tosrus', plugins_url( 'assets/tosrus/css/jquery.tosrus.all.css', __FILE__ ), array(), $this->defaults['version']
640
+ );
641
+
642
+ $scripts[] = 'responsive-lightbox-tosrus';
643
+ $styles[] = 'responsive-lightbox-tosrus';
644
+
645
+ $args = array_merge( $args, array(
646
+ 'effect' => $this->options['configuration']['tosrus']['effect'],
647
+ 'infinite' => $this->get_boolean_value( $this->options['configuration']['tosrus']['infinite'] ),
648
+ 'keys' => $this->get_boolean_value( $this->options['configuration']['tosrus']['keys'] ),
649
+ 'autoplay' => $this->get_boolean_value( $this->options['configuration']['tosrus']['autoplay'] ),
650
+ 'pauseOnHover' => $this->get_boolean_value( $this->options['configuration']['tosrus']['pause_on_hover'] ),
651
+ 'timeout' => $this->options['configuration']['tosrus']['timeout'],
652
+ 'pagination' => $this->get_boolean_value( $this->options['configuration']['tosrus']['pagination'] ),
653
+ 'paginationType' => $this->options['configuration']['tosrus']['pagination_type']
654
+ )
655
+ );
656
+
657
+ break;
658
+
659
+ default :
660
+
661
+ do_action( 'rl_lightbox_enqueue_scripts' );
662
+
663
+ $scripts = apply_filters( 'rl_lightbox_scripts', $scripts );
664
+ $styles = apply_filters( 'rl_lightbox_styles', $styles );
665
+
666
+ break;
667
+ }
668
+
669
+ // run scripts by default
670
+ $contitional_scripts = true;
671
+
672
+ if ( $this->options['settings']['conditional_loading'] === true ) {
673
+
674
+ global $post;
675
+
676
+ if ( is_object( $post ) ) {
677
+
678
+ // is gallery present in content
679
+ $has_gallery = has_shortcode( $post->post_content, 'gallery' );
680
+
681
+ // are images present in content
682
+ preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $post->post_content, $links );
683
+
684
+ $has_images = (bool) $links[0];
685
+
686
+ if ( $has_gallery === false && $has_images === false ) {
687
+ $contitional_scripts = false;
688
+ }
689
+
690
+ }
691
+
692
+ }
693
+
694
+ if ( ! empty( $args['script'] ) && ! empty( $args['selector'] ) && apply_filters( 'rl_lightbox_conditional_loading', $contitional_scripts ) != false ) {
695
+
696
+ wp_register_script( 'responsive-lightbox', plugins_url( 'js/front.js', __FILE__ ), array( 'jquery' ), $this->defaults['version'], ( $this->options['settings']['loading_place'] === 'header' ? false : true ) );
697
+
698
+ $scripts[] = 'responsive-lightbox';
699
+
700
+ // enqueue scripts
701
+ if ( $scripts && is_array( $scripts ) ) {
702
+ foreach ( $scripts as $script ) {
703
+ wp_enqueue_script( $script );
704
+ }
705
+
706
+ wp_localize_script( 'responsive-lightbox', 'rlArgs', $args );
707
+ }
708
+
709
+ // enqueue styles
710
+ if ( $styles && is_array( $styles ) ) {
711
+ foreach ( $styles as $style ) {
712
+ wp_enqueue_style( $style );
713
+ }
714
+ }
715
+ }
716
+ }
717
+
718
+ /**
719
+ * Helper: convert value to boolean
720
+ */
721
+ private function get_boolean_value( $option ) {
722
+ return ( $option == true ? 1 : 0 );
723
+ }
724
+
725
+ }
726
+
727
+ /**
728
+ * Initialise Responsive Lightbox.
729
+ */
730
+ function Responsive_Lightbox() {
731
+ static $instance;
732
+
733
+ // first call to instance() initializes the plugin
734
+ if ( $instance === null || ! ($instance instanceof Responsive_Lightbox) ) {
735
+ $instance = Responsive_Lightbox::instance();
736
+ }
737
+
738
+ return $instance;
739
+ }
740
+
741
  $responsive_lightbox = Responsive_Lightbox();