Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c1bdc1c4

Přidáno uživatelem Michal Kliment před více než 9 roky(ů)

Release 1.1.0

Zobrazit rozdíly:

application/controllers/device_logs.php
Filter_form::OPER_SMALLER_OR_EQUAL => 'greaternot',
);
/**
* Constructor, only test if networks is enabled
*/
public function __construct()
{
parent::__construct();
// access control
if (!Settings::get('networks_enabled'))
Controller::error (ACCESS);
}
/**
* Shows all logs of all devices
*
......
$order_by_direction = 'DESC', $page_word = null, $page = 1)
{
// access control
if (!$this->acl_check_view('Devices_Controller', 'devices'))
if (!$this->acl_check_view('Device_logs_Controller', 'device_log'))
Controller::error(ACCESS);
$filter_form = new Filter_form();
......
Controller::error(RECORD);
// access control
if (!$this->acl_check_view('Devices_Controller', 'devices', $device->user->member_id))
if (!$this->acl_check_view('Device_logs_Controller', 'device_log', $device->user->member_id))
Controller::error(ACCESS);
$filter_form = new Filter_form(NULL, url_lang::current(3));

Také k dispozici: Unified diff