From 439f1db62055edd048425ac179d6c2ead9ba000e Mon Sep 17 00:00:00 2001 From: samucarc Date: Wed, 9 Jan 2019 18:11:21 +0100 Subject: [PATCH] Fixed link in cron job and visual console manager Former-commit-id: 6533fcc628157231c7bd524d878c144faac02447 --- pandora_console/godmode/reporting/map_builder.php | 9 +++++++++ .../godmode/reporting/visual_console_favorite.php | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index a9df342750..cebc0b6c8a 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -43,6 +43,7 @@ else{ $url_visual_console_favorite = 'index.php?sec=screen&sec2=screens/screens&action=visualmap_favorite'; $url_visual_console_template = 'index.php?sec=screen&sec2=screens/screens&action=visualmap_template'; $url_visual_console_template_wizard = 'index.php?sec=screen&sec2=screens/screens&action=visualmap_wizard'; + $url_visual_console_manager = 'index.php?sec=screen&sec2=enterprise/extensions/visual_console_manager'; } $pure = (int)get_parameter('pure', 0); @@ -74,6 +75,14 @@ if($is_enterprise && $vconsoles_manage){ 'text' => '' . html_print_image ("images/wand.png", true, array ("title" => __('Visual Console Template Wizard'))) .'' ); + + if ($is_metaconsole) { + $buttons['visual_console_manager'] = array( + 'active' => false, + 'text' => '' . + html_print_image ("images/builder.png", true, array ("title" => __('Visual Console Manager'))) .'' + ); + } } if (!$is_metaconsole) { diff --git a/pandora_console/godmode/reporting/visual_console_favorite.php b/pandora_console/godmode/reporting/visual_console_favorite.php index a660a81007..0031879a32 100644 --- a/pandora_console/godmode/reporting/visual_console_favorite.php +++ b/pandora_console/godmode/reporting/visual_console_favorite.php @@ -42,6 +42,7 @@ else{ $url_visual_console_favorite = 'index.php?sec=screen&sec2=screens/screens&action=visualmap_favorite'; $url_visual_console_template = 'index.php?sec=screen&sec2=screens/screens&action=visualmap_template'; $url_visual_console_template_wizard = 'index.php?sec=screen&sec2=screens/screens&action=visualmap_wizard'; + $url_visual_console_manager = 'index.php?sec=screen&sec2=enterprise/extensions/visual_console_manager'; } $buttons['visual_console'] = array( @@ -68,6 +69,14 @@ if($is_enterprise && $vconsoles_manage){ 'text' => '' . html_print_image ("images/wand.png", true, array ("title" => __('Visual Console Template Wizard'))) .'' ); + + if ($is_metaconsole) { + $buttons['visual_console_manager'] = array( + 'active' => false, + 'text' => '' . + html_print_image ("images/builder.png", true, array ("title" => __('Visual Console Manager'))) .'' + ); + } } if (!$is_metaconsole) {