[10.0.055] Aperçu dans gallery
This commit is contained in:
parent
96a8e2993f
commit
d825de7b6c
@ -274,8 +274,7 @@ class gallery extends common {
|
||||
template::text('legend[' . $fileInfos->getFilename() . ']', [
|
||||
'value' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'legend', str_replace('.','',$fileInfos->getFilename())])
|
||||
]),
|
||||
'<img src="'. str_replace('source','thumb',$directory) . '/' . $fileInfos->getFilename() . '">'
|
||||
|
||||
'<a href="'. $directory . '/' . $fileInfos->getFilename() .'" data-lity><img src="'. str_replace('source','thumb',$directory) . '/' . $fileInfos->getFilename() . '"></a>'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -45,6 +45,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<?php if($module::$pictures): ?>
|
||||
<?php echo template::table([4, 1, 6, 1], $module::$pictures, ['Image', 'Couverture','Légende','Aperçu']); ?>
|
||||
<?php echo template::table([4, 1, 6, 1], $module::$pictures, ['Image', 'Couverture','Légende','']); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo template::formClose(); ?>
|
Loading…
Reference in New Issue
Block a user