ZwiiCMS/module/news/profil/main/add.inc.php
2023-11-03 17:59:55 +01:00

10 lines
626 B
PHP

<?php $moduleData['news'] = [
'add' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN),
'edit' => $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN),
'delete' => $this->getInput('profilAddNewsDelete', helper::FILTER_BOOLEAN),
'option' => $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN),
'config' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsDelete', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN)
];