diff --git a/pandora_console/operation/agentes/pandora_networkmap.editor.php b/pandora_console/operation/agentes/pandora_networkmap.editor.php index 9a31923308..c2d36bef2c 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.editor.php +++ b/pandora_console/operation/agentes/pandora_networkmap.editor.php @@ -200,6 +200,21 @@ if ($edit_networkmap) { } } +$button = []; +if ($edit_networkmap) { + $button['map'] = [ + 'active' => false, + 'text' => ''.html_print_image( + 'images/op_network.png', + true, + [ + 'title' => __('View map'), + 'class' => 'invert_filter', + ] + ).'', + ]; +} + // Header. ui_print_standard_header( __('Network maps editor'), @@ -207,7 +222,7 @@ ui_print_standard_header( false, 'network_map_enterprise_edit', false, - [], + $button, [ [ 'link' => '', diff --git a/pandora_console/operation/agentes/pandora_networkmap.view.php b/pandora_console/operation/agentes/pandora_networkmap.view.php index de7ef79c77..dc8194887f 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.view.php +++ b/pandora_console/operation/agentes/pandora_networkmap.view.php @@ -2292,6 +2292,17 @@ if ($networkmap === false) { ] ).'', ]; + $buttons['option'] = [ + 'active' => false, + 'text' => ''.html_print_image( + 'images/setup.png', + true, + [ + 'title' => __('Options'), + 'class' => 'invert_filter', + ] + ).'', + ]; } }