Responsive Lightbox & Gallery - Version 1.6.0

Version Description

  • New: Introducing Justified Gallery and Lightcase Lightbox premium extensions.
  • New: Option to set single images title from image title, caption, alt or description
  • Tweak: Confirmed WP 4.3 compatibility
Download this release

Release Info

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

Code changes from version 1.5.7 to 1.6.0

assets/nivo/nivo-lightbox.min.js CHANGED
@@ -6,4 +6,4 @@
6
* Free to use and abuse under the MIT license.
7
* http://www.opensource.org/licenses/mit-license.php
8
*/
9
- (function(e,t,n,r){function o(t,n){this.el=t;this.$el=e(this.el);this.options=e.extend({},s,n);this._defaults=s;this._name=i;this.init()}var i="nivoLightbox",s={effect:"fade",theme:"default",keyboardNav:true,clickOverlayToClose:true,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};o.prototype={init:function(){var t=this;if(!e("html").hasClass("nivo-lightbox-notouch"))e("html").addClass("nivo-lightbox-notouch");if("ontouchstart"in n)e("html").removeClass("nivo-lightbox-notouch");this.$el.on("click",function(e){t.showLightbox(e)});if(this.options.keyboardNav){e("body").off("keyup").on("keyup",function(n){var r=n.keyCode?n.keyCode:n.which;if(r==27)t.destructLightbox();if(r==37)e(".nivo-lightbox-prev").trigger("click");if(r==39)e(".nivo-lightbox-next").trigger("click")})}this.options.onInit.call(this)},showLightbox:function(t){var n=this,r=this.$el;var i=this.checkContent(r);if(!i)return;t.preventDefault();this.options.beforeShowLightbox.call(this);var s=this.constructLightbox();if(!s)return;var o=s.find(".nivo-lightbox-content");if(!o)return;e("body").addClass("nivo-lightbox-body-effect-"+this.options.effect);this.processContent(o,r);if(this.$el.attr("data-lightbox-gallery")){var u=e('[data-lightbox-gallery="'+this.$el.attr("data-lightbox-gallery")+'"]');e(".nivo-lightbox-nav").show();e(".nivo-lightbox-prev").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i-1);if(!e(r).length)r=u.last();n.processContent(o,r);n.options.onPrev.call(this,[r])});e(".nivo-lightbox-next").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i+1);if(!e(r).length)r=u.first();n.processContent(o,r);n.options.onNext.call(this,[r])})}setTimeout(function(){s.addClass("nivo-lightbox-open");n.options.afterShowLightbox.call(this,[s])},1)},checkContent:function(e){var t=this,n=e.attr("href"),r=n.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);if(n.match(/\.(jpeg|jpg|gif|png)#x2F;i)!==null){return true}else if(r){return true}else if(e.attr("data-lightbox-type")=="ajax"){return true}else if(n.substring(0,1)=="#"&&e.attr("data-lightbox-type")=="inline"){return true}else if(e.attr("data-lightbox-type")=="iframe"){return true}return false},processContent:function(n,r){var i=this,s=r.attr("href"),o=s.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);n.html("").addClass("nivo-lightbox-loading");if(this.isHidpi()&&r.attr("data-lightbox-hidpi")){s=r.attr("data-lightbox-hidpi")}if(s.match(/\.(jpeg|jpg|gif|png)#x2F;i)!==null){var u=e("<img>",{src:s});u.one("load",function(){var r=e('<div class="nivo-lightbox-image" />');r.append(u);n.html(r).removeClass("nivo-lightbox-loading");r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"});e(t).resize(function(){r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"})})}).each(function(){if(this.complete)e(this).load()});u.error(function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")})}else if(o){var a="",f="nivo-lightbox-video";if(o[1]=="youtube"){a="http://www.youtube.com/embed/"+o[4];f="nivo-lightbox-youtube"}if(o[1]=="youtu"){a="http://www.youtube.com/embed/"+o[3];f="nivo-lightbox-youtube"}if(o[1]=="vimeo"){a="http://player.vimeo.com/video/"+o[3];f="nivo-lightbox-vimeo"}if(a){var l=e("<iframe>",{src:a,"class":f,frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(l);l.load(function(){n.removeClass("nivo-lightbox-loading")})}}else if(r.attr("data-lightbox-type")=="ajax"){e.ajax({url:s,cache:false,success:function(r){var i=e('<div class="nivo-lightbox-ajax" />');i.append(r);n.html(i).removeClass("nivo-lightbox-loading");if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}e(t).resize(function(){if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}})},error:function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")}})}else if(s.substring(0,1)=="#"&&r.attr("data-lightbox-type")=="inline"){if(e(s).length){var c=e('<div class="nivo-lightbox-inline" />');c.append(e(s).clone().show());n.html(c).removeClass("nivo-lightbox-loading");if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}e(t).resize(function(){if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}})}else{var h=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(h).removeClass("nivo-lightbox-loading")}}else if(r.attr("data-lightbox-type")=="iframe"){var p=e("<iframe>",{src:s,"class":"nivo-lightbox-item",frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(p);p.load(function(){n.removeClass("nivo-lightbox-loading")})}else{return false}if(r.attr("title")){var d=e("<span>",{"class":"nivo-lightbox-title"});d.text(r.attr("title"));e(".nivo-lightbox-title-wrap").html(d)}else{e(".nivo-lightbox-title-wrap").html("")}},constructLightbox:function(){if(e(".nivo-lightbox-overlay").length)return e(".nivo-lightbox-overlay");var t=e("<div>",{"class":"nivo-lightbox-overlay nivo-lightbox-theme-"+this.options.theme+" nivo-lightbox-effect-"+this.options.effect});var n=e("<div>",{"class":"nivo-lightbox-wrap"});var r=e("<div>",{"class":"nivo-lightbox-content"});var i=e('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>');var s=e('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>');var o=e("<div>",{"class":"nivo-lightbox-title-wrap"});var u=0;if(u)t.addClass("nivo-lightbox-ie");n.append(r);n.append(o);t.append(n);t.append(i);t.append(s);e("body").append(t);var a=this;if(a.options.clickOverlayToClose){t.on("click",function(t){if(t.target===this||e(t.target).hasClass("nivo-lightbox-content")||e(t.target).hasClass("nivo-lightbox-image")){a.destructLightbox()}})}s.on("click",function(e){e.preventDefault();a.destructLightbox()});return t},destructLightbox:function(){var t=this;this.options.beforeHideLightbox.call(this);e(".nivo-lightbox-overlay").removeClass("nivo-lightbox-open");e(".nivo-lightbox-nav").hide();e("body").removeClass("nivo-lightbox-body-effect-"+t.options.effect);var n=0;if(n){e(".nivo-lightbox-overlay iframe").attr("src"," ");e(".nivo-lightbox-overlay iframe").remove()}e(".nivo-lightbox-prev").off("click");e(".nivo-lightbox-next").off("click");e(".nivo-lightbox-content").empty();this.options.afterHideLightbox.call(this)},isHidpi:function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(t.devicePixelRatio>1)return true;if(t.matchMedia&&t.matchMedia(e).matches)return true;return false}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){e.data(this,i,new o(this,t))}})}})(jQuery,window,document)
6
* Free to use and abuse under the MIT license.
7
* http://www.opensource.org/licenses/mit-license.php
8
*/
9
+ (function(e,t,n,r){function o(t,n){this.el=t;this.$el=e(this.el);this.options=e.extend({},s,n);this._defaults=s;this._name=i;this.init()}var i="nivoLightbox",s={effect:"fade",theme:"default",keyboardNav:true,clickOverlayToClose:true,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};o.prototype={init:function(){var t=this;if(!e("html").hasClass("nivo-lightbox-notouch"))e("html").addClass("nivo-lightbox-notouch");if("ontouchstart"in n)e("html").removeClass("nivo-lightbox-notouch");this.$el.on("click",function(e){t.showLightbox(e)});if(this.options.keyboardNav){e("body").off("keyup").on("keyup",function(n){var r=n.keyCode?n.keyCode:n.which;if(r==27)t.destructLightbox();if(r==37)e(".nivo-lightbox-prev").trigger("click");if(r==39)e(".nivo-lightbox-next").trigger("click")})}this.options.onInit.call(this)},showLightbox:function(t){var n=this,r=this.$el;var i=this.checkContent(r);if(!i)return;t.preventDefault();this.options.beforeShowLightbox.call(this);var s=this.constructLightbox();if(!s)return;var o=s.find(".nivo-lightbox-content");if(!o)return;e("body").addClass("nivo-lightbox-body-effect-"+this.options.effect);this.processContent(o,r);if(this.$el.attr("data-lightbox-gallery")){var u=e('[data-lightbox-gallery="'+this.$el.attr("data-lightbox-gallery")+'"]');e(".nivo-lightbox-nav").show();e(".nivo-lightbox-prev").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i-1);if(!e(r).length)r=u.last();n.processContent(o,r);n.options.onPrev.call(this,[r])});e(".nivo-lightbox-next").off("click").on("click",function(t){t.preventDefault();var i=u.index(r);r=u.eq(i+1);if(!e(r).length)r=u.first();n.processContent(o,r);n.options.onNext.call(this,[r])})}setTimeout(function(){s.addClass("nivo-lightbox-open");n.options.afterShowLightbox.call(this,[s])},1)},checkContent:function(e){var t=this,n=e.attr("href"),r=n.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);if(n.match(/\.(jpeg|jpg|gif|png)#x2F;i)!==null){return true}else if(r){return true}else if(e.attr("data-lightbox-type")=="ajax"){return true}else if(n.substring(0,1)=="#"&&e.attr("data-lightbox-type")=="inline"){return true}else if(e.attr("data-lightbox-type")=="iframe"){return true}return false},processContent:function(n,r){var i=this,s=r.attr("href"),o=s.match(/(youtube|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);n.html("").addClass("nivo-lightbox-loading");if(this.isHidpi()&&r.attr("data-lightbox-hidpi")){s=r.attr("data-lightbox-hidpi")}if(s.match(/\.(jpeg|jpg|gif|png)#x2F;i)!==null){var u=e("<img>",{src:s});u.one("load",function(){var r=e('<div class="nivo-lightbox-image" />');r.append(u);n.html(r).removeClass("nivo-lightbox-loading");r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"});e(t).resize(function(){r.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"})})}).each(function(){if(this.complete)e(this).load()});u.error(function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")})}else if(o){var a="",f="nivo-lightbox-video";if(o[1]=="youtube"){a="//www.youtube.com/embed/"+o[4];f="nivo-lightbox-youtube"}if(o[1]=="youtu"){a="//www.youtube.com/embed/"+o[3];f="nivo-lightbox-youtube"}if(o[1]=="vimeo"){a="//player.vimeo.com/video/"+o[3];f="nivo-lightbox-vimeo"}if(a){var l=e("<iframe>",{src:a,"class":f,frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(l);l.load(function(){n.removeClass("nivo-lightbox-loading")})}}else if(r.attr("data-lightbox-type")=="ajax"){e.ajax({url:s,cache:false,success:function(r){var i=e('<div class="nivo-lightbox-ajax" />');i.append(r);n.html(i).removeClass("nivo-lightbox-loading");if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}e(t).resize(function(){if(i.outerHeight()<n.height()){i.css({position:"relative",top:"50%","margin-top":-(i.outerHeight()/2)+"px"})}})},error:function(){var t=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(t).removeClass("nivo-lightbox-loading")}})}else if(s.substring(0,1)=="#"&&r.attr("data-lightbox-type")=="inline"){if(e(s).length){var c=e('<div class="nivo-lightbox-inline" />');c.append(e(s).clone().show());n.html(c).removeClass("nivo-lightbox-loading");if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}e(t).resize(function(){if(c.outerHeight()<n.height()){c.css({position:"relative",top:"50%","margin-top":-(c.outerHeight()/2)+"px"})}})}else{var h=e('<div class="nivo-lightbox-error"><p>'+i.options.errorMessage+"</p></div>");n.html(h).removeClass("nivo-lightbox-loading")}}else if(r.attr("data-lightbox-type")=="iframe"){var p=e("<iframe>",{src:s,"class":"nivo-lightbox-item",frameborder:0,vspace:0,hspace:0,scrolling:"auto"});n.html(p);p.load(function(){n.removeClass("nivo-lightbox-loading")})}else{return false}if(r.attr("title")){var d=e("<span>",{"class":"nivo-lightbox-title"});d.text(r.attr("title"));e(".nivo-lightbox-title-wrap").html(d)}else{e(".nivo-lightbox-title-wrap").html("")}},constructLightbox:function(){if(e(".nivo-lightbox-overlay").length)return e(".nivo-lightbox-overlay");var t=e("<div>",{"class":"nivo-lightbox-overlay nivo-lightbox-theme-"+this.options.theme+" nivo-lightbox-effect-"+this.options.effect});var n=e("<div>",{"class":"nivo-lightbox-wrap"});var r=e("<div>",{"class":"nivo-lightbox-content"});var i=e('<a href="#" class="nivo-lightbox-nav nivo-lightbox-prev">Previous</a><a href="#" class="nivo-lightbox-nav nivo-lightbox-next">Next</a>');var s=e('<a href="#" class="nivo-lightbox-close" title="Close">Close</a>');var o=e("<div>",{"class":"nivo-lightbox-title-wrap"});var u=0;if(u)t.addClass("nivo-lightbox-ie");n.append(r);n.append(o);t.append(n);t.append(i);t.append(s);e("body").append(t);var a=this;if(a.options.clickOverlayToClose){t.on("click",function(t){if(t.target===this||e(t.target).hasClass("nivo-lightbox-content")||e(t.target).hasClass("nivo-lightbox-image")){a.destructLightbox()}})}s.on("click",function(e){e.preventDefault();a.destructLightbox()});return t},destructLightbox:function(){var t=this;this.options.beforeHideLightbox.call(this);e(".nivo-lightbox-overlay").removeClass("nivo-lightbox-open");e(".nivo-lightbox-nav").hide();e("body").removeClass("nivo-lightbox-body-effect-"+t.options.effect);var n=0;if(n){e(".nivo-lightbox-overlay iframe").attr("src"," ");e(".nivo-lightbox-overlay iframe").remove()}e(".nivo-lightbox-prev").off("click");e(".nivo-lightbox-next").off("click");e(".nivo-lightbox-content").empty();this.options.afterHideLightbox.call(this)},isHidpi:function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(t.devicePixelRatio>1)return true;if(t.matchMedia&&t.matchMedia(e).matches)return true;return false}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){e.data(this,i,new o(this,t))}})}})(jQuery,window,document)
assets/tosrus/js/jquery.tosrus.min.all.js CHANGED
@@ -1,5 +1,5 @@
1
/*
2
- * jQuery Touch Optimized Sliders "R"Us 2.4.0
3
*
4
* Copyright (c) Fred Heusschen
5
* www.frebsite.nl
@@ -10,7 +10,7 @@
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.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.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
1
/*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.4.1
3
*
4
* Copyright (c) Fred Heusschen
5
* www.frebsite.nl
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.1";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
assets/tosrus/js/jquery.tosrus.min.js CHANGED
@@ -1,5 +1,5 @@
1
/*
2
- * jQuery Touch Optimized Sliders "R"Us 2.4.0
3
*
4
* Copyright (c) Fred Heusschen
5
* www.frebsite.nl
@@ -10,4 +10,4 @@
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.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.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.4.1
3
*
4
* Copyright (c) Fred Heusschen
5
* www.frebsite.nl
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.1";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);
css/admin.css CHANGED
@@ -1,32 +1,4 @@
1
/* Responsive Lightbox settings */
2
- .df-credits {
3
- float: right;
4
- width: 280px;
5
- background: #fff;
6
- margin: 20px -300px 20px 20px;
7
- position: relative;
8
- }
9
- .df-credits .inner {
10
- padding-left: 10px;
11
- padding-right: 10px;
12
- }
13
- .df-credits h3 {
14
- font-size: 14px;
15
- line-height: 1.4;
16
- margin: 0;
17
- padding: 8px 12px;
18
- border-bottom: 1px solid #eee;
19
- }
20
- .df-credits .df-link {
21
- font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
22
- font-style: italic;
23
- padding-bottom: 10px;
24
- margin: 0;
25
- }
26
- .df-credits .df-link a {
27
- vertical-align: middle;
28
- padding: 5px 0 0 4px;
29
- }
30
.responsive-lightbox-settings .df-credits form {
31
min-width: 260px;
32
margin-bottom: 1em;
@@ -63,18 +35,83 @@
63
margin: 0;
64
text-align: left;
65
}
66
.rtl .responsive-lightbox-settings output {
67
text-align: right;
68
}
69
70
- .wplike-slider span.middle {
71
- width: 150px;
72
}
73
- .wplike-slider span.left {
74
- margin-right: 10px;
75
}
76
- .wplike-slider span.right {
77
- margin-left: 10px;
78
}
79
80
/* All Mobile Sizes (devices and browser) */
@@ -462,10 +499,10 @@
462
visibility:hidden !important
463
}
464
output {
465
- display: block;
466
- font-size: 30px;
467
- font-weight: bold;
468
- text-align: center;
469
- margin: 30px 0;
470
- width: 100%;
471
- }
1
/* Responsive Lightbox settings */
2
.responsive-lightbox-settings .df-credits form {
3
min-width: 260px;
4
margin-bottom: 1em;
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) */
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
@@ -28,8 +28,8 @@ class Responsive_Lightbox_Frontend {
28
/**
29
* Add lightbox to videos
30
*
31
- * @param mixed $content
32
- * @return mixed
33
*/
34
public function add_videos_lightbox_selector( $content ) {
35
@@ -72,8 +72,8 @@ class Responsive_Lightbox_Frontend {
72
/**
73
* Add lightbox to to image links
74
*
75
- * @param mixed $content
76
- * @return mixed
77
*/
78
public function add_links_lightbox_selector( $content ) {
79
@@ -82,13 +82,33 @@ class Responsive_Lightbox_Frontend {
82
preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
83
84
if ( isset( $links[0] ) ) {
85
if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true )
86
- $rel_hash = '[gallery-' . $this->generate_password( 4 ) . ']';
87
88
foreach ( $links[0] as $id => $link ) {
89
if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
90
if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true ) {
91
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . $rel_hash . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
92
} else {
93
if ( isset( $result[1] ) ) {
94
$new_rels = array();
@@ -100,13 +120,15 @@ class Responsive_Lightbox_Frontend {
100
$new_rels[] = $rel;
101
}
102
103
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( ! empty( $new_rels ) ? implode( ' ', $new_rels ) . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
104
} else
105
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
106
}
107
}
108
- } else
109
- $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'] === true ? $rel_hash : '-' . $id ) . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . '>', $content );
110
}
111
}
112
@@ -120,7 +142,7 @@ class Responsive_Lightbox_Frontend {
120
*/
121
public function add_gallery_lightbox_selector( $link, $id, $size, $permalink, $icon, $text ) {
122
123
- if ( Responsive_Lightbox()->options['settings']['galleries'] === true ) {
124
125
// gallery link target image
126
$src = array();
@@ -137,7 +159,7 @@ class Responsive_Lightbox_Frontend {
137
$link = str_replace( '<a href', '<a title="'. $title .'" href', $link );
138
}
139
140
- $link = ( preg_match( '/<a.*? (?:rel|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 ) );
141
142
// gallery image size
143
if ( Responsive_Lightbox()->options['settings']['gallery_image_size'] != 'full' ) {
@@ -160,9 +182,9 @@ class Responsive_Lightbox_Frontend {
160
/**
161
* Add lightbox to Jetpack tiled gallery
162
*
163
- * @param mixed $content
164
- * @param array $attr
165
- * @return mixed
166
*/
167
public function add_custom_gallery_lightbox_selector( $content, $attr ) {
168
@@ -188,9 +210,9 @@ class Responsive_Lightbox_Frontend {
188
}
189
190
if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
191
- $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
192
} else {
193
- $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="' . $title . '"' : '' ) . '>', $content );
194
}
195
}
196
}
@@ -203,9 +225,9 @@ class Responsive_Lightbox_Frontend {
203
/**
204
* Get attachment title function
205
*
206
- * @param int $id
207
- * @param string $title_arg
208
- * @return string
209
*/
210
public function get_attachment_title( $id, $title_arg ) {
211
@@ -228,6 +250,7 @@ class Responsive_Lightbox_Frontend {
228
break;
229
default:
230
$title = '';
231
}
232
233
return apply_filters( 'rl_get_attachment_title', $title, $id, $title_arg );
@@ -237,8 +260,8 @@ class Responsive_Lightbox_Frontend {
237
/**
238
* Get attachment id by url function, adjusted to work cropped images
239
*
240
- * @param string $url
241
- * @return int
242
*/
243
public function get_attachment_id_by_url( $url ) {
244
$post_id = attachment_url_to_postid( $url );
@@ -263,8 +286,8 @@ class Responsive_Lightbox_Frontend {
263
/**
264
* Helper: generate password without wp_rand() and DB call it uses
265
*
266
- * @param int $length
267
- * @return string
268
*/
269
private function generate_password( $length = 64 ) {
270
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
@@ -280,9 +303,9 @@ class Responsive_Lightbox_Frontend {
280
/**
281
* Helper: gallery number function
282
*
283
- * @param mixed $content
284
- * @param array $attr
285
- * @return mixed
286
*/
287
public function gallery_attributes( $content, $attr ) {
288
28
/**
29
* Add lightbox to videos
30
*
31
+ * @param mixed $content
32
+ * @return mixed
33
*/
34
public function add_videos_lightbox_selector( $content ) {
35
72
/**
73
* Add lightbox to to image links
74
*
75
+ * @param mixed $content
76
+ * @return mixed
77
*/
78
public function add_links_lightbox_selector( $content ) {
79
82
preg_match_all( '/<a(.*?)href=(?:\'|")([^<]*?).(bmp|gif|jpeg|jpg|png)(?:\'|")(.*?)>/i', $content, $links );
83
84
if ( isset( $links[0] ) ) {
85
+
86
+ // generate hash for single images gallery
87
if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true )
88
+ $rel_hash = '-gallery-' . $this->generate_password( 4 );
89
90
foreach ( $links[0] as $id => $link ) {
91
+
92
+ // single image title
93
+ $title = '';
94
+
95
+ if ( ( $title_arg = Responsive_Lightbox()->options['settings']['image_title'] ) !== 'default' ) {
96
+
97
+ $image_id = (int) $this->get_attachment_id_by_url( $links[2][$id] . '.' . $links[3][$id] );
98
+
99
+ if ( $image_id ) {
100
+ $title_arg = apply_filters( 'rl_lightbox_attachment_image_title_arg', $title_arg, $image_id, $links[2][$id] . '.' . $links[3][$id] );
101
+ $title = wp_strip_all_tags( trim( $this->get_attachment_title( $image_id, $title_arg ) ) );
102
+ }
103
+ }
104
+
105
+ // link contains rel / data-rel attribute
106
if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
107
+
108
+ // single images gallery
109
if ( Responsive_Lightbox()->options['settings']['images_as_gallery'] === true ) {
110
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . $rel_hash . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '"', $link ), $content );
111
+ // single image
112
} else {
113
if ( isset( $result[1] ) ) {
114
$new_rels = array();
120
$new_rels[] = $rel;
121
}
122
123
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( ! empty( $new_rels ) ? implode( ' ', $new_rels ) . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '"', $link ), $content );
124
} else
125
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . Responsive_Lightbox()->options['settings']['selector'] . '-' . $id . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '"', $link ), $content );
126
}
127
}
128
+ // link without rel/data-rel
129
+ } else {
130
+ $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'] === true ? $rel_hash : '-' . $id ) . '"' . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ' title="' . $title . '">', $content );
131
+ }
132
}
133
}
134
142
*/
143
public function add_gallery_lightbox_selector( $link, $id, $size, $permalink, $icon, $text ) {
144
145
+ if ( Responsive_Lightbox()->options['settings']['galleries'] === true && wp_attachment_is_image( $id ) ) {
146
147
// gallery link target image
148
$src = array();
159
$link = str_replace( '<a href', '<a title="'. $title .'" href', $link );
160
}
161
162
+ $link = ( preg_match( '/<a.*? (?:rel|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 ) );
163
164
// gallery image size
165
if ( Responsive_Lightbox()->options['settings']['gallery_image_size'] != 'full' ) {
182
/**
183
* Add lightbox to Jetpack tiled gallery
184
*
185
+ * @param mixed $content
186
+ * @param array $attr
187
+ * @return mixed
188
*/
189
public function add_custom_gallery_lightbox_selector( $content, $attr ) {
190
210
}
211
212
if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
213
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . Responsive_Lightbox()->options['settings']['selector'] . '-gallery-' . $this->gallery_no . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( Responsive_Lightbox()->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
214
} else {
215
+ $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="' . $title . '"' : '' ) . '>', $content );
216
}
217
}
218
}
225
/**
226
* Get attachment title function
227
*
228
+ * @param int $id
229
+ * @param string $title_arg
230
+ * @return string
231
*/
232
public function get_attachment_title( $id, $title_arg ) {
233
250
break;
251
default:
252
$title = '';
253
+ break;
254
}
255
256
return apply_filters( 'rl_get_attachment_title', $title, $id, $title_arg );
260
/**
261
* Get attachment id by url function, adjusted to work cropped images
262
*
263
+ * @param string $url
264
+ * @return int
265
*/
266
public function get_attachment_id_by_url( $url ) {
267
$post_id = attachment_url_to_postid( $url );
286
/**
287
* Helper: generate password without wp_rand() and DB call it uses
288
*
289
+ * @param int $length
290
+ * @return string
291
*/
292
private function generate_password( $length = 64 ) {
293
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
303
/**
304
* Helper: gallery number function
305
*
306
+ * @param mixed $content
307
+ * @param array $attr
308
+ * @return mixed
309
*/
310
public function gallery_attributes( $content, $attr ) {
311
includes/class-settings.php CHANGED
@@ -16,6 +16,7 @@ class Responsive_Lightbox_Settings {
16
private $tabs = array();
17
private $choices = array();
18
private $loading_places = array();
19
20
public function __construct() {
21
@@ -35,7 +36,7 @@ class Responsive_Lightbox_Settings {
35
*/
36
public function load_defaults() {
37
38
- $this->scripts = array(
39
'prettyphoto' => array(
40
'name' => __( 'prettyPhoto', 'responsive-lightbox' ),
41
'animation_speeds' => array(
@@ -106,9 +107,9 @@ class Responsive_Lightbox_Settings {
106
'tosrus' => array(
107
'name' => __( 'TosRUs', 'responsive-lightbox' ),
108
),
109
- );
110
111
- $this->gallery_image_titles = array(
112
'default' => __( 'None (default)', 'responsive-lightbox' ),
113
'title' => __( 'Image Title', 'responsive-lightbox' ),
114
'caption' => __( 'Image Caption', 'responsive-lightbox' ),
@@ -156,7 +157,7 @@ class Responsive_Lightbox_Settings {
156
'section' => 'responsive_lightbox_settings',
157
'type' => 'radio',
158
'label' => '',
159
- 'description' => __( 'Select your preffered ligthbox effect script.', 'responsive-lightbox' ),
160
'options' => $scripts,
161
// 'options_cb' => '',
162
// 'id' => '',
@@ -174,6 +175,13 @@ class Responsive_Lightbox_Settings {
174
'type' => 'boolean',
175
'label' => __( 'Add lightbox to WordPress image links by default.', 'responsive-lightbox' ),
176
),
177
'images_as_gallery' => array(
178
'title' => __( 'Single images as gallery', 'responsive-lightbox' ),
179
'section' => 'responsive_lightbox_settings',
@@ -198,7 +206,7 @@ class Responsive_Lightbox_Settings {
198
'section' => 'responsive_lightbox_settings',
199
'type' => 'select',
200
'description' => __( 'Select title for images in native WordPress galleries.', 'responsive-lightbox' ),
201
- 'options' => $this->gallery_image_titles,
202
),
203
'force_custom_gallery' => array(
204
'title' => __( 'Force gallery lightbox', 'responsive-lightbox' ),
@@ -861,6 +869,9 @@ class Responsive_Lightbox_Settings {
861
break;
862
863
default :
864
break;
865
}
866
@@ -879,6 +890,12 @@ class Responsive_Lightbox_Settings {
879
)
880
) );
881
882
}
883
884
/**
@@ -898,7 +915,7 @@ class Responsive_Lightbox_Settings {
898
* @return void
899
*/
900
public function options_page() {
901
- $tab_key = (isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings');
902
903
echo '
904
<div class="wrap">' . screen_icon() . '
@@ -974,7 +991,7 @@ class Responsive_Lightbox_Settings {
974
* @return void
975
*/
976
public function register_settings() {
977
-
978
foreach ( $this->settings as $setting_id => $setting ) {
979
980
// set key
@@ -1027,7 +1044,7 @@ class Responsive_Lightbox_Settings {
1027
'options' => ! empty( $field['options'] ) ? $field['options'] : '',
1028
'fields' => ! empty( $field['fields'] ) ? $field['fields'] : '',
1029
'default' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->defaults[$setting_key][$field['parent']][$field_key] : Responsive_Lightbox()->defaults[$setting_key][$field_key], $field['type'] ) ),
1030
- 'value' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->options[$setting_key][$field['parent']][$field_key] : Responsive_Lightbox()->options[$setting_key][$field_key], $field['type'] ) ),
1031
'label_for' => $field_id,
1032
'return' => false
1033
);
@@ -1059,6 +1076,36 @@ class Responsive_Lightbox_Settings {
1059
}
1060
1061
}
1062
1063
}
1064
@@ -1310,6 +1357,11 @@ class Responsive_Lightbox_Settings {
1310
1311
}
1312
1313
if ( $setting_id === 'configuration' ) {
1314
// merge scripts settings
1315
$input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
@@ -1321,6 +1373,10 @@ class Responsive_Lightbox_Settings {
1321
// merge scripts settings
1322
$input[Responsive_Lightbox()->options['settings']['script']] = Responsive_Lightbox()->defaults['configuration'][Responsive_Lightbox()->options['settings']['script']];
1323
$input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
1324
} else {
1325
$input = Responsive_Lightbox()->defaults[$setting_id];
1326
}
@@ -1332,4 +1388,192 @@ class Responsive_Lightbox_Settings {
1332
return $input;
1333
}
1334
1335
}
16
private $tabs = array();
17
private $choices = array();
18
private $loading_places = array();
19
+ private $api_url = 'http://dfactory.eu';
20
21
public function __construct() {
22
36
*/
37
public function load_defaults() {
38
39
+ $this->scripts = apply_filters( 'rl_settings_scripts', array(
40
'prettyphoto' => array(
41
'name' => __( 'prettyPhoto', 'responsive-lightbox' ),
42
'animation_speeds' => array(
107
'tosrus' => array(
108
'name' => __( 'TosRUs', 'responsive-lightbox' ),
109
),
110
+ ) );
111
112
+ $this->image_titles = array(
113
'default' => __( 'None (default)', 'responsive-lightbox' ),
114
'title' => __( 'Image Title', 'responsive-lightbox' ),
115
'caption' => __( 'Image Caption', 'responsive-lightbox' ),
157
'section' => 'responsive_lightbox_settings',
158
'type' => 'radio',
159
'label' => '',
160
+ 'description' => sprintf(__( 'Select your preffered ligthbox effect script or get our <a href="%s">premium extensions</a>.', 'responsive-lightbox' ), esc_url( add_query_arg( array( 'rl_action' => 'hide_notice' ), admin_url( 'options-general.php?page=responsive-lightbox&tab=addons' ) ) ) ),
161
'options' => $scripts,
162
// 'options_cb' => '',
163
// 'id' => '',
175
'type' => 'boolean',
176
'label' => __( 'Add lightbox to WordPress image links by default.', 'responsive-lightbox' ),
177
),
178
+ 'image_title' => array(
179
+ 'title' => __( 'Single image title', 'responsive-lightbox' ),
180
+ 'section' => 'responsive_lightbox_settings',
181
+ 'type' => 'select',
182
+ 'description' => __( 'Select title for single images.', 'responsive-lightbox' ),
183
+ 'options' => $this->image_titles,
184
+ ),
185
'images_as_gallery' => array(
186
'title' => __( 'Single images as gallery', 'responsive-lightbox' ),
187
'section' => 'responsive_lightbox_settings',
206
'section' => 'responsive_lightbox_settings',
207
'type' => 'select',
208
'description' => __( 'Select title for images in native WordPress galleries.', 'responsive-lightbox' ),
209
+ 'options' => $this->image_titles,
210
),
211
'force_custom_gallery' => array(
212
'title' => __( 'Force gallery lightbox', 'responsive-lightbox' ),
869
break;
870
871
default :
872
+
873
+ $this->settings['configuration'] = apply_filters( 'rl_settings_' . Responsive_Lightbox()->options['settings']['script'] . '_script_configuration', $this->settings['configuration'] );
874
+
875
break;
876
}
877
890
)
891
) );
892
893
+ $this->tabs['addons'] = array(
894
+ 'name' => __( 'Add-ons', 'responsive-lightbox' ),
895
+ 'key' => 'responsive_lightbox_configuration',
896
+ 'callback' => array( &$this, 'addons_tab_cb' )
897
+ );
898
+
899
}
900
901
/**
915
* @return void
916
*/
917
public function options_page() {
918
+ $tab_key = ( isset( $_GET['tab'] ) ? $_GET['tab'] : 'settings' );
919
920
echo '
921
<div class="wrap">' . screen_icon() . '
991
* @return void
992
*/
993
public function register_settings() {
994
+
995
foreach ( $this->settings as $setting_id => $setting ) {
996
997
// set key
1044
'options' => ! empty( $field['options'] ) ? $field['options'] : '',
1045
'fields' => ! empty( $field['fields'] ) ? $field['fields'] : '',
1046
'default' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->defaults[$setting_key][$field['parent']][$field_key] : Responsive_Lightbox()->defaults[$setting_key][$field_key], $field['type'] ) ),
1047
+ 'value' => $field['type'] === 'multiple' ? '' : ( $this->sanitize_field( ! empty( $field['parent'] ) ? Responsive_Lightbox()->options[$setting_key][$field['parent']][$field_key] : ( isset( Responsive_Lightbox()->options[$setting_key][$field_key] ) ? Responsive_Lightbox()->options[$setting_key][$field_key] : Responsive_Lightbox()->defaults[$setting_key][$field_key] ), $field['type'] ) ),
1048
'label_for' => $field_id,
1049
'return' => false
1050
);
1076
}
1077
1078
}
1079
+
1080
+ // licenses
1081
+ $extensions = apply_filters( 'rl_settings_licenses', array() );
1082
+
1083
+ if ( $extensions ) {
1084
+ // register setting
1085
+ register_setting(
1086
+ 'responsive_lightbox_licenses',
1087
+ 'responsive_lightbox_licenses',
1088
+ array( &$this, 'validate_licenses' )
1089
+ );
1090
+
1091
+ add_settings_section(
1092
+ 'responsive_lightbox_licenses',
1093
+ __( 'Licenses', 'responsive-lightbox' ),
1094
+ array( &$this, 'licenses_section_cb' ),
1095
+ 'responsive_lightbox_licenses'
1096
+ );
1097
+
1098
+ foreach ( $extensions as $id => $extension ) {
1099
+ add_settings_field(
1100
+ esc_attr( $id ),
1101
+ $extension['name'],
1102
+ array( &$this, 'license_field_cb' ),
1103
+ 'responsive_lightbox_licenses',
1104
+ 'responsive_lightbox_licenses',
1105
+ $extension
1106
+ );
1107
+ }
1108
+ }
1109
1110
}
1111
1357
1358
}
1359
1360
+ if ( $setting_id === 'settings' ) {
1361
+ // merge scripts settings
1362
+ $input = array_merge( Responsive_Lightbox()->options['settings'], $input );
1363
+ }
1364
+
1365
if ( $setting_id === 'configuration' ) {
1366
// merge scripts settings
1367
$input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
1373
// merge scripts settings
1374
$input[Responsive_Lightbox()->options['settings']['script']] = Responsive_Lightbox()->defaults['configuration'][Responsive_Lightbox()->options['settings']['script']];
1375
$input = array_merge( Responsive_Lightbox()->options['configuration'], $input );
1376
+ } elseif ( $setting_id === 'settings' ) {
1377
+ $input = Responsive_Lightbox()->defaults[$setting_id];
1378
+ $input['update_version'] = Responsive_Lightbox()->options['settings']['update_version'];
1379
+ $input['update_notice'] = Responsive_Lightbox()->options['settings']['update_notice'];
1380
} else {
1381
$input = Responsive_Lightbox()->defaults[$setting_id];
1382
}
1388
return $input;
1389
}
1390
1391
+ /**
1392
+ * Add-ons tab callback
1393
+ *
1394
+ * @return mixed
1395
+ */
1396
+ private function addons_tab_cb() {
1397
+ ?>
1398
+ <h3><?php _e( 'Add-ons / Extensions', 'responsive-lightbox' ); ?></h3>
1399
+ <p class="description"><?php _e( 'Enhance your website with these beautiful, easy to use extensions, designed with Responsive Lightbox integration in mind.', 'responsive-lightbox' ); ?></p>
1400
+ <br />
1401
+ <?php
1402
+ if ( ( $cache = get_transient( 'responsive_lightbox_addons_feed' ) ) === false ) {
1403
+ $url = 'https://dfactory.eu/?feed=addons&product=responsive-lightbox';
1404
+
1405
+ $feed = wp_remote_get( esc_url_raw( $url ), array( 'sslverify' => false ) );
1406
+
1407
+ if ( ! is_wp_error( $feed ) ) {
1408
+ if ( isset( $feed['body'] ) && strlen( $feed['body'] ) > 0 ) {
1409
+ $cache = wp_remote_retrieve_body( $feed );
1410
+ // set_transient( 'responsive_lightbox_addons_feed', $cache, 3600 );
1411
+ }
1412
+ } else {
1413
+ $cache = '<div class="error"><p>' . __( 'There was an error retrieving the extensions list from the server. Please try again later.', 'responsive-lightbox' ) . '</div>';
1414
+ }
1415
+ }
1416
+
1417
+ echo $cache;
1418
+ }
1419
+
1420
+ /**
1421
+ * Licenses section callback.
1422
+ *
1423
+ * @return mixed
1424
+ */
1425
+ public function licenses_section_cb() {
1426
+ ?><p class="description"><?php _e( 'A list of licenses for your Responsive Lightbox extensions.', 'responsive-lightbox' ); ?></p><?php
1427
+ }
1428
+
1429
+ /**
1430
+ * License field callback.
1431
+ *
1432
+ * @return mixed
1433
+ */
1434
+ public function license_field_cb( $args ) {
1435
+ $licenses = get_option( 'responsive_lightbox_licenses' );
1436
+
1437
+ $license = ! empty( $licenses ) && isset( $licenses[$args['id']]['license'] ) ? esc_attr( $licenses[$args['id']]['license'] ) : '';
1438
+ $status = ! empty( $licenses ) && ! empty( $licenses[$args['id']]['status'] ) ? true : false;
1439
+ ?>
1440
+ <fieldset class="rl_license rl_license-<?php echo esc_attr( $args['id'] ); ?>">
1441
+ <input type="text" class="regular-text" name="responsive_lightbox_licenses[<?php echo esc_attr( $args['id'] ); ?>][license]" value="<?php echo $license; ?>"><span class="dashicons <?php echo ! empty( $status ) ? 'dashicons-yes' : 'dashicons-no'; ?>"></span>
1442
+ <p class="description"><?php printf( __( 'Enter your license key to activate %s extension and enable automatic upgrade notices.', 'responsive-lightbox' ), $args['name'] ); ?></p>
1443
+ </fieldset>
1444
+ <?php
1445
+ }
1446
+
1447
+ /**
1448
+ * Validate licenses function.
1449
+ *
1450
+ * @param array $input
1451
+ * @return array
1452
+ */
1453
+ public function validate_licenses( $input ) {
1454
+
1455
+ // check cap
1456
+ if ( ! current_user_can( 'manage_options') ) {
1457
+ return $input;
1458
+ }
1459
+
1460
+ // check page
1461
+ if ( ! ( $option_page = esc_attr( $_POST['option_page'] ) ) )
1462
+ return $input;
1463
+
1464
+ // check data
1465
+ if ( ! isset( $_POST['responsive_lightbox_licenses'] ) || ! is_array( $_POST['responsive_lightbox_licenses'] ))
1466
+ return $input;
1467
+
1468
+ $extensions = apply_filters( 'rl_settings_licenses', array() );
1469
+
1470
+ if ( empty( $extensions ) )
1471
+ return $input;
1472
+
1473
+ // save settings
1474
+ if ( isset( $_POST['save_rl_licenses'] ) ) {
1475
+ $licenses = get_option( 'responsive_lightbox_licenses' );
1476
+
1477
+ foreach ( $extensions as $extension ) {
1478
+ if ( ! isset( $_POST['responsive_lightbox_licenses'][$extension['id']] ) )
1479
+ continue;
1480
+
1481
+ $license = preg_replace('/[^a-zA-Z0-9]/', '', $_POST['responsive_lightbox_licenses'][$extension['id']]['license'] );
1482
+ $status = ! empty( $licenses ) && ! empty( $licenses[$extension['id']]['status'] ) ? true : false;
1483
+
1484
+ // request data
1485
+ $request_args = array(
1486
+ 'action' => 'activate_license',
1487
+ 'license' => trim( $license ),
1488
+ 'item_name' => $extension['item_name']
1489
+ );
1490
+ // request
1491
+ $response = $this->license_request( $request_args );
1492
+
1493
+ // echo '<pre>'; print_r( $response ); echo '</pre>';
1494
+
1495
+ // validate request
1496
+ if ( is_wp_error( $response ) ) {
1497
+ $input[$extension['id']['status']] = false;
1498
+ add_settings_error( 'rl_licenses_settings', 'license_activation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1499
+ } else {
1500
+ // decode the license data
1501
+ $license_data = json_decode( wp_remote_retrieve_body( $response ) );
1502
+
1503
+ // assign the data
1504
+ if ( $license_data->license == 'valid' ) {
1505
+ $input[$extension['id']]['status'] = true;
1506
+
1507
+ if ( $status === false )
1508
+ add_settings_error( 'rl_licenses_settings', 'license_activated', __( 'License successfully activated.', 'responsive-lightbox' ), 'updated' );
1509
+ } else {
1510
+ $input[$extension['id']]['status'] = false;
1511
+ add_settings_error( 'rl_licenses_settings', 'license_activation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1512
+ }
1513
+ }
1514
+ }
1515
+ } elseif ( isset( $_POST['reset_rl_licenses'] ) ) {
1516
+ $licenses = get_option( 'responsive_lightbox_licenses' );
1517
+
1518
+ foreach ( $extensions as $extension ) {
1519
+ $license = ! empty( $licenses ) && isset( $licenses[$extension['id']]['license'] ) ? $licenses[$extension['id']]['license'] : '';
1520
+ $status = ! empty( $licenses ) && ! empty( $licenses[$extension['id']]['status'] ) ? true : false;
1521
+
1522
+ if ( $status === true ) {
1523
+ // request data
1524
+ $request_args = array(
1525
+ 'action' => 'deactivate_license',
1526
+ 'license' => trim( $license ),
1527
+ 'item_name' => $extension['item_name']
1528
+ );
1529
+ // request
1530
+ $response = $this->license_request( $request_args );
1531
+
1532
+ // echo '<pre>'; print_r( $response ); echo '</pre>';
1533
+
1534
+ // validate request
1535
+ if ( is_wp_error( $response ) ) {
1536
+ add_settings_error( 'rl_licenses_settings', 'license_activation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1537
+ } else {
1538
+ // decode the license data
1539
+ $license_data = json_decode( wp_remote_retrieve_body( $response ) );
1540
+
1541
+ // assign the data
1542
+ if ( $license_data->license == 'deactivated' ) {
1543
+ $input[$extension['id']]['license'] = '';
1544
+ $input[$extension['id']]['status'] = false;
1545
+ add_settings_error( 'rl_licenses_settings', 'license_deactivated', __( 'License successfully deactivated.', 'responsive-lightbox' ), 'updated' );
1546
+ } else {
1547
+ add_settings_error( 'rl_licenses_settings', 'license_deactivation_failed', __( 'License activation failed.', 'responsive-lightbox' ), 'error' );
1548
+ }
1549
+ }
1550
+ }
1551
+ }
1552
+ }
1553
+
1554
+ return $input;
1555
+ }
1556
+
1557
+ /**
1558
+ * License request function.
1559
+ *
1560
+ * @param array $args
1561
+ * @return mixed
1562
+ */
1563
+ private function license_request( $args ) {
1564
+ // data to send in our API request
1565
+ $api_params = array(
1566
+ 'edd_action' => $args['action'],
1567
+ 'license' => $args['license'],
1568
+ 'item_name' => urlencode( $args['item_name'] ),
1569
+ // 'item_id' => $args['item_id'],
1570
+ 'url' => home_url(),
1571
+ 'timeout' => 15,
1572
+ 'sslverify' => false
1573
+ );
1574
+ // call the custom API.
1575
+ $response = wp_remote_get( add_query_arg( $api_params, $this->api_url ) );
1576
+
1577
+ return $response;
1578
+ }
1579
}
js/front.js CHANGED
@@ -1,7 +1,7 @@
1
( function ( $ ) {
2
3
$( document ).on( 'ready' + rlArgs.customEvents, function () {
4
-
5
// initialise event
6
$.event.trigger( {
7
type : 'doResponsiveLightbox',
@@ -205,7 +205,7 @@
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,
@@ -220,6 +220,7 @@
220
},
221
// forced
222
show : false,
223
caption : {
224
add : true,
225
attributes : ["title"]
1
( function ( $ ) {
2
3
$( document ).on( 'ready' + rlArgs.customEvents, function () {
4
+
5
// initialise event
6
$.event.trigger( {
7
type : 'doResponsiveLightbox',
205
infinite : ( rlArgs.infinite === '1' ? true : false ),
206
autoplay : {
207
play : ( rlArgs.autoplay === '1' ? true : false ),
208
+ pauseOnHover : ( rlArgs.pause_on_hover === '1' ? true : false ),
209
timeout : rlArgs.timeout
210
},
211
effect : rlArgs.effect,
220
},
221
// forced
222
show : false,
223
+ buttons : true,
224
caption : {
225
add : true,
226
attributes : ["title"]
languages/responsive-lightbox-pl_PL.mo CHANGED
Binary file
languages/responsive-lightbox-pl_PL.po CHANGED
@@ -1,286 +1,299 @@
1
msgid ""
2
msgstr ""
3
"Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2015-06-13 18:20+0100\n"
5
- "PO-Revision-Date: 2015-06-13 18:21+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.8.1\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 "wolno"
25
26
- #: ../includes/class-settings.php:49
27
msgid "normal"
28
msgstr "normalnie"
29
30
- #: ../includes/class-settings.php:50
31
msgid "fast"
32
msgstr "szybko"
33
34
- #: ../includes/class-settings.php:53
35
msgid "default"
36
msgstr ""
37
38
- #: ../includes/class-settings.php:54
39
msgid "light rounded"
40
msgstr ""
41
42
- #: ../includes/class-settings.php:55
43
msgid "dark rounded"
44
msgstr ""
45
46
- #: ../includes/class-settings.php:56
47
msgid "light square"
48
msgstr ""
49
50
- #: ../includes/class-settings.php:57
51
msgid "dark square"
52
msgstr ""
53
54
- #: ../includes/class-settings.php:58
55
msgid "facebook"
56
msgstr ""
57
58
- #: ../includes/class-settings.php:61
59
msgid "window"
60
msgstr ""
61
62
- #: ../includes/class-settings.php:62
63
msgid "transparent"
64
msgstr ""
65
66
- #: ../includes/class-settings.php:63
67
msgid "opaque"
68
msgstr ""
69
70
- #: ../includes/class-settings.php:64
71
msgid "direct"
72
msgstr ""
73
74
- #: ../includes/class-settings.php:65
75
msgid "gpu"
76
msgstr ""
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 ""
97
98
- #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
99
- #: ../includes/class-settings.php:801
100
msgid "fade"
101
msgstr ""
102
103
- #: ../includes/class-settings.php:80
104
msgid "none"
105
msgstr "brak"
106
107
- #: ../includes/class-settings.php:83
108
msgid "auto"
109
msgstr "automatycznie"
110
111
- #: ../includes/class-settings.php:84
112
msgid "yes"
113
msgstr "tak"
114
115
- #: ../includes/class-settings.php:85
116
msgid "no"
117
msgstr "nie"
118
119
- #: ../includes/class-settings.php:88
120
msgid "swing"
121
msgstr ""
122
123
- #: ../includes/class-settings.php:89
124
msgid "linear"
125
msgstr ""
126
127
- #: ../includes/class-settings.php:92
128
msgid "outside"
129
msgstr ""
130
131
- #: ../includes/class-settings.php:93
132
msgid "inside"
133
msgstr ""
134
135
- #: ../includes/class-settings.php:94
136
msgid "over"
137
msgstr ""
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 "fade scale"
146
147
- #: ../includes/class-settings.php:102
148
msgid "slide left"
149
msgstr ""
150
151
- #: ../includes/class-settings.php:103
152
msgid "slide right"
153
msgstr "slide right"
154
155
- #: ../includes/class-settings.php:104
156
msgid "slide up"
157
msgstr ""
158
159
- #: ../includes/class-settings.php:105
160
msgid "slide down"
161
msgstr "slide down"
162
163
- #: ../includes/class-settings.php:106
164
msgid "fall"
165
msgstr ""
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 "Brak (domyślny)"
178
179
- #: ../includes/class-settings.php:119
180
msgid "Image Title"
181
msgstr "Tytuł obrazka"
182
183
- #: ../includes/class-settings.php:120
184
msgid "Image Caption"
185
msgstr "Podpis obrazka"
186
187
- #: ../includes/class-settings.php:121
188
msgid "Image Alt Text"
189
msgstr "Tekst alternatywny"
190
191
- #: ../includes/class-settings.php:122
192
msgid "Image Description"
193
msgstr "Opis obrazka"
194
195
- #: ../includes/class-settings.php:126
196
msgid "Header"
197
msgstr "W nagłówku"
198
199
- #: ../includes/class-settings.php:127
200
msgid "Footer"
201
msgstr "W stopce"
202
203
- #: ../includes/class-settings.php:137
204
msgid "Thumbnail"
205
msgstr "Miniatura"
206
207
- #: ../includes/class-settings.php:138
208
msgid "Medium"
209
msgstr "Średni"
210
211
- #: ../includes/class-settings.php:139
212
msgid "Large"
213
msgstr "Duży"
214
215
- #: ../includes/class-settings.php:140
216
msgid "Full Size (default)"
217
msgstr "Pełny rozmiar (domyslny)"
218
219
- #: ../includes/class-settings.php:150 ../includes/class-settings.php:875
220
msgid "General settings"
221
msgstr "Ustawienia ogólne"
222
223
- #: ../includes/class-settings.php:159
224
msgid "Lightbox script"
225
msgstr "Skrypt lightbox"
226
227
- #: ../includes/class-settings.php:165
228
- msgid "Select your preffered ligthbox effect script."
229
- msgstr "Wybierz preferowany efekt lightbox."
230
231
- #: ../includes/class-settings.php:172
232
msgid "Selector"
233
msgstr "Znacznik"
234
235
- #: ../includes/class-settings.php:175
236
msgid "Enter the rel selector lightbox effect will be applied to."
237
msgstr "Wybierz dla którego znacznika będzie dodawany efekt lightbox."
238
239
- #: ../includes/class-settings.php:178
240
msgid "Image links"
241
msgstr "Linki obrazków"
242
243
- #: ../includes/class-settings.php:181
244
msgid "Add lightbox to WordPress image links by default."
245
msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
246
247
- #: ../includes/class-settings.php:184
248
msgid "Single images as gallery"
249
msgstr "Pojedyncze obrazki"
250
251
- #: ../includes/class-settings.php:187
252
msgid "Display single post images as a gallery."
253
msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
254
255
- #: ../includes/class-settings.php:190
256
msgid "Galleries"
257
msgstr "Galerie"
258
259
- #: ../includes/class-settings.php:193
260
msgid "Add lightbox to WordPress image galleries by default."
261
msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
262
263
- #: ../includes/class-settings.php:196
264
msgid "Gallery image size"
265
msgstr "WIelkość obrazka w galerii"
266
267
- #: ../includes/class-settings.php:199
268
msgid "Select image size for gallery image links."
269
msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
270
271
- #: ../includes/class-settings.php:203
272
msgid "Gallery image title"
273
msgstr "Tytuł obrazków w galerii"
274
275
- #: ../includes/class-settings.php:206
276
msgid "Select title for images in native WordPress galleries."
277
msgstr "Wybierz pochodzenie tytułu dla obrazków w galerii."
278
279
- #: ../includes/class-settings.php:210
280
msgid "Force gallery lightbox"
281
msgstr "Wymuszanie lightboxa w galerii"
282
283
- #: ../includes/class-settings.php:213
284
msgid ""
285
"Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
286
"galleries."
@@ -288,40 +301,40 @@ msgstr ""
288
"Spróbuj wymusić lightbox w galeriach zastępujących domyślną galerię "
289
"WordPress, jak np. galeria Jetpack."
290
291
- #: ../includes/class-settings.php:216
292
msgid "Video links"
293
msgstr "Linki video"
294
295
- #: ../includes/class-settings.php:219
296
msgid "Add lightbox to YouTube and Vimeo video links by default."
297
msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
298
299
- #: ../includes/class-settings.php:222
300
msgid "Custom events"
301
msgstr "Własne zdarzenia"
302
303
- #: ../includes/class-settings.php:228
304
msgid "Enable triggering lightbox on custom jQuery events."
305
msgstr ""
306
"Włącz uruchamianie efektu lightbox przy pomocy własnych zdarzeń jQuery."
307
308
- #: ../includes/class-settings.php:232
309
msgid "Enter a space separated list of events."
310
msgstr "Wpisz oddzieloną spacją listę wydarzeń."
311
312
- #: ../includes/class-settings.php:237
313
msgid "Loading place"
314
msgstr "Ładowanie"
315
316
- #: ../includes/class-settings.php:240
317
msgid "Select where all the lightbox scripts should be placed."
318
msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
319
320
- #: ../includes/class-settings.php:244
321
msgid "Conditional loading"
322
msgstr "Ładowanie warunkowe"
323
324
- #: ../includes/class-settings.php:247
325
msgid ""
326
"Enable to load scripts and styles only on pages that have images or "
327
"galleries in post content."
@@ -329,62 +342,62 @@ msgstr ""
329
"Włącz aby wczytywać sklrypty i style wyłącznie na stronach, które w treści "
330
"zawierają galerie obrazków lub pojedyncze obrazki."
331
332
- #: ../includes/class-settings.php:250
333
msgid "Delete data"
334
msgstr "Usuwanie danych"
335
336
- #: ../includes/class-settings.php:253
337
msgid "Delete all plugin settings on deactivation."
338
msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
339
340
- #: ../includes/class-settings.php:263 ../includes/class-settings.php:881
341
msgid "Lightbox settings"
342
msgstr "Ustawienia lightbox"
343
344
- #: ../includes/class-settings.php:281
345
msgid "Animation type"
346
msgstr "Typ animacji"
347
348
- #: ../includes/class-settings.php:285
349
msgid "Select a method of applying a lightbox effect."
350
msgstr "Wybierz sposób dodawania efektu lightbox."
351
352
- #: ../includes/class-settings.php:290
353
msgid "Force PNG icons"
354
msgstr "Wymuszanie ikon PNG"
355
356
- #: ../includes/class-settings.php:293
357
msgid ""
358
"Enable this if you're having problems with navigation icons not visible on "
359
"some devices."
360
msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
361
362
- #: ../includes/class-settings.php:297
363
msgid "Hide close on mobile"
364
msgstr "Ukrywanie przycisku zamknij"
365
366
- #: ../includes/class-settings.php:300
367
msgid "Hide the close button on mobile devices."
368
msgstr ""
369
"Włącz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
370
371
- #: ../includes/class-settings.php:304
372
msgid "Remove bars on mobile"
373
msgstr "Ukrywanie pasków"
374
375
- #: ../includes/class-settings.php:307
376
msgid "Hide the top and bottom bars on mobile devices."
377
msgstr "Ukryj górny i dolny pasek na urządzeniach mobilnych."
378
379
- #: ../includes/class-settings.php:311
380
msgid "Top and bottom bars"
381
msgstr "Górne i dolne paski"
382
383
- #: ../includes/class-settings.php:317
384
msgid "Hide top and bottom bars after a period of time."
385
msgstr "Ukryj górny i dolny pasek po określonym czasie."
386
387
- #: ../includes/class-settings.php:322
388
msgid ""
389
"Enter the time after which the top and bottom bars will be hidden (when "
390
"hiding is enabled)."
@@ -392,108 +405,108 @@ msgstr ""
392
"Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
393
"jest włączona)."
394
395
- #: ../includes/class-settings.php:329
396
msgid "Video max width"
397
msgstr "Maksymalna szerokość video"
398
399
- #: ../includes/class-settings.php:332
400
msgid "Enter the max video width in a lightbox."
401
msgstr "Podaj maksymalną szerokość video."
402
403
- #: ../includes/class-settings.php:337
404
msgid "Loop at end"
405
msgstr "Zapętlenie galerii"
406
407
- #: ../includes/class-settings.php:340
408
msgid "True will return to the first image after the last image is reached."
409
msgstr ""
410
"Włącz, aby powrócić do pierwszego zdjęcia po ostatnim zdjęciu w galerii."
411
412
- #: ../includes/class-settings.php:352 ../includes/class-settings.php:744
413
msgid "Animation speed"
414
msgstr "Szybkość animacji"
415
416
- #: ../includes/class-settings.php:356
417
msgid "Select animation speed for lightbox effect."
418
msgstr "Wybierz szybkość animacji efektu lightbox."
419
420
- #: ../includes/class-settings.php:361
421
msgid "Slideshow"
422
msgstr "Pokaz slidów"
423
424
- #: ../includes/class-settings.php:367
425
msgid "Display images as slideshow"
426
msgstr "Wyświetlanie obrazków jako pokaz slajdów"
427
428
- #: ../includes/class-settings.php:372
429
msgid "Enter time (in miliseconds)."
430
msgstr "Podaj czas (w milisekundach)."
431
432
- #: ../includes/class-settings.php:379
433
msgid "Slideshow autoplay"
434
msgstr "Automatyczne odtwarzanie pokazu slajdów"
435
436
- #: ../includes/class-settings.php:382 ../includes/class-settings.php:826
437
msgid "Automatically start slideshow."
438
msgstr "Automatyczne rozpoczynanie pokazu slajdów."
439
440
- #: ../includes/class-settings.php:386 ../includes/class-settings.php:588
441
msgid "Opacity"
442
msgstr "Przezroczystość"
443
444
- #: ../includes/class-settings.php:389
445
msgid "Value between 0 and 100, 100 for no opacity."
446
msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
447
448
- #: ../includes/class-settings.php:395
449
msgid "Show title"
450
msgstr "Wyświetlanie tytułu"
451
452
- #: ../includes/class-settings.php:398
453
msgid "Display image title."
454
msgstr "Wyświetlanie tytułu obrazka."
455
456
- #: ../includes/class-settings.php:402
457
msgid "Allow resize big images"
458
msgstr "Powiększanie dużych zdjęć"
459
460
- #: ../includes/class-settings.php:405
461
msgid "Resize the photos bigger than viewport."
462
msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
463
464
- #: ../includes/class-settings.php:409
465
msgid "Allow expand"
466
msgstr "Zezwól na powiększanie"
467
468
- #: ../includes/class-settings.php:412
469
msgid "Allow expanding images."
470
msgstr "Zezwól na powiększanie zdjęć."
471
472
- #: ../includes/class-settings.php:416 ../includes/class-settings.php:682
473
msgid "Video width"
474
msgstr "Szerokość video"
475
476
- #: ../includes/class-settings.php:423 ../includes/class-settings.php:690
477
msgid "Video height"
478
msgstr "Wysokość video"
479
480
- #: ../includes/class-settings.php:430
481
msgid "Theme"
482
msgstr "Motyw"
483
484
- #: ../includes/class-settings.php:433
485
msgid "Select the theme for lightbox effect."
486
msgstr "Wybierz motyw dla efektu lightbox."
487
488
- #: ../includes/class-settings.php:438
489
msgid "Horizontal padding"
490
msgstr "Odstępy w poziomie"
491
492
- #: ../includes/class-settings.php:445
493
msgid "Hide Flash"
494
msgstr "Ukrywanie flash"
495
496
- #: ../includes/class-settings.php:448
497
msgid ""
498
"Hide all the flash objects on a page. Enable this if flash appears over "
499
"prettyPhoto."
@@ -501,66 +514,66 @@ msgstr ""
501
"Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
502
"wyświetlane są nad lightboxem."
503
504
- #: ../includes/class-settings.php:452
505
msgid "Flash Window Mode (wmode)"
506
msgstr "Tryb okna flash (wmode)"
507
508
- #: ../includes/class-settings.php:455
509
msgid "Select flash window mode."
510
msgstr "Wybierz tryb okna flash."
511
512
- #: ../includes/class-settings.php:460
513
msgid "Video autoplay"
514
msgstr "Automatyczne odtwarzanie wideo"
515
516
- #: ../includes/class-settings.php:463
517
msgid "Automatically start videos."
518
msgstr "Automatycznie rozpoczynaj video."
519
520
- #: ../includes/class-settings.php:467 ../includes/class-settings.php:510
521
msgid "Modal"
522
msgstr "Tryb modal"
523
524
- #: ../includes/class-settings.php:470
525
msgid "If set to true, only the close button will close the window."
526
msgstr ""
527
"Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
528
529
- #: ../includes/class-settings.php:474
530
msgid "Deeplinking"
531
msgstr "Głębokie linki"
532
533
- #: ../includes/class-settings.php:477
534
msgid "Allow prettyPhoto to update the url to enable deeplinking."
535
msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
536
537
- #: ../includes/class-settings.php:481
538
msgid "Overlay gallery"
539
msgstr "Efekt overlay galerii"
540
541
- #: ../includes/class-settings.php:484
542
msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
543
msgstr ""
544
"Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
545
"najechaniu myszką."
546
547
- #: ../includes/class-settings.php:488
548
msgid "Keyboard shortcuts"
549
msgstr "Skróty klawiaturowe"
550
551
- #: ../includes/class-settings.php:491
552
msgid "Set to false if you open forms inside prettyPhoto."
553
msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
554
555
- #: ../includes/class-settings.php:495
556
msgid "Social (Twitter, Facebook)"
557
msgstr "Linki społeczności (Twitter, Facebook)"
558
559
- #: ../includes/class-settings.php:498
560
msgid "Display links to Facebook and Twitter."
561
msgstr "Wyświetl linki do Facebboka i Twittera."
562
563
- #: ../includes/class-settings.php:513
564
msgid ""
565
"When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
566
"\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
@@ -570,401 +583,467 @@ msgstr ""
570
"natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
571
"\"enableEscapeButton\", \"showCloseButton\" zostaną wyłączone."
572
573
- #: ../includes/class-settings.php:517
574
msgid "Show overlay"
575
msgstr "Wyświetlanie tła"
576
577
- #: ../includes/class-settings.php:520
578
msgid "Toggle overlay."
579
msgstr "Włącz tło."
580
581
- #: ../includes/class-settings.php:524
582
msgid "Show close button"
583
msgstr "Wyświetlanie przycisku Zamknij"
584
585
- #: ../includes/class-settings.php:527
586
msgid "Toggle close button."
587
msgstr "Włącz przycisk Zamknij."
588
589
- #: ../includes/class-settings.php:531
590
msgid "Enable escape button"
591
msgstr "Wyświetlanie przycisku Wyjdź"
592
593
- #: ../includes/class-settings.php:534
594
msgid "Toggle if pressing Esc button closes FancyBox."
595
msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
596
597
- #: ../includes/class-settings.php:538
598
msgid "Hide on overlay click"
599
msgstr "Ukryj po kliknięciu w tło"
600
601
- #: ../includes/class-settings.php:541
602
msgid "Toggle if clicking the overlay should close FancyBox."
603
msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
604
605
- #: ../includes/class-settings.php:545
606
msgid "Hide on content click"
607
msgstr "Ukryj po kliknięciu w treść"
608
609
- #: ../includes/class-settings.php:548
610
msgid "Toggle if clicking the content should close FancyBox."
611
msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
612
613
- #: ../includes/class-settings.php:552
614
msgid "Cyclic"
615
msgstr "Cykliczność"
616
617
- #: ../includes/class-settings.php:555
618
msgid ""
619
"When true, galleries will be cyclic, allowing you to keep pressing next/back."
620
msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
621
622
- #: ../includes/class-settings.php:559
623
msgid "Show nav arrows"
624
msgstr "Wyświetlanie strzałek"
625
626
- #: ../includes/class-settings.php:562
627
msgid "Toggle navigation arrows."
628
msgstr "Włącz strzałki nawigacyjne."
629
630
- #: ../includes/class-settings.php:566
631
msgid "Auto scale"
632
msgstr "Automatyczne skalowanie"
633
634
- #: ../includes/class-settings.php:569
635
msgid "If true, FancyBox is scaled to fit in viewport."
636
msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
637
638
- #: ../includes/class-settings.php:573
639
msgid "Scrolling (in/out)"
640
msgstr "Przewijanie"
641
642
- #: ../includes/class-settings.php:576
643
msgid "Set the overflow CSS property to create or hide scrollbars."
644
msgstr ""
645
"Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
646
647
- #: ../includes/class-settings.php:581
648
msgid "Center on scroll"
649
msgstr "Centrowanie przy przewijaniu"
650
651
- #: ../includes/class-settings.php:584
652
msgid "When true, FancyBox is centered while scrolling page."
653
msgstr ""
654
"Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
655
"strony."
656
657
- #: ../includes/class-settings.php:591
658
msgid "When true, transparency of content is changed for elastic transitions."
659
msgstr ""
660
"Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
661
"animacji."
662
663
- #: ../includes/class-settings.php:595
664
msgid "Overlay opacity"
665
msgstr "Przezroczystość tła"
666
667
- #: ../includes/class-settings.php:598
668
msgid "Opacity of the overlay."
669
msgstr "Przezroczystość tła."
670
671
- #: ../includes/class-settings.php:604
672
msgid "Overlay color"
673
msgstr "Kolor tła"
674
675
- #: ../includes/class-settings.php:607
676
msgid "Color of the overlay."
677
msgstr "Kolor tła."
678
679
- #: ../includes/class-settings.php:611
680
msgid "Title show"
681
msgstr "Wyświetlanie tytułu"
682
683
- #: ../includes/class-settings.php:614
684
msgid "Toggle title."
685
msgstr "Wyświetlanie tytułu."
686
687
- #: ../includes/class-settings.php:618
688
msgid "Title position"
689
msgstr "Pozycja tytułu"
690
691
- #: ../includes/class-settings.php:621
692
msgid "The position of title."
693
msgstr "Pozycja tytułu."
694
695
- #: ../includes/class-settings.php:626
696
msgid "Transition (in/out)"
697
msgstr "Efekty przejścia"
698
699
- #: ../includes/class-settings.php:629
700
msgid "The transition type."
701
msgstr "Typ animacji."
702
703
- #: ../includes/class-settings.php:634
704
msgid "Easings (in/out)"
705
msgstr "Wygładzanie animacji"
706
707
- #: ../includes/class-settings.php:637
708
msgid "Easing used for elastic animations."
709
msgstr "Wygładzanie animacji dla trybu elastic."
710
711
- #: ../includes/class-settings.php:642
712
msgid "Speed (in/out)"
713
msgstr "Szybkość"
714
715
- #: ../includes/class-settings.php:645
716
msgid "Speed of the fade and elastic transitions, in milliseconds."
717
msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
718
719
- #: ../includes/class-settings.php:650
720
msgid "Change speed"
721
msgstr "Zmień szybkość"
722
723
- #: ../includes/class-settings.php:653
724
msgid "Speed of resizing when changing gallery items, in milliseconds."
725
msgstr ""
726
"Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
727
"milisekundach)."
728
729
- #: ../includes/class-settings.php:658
730
msgid "Change fade"
731
msgstr "Zmień zanikanie"
732
733
- #: ../includes/class-settings.php:661
734
msgid "Speed of the content fading while changing gallery items."
735
msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
736
737
- #: ../includes/class-settings.php:666
738
msgid "Padding"
739
msgstr "Odstęp (padding)"
740
741
- #: ../includes/class-settings.php:669
742
msgid "Space between FancyBox wrapper and content."
743
msgstr "Przestrzeń między FancyBox a treścią"
744
745
- #: ../includes/class-settings.php:674
746
msgid "Margin"
747
msgstr "Margines (margin)"
748
749
- #: ../includes/class-settings.php:677
750
msgid "Space between viewport and FancyBox wrapper."
751
msgstr "Przestrzeń między ekranem a Fancybox"
752
753
- #: ../includes/class-settings.php:685
754
msgid "Width of the video."
755
msgstr "Szerokość video."
756
757
- #: ../includes/class-settings.php:693
758
msgid "Height of the video."
759
msgstr "Wysokość video."
760
761
- #: ../includes/class-settings.php:706
762
msgid "Effect"
763
msgstr "Efekt"
764
765
- #: ../includes/class-settings.php:709
766
msgid "The effect to use when showing the lightbox."
767
msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
768
769
- #: ../includes/class-settings.php:714 ../includes/class-settings.php:813
770
msgid "Keyboard navigation"
771
msgstr "Nawigacja klawiaturą"
772
773
- #: ../includes/class-settings.php:717 ../includes/class-settings.php:816
774
msgid "Enable keyboard navigation (left/right/escape)."
775
msgstr "Włącz nawigację za pomocą klawiatury (lewo, prawo, esc)."
776
777
- #: ../includes/class-settings.php:721
778
msgid "Click overlay to close"
779
msgstr "Kliknięcie poza obrazek"
780
781
- #: ../includes/class-settings.php:724
782
msgid "Enable to close lightbox on overlay click."
783
msgstr "Włącz aby zamykać lightbox po kliknięciu w obszar poza obrazkiem."
784
785
- #: ../includes/class-settings.php:728
786
msgid "Error message"
787
msgstr "Treść komunikatu o błędzie"
788
789
- #: ../includes/class-settings.php:732
790
msgid "Error message if the content cannot be loaded."
791
msgstr "Komunikat w przypadku gdy nie można załądować treści."
792
793
- #: ../includes/class-settings.php:747
794
msgid "Animation speed."
795
msgstr "Szybkość animacji."
796
797
- #: ../includes/class-settings.php:752
798
msgid "Preload next image"
799
msgstr "Wstępne ładowanie kolejnego obrazka"
800
801
- #: ../includes/class-settings.php:755
802
msgid "Silently preload the next image."
803
msgstr "W niezauważalny sposób ładuje kolejny obrazek."
804
805
- #: ../includes/class-settings.php:759
806
msgid "Enable keyboard keys"
807
msgstr "Obługa klawiaturą"
808
809
- #: ../includes/class-settings.php:762
810
msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
811
msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
812
813
- #: ../includes/class-settings.php:766
814
msgid "Quit after last image"
815
msgstr "Wyjście po ostanim obrazku"
816
817
- #: ../includes/class-settings.php:769
818
msgid "Quit after viewing the last image."
819
msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
820
821
- #: ../includes/class-settings.php:773
822
msgid "Quit on image click"
823
msgstr "Wyjście po kliknięciu w obrazek"
824
825
- #: ../includes/class-settings.php:776
826
msgid "Quit when the viewed image is clicked."
827
msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
828
829
- #: ../includes/class-settings.php:780
830
msgid "Quit on anything click"
831
msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
832
833
- #: ../includes/class-settings.php:783
834
msgid "Quit when anything but the viewed image is clicked."
835
msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
836
837
- #: ../includes/class-settings.php:795
838
msgid "Transition effect"
839
msgstr "Efekt przejścia"
840
841
- #: ../includes/class-settings.php:798
842
msgid "What effect to use for the transition."
843
msgstr "Wybierz efekt jaki zastosować dla przejścia między slajdami."
844
845
- #: ../includes/class-settings.php:800
846
msgid "slide"
847
msgstr ""
848
849
- #: ../includes/class-settings.php:806
850
msgid "Infinite loop"
851
msgstr "Nieskończona pętla"
852
853
- #: ../includes/class-settings.php:809
854
msgid ""
855
"Whether or not to slide back to the first slide when the last has been "
856
"reached."
857
msgstr ""
858
"Włącz przewijanie do pierwszego slajdu po wyświetleniu ostatniego slajdu."
859
860
- #: ../includes/class-settings.php:820
861
msgid "Autoplay"
862
msgstr "Autopla"
863
864
- #: ../includes/class-settings.php:831
865
msgid "The timeout between sliding to the next slide in milliseconds."
866
msgstr "Czas pomiędzy slajdami, w milisekundach."
867
868
- #: ../includes/class-settings.php:838
869
msgid "Pause on hover"
870
msgstr "Pauza po najechaniu"
871
872
- #: ../includes/class-settings.php:841
873
msgid "Whether or not to pause on hover."
874
msgstr "Włącz pauzę po najechaniu kursorem."
875
876
- #: ../includes/class-settings.php:845
877
msgid "Pagination"
878
msgstr "Stronicowanie"
879
880
- #: ../includes/class-settings.php:851
881
msgid "Whether or not to add a pagination."
882
msgstr "Włącz stronicowanie."
883
884
- #: ../includes/class-settings.php:856
885
msgid "What type of pagination to use."
886
msgstr "Wybierz rodzaj stronicowania."
887
888
- #: ../includes/class-settings.php:858
889
msgid "Bullets"
890
msgstr "Kropki"
891
892
- #: ../includes/class-settings.php:859
893
msgid "Thumbnails"
894
msgstr "Miniatury"
895
896
- #: ../includes/class-settings.php:897 ../includes/class-settings.php:911
897
- #: ../includes/class-settings.php:924
898
msgid "Responsive Lightbox"
899
msgstr "Efekt Lightbox"
900
901
- #: ../includes/class-settings.php:926
902
msgid "Need support?"
903
msgstr "Potrzebujesz pomocy?"
904
905
- #: ../includes/class-settings.php:927
906
msgid ""
907
"If you are having problems with this plugin, please talk about them in the"
908
msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
909
910
- #: ../includes/class-settings.php:927
911
msgid "Support forum"
912
msgstr "Forum pomocy"
913
914
- #: ../includes/class-settings.php:929
915
msgid "Do you like this plugin?"
916
msgstr "Lubisz tę wtyczkę?"
917
918
- #: ../includes/class-settings.php:936
919
msgid "Rate it 5"
920
msgstr "Oceń ją na 5"
921
922
- #: ../includes/class-settings.php:936
923
msgid "on WordPress.org"
924
msgstr "na WordPress.org"
925
926
- #: ../includes/class-settings.php:937
927
msgid "Blog about it & link to the"
928
msgstr "Napisz o niej i dodaj link"
929
930
- #: ../includes/class-settings.php:937
931
msgid "plugin page"
932
msgstr "do strony wtyczki"
933
934
- #: ../includes/class-settings.php:938
935
msgid "Check out our other"
936
msgstr "Sprawdź nasze pozostałe"
937
938
- #: ../includes/class-settings.php:938
939
msgid "WordPress plugins"
940
msgstr "wtyczki do WordPress'a"
941
942
- #: ../includes/class-settings.php:958
943
msgid "Reset to defaults"
944
msgstr "Resetuj do domyślnych"
945
946
- #: ../includes/class-settings.php:1325
947
msgid "Settings restored to defaults."
948
msgstr "Ustawienia zostały przywrócone do domyślnych."
949
950
- #: ../responsive-lightbox.php:286
951
msgid "Support"
952
msgstr "Pomoc"
953
954
- #: ../responsive-lightbox.php:305
955
msgid "Settings"
956
msgstr "Ustawienia"
957
958
- #: ../responsive-lightbox.php:325
959
msgid "Are you sure you want to reset these settings to defaults?"
960
msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
961
962
- #: ../responsive-lightbox.php:326
963
msgid "Are you sure you want to reset this script settings to defaults?"
964
msgstr ""
965
"Jesteś pewny, że chcesz zresetować ustawienia tego skryptu do ustawień "
966
"domyślnych?"
967
968
#~ msgid "Enable"
969
#~ msgstr "Włącz"
970
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."
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."
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
"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."
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 "
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