From 5d0d485efa3d4d1f7cd205103419e5e649108c9b Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 1 Mar 2023 14:18:27 +0100 Subject: [PATCH] fixed styles --- .../godmode/reporting/map_builder.php | 42 ++++++++----------- .../reporting/visual_console_favorite.php | 42 ++++++++----------- 2 files changed, 34 insertions(+), 50 deletions(-) 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);