ZwiiCMS/module/news/profil/main/add.inc.php

10 lines
624 B
PHP
Raw Normal View History

<?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('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
$this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN)
];