diff --git a/pandora_console/godmode/reporting/graphs.php b/pandora_console/godmode/reporting/graphs.php index fce91e47c4..67131715cf 100644 --- a/pandora_console/godmode/reporting/graphs.php +++ b/pandora_console/godmode/reporting/graphs.php @@ -376,7 +376,7 @@ $table_aux = new stdClass(); false, false, '', - 'class="check_deletemrgn_lft_2px"', + 'class="check_delete mrgn_lft_2px"', true ); } diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 43d1b4c5a7..3693a72dcd 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -326,7 +326,7 @@ function reporting_make_reporting_data( $items_label['id_agent_module'] = $content['id_agent_module']; $items_label['modules'] = $modules_to_macro; $items_label['agents'] = $agents_to_macro; - $items_label['visual_format'] = $visual_format; + $items_label['visual_format'] = null; $items_label['agent_description'] = agents_get_description( $content['id_agent'] @@ -346,27 +346,16 @@ function reporting_make_reporting_data( $modules_server_array = $content['id_agent_module']; $modules_array = []; foreach ($modules_server_array as $value) { - $modules_array[] = $value['module']; + if (is_array($value) === true) { + $modules_array[] = $value['module']; + } else { + $modules_array[] = $value; + } } $content['id_agent_module'] = $modules_array; } - $modules = agents_get_modules( - $agent_value, - [ - 'id_agente_modulo', - 'nombre', - 'descripcion', - ], - [ - 'id_agente_modulo' => $content['id_agent_module'], - ] - ); - - $items_label['module_name'] = $modules[$content['id_agent_module']]['nombre']; - $items_label['module_description'] = $modules[$content['id_agent_module']]['descripcion']; - if (is_array($content['id_agent']) && count($content['id_agent']) != 1 ) { diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 8c405b5313..887d7df6c1 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -142,6 +142,10 @@ body { font-family: "lato"; } +body.body-report { + display: block; +} + input, textarea { padding: 5px;