Frédéric Tempez
b2094b7834
This reverts commit 81f2fad880a7377f40b831ab75d55a08855f3017, reversing changes made to 333bc1f9cba6c5c2e66db309dd83a5774d1ec90e.
28 lines
912 B
PHP
28 lines
912 B
PHP
<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>
|
|
<div class="row galleryRow">
|
|
<?php foreach($module::$pictures as $picture => $legend): ?>
|
|
<div class="colPicture">
|
|
<a
|
|
href="<?php echo helper::baseUrl(false) . $picture; ?>"
|
|
<?php if ( $picture === $this->getdata(['module',$this->getUrl(0),'content',$this->getUrl(1),'config','homePicture']) ) {
|
|
echo 'id="homePicture"'; } ?>
|
|
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>
|