parametre template::table et édition de galerie

This commit is contained in:
Fred Tempez 2020-04-04 15:54:19 +02:00
parent 869bff6a36
commit 8b864fe9f9
2 changed files with 5 additions and 2 deletions

View File

@ -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) {

View File

@ -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
]]);