diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 575c5456e6..09739be6ef 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -116,32 +116,24 @@ if ($is_enterprise !== ENTERPRISE_NOT_HOOK && $vconsoles_manage) { ]; } -if ($is_metaconsole === false) { - ui_print_standard_header( - __('Visual Console List'), - 'images/op_reporting.png', - false, - '', - true, - $buttons, +ui_print_standard_header( + __('Visual Console List'), + 'images/op_reporting.png', + false, + '', + true, + $buttons, + [ [ - [ - 'link' => '', - 'label' => __('Topology maps'), - ], - [ - 'link' => '', - 'label' => __('Visual console'), - ], - ] - ); -} else { - ui_meta_print_header( - __('Visual console').' » '.$visualConsoleName, - '', - $buttons - ); -} + 'link' => '', + 'label' => __('Topology maps'), + ], + [ + 'link' => '', + 'label' => __('Visual console'), + ], + ] +); $id_layout = (int) get_parameter('id_layout'); $copy_layout = (bool) get_parameter('copy_layout'); diff --git a/pandora_console/godmode/reporting/visual_console_favorite.php b/pandora_console/godmode/reporting/visual_console_favorite.php index ff267bbde0..677b11581e 100644 --- a/pandora_console/godmode/reporting/visual_console_favorite.php +++ b/pandora_console/godmode/reporting/visual_console_favorite.php @@ -113,32 +113,24 @@ if ($is_enterprise !== ENTERPRISE_NOT_HOOK && $vconsoles_manage) { ]; } -if ($is_metaconsole === false) { - ui_print_standard_header( - __('Favourite Visual Console'), - 'images/op_reporting.png', - false, - '', - true, - $buttons, +ui_print_standard_header( + __('Favourite Visual Console'), + 'images/op_reporting.png', + false, + '', + true, + $buttons, + [ [ - [ - 'link' => '', - 'label' => __('Topology maps'), - ], - [ - 'link' => '', - 'label' => __('Visual console'), - ], - ] - ); -} else { - ui_meta_print_header( - __('Visual console').' » '.$visualConsoleName, - '', - $buttons - ); -} + 'link' => '', + 'label' => __('Topology maps'), + ], + [ + 'link' => '', + 'label' => __('Visual console'), + ], + ] +); $search = (string) get_parameter('search', ''); $ag_group = (int) get_parameter('ag_group', 0);