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 '
    '; + echo '
    '; } } 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