parametre template::table et édition de galerie

pull/6/head
Fred Tempez 3 years ago
parent 869bff6a36
commit 8b864fe9f9

@ -628,7 +628,9 @@ class template {
// Fin des entêtes
$html .= '</tr>';
$html .= '</thead>';
}
}
// Pas de tableau d'Id transmis, générer une numérotation
$rowsId = range(0,count($body));
// Début contenu
$j = 0;
foreach($body as $tr) {

@ -235,7 +235,8 @@ class gallery extends common {
'name' => $this->getInput('galleryEditName', helper::FILTER_STRING_SHORT, true),
'directory' => $this->getInput('galleryEditDirectory', helper::FILTER_STRING_SHORT, true),
'homePicture' => $homePictures[$file],
'sort' => $this->getInput('galleryEditSort')
'sort' => $this->getInput('galleryEditSort'),
'position' => count($this->getData(['module',$this->getUrl(0)])) + 1
],
'legend' => $legends
]]);

Loading…
Cancel
Save