forked from ZwiiCMS-Team/ZwiiCMS
[9.0.14] tippy lity and tinymce setup updates
This commit is contained in:
parent
6bd4e6e53c
commit
7f0d7f2e22
@ -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();
|
||||
|
||||
|
@ -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 = [
|
||||
|
1
core/vendor/flatpickr/init.js
vendored
1
core/vendor/flatpickr/init.js
vendored
@ -8,6 +8,7 @@ $(function() {
|
||||
enableTime: true,
|
||||
time_24hr: true,
|
||||
locale: "fr",
|
||||
regional:"fr",
|
||||
dateFormat: "Y-m-d H:i:s"
|
||||
});
|
||||
});
|
||||
|
3
core/vendor/lity/inc.json
vendored
3
core/vendor/lity/inc.json
vendored
@ -1,4 +1,5 @@
|
||||
[
|
||||
"lity.min.css",
|
||||
"lity.min.js"
|
||||
"lity.min.js",
|
||||
"init.js"
|
||||
]
|
7
core/vendor/lity/init.js
vendored
Normal file
7
core/vendor/lity/init.js
vendored
Normal file
@ -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",""
|
||||
);
|
||||
});
|
3
core/vendor/simplelightbox/inc.json
vendored
3
core/vendor/simplelightbox/inc.json
vendored
@ -1,5 +1,6 @@
|
||||
[
|
||||
"simplelightbox.min.js",
|
||||
"simplelightbox.min.css",
|
||||
"init.css"
|
||||
"init.css",
|
||||
"init.js"
|
||||
]
|
10
core/vendor/simplelightbox/init.js
vendored
Normal file
10
core/vendor/simplelightbox/init.js
vendored
Normal file
@ -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'});
|
||||
});
|
File diff suppressed because one or more lines are too long
4
core/vendor/tinymce/langs/fr_FR.js
vendored
4
core/vendor/tinymce/langs/fr_FR.js
vendored
@ -112,8 +112,8 @@ tinymce.addI18n('fr_FR',{
|
||||
"Handy Shortcuts": "Raccourci",
|
||||
"Horizontal line": "Ligne horizontale",
|
||||
"Insert\/edit image": "Ins\u00e9rer\/modifier une image",
|
||||
"Image description": "Description",
|
||||
"Image Title": "Légende",
|
||||
"Image description": "Légende",
|
||||
"Image Title": "Titre",
|
||||
"Source": "Source",
|
||||
"Dimensions": "Dimensions",
|
||||
"Constrain proportions": "Conserver les proportions",
|
||||
|
2
core/vendor/tinymce/link_list.json
vendored
2
core/vendor/tinymce/link_list.json
vendored
@ -1 +1 @@
|
||||
[{"title":"Nouvelle page","value":"?nouvelle-page"},{"title":"Nouvelle page","value":"?nouvelle-page-2"},{"title":"Accueil","value":"?accueil-2"},{"title":"Blog","value":"?blog"},{"title":"Galeries","value":"?galeries"},{"title":"Site de Zwii","value":"?site-de-zwii"},{"title":"Contact","value":"?p-contact"},{"title":"Accueil","value":"?accueil","menu":[{"title":"Enfant","value":"?enfant"},{"title":"Mise en page","value":"?mise-en-page"}]},{"title":"News","value":"?news"}]
|
||||
[{"title":"Nouvelle page","value":"?nouvelle-page-2"},{"title":"Nouvelle page","value":"?nouvelle-page-3"},{"title":"Nouvelle page","value":"?nouvelle-page-4"},{"title":"Nouvelle page","value":"?nouvelle-page"},{"title":"Accueil","value":"?accueil","menu":[{"title":"Enfant","value":"?enfant"},{"title":"Mise en page","value":"?mise-en-page"}]},{"title":"Priv\u00e9e","value":"?privee"},{"title":"Blog","value":"?blog","menu":[{"title":"Galeries","value":"?galeries"}]},{"title":"Contact","value":"?contact","menu":[{"title":"Site de Zwii","value":"?site-de-zwii"}]}]
|
5
core/vendor/tippy/init.js
vendored
5
core/vendor/tippy/init.js
vendored
@ -14,17 +14,20 @@ $(document).ready(function() {
|
||||
placement: "top"
|
||||
});
|
||||
// Pour les images map, pas de flèche, bulle haut suivant le curseur
|
||||
|
||||
tippy('img[title], a[title], area[title]', {
|
||||
|
||||
content(reference) {
|
||||
const title = reference.getAttribute('title')
|
||||
reference.removeAttribute('title')
|
||||
return title
|
||||
},
|
||||
|
||||
placement: "top",
|
||||
followCursor: true,
|
||||
animation: "fade",
|
||||
animateFill: true
|
||||
});
|
||||
});
|
||||
// Pour les images map, pas de flèche, bulle haut suivant le curseur
|
||||
tippy("#image-map", {
|
||||
placement: "top",
|
||||
|
@ -1,5 +0,0 @@
|
||||
# Bloque l'accès htaccess
|
||||
<Files .htaccess>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Files>
|
Loading…
Reference in New Issue
Block a user