From a48ea94fbd924a39c8057e8fb55817ecfc76e2e4 Mon Sep 17 00:00:00 2001 From: Deltacms Date: Sun, 18 Dec 2022 12:19:31 +0100 Subject: [PATCH] =?UTF-8?q?banni=C3=A8re=20anim=C3=A9e=20suite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/theme.php | 83 ------------------------------------- 1 file changed, 83 deletions(-) diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index c50672a..2e2e39d 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -440,89 +440,6 @@ class theme extends common { // Bannière animée avec swiper if( $this->getInput('themeHeaderFeature') === 'swiper' ){ $swiperContent = $this->swiperContent('header'); - /* - // Extraction des images du dossier choisi - $iterator = new DirectoryIterator('./'.self::$listDirs[$this->getInput('themeHeaderDirectory')]); - $imageFile = []; - foreach($iterator as $key=>$fileInfos) { - if($fileInfos->isDot() === false AND $fileInfos->isFile() AND @getimagesize($fileInfos->getPathname())) { - $imageFile[$key] = $fileInfos->getPathname(); - } - } - sort($imageFile); - // Préparation du contenu - $swiperContent = ''; - // Adaptation du css au client pour l'option de défilement vertical - if( $this->getInput('themeHeaderSwiperEffects') === 'vertical'){ - $size = getimagesize($imageFile[0]); - $swiperContent .= ''; - } - $swiperContent .= '
'; - foreach($imageFile as $value ) { - $swiperContent .= '
'; - } - $swiperContent .= '
'; - $swiperContent .= ''; - $swiperContent .= ''; - */ - - } // $featureContent = str_replace(helper::baseUrl(false,false), './', $featureContent); // Si une image est positionnée, l'arrière en transparent.