diff --git a/pandora_console/godmode/wizards/HostDevices.class.php b/pandora_console/godmode/wizards/HostDevices.class.php index 8fd7f6a60e..e4e0e97fdc 100755 --- a/pandora_console/godmode/wizards/HostDevices.class.php +++ b/pandora_console/godmode/wizards/HostDevices.class.php @@ -512,9 +512,15 @@ class HostDevices extends Wizard $task_url = '&task='.$this->task['id_rt']; } - $breadcrum[] = [ - 'link' => 'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=hd', - 'label' => __($this->label), + $breadcrum = [ + [ + 'link' => 'index.php?sec=gservers&sec2=godmode/servers/discovery', + 'label' => 'Discovery', + ], + [ + 'link' => 'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=hd', + 'label' => __($this->label), + ], ]; for ($i = 0; $i < $this->maxPagesNetScan; $i++) { $breadcrum[] = [ diff --git a/pandora_console/include/class/CustomNetScan.class.php b/pandora_console/include/class/CustomNetScan.class.php index a758789721..7477594637 100644 --- a/pandora_console/include/class/CustomNetScan.class.php +++ b/pandora_console/include/class/CustomNetScan.class.php @@ -337,9 +337,15 @@ class CustomNetScan extends Wizard $task_url = '&task='.$this->task['id_rt']; } - $breadcrum[] = [ - 'link' => $run_url.'&wiz=hd', - 'label' => __('Host & Devices'), + $breadcrum = [ + [ + 'link' => 'index.php?sec=gservers&sec2=godmode/servers/discovery', + 'label' => 'Discovery', + ], + [ + 'link' => $run_url.'&wiz=hd', + 'label' => __('Host & Devices'), + ], ]; for ($i = 0; $i < $this->MAXPAGES; $i++) { @@ -356,7 +362,6 @@ class CustomNetScan extends Wizard // Header ui_print_page_header(__('NetScan Custom'), '', false, '', true, '', false, '', GENERIC_SIZE_TEXT, '', $this->printHeader(true)); - } $task_url = ''; diff --git a/pandora_console/include/class/ManageNetScanScripts.class.php b/pandora_console/include/class/ManageNetScanScripts.class.php index 7c7ed8c9c9..f3ca4c92b5 100644 --- a/pandora_console/include/class/ManageNetScanScripts.class.php +++ b/pandora_console/include/class/ManageNetScanScripts.class.php @@ -92,9 +92,15 @@ class ManageNetScanScripts extends Wizard $run_url = 'index.php?sec=gservers&sec2=godmode/servers/discovery'; - $breadcrum[] = [ - 'link' => $run_url.'&wiz=hd', - 'label' => __('Host & Devices'), + $breadcrum = [ + [ + 'link' => 'index.php?sec=gservers&sec2=godmode/servers/discovery', + 'label' => 'Discovery', + ], + [ + 'link' => $run_url.'&wiz=hd', + 'label' => __('Host & Devices'), + ], ]; for ($i = 0; $i < $this->MAXPAGES; $i++) { @@ -111,7 +117,6 @@ class ManageNetScanScripts extends Wizard // Header ui_print_page_header(__('Net scan scripts'), '', false, '', true, '', false, '', GENERIC_SIZE_TEXT, '', $this->printHeader(true)); - } $id_script = get_parameter('id_script', 0);