2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('galleryGalleryBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0),
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-16 22:36:08 +02:00
|
|
|
<div class="row galleryRow">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php foreach($module::$pictures as $picture => $legend): ?>
|
2020-04-16 22:36:08 +02:00
|
|
|
<div class="colPicture">
|
|
|
|
<a
|
|
|
|
href="<?php echo helper::baseUrl(false) . $picture; ?>"
|
2020-04-17 19:32:51 +02:00
|
|
|
<?php if ( stristr($picture,$this->getdata(['module',$this->getUrl(0),$this->getUrl(1),'config','homePicture'])) ) {
|
|
|
|
echo 'id="homePicture"'; } ?>
|
2020-04-16 22:36:08 +02:00
|
|
|
class="galleryGalleryPicture"
|
|
|
|
style="background-image:url('<?php echo helper::baseUrl(false) . $module::$thumbs[$picture]; ?>')"
|
|
|
|
data-caption="<?php echo $legend; ?>"
|
|
|
|
>
|
|
|
|
<?php if($legend): ?>
|
|
|
|
<div class="galleryGalleryName"><?php echo $legend; ?></div>
|
|
|
|
<?php endif; ?>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|