From 0195a80b78e91cacfac9a2e455f6ddf9ce2f6dd0 Mon Sep 17 00:00:00 2001 From: marcos Date: Wed, 17 Mar 2021 14:41:36 +0100 Subject: [PATCH] fixed visual error --- pandora_console/include/functions_filemanager.php | 2 +- pandora_console/operation/agentes/status_monitor.php | 5 +++-- pandora_console/operation/agentes/ver_agente.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pandora_console/include/functions_filemanager.php b/pandora_console/include/functions_filemanager.php index 1be3db5379..ce84201bf4 100644 --- a/pandora_console/include/functions_filemanager.php +++ b/pandora_console/include/functions_filemanager.php @@ -730,7 +730,7 @@ function filemanager_file_explorer( && (! is_dir($fileinfo['realpath']) || count(scandir($fileinfo['realpath'])) < 3) && (!$readOnly) ) { $data[4] .= '
'; - $data[4] .= ''; + $data[4] .= ''; $data[4] .= html_print_input_hidden('filename', $fileinfo['realpath'], true); $data[4] .= html_print_input_hidden('hash', md5($fileinfo['realpath'].$config['dbpass']), true); $data[4] .= html_print_input_hidden('delete_file', 1, true); diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 9424792eba..ee20c2d8c1 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -1396,7 +1396,7 @@ if (!empty($result)) { } if (in_array('data_type', $show_fields) || is_metaconsole()) { - $data[2] = html_print_image('images/'.modules_show_icon_type($row['module_type']), true); + $data[2] = html_print_image('images/'.modules_show_icon_type($row['module_type']), true, ['class' => 'invert_filter']); $agent_groups = is_metaconsole() ? $row['groups_in_server'] : agents_get_all_groups_agent($row['id_agent'], $row['id_group']); if (check_acl_one_of_groups($config['id_user'], $agent_groups, 'AW')) { $show_edit_icon = true; @@ -1630,7 +1630,7 @@ if (!empty($result)) { $data[8] = get_module_realtime_link_graph($row); if (!is_snapshot_data($row['datos'])) { - $data[8] .= ''.html_print_image('images/chart.png', true, ['border' => '0', 'alt' => '']).''; + $data[8] .= ''.html_print_image('images/chart.png', true, ['border' => '0', 'alt' => '', 'class' => 'invert_filter']).''; } $data[8] .= ''.html_print_image( @@ -1639,6 +1639,7 @@ if (!empty($result)) { [ 'border' => '0', 'alt' => '', + 'class' => 'invert_filter', ] ).''; diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 01a21bf19d..871ef7b73f 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1501,7 +1501,7 @@ if ($is_sap) { } // External Tools tab. -$external_tools['text'] = ''.html_print_image('images/nettool.png', true, ['title' => __('External Tools')]).''; +$external_tools['text'] = ''.html_print_image('images/nettool.png', true, ['title' => __('External Tools'), 'class' => 'invert_filter']).''; if ($tab == 'external_tools') { $external_tools['active'] = true; } else {