|
|
|
@ -11,23 +11,6 @@
|
|
|
|
|
<?php echo template::submit('galleryThemeBack'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col12">
|
|
|
|
|
<div class="block">
|
|
|
|
|
<h4>Galerie unique</h4>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col12 verticalAlignBottom">
|
|
|
|
|
<?php echo template::checkbox('galleryThemeShowUniqueGallery', true, 'Masquer l\'index des galeries lorsque le module ne contient qu\'une galerie' , [
|
|
|
|
|
'checked' => count($this->getData(['module', $this->getUrl(0), 'content'])) === 1
|
|
|
|
|
? $this->getData(['module', $this->getUrl(0), 'theme', 'showUniqueGallery'])
|
|
|
|
|
: false,
|
|
|
|
|
'disabled' => count($this->getData(['module', $this->getUrl(0), 'content'])) > 1
|
|
|
|
|
]); ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col12">
|
|
|
|
|
<div class="block">
|
|
|
|
|