From acfb15d5e31fbeaf3caa6e327bdefcb0f7aeb869 Mon Sep 17 00:00:00 2001 From: leosw Date: Sun, 17 Aug 2025 22:08:51 +0200 Subject: [PATCH] Ajout d'une lightbox pour les portfolio --- controllers/d.wiki.php | 2 ++ views/blocks/d.nav.html | 9 +++++++-- views/third/simplelightbox/simple-lightbox.min.css | 7 +++++++ views/third/simplelightbox/simple-lightbox.min.js | 1 + 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 views/third/simplelightbox/simple-lightbox.min.css create mode 100644 views/third/simplelightbox/simple-lightbox.min.js diff --git a/controllers/d.wiki.php b/controllers/d.wiki.php index 63b27f6..2537e82 100755 --- a/controllers/d.wiki.php +++ b/controllers/d.wiki.php @@ -69,6 +69,8 @@ else if(isset($controller->splitted_url[1]) && $wikiPage->checkPermalink($contro $wikiPage->md2html(); $head['title'] = $wikiPage->name; + $head['css'] .= ";../third/simplelightbox/simple-lightbox.min.css"; + $head['third'] = "simplelightbox/simple-lightbox.min.js"; include ($config['views_folder']."d.wiki.view.html"); } } diff --git a/views/blocks/d.nav.html b/views/blocks/d.nav.html index 730a45d..a067aeb 100755 --- a/views/blocks/d.nav.html +++ b/views/blocks/d.nav.html @@ -5,8 +5,13 @@