2023-09-05 15:21:01 +02:00
|
|
|
<?php if ($module::$pictures): ?>
|
|
|
|
<div id="wrapper">
|
|
|
|
<div class="rslides_container">
|
|
|
|
<ul class="rslides" id="sliders">
|
|
|
|
<?php foreach ($module::$pictures as $picture => $options): ?>
|
|
|
|
<?php if (!empty($options['uri'])): ?>
|
|
|
|
<a href="<?php echo helper::baseUrl() . $options['uri']; ?>">
|
2024-08-19 16:45:07 +02:00
|
|
|
<?php endif; ?>
|
|
|
|
<li>
|
|
|
|
<img src="<?php echo helper::baseUrl(false) . $picture; ?>" alt="<?php echo $options['legend']; ?>">
|
|
|
|
<?php if ($this->getData(['module', $this->getUrl(0), 'theme', 'caption']) === 'bottom'): ?>
|
|
|
|
<p class="caption"><?php echo $options['legend']; ?></p>
|
2023-11-02 15:09:43 +01:00
|
|
|
<?php endif; ?>
|
2024-08-19 16:45:07 +02:00
|
|
|
</li>
|
|
|
|
<?php if (!empty($options['uri'])): ?>
|
2023-09-05 15:21:01 +02:00
|
|
|
</a>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucune image dans le dossier sélectionné.'); ?>
|
2023-11-02 15:09:43 +01:00
|
|
|
<?php endif; ?>
|