forked from ZwiiCMS-Team/ZwiiCMS
Transférer les fichiers vers 'module/download'
This commit is contained in:
parent
9b6f8f1c11
commit
ab05c7a7f7
@ -920,12 +920,12 @@ class download extends common {
|
|||||||
}
|
}
|
||||||
foreach ($itemIds as $key) {
|
foreach ($itemIds as $key) {
|
||||||
self::$items[$key] = [
|
self::$items[$key] = [
|
||||||
$this->getData(['module', $this->getUrl(0), 'items', $key, 'title']),
|
'title' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'title']),
|
||||||
$this->getData(['module', $this->getUrl(0), 'items', $key, 'content']),
|
'content' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'content']),
|
||||||
$this->getData(['module', $this->getUrl(0), 'items', $key, 'picture']),
|
'picture' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'picture']),
|
||||||
$this->getData(['module', $this->getUrl(0), 'items', $key, 'file']),
|
'file' =>$this->getData(['module', $this->getUrl(0), 'items', $key, 'file']),
|
||||||
$this->getData(['module', $this->getUrl(0), 'items', $key, 'fileVersion']),
|
'fileVersion' => $this->getData(['module', $this->getUrl(0), 'items', $key, 'fileVersion']),
|
||||||
$this->getData(['module', $this->getUrl(0), 'items', $key, 'fileDate'])
|
'filetdate' =>$this->getData(['module', $this->getUrl(0), 'items', $key, 'fileDate'])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user