ZwiiCMS/module/geogallery/view/edit/edit.php
2024-08-08 06:55:52 +02:00

31 lines
1.0 KiB
PHP

<?php echo template::formOpen('galleryEditForm'); ?>
<div class="row">
<div class="col1">
<?php echo template::button('galleryEditBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset8">
<?php echo template::button('galleryConfigOption', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $this->getUrl(2),
'value' => template::ico('sliders')
]); ?>
</div>
<div class="col2">
<?php echo template::submit('galleryEditSubmit'); ?>
</div>
</div>
<div class="row">
<div class="col12">
<?php if ($module::$pictures): ?>
<?php echo template::table([3, 4, 2, 2, 1], $module::$pictures, ['Image', 'Légende', 'Longitude', 'Latitude', 'Miniature'], ['id' => 'galleryTable'], $module::$picturesId); ?>
<?php else: ?>
<?php echo template::speech('Aucune image.'); ?>
<?php endif; ?>
</div>
<?php echo template::formClose(); ?>
<div class="moduleVersion">Version n°
<?php echo $module::VERSION; ?>
</div>