supprimer un bloc et des espaces
This commit is contained in:
parent
c59f68b455
commit
9f38d65c6a
@ -48,14 +48,12 @@
|
|||||||
<?php echo template::formClose(); ?>
|
<?php echo template::formClose(); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
<div class="block">
|
<?php if($module::$galleries): ?>
|
||||||
<h4>Galeries installées</h4>
|
<?php echo template::table([1, 4, 5, 1, 1], $module::$galleries, ['','Nom', 'Dossier cible', '', ''], ['id' => 'galleryTable'],$module::$galleriesId); ?>
|
||||||
<?php if($module::$galleries): ?>
|
<?php echo template::hidden('galleryConfigFilterResponse'); ?>
|
||||||
<?php echo template::table([1, 4, 5, 1, 1], $module::$galleries, ['','Nom', 'Dossier cible', '', ''], ['id' => 'galleryTable'],$module::$galleriesId); ?>
|
<?php else: ?>
|
||||||
<?php echo template::hidden('galleryConfigFilterResponse'); ?>
|
<?php echo template::speech('Aucune galerie.'); ?>
|
||||||
<?php else: ?>
|
<?php endif; ?>
|
||||||
<?php echo template::speech('Aucune galerie.'); ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="moduleVersion">Version n°
|
<div class="moduleVersion">Version n°
|
||||||
<?php echo $module::VERSION; ?>
|
<?php echo $module::VERSION; ?>
|
||||||
|
@ -106,13 +106,16 @@ function sortPictures() {
|
|||||||
var url = "<?php echo helper::baseUrl() . $this->getUrl(0); ?>/sortPictures";
|
var url = "<?php echo helper::baseUrl() . $this->getUrl(0); ?>/sortPictures";
|
||||||
var d1 = $("#galleryEditFormResponse").val();
|
var d1 = $("#galleryEditFormResponse").val();
|
||||||
var d2 = $("#galleryEditFormGalleryName").val();
|
var d2 = $("#galleryEditFormGalleryName").val();
|
||||||
//var data = $('#galleryEditForm').serialize();
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: url ,
|
url: url ,
|
||||||
data: {
|
data: {
|
||||||
response : d1,
|
response : d1,
|
||||||
gallery: d2
|
gallery: d2
|
||||||
}
|
},
|
||||||
|
error: function (xhr, ajaxOptions, thrownError) {
|
||||||
|
alert(xhr.status);
|
||||||
|
alert(thrownError);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user