2018-04-02 08:29:19 +02:00
|
|
|
<?php if($module::$galleries): ?>
|
2020-04-16 22:36:08 +02:00
|
|
|
<div class="row galleryRow">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php foreach($module::$galleries as $galleryId => $gallery): ?>
|
2020-04-16 22:36:08 +02:00
|
|
|
<div class="colPicture" div="pos<?php echo $gallery['config']['position']; ?>" >
|
2018-04-02 08:29:19 +02:00
|
|
|
<a
|
|
|
|
href="<?php echo helper::baseUrl() . $this->getUrl(0); ?>/<?php echo $galleryId; ?>"
|
|
|
|
class="galleryPicture"
|
2020-04-05 18:02:34 +02:00
|
|
|
style="background-image:url('<?php echo $module::$firstPictures[$galleryId];?>')"
|
2018-04-02 08:29:19 +02:00
|
|
|
>
|
|
|
|
<div class="galleryName"><?php echo $gallery['config']['name']; ?></div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
2020-04-16 22:36:08 +02:00
|
|
|
</div>
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucune galerie.'); ?>
|
|
|
|
<?php endif; ?>
|