forked from ZwiiCMS-Team/ZwiiCMS
2.25 édition dela galerie change sa position
This commit is contained in:
parent
f101b0612a
commit
ed807249fe
@ -19,7 +19,7 @@ class gallery extends common {
|
|||||||
const SORT_ASC = 'SORT_ASC';
|
const SORT_ASC = 'SORT_ASC';
|
||||||
const SORT_DSC = 'SORT_DSC';
|
const SORT_DSC = 'SORT_DSC';
|
||||||
const SORT_HAND = 'SORT_HAND';
|
const SORT_HAND = 'SORT_HAND';
|
||||||
const GALLERY_VERSION = '2.24';
|
const GALLERY_VERSION = '2.25';
|
||||||
|
|
||||||
public static $directories = [];
|
public static $directories = [];
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ class gallery extends common {
|
|||||||
'homePicture' => $homePicture,
|
'homePicture' => $homePicture,
|
||||||
// pas de positions, on active le tri alpha
|
// pas de positions, on active le tri alpha
|
||||||
'sort' => $this->getInput('galleryEditSort'),
|
'sort' => $this->getInput('galleryEditSort'),
|
||||||
'position' => $this->getData(['module', $this->getUrl(0), $galleryId,'config','positions']) === '' ? count($this->getData(['module',$this->getUrl(0)]))-1 : $this->getData(['module', $this->getUrl(0), $galleryId,'config','positions']),
|
'position' => $this->getData(['module', $this->getUrl(0), $galleryId,'config','positions']) === null ? count($this->getData(['module',$this->getUrl(0)]))-1 : $this->getData(['module', $this->getUrl(0), $galleryId,'config','positions']),
|
||||||
'fullScreen' => $this->getInput('galleryEditFullscreen', helper::FILTER_BOOLEAN)
|
'fullScreen' => $this->getInput('galleryEditFullscreen', helper::FILTER_BOOLEAN)
|
||||||
|
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user