#9662 Fixed discovery menu
This commit is contained in:
parent
f5044e5673
commit
98f82b4ce8
|
@ -72,6 +72,8 @@ if ((bool) check_acl($config['id_user'], 0, 'AR') === true
|
|||
|
||||
$sub['godmode/servers/discovery&wiz=hd']['text'] = __('Host & devices');
|
||||
$sub['godmode/servers/discovery&wiz=hd']['id'] = 'hd';
|
||||
$sub['godmode/servers/discovery&wiz=hd']['type'] = 'direct';
|
||||
$sub['godmode/servers/discovery&wiz=hd']['subtype'] = 'nolink';
|
||||
$sub['godmode/servers/discovery&wiz=hd']['sub2'] = $sub2;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,6 +61,10 @@ function menu_print_menu(&$menu)
|
|||
} else if ($sec2 === 'godmode/servers/discovery') {
|
||||
$wiz = (string) get_parameter('wiz');
|
||||
$sec2 = 'godmode/servers/discovery&wiz='.$wiz;
|
||||
$mode = (string) get_parameter('mode', '');
|
||||
if (empty($mode) === false) {
|
||||
$sec2 .= '&mode='.$mode;
|
||||
}
|
||||
} else if ($sec2 === 'godmode/groups/group_list') {
|
||||
$tab = (string) get_parameter('tab');
|
||||
if ($tab === 'credbox') {
|
||||
|
|
Loading…
Reference in New Issue