diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php
index 71e621c4b3..3cc7031303 100644
--- a/pandora_console/include/functions_reporting_html.php
+++ b/pandora_console/include/functions_reporting_html.php
@@ -532,6 +532,7 @@ function reporting_html_SLA($table, $item, $mini, $pdf=0)
if (isset($item['data']) === true) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->align = [];
$table1->align[0] = 'left';
@@ -567,6 +568,7 @@ function reporting_html_SLA($table, $item, $mini, $pdf=0)
// Second_table for time globals.
$table2 = new stdClass();
$table2->width = '99%';
+ $table2->class = 'info_table';
$table2->align = [];
$table2->align[0] = 'left';
@@ -600,6 +602,7 @@ function reporting_html_SLA($table, $item, $mini, $pdf=0)
// Third_table for time globals.
$table3 = new stdClass();
$table3->width = '99%';
+ $table3->class = 'info_table';
$table3->align = [];
$table3->align[0] = 'left';
@@ -926,6 +929,7 @@ function reporting_html_top_n($table, $item, $pdf=0)
} else {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->align = [];
$table1->align[0] = 'left';
@@ -1034,6 +1038,7 @@ function reporting_html_event_report_group($table, $item, $pdf=0)
if ($item['total_events']) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->align = [];
$table1->align[0] = 'center';
@@ -1305,6 +1310,7 @@ function reporting_html_event_report_module($table, $item, $pdf=0)
foreach ($item['data'] as $item) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->data = [];
$table1->head = [];
$table1->align = [];
@@ -1531,7 +1537,7 @@ function reporting_html_agents_inventory($table, $item, $pdf=0)
$table1->width = '100%';
$table1->style[0] = 'text-align: left;vertical-align: top;min-width: 100px;';
- $table1->class = 'databox data';
+ $table1->class = 'info_table';
$table1->cellpadding = 1;
$table1->cellspacing = 1;
$table1->styleTable = 'overflow: wrap; table-layout: fixed;';
@@ -1698,7 +1704,7 @@ function reporting_html_modules_inventory($table, $item, $pdf=0)
$table1->width = '100%';
$table1->style[0] = 'text-align: left;vertical-align: top;min-width: 100px;';
- $table1->class = 'databox data';
+ $table1->class = 'info_table';
$table1->cellpadding = 1;
$table1->cellspacing = 1;
$table1->styleTable = 'overflow: wrap; table-layout: fixed;';
@@ -1816,6 +1822,7 @@ function reporting_html_inventory_changes($table, $item, $pdf=0)
foreach ($item['data'] as $module_item) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->cellstyle = [];
$table1->cellstyle[0][0] = 'background: #373737; color: #FFF;';
@@ -1910,6 +1917,7 @@ function reporting_html_inventory($table, $item, $pdf=0)
foreach ($type_modules as $key_type_module => $type_module) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->data = [];
$table1->head = [];
$table1->cellstyle = [];
@@ -2000,7 +2008,7 @@ function reporting_html_agent_module($table, $item)
if (!empty($item['failed'])) {
$table->data['agent_module']['cell'] = $item['failed'];
} else {
- $table_data = '
';
+ $table_data = '';
$table_data .= '';
$table_data .= ''.__('Agents').' / '.__('Modules').' | ';
@@ -2349,6 +2357,7 @@ function reporting_html_exception($table, $item, $pdf=0)
} else {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->align = [];
$table1->align['agent'] = 'left';
@@ -2466,7 +2475,7 @@ function reporting_html_group_report($table, $item, $pdf=0)
$table->colspan['group_report']['cell'] = 3;
$table->cellstyle['group_report']['cell'] = 'text-align: center;';
- $data = "
+ $data = "
|
".__('Total')." |
@@ -2528,6 +2537,7 @@ function reporting_html_event_report_agent($table, $item, $pdf=0)
if ($item['total_events'] != 0) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->align = [];
$table1->align[0] = 'center';
$table1->align[1] = 'center';
@@ -2750,6 +2760,7 @@ function reporting_html_historical_data($table, $item, $pdf=0)
$table1 = new stdClass();
$table1->width = '100%';
+ $table1->class = 'info_table';
$table1->head = [
__('Date'),
__('Data'),
@@ -2834,6 +2845,7 @@ function reporting_html_database_serialized($table, $item, $pdf=0)
$table1 = new stdClass();
$table1->width = '100%';
+ $table1->class = 'info_table';
$table1->head = [
__('Date'),
__('Data'),
@@ -2902,6 +2914,7 @@ function reporting_html_last_value($table, $item, $pdf=0)
if (empty($item['data']) === false) {
$table_data = new stdClass();
$table_data->width = '100%';
+ $table_data->class = 'info_table';
$table_data->headstyle = [];
$table_data->headstyle[0] = 'text-align: left;';
$table_data->style = [];
@@ -3064,6 +3077,7 @@ function reporting_html_group_configuration($table, $item, $pdf=0)
if ($pdf === 0) {
$table2 = new stdClass();
$table2->width = '100%';
+ $table2->class = 'info_table';
$table2->data = [];
reporting_html_agent_configuration(
$table2,
@@ -3214,6 +3228,7 @@ function reporting_html_network_interfaces_report($table, $item, $pdf=0)
foreach ($item['data'] as $agent) {
$table_agent = new StdCLass();
$table_agent->width = '100%';
+ $table_agent->class = 'info_table';
$table_agent->data = [];
$table_agent->head = [];
$table_agent->head[0] = __('Agent').' '.$agent['agent'];
@@ -3337,6 +3352,7 @@ function reporting_html_alert_report($table, $item, $pdf=0)
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->head = [];
$table1->data = [];
$table1->rowspan = [];
@@ -3461,6 +3477,7 @@ function reporting_html_monitor_report($table, $item, $mini, $pdf=0)
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->head = [];
$table1->data = [];
if ($item['data']['unknown'] == 1) {
@@ -3560,6 +3577,7 @@ function reporting_html_agent_configuration(
$table1 = new stdClass();
$table1->width = '99%';
$table1->head = [];
+ $table1->class = 'info_table';
$table1->head['name'] = __('Agent name');
$table1->head['group'] = __('Group');
$table1->head['os'] = __('OS');
@@ -3734,6 +3752,7 @@ function reporting_html_value(
) {
$table2 = new stdClass();
$table2->width = '100%';
+ $table2->class = 'info_table';
switch ($item['type']) {
case 'max_value':
$table2->head = [
@@ -4040,6 +4059,7 @@ function reporting_html_availability($table, $item, $pdf=0)
if (empty($item['data']) === false) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->data = [];
$table1->head = [];
@@ -4623,6 +4643,7 @@ function reporting_html_availability_graph($table, $item, $pdf=0)
) {
$table1 = new stdClass();
$table1->width = '100%';
+ $table1->class = 'info_table';
$table1->autosize = 1;
$table1->styleTable = 'overflow: wrap; table-layout: fixed;';
$table1->data = [];
@@ -4864,6 +4885,7 @@ function reporting_html_general($table, $item, $pdf=0)
if (!$data_in_same_row) {
$table1 = new stdClass();
$table1->width = '99%';
+ $table1->class = 'info_table';
$table1->data = [];
$table1->head = [];
$table1->head[0] = __('Agent');
@@ -5065,7 +5087,7 @@ function reporting_html_sql($table, $item, $pdf=0)
$first = true;
$table2 = new stdClass();
- $table2->class = 'databox';
+ $table2->class = 'info_table';
$table2->width = '100%';
foreach ($item['data'] as $row) {
@@ -6372,7 +6394,7 @@ function reporting_html_permissions($table, $item, $pdf=0)
$table1->width = '100%';
$table1->style[0] = 'text-align: left;vertical-align: top;min-width: 100px;';
- $table1->class = 'databox data';
+ $table1->class = 'info_table';
$table1->cellpadding = 1;
$table1->cellspacing = 1;
$table1->styleTable = 'overflow: wrap; table-layout: fixed;';