2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('galleryEditForm'); ?>
|
|
|
|
<div class="row">
|
2022-02-18 12:43:48 +01:00
|
|
|
<div class="col1">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::button('galleryEditBack', [
|
2022-04-01 14:45:47 +02:00
|
|
|
'class' => 'buttonGrey',
|
2018-04-02 08:29:19 +02:00
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
2022-02-18 12:43:48 +01:00
|
|
|
'value' => template::ico('left')
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-04-01 15:45:14 +02:00
|
|
|
<div class="col1 offset8">
|
|
|
|
<?php echo template::button('galleryConfigOption', [
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/option/gallery/' . $_SESSION['csrf'],
|
|
|
|
'value' => template::ico('sliders')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::submit('galleryEditSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-01 14:54:06 +02:00
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php if($module::$pictures): ?>
|
|
|
|
<?php echo template::table([1, 4, 1, 5, 1], $module::$pictures, ['#','Image', 'Couverture','Légende',''],['id' => 'galleryTable'], $module::$picturesId ); ?>
|
|
|
|
<?php echo template::hidden('galleryEditFormResponse'); ?>
|
|
|
|
<?php echo template::hidden('galleryEditFormGalleryName',['value' => $this->getUrl(2)]); ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucune image.'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
2022-03-23 18:18:48 +01:00
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::VERSION; ?>
|
|
|
|
</div>
|
2022-04-01 14:54:06 +02:00
|
|
|
|