diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 95785a0edd..6e604c7e1a 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -714,6 +714,14 @@ if ($is_management_allowed === true ); if ($result && (!$usedGroup['return'])) { + db_process_sql_delete( + 'tfavmenu_user', + [ + 'id_element' => $id_group, + 'section' => 'Tactic_group', + 'id_user' => $config['id_user'], + ] + ); ui_print_success_message(__('Group successfully deleted')); } else { ui_print_error_message( diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 7b224e46fa..85d4ecb6c4 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -194,6 +194,7 @@ if ($delete_layout || $copy_layout) { [ 'id_element' => $id_layout, 'section' => 'Visual_Console', + 'id_user' => $config['id_user'], ] ); diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index bd356894ad..91c452a81e 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -2044,6 +2044,14 @@ if (check_login()) { if ($monitor_filters === false) { echo 'error'; } else { + db_process_sql_delete( + 'tfavmenu_user', + [ + 'id_element' => $id, + 'section' => 'Modules', + 'id_user' => $config['id_user'], + ] + ); echo 'ok'; } } diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index cf8e18ada0..f8bb2fc024 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -2775,6 +2775,7 @@ function agents_delete_agent($id_agents, $disableACL=false) [ 'id_element' => $id_agent, 'section' => 'Agents', + 'id_user' => $config['id_user'], ] ); diff --git a/pandora_console/include/functions_reports.php b/pandora_console/include/functions_reports.php index aa9ede2aed..0b343d449d 100755 --- a/pandora_console/include/functions_reports.php +++ b/pandora_console/include/functions_reports.php @@ -239,6 +239,7 @@ function reports_delete_report($id_report) [ 'id_element' => $id_report, 'section' => 'Reporting', + 'id_user' => $config['id_user'], ] ); diff --git a/pandora_console/include/lib/Dashboard/Manager.php b/pandora_console/include/lib/Dashboard/Manager.php index 2ed155c697..db8235681a 100644 --- a/pandora_console/include/lib/Dashboard/Manager.php +++ b/pandora_console/include/lib/Dashboard/Manager.php @@ -575,6 +575,7 @@ class Manager implements PublicLogin [ 'id_element' => $this->dashboardId, 'section' => 'Dashboard_', + 'id_user' => $config['id_user'], ] ); } diff --git a/pandora_console/operation/agentes/pandora_networkmap.editor.php b/pandora_console/operation/agentes/pandora_networkmap.editor.php index 4450e101ea..187481c0c9 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.editor.php +++ b/pandora_console/operation/agentes/pandora_networkmap.editor.php @@ -275,7 +275,7 @@ if ($not_found) { } else { if ($disabled_source === false) { echo '
'; - echo html_print_image('images/spinner.gif', true, 'width: 50px;height: 50px;'); + echo html_print_image('images/spinner.gif', true, ['style' => 'width: 50px;height: 50px;']); echo '
'.__('Creating map...').'
'; echo '
'; $info1 = __('To create a network map that visually recreates link-level (L2) relationships, you must first discover these relationships with Discovery Server. Network maps only reflect relationships that have already been discovered.'); diff --git a/pandora_console/operation/agentes/pandora_networkmap.php b/pandora_console/operation/agentes/pandora_networkmap.php index 0e92a5882b..506f778e6d 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.php +++ b/pandora_console/operation/agentes/pandora_networkmap.php @@ -554,6 +554,7 @@ else if ($update_networkmap || $copy_networkmap || $delete) { [ 'id_element' => $id, 'section' => 'Network_map', + 'id_user' => $config['id_user'], ] ); $result_txt = ui_print_result_message(