diff --git a/pandora_console/operation/agentes/datos_agente.php b/pandora_console/operation/agentes/datos_agente.php
index e484815650..f0a6684eb7 100755
--- a/pandora_console/operation/agentes/datos_agente.php
+++ b/pandora_console/operation/agentes/datos_agente.php
@@ -51,6 +51,7 @@ if (! check_acl($config['id_user'], $group, 'AR') || $module_id == 0) {
return;
}
+$table = new stdClass();
$table->cellpadding = 3;
$table->cellspacing = 3;
$table->width = '98%';
@@ -183,6 +184,7 @@ if ($config['history_db_enabled'] == 1) {
echo '';
+$formtable = new stdClass();
$formtable->width = '98%';
$formtable->class = 'databox';
$formtable->data = [];
diff --git a/pandora_console/operation/search_modules.php b/pandora_console/operation/search_modules.php
index 29c6fb7fcb..2cdda78b4a 100644
--- a/pandora_console/operation/search_modules.php
+++ b/pandora_console/operation/search_modules.php
@@ -22,6 +22,9 @@ $searchModules = check_acl($config['id_user'], 0, 'AR');
if (!$modules || !$searchModules) {
echo "
".__('Zero results found')."
\n";
} else {
+ // Show the modal window of an module.
+ echo '';
+
$table = new stdClass();
$table->cellpadding = 4;
$table->cellspacing = 4;
@@ -173,14 +176,16 @@ if (!$modules || !$searchModules) {
$win_handle = dechex(crc32($module['id_agente_modulo'].$module['module_name']));
$link = "winopeng('".'operation/agentes/stat_win.php?'."type=$graph_type&".'period='.SECONDS_1DAY.'&id='.$module['id_agente_modulo'].'&refresh='.SECONDS_10MINUTES."', "."'day_".$win_handle."')";
+ $link_module_detail = 'show_module_detail_dialog('.$module['id_agente_modulo'].', '.$module['id_agente'].', '."'', 0, ".SECONDS_1DAY.", '".$module['module_name']."')";
- $graphCell = ''.html_print_image('images/chart_curve.png', true, ['border' => 0, 'alt' => '']).'';
- $graphCell .= ' '."".html_print_image(
- 'images/binary.png',
+ $graphCell = ''.html_print_image('images/module-graph.svg', true, ['border' => 0, 'alt' => '', 'class' => 'main_menu_icon invert_filter' ]).'';
+ $graphCell .= ' '.html_print_image(
+ 'images/simple-value.svg',
true,
[
'border' => '0',
'alt' => '',
+ 'class' => 'main_menu_icon invert_filter',
]
).'';
}
@@ -258,3 +263,105 @@ if (!$modules || !$searchModules) {
]
);
}
+
+ui_include_time_picker();
+ui_require_jquery_file('ui.datepicker-'.get_user_language(), 'include/javascript/i18n/');
+
+?>
+
+
\ No newline at end of file