Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1662

Přidáno uživatelem David Raška před asi 12 roky(ů)

Opravy:
- po odstraneni posledniho rozhrani z linky se osdtrani take linka
- oprava napovedy u odkazu k adresni mape

Zobrazit rozdíly:

freenetis/branches/testing/application/controllers/ifaces.php
Controller::error(RECORD);
}
$redirect_to_link = TRUE;
try
{
$link = NULL;
if ($iface->link->ifaces->count() == 1)
{
$link = $iface->link;
}
$iface->link_id = NULL;
$iface->save_throwable();
if ($link)
{
$link->delete_throwable();
$redirect_to_link = FALSE;
}
status::success('Interface has been successfully removed from link.');
}
catch (Exception $e)
......
status::error('Error - cant remove interface.');
}
$this->redirect('links/show/', $link_id);
if ($redirect_to_link)
{
$this->redirect('links/show/', $link_id);
}
else
{
$this->redirect('links/show_all/');
}
}
/**
freenetis/branches/testing/application/controllers/subnets.php
if ($this->acl_check_view('Devices_Controller', 'subnet'))
{
$grid->add_new_button('subnets/address_map/'.server::query_string(),
__('Address map').' '.help::hint('address_map'),
array
(
'title' => __('Address map'),
));
__('Address map'),
array
(
'title' => __('Address map'),
),
help::hint('address_map')
);
}
$grid->order_field('id')

Také k dispozici: Unified diff