#10324 added fav menu in network map and visual console
This commit is contained in:
parent
c0dcc03388
commit
d6645ee283
|
@ -2405,7 +2405,16 @@ if ($networkmap === false) {
|
|||
$buttons,
|
||||
false,
|
||||
'',
|
||||
$config['item_title_size_text']
|
||||
$config['item_title_size_text'],
|
||||
'',
|
||||
'',
|
||||
false,
|
||||
[
|
||||
'id_element' => $networkmap['id'],
|
||||
'url' => 'operation/agentes/pandora_networkmap&tab=view&id_networkmap='.$networkmap['id'],
|
||||
'label' => $networkmap['name'],
|
||||
'section' => 'Network_map',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -484,7 +484,7 @@ if ($favorite_menu !== false) {
|
|||
$sub2 = [];
|
||||
}
|
||||
|
||||
$sub[$section]['text'] = __($section);
|
||||
$sub[$section]['text'] = __(str_replace('_', ' ', $section));
|
||||
$sub[$section]['type'] = 'direct';
|
||||
$sub[$section]['subtype'] = 'nolink';
|
||||
$sub[$section]['id'] = $row['section'];
|
||||
|
|
|
@ -231,6 +231,12 @@ if (is_metaconsole() === false) {
|
|||
'link' => '',
|
||||
'label' => __('Visual console'),
|
||||
],
|
||||
],
|
||||
[
|
||||
'id_element' => $visualConsoleId,
|
||||
'url' => 'operation/visual_console/render_view&id='.$visualConsoleId,
|
||||
'label' => $visualConsoleName,
|
||||
'section' => 'Visual_Console',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue