diff --git a/pandora_console/godmode/agentes/status_monitor_custom_fields.php b/pandora_console/godmode/agentes/status_monitor_custom_fields.php
index b4077e2eb8..a960c32bf2 100644
--- a/pandora_console/godmode/agentes/status_monitor_custom_fields.php
+++ b/pandora_console/godmode/agentes/status_monitor_custom_fields.php
@@ -122,8 +122,6 @@ if ($fields_selected[0] != '') {
}
}
-echo '
'.__('Show monitor detail fields').'
';
-
$table = new stdClass();
$table->width = '100%';
$table->class = 'databox filters';
@@ -161,6 +159,12 @@ foreach ($fields_available as $key => $available) {
}
}
+// General title.
+$generalTitleContent = [];
+$generalTitleContent[] = html_print_div([ 'style' => 'width: 10px; flex: 0 0 auto; margin-right: 5px;}', 'class' => 'section_table_title_line' ], true);
+$generalTitleContent[] = html_print_div([ 'class' => 'section_table_title', 'content' => __('Show monitor detail fields')], true);
+$titledata[0] = html_print_div(['class' => 'flex-row-center', 'content' => implode('', $generalTitleContent) ], true);
+$table->data['general_title'] = $titledata;
$table->data[0][0] = ''.__('Fields available').'';
$table->data[1][0] = html_print_select($fields_available, 'fields_available[]', true, '', '', 0, true, true, false, '', false, 'width: 300px');
$table->data[1][1] = ''.html_print_image(
@@ -202,19 +206,18 @@ $table->data[1][2] = html_print_select(
echo '';
+
?>