diff --git a/core/core.js.php b/core/core.js.php
index 13e9730d..9abda891 100755
--- a/core/core.js.php
+++ b/core/core.js.php
@@ -328,15 +328,6 @@ core.start = function() {
});
}).trigger("resize");
- // Ajouter l'attribut data-lity afin de faire la liaison avec lity
- $("a[rel='data-lity']").attr("data-lity","");
-
- // Ajouter la classe Gallery afin de faire la liaison avec simplelightbox
- $("a[rel='gallery']").addClass("gallery","");
-
- //
- $('.gallery').simpleLightbox();
-
};
core.start();
diff --git a/core/core.php b/core/core.php
index 554f121f..3cabd6fc 100644
--- a/core/core.php
+++ b/core/core.php
@@ -28,7 +28,7 @@ class common {
const GROUP_ADMIN = 3;
// Numéro de version stable
- const ZWII_VERSION = '9.0.13';
+ const ZWII_VERSION = '9.0.14';
public static $actions = [];
public static $coreModuleIds = [
diff --git a/core/vendor/flatpickr/init.js b/core/vendor/flatpickr/init.js
index bd720b04..13f06d7a 100755
--- a/core/vendor/flatpickr/init.js
+++ b/core/vendor/flatpickr/init.js
@@ -8,6 +8,7 @@ $(function() {
enableTime: true,
time_24hr: true,
locale: "fr",
+ regional:"fr",
dateFormat: "Y-m-d H:i:s"
});
});
diff --git a/core/vendor/lity/inc.json b/core/vendor/lity/inc.json
index f2d57762..5b2c7d2a 100755
--- a/core/vendor/lity/inc.json
+++ b/core/vendor/lity/inc.json
@@ -1,4 +1,5 @@
[
"lity.min.css",
- "lity.min.js"
+ "lity.min.js",
+ "init.js"
]
\ No newline at end of file
diff --git a/core/vendor/lity/init.js b/core/vendor/lity/init.js
new file mode 100644
index 00000000..6430085d
--- /dev/null
+++ b/core/vendor/lity/init.js
@@ -0,0 +1,7 @@
+// Initialisation
+// Ajouter l'attribut data-lity afin de faire la liaison avec lity
+$(document).ready(function() {
+ $("a[rel='data-lity']").attr(
+ "data-lity",""
+ );
+});
\ No newline at end of file
diff --git a/core/vendor/simplelightbox/inc.json b/core/vendor/simplelightbox/inc.json
index bc763b43..1bada2b0 100644
--- a/core/vendor/simplelightbox/inc.json
+++ b/core/vendor/simplelightbox/inc.json
@@ -1,5 +1,6 @@
[
"simplelightbox.min.js",
"simplelightbox.min.css",
- "init.css"
+ "init.css",
+ "init.js"
]
\ No newline at end of file
diff --git a/core/vendor/simplelightbox/init.js b/core/vendor/simplelightbox/init.js
new file mode 100644
index 00000000..c62fa323
--- /dev/null
+++ b/core/vendor/simplelightbox/init.js
@@ -0,0 +1,10 @@
+ // Paramètres d'initialisation
+ $(document).ready(function() {
+ // Ajouter la classe Gallery afin de faire la liaison avec simplelightbox
+
+
+ $("a[rel='gallery']").addClass(
+ "gallery",""
+ );
+ $('.gallery').simpleLightbox({closeText:"✕",captionsData:'alt'});
+ });
\ No newline at end of file
diff --git a/core/vendor/simplelightbox/simplelightbox.min.js b/core/vendor/simplelightbox/simplelightbox.min.js
index b480171b..63c5ae7f 100644
--- a/core/vendor/simplelightbox/simplelightbox.min.js
+++ b/core/vendor/simplelightbox/simplelightbox.min.js
@@ -2,5 +2,7 @@
By André Rinas, www.andrerinas.de
Available for use under the MIT License
1.12.1
-*/
-!function(t,e,i,n){"use strict";t.fn.simpleLightbox=function(n){var a,n=t.extend({sourceAttr:"href",overlay:!0,spinner:!0,nav:!0,navText:["‹","›"],captions:!0,captionDelay:0,captionSelector:"img",captionType:"attr",captionsData:"title",captionPosition:"bottom",captionClass:"",close:!0,closeText:"✕",swipeClose:!0,showCounter:!0,fileExt:"png|jpg|jpeg|gif",animationSlide:!0,animationSpeed:250,preloading:!0,enableKeyboard:!0,loop:!0,rel:!1,docClose:!0,swipeTolerance:50,className:"simple-lightbox",widthRatio:.8,heightRatio:.9,disableRightClick:!1,disableScroll:!0,alertError:!0,alertErrorMessage:"Image not found, next image will be loaded",additionalHtml:!1,history:!0},n),o=(e.navigator.pointerEnabled||e.navigator.msPointerEnabled,0),s=0,l=t(),r=function(){var t=i.body||i.documentElement;return t=t.style,""===t.WebkitTransition?"-webkit-":""===t.MozTransition?"-moz-":""===t.OTransition?"-o-":""===t.transition&&""},c=!1,p=[],d=n.rel&&!1!==n.rel?function(e,i){return t(i.selector).filter(function(){return t(this).attr("rel")===e})}(n.rel,this):this,h=0,g=!1!==(r=r()),u="pushState"in history,f=!1,m=e.location,v=function(){return m.hash.substring(1)},b=v(),x=function(){v();var t="pid="+(D+1),e=m.href.split("#")[0]+"#"+t;u?history[f?"replaceState":"pushState"]("",i.title,e):f?m.replace(e):m.hash=t,f=!0},y=function(){u?history.pushState("",i.title,m.pathname+m.search):m.hash="",clearTimeout(a)},w=function(){f?a=setTimeout(x,800):x()},E="simplelb",C=t("
").addClass("sl-overlay"),T=t("