mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
move snmp options to separate form on device edit, also hide services link when services disabled
git-svn-id: http://www.observium.org/svn/observer/trunk@1928 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,11 +5,17 @@ if ($_SESSION['userlevel'] < '7')
|
||||
print_error("Insufficient Privileges");
|
||||
} else {
|
||||
|
||||
$panes = array('device' => 'Device Settings',
|
||||
'ports' => 'Port Settings',
|
||||
'apps' => 'Applications',
|
||||
'services' => 'Services',
|
||||
'ipmi' => 'IPMI');
|
||||
$panes['device'] = 'Device Settings';
|
||||
$panes['snmp'] = 'SNMP';
|
||||
$panes['ports'] = 'Port Settings';
|
||||
$panes['apps'] = 'Applications';
|
||||
|
||||
if ($config['enable_services'])
|
||||
{
|
||||
$panes['services'] = 'Services';
|
||||
}
|
||||
|
||||
$panes['ipmi'] = 'IPMI';
|
||||
|
||||
print_optionbar_start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user