Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1976

Přidáno uživatelem Ondřej Fibich před více než 11 roky(ů)

Opravy:
- fixes #636: nepovolene pripojne misto (chybne AXO)

Zobrazit rozdíly:

freenetis/branches/1.1/application/libraries/MY_Controller.php
->where('state', Connection_request_Model::STATE_UNDECIDED)
->count_all();
}
// allowed subnets are enabled
if (Settings::get('allowed_subnets_enabled') && $this->member_id &&
$this->acl_check_edit(
'Devices_Controller', 'allowed_subnet', $this->member_id
'Allowed_subnets_Controller', 'allowed_subnet', $this->member_id
))
{
// toggle button between allowed subnets
......
$this->ip_address_span .= ' ' . html::anchor($uri, html::image(array
(
'src' => 'media/images/states/active.png',
'title' => 'Disable this subnet'
'title' => __('Disable this subnet')
))) . ' ' . help::hint('allowed_subnets_enabled');
}
else
......
$this->ip_address_span .= ' ' . html::anchor($uri, html::image(array
(
'src' => 'media/images/states/inactive.png',
'title' => 'Enable this subnet'
'title' => __('Enable this subnet')
))) . ' ' . help::hint('allowed_subnets_disabled');
}
}

Také k dispozici: Unified diff