gallery masquer le bouton beck en mode mono galerie

This commit is contained in:
Fred Tempez 2022-05-21 16:44:36 +02:00
parent 45fd35bed5
commit 355572b927

View File

@ -664,7 +664,10 @@ class gallery extends common {
// Définir les options
self::$config['homePicture'] = $this->getData(['module',$this->getUrl(0),'content', $gallery,'config','homePicture']);
self::$config['fullScreen'] = $this->getData(['module',$this->getUrl(0),'content', $gallery,'config','fullScreen']) === true ? 'fullScreen' : '';
self::$config['backPosition'] = $this->getData(['module', $this->getUrl(0), 'config','backPosition']) ;
self::$config['backPosition'] = ( $this->getData(['module', $this->getUrl(0), 'config', 'showUniqueGallery']) === true &&
count($this->getData(['module', $this->getUrl(0), 'content'])) === 1 )
? 'displayNone'
:$this->getData(['module', $this->getUrl(0), 'config','backPosition']) ;
self::$config['backAlign'] = 'textAlign' . ucfirst($this->getData(['module', $this->getUrl(0), 'config','backAlign'])) ;
if(is_dir($directory) ) {
$iterator = new DirectoryIterator($directory);