forked from ZwiiCMS-Team/ZwiiCMS
parametre template::table et édition de galerie
This commit is contained in:
parent
869bff6a36
commit
8b864fe9f9
@ -629,6 +629,8 @@ class template {
|
|||||||
$html .= '</tr>';
|
$html .= '</tr>';
|
||||||
$html .= '</thead>';
|
$html .= '</thead>';
|
||||||
}
|
}
|
||||||
|
// Pas de tableau d'Id transmis, générer une numérotation
|
||||||
|
$rowsId = range(0,count($body));
|
||||||
// Début contenu
|
// Début contenu
|
||||||
$j = 0;
|
$j = 0;
|
||||||
foreach($body as $tr) {
|
foreach($body as $tr) {
|
||||||
|
@ -235,7 +235,8 @@ class gallery extends common {
|
|||||||
'name' => $this->getInput('galleryEditName', helper::FILTER_STRING_SHORT, true),
|
'name' => $this->getInput('galleryEditName', helper::FILTER_STRING_SHORT, true),
|
||||||
'directory' => $this->getInput('galleryEditDirectory', helper::FILTER_STRING_SHORT, true),
|
'directory' => $this->getInput('galleryEditDirectory', helper::FILTER_STRING_SHORT, true),
|
||||||
'homePicture' => $homePictures[$file],
|
'homePicture' => $homePictures[$file],
|
||||||
'sort' => $this->getInput('galleryEditSort')
|
'sort' => $this->getInput('galleryEditSort'),
|
||||||
|
'position' => count($this->getData(['module',$this->getUrl(0)])) + 1
|
||||||
],
|
],
|
||||||
'legend' => $legends
|
'legend' => $legends
|
||||||
]]);
|
]]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user