From 682a7a6e8068fde64ee1d4ffe6e4925a1671cc1a Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 20 Nov 2019 07:35:23 +0100 Subject: [PATCH] =?UTF-8?q?[10.0.120.dev]=20Traduction=20des=20l=C3=A9gend?= =?UTF-8?q?es=20de=20la=20gallery=20derrni=C3=A8re=20correction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/vendor/simplelightbox/init.js | 4 +--- module/gallery/view/gallery/gallery.js.php | 5 ++++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/core/core.php b/core/core.php index c7ddfa41..ed5853d9 100644 --- a/core/core.php +++ b/core/core.php @@ -2822,7 +2822,7 @@ class layout extends common { $rightItems .= '
  • ' . template::ico('user', 'right') . '' . $this->getUser('firstname') . ' ' . $this->getUser('lastname') . '
  • '; $rightItems .= '
  • ' . template::ico('logout') . '
  • '; // Barre de membre - echo '
      ' . $leftItems . '
      ' . $rightItems . '
    '; + echo '
      ' . $leftItems . '
      ' . $rightItems . '
    '; } } diff --git a/core/vendor/simplelightbox/init.js b/core/vendor/simplelightbox/init.js index 261352e1..48ab5b38 100644 --- a/core/vendor/simplelightbox/init.js +++ b/core/vendor/simplelightbox/init.js @@ -4,7 +4,5 @@ $("a[rel='gallery']").addClass("gallery translate"); $('.gallery').simpleLightbox({closeText:"×",captionsData:'alt'}); - - // Traduite les légendes - $('body').removeClass("notranslate"); + }); \ No newline at end of file diff --git a/module/gallery/view/gallery/gallery.js.php b/module/gallery/view/gallery/gallery.js.php index d8da03b9..3a6144a9 100644 --- a/module/gallery/view/gallery/gallery.js.php +++ b/module/gallery/view/gallery/gallery.js.php @@ -18,4 +18,7 @@ $(".galleryGalleryPicture").simpleLightbox({ captionType: "data", captionsData: "caption", closeText: "×" -}); \ No newline at end of file +}); + +// Traduite les légendes +$('body').removeClass("notranslate"); \ No newline at end of file