From 5b4531e74f21368d65823281aee92a7b11588f54 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Wed, 27 Dec 2023 17:10:11 +0100 Subject: [PATCH] #12553 fixed titles --- pandora_console/godmode/massive/massive_edit_modules.php | 2 +- pandora_console/include/javascript/pandora_dashboards.js | 7 ++++++- .../include/lib/Dashboard/Widgets/security_hardening.php | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/massive/massive_edit_modules.php b/pandora_console/godmode/massive/massive_edit_modules.php index 4711821c52..9b11b86916 100755 --- a/pandora_console/godmode/massive/massive_edit_modules.php +++ b/pandora_console/godmode/massive/massive_edit_modules.php @@ -1529,7 +1529,7 @@ $array_os = [ 'windows' => __('Windows'), ]; $table->data[40][0] = html_print_label_input_block( - __('rget OS'), + __('Target OS'), html_print_select( $array_os, 'custom_string_2', diff --git a/pandora_console/include/javascript/pandora_dashboards.js b/pandora_console/include/javascript/pandora_dashboards.js index f4168f2bd9..fefcce070d 100644 --- a/pandora_console/include/javascript/pandora_dashboards.js +++ b/pandora_console/include/javascript/pandora_dashboards.js @@ -948,6 +948,11 @@ function processTreeSearch(settings) { recipient: $("div#tree-controller-recipient_" + settings.cellId), detailRecipient: { render: function(element, data) { + let title = "Module information"; + if ($(data).find("#tree_view_agent_detail-name").length > 0) { + title = "Agent information"; + } + return { open: function() { $("#module_details_window") @@ -958,7 +963,7 @@ function processTreeSearch(settings) { resizable: true, draggable: true, modal: true, - title: "Info module", + title: title, overlay: { opacity: 0.5, background: "black" diff --git a/pandora_console/include/lib/Dashboard/Widgets/security_hardening.php b/pandora_console/include/lib/Dashboard/Widgets/security_hardening.php index b3c124f039..cd35b7cd59 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/security_hardening.php +++ b/pandora_console/include/lib/Dashboard/Widgets/security_hardening.php @@ -252,7 +252,7 @@ class SecurityHardening extends Widget ]; $inputs[] = [ - 'label' => __('Ingore skipped'), + 'label' => __('Ignore skipped'), 'id' => 'row_ignore_skipped', 'class' => 'row_input', 'arguments' => [