2020-04-01 13:43:15 +02:00
|
|
|
<?php echo template::formOpen('galleryConfigForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('galleryConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-03-27 15:06:35 +01:00
|
|
|
</div>
|
2020-04-01 13:43:15 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2020-04-08 21:10:13 +02:00
|
|
|
<h4>Ajouter une galerie</h4>
|
2020-04-01 13:43:15 +02:00
|
|
|
<div class="row">
|
2020-04-13 18:13:01 +02:00
|
|
|
<div class="col6">
|
2020-04-01 13:43:15 +02:00
|
|
|
<?php echo template::text('galleryConfigName', [
|
|
|
|
'label' => 'Nom'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-13 18:13:01 +02:00
|
|
|
<div class="col5">
|
2020-04-01 13:43:15 +02:00
|
|
|
<?php echo template::hidden('galleryConfigDirectoryOld', [
|
|
|
|
'noDirty' => true // Désactivé à cause des modifications en ajax
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::select('galleryConfigDirectory', [], [
|
|
|
|
'label' => 'Dossier cible',
|
|
|
|
'noDirty' => true // Désactivé à cause des modifications en ajax
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1 verticalAlignBottom">
|
|
|
|
<?php echo template::submit('galleryConfigSubmit', [
|
|
|
|
'ico' => '',
|
2020-04-08 22:22:40 +02:00
|
|
|
'value' => template::ico('plus'),
|
|
|
|
'class' => 'gallerySubmit'
|
2020-04-01 13:43:15 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-03-27 15:06:35 +01:00
|
|
|
</div>
|
2020-04-01 13:43:15 +02:00
|
|
|
<?php echo template::formClose(); ?>
|
2020-04-09 22:56:12 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Galeries installées</h4>
|
|
|
|
<?php if($module::$galleries): ?>
|
|
|
|
<?php echo template::table([1, 4, 5, 1, 1], $module::$galleries, ['','Nom', 'Dossier cible', '', ''], ['id' => 'galleryTable'],$module::$galleriesId); ?>
|
|
|
|
<?php echo template::hidden('galleryConfigFilterResponse'); ?>
|
2020-04-09 23:12:15 +02:00
|
|
|
<?php echo template::hidden('galleryConfigFilterSubmit',[
|
|
|
|
'value' => false
|
|
|
|
]); ?>
|
2020-04-09 22:56:12 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucune galerie.'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::GALLERY_VERSION; ?>
|
2018-04-02 08:29:19 +02:00
|
|
|
</div>
|
2020-04-09 22:56:12 +02:00
|
|
|
</div>
|