From 7f45a2133da5e02800839ad3b39b4583328ef982 Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Mon, 21 Sep 2020 17:40:54 +0200 Subject: [PATCH] Added lost connection data in stat_win file --- pandora_console/operation/agentes/stat_win.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 471d028200..635b8d7d97 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -22,6 +22,7 @@ require_once $config['homedir'].'/include/functions_graph.php'; require_once $config['homedir'].'/include/functions_modules.php'; require_once $config['homedir'].'/include/functions_agents.php'; require_once $config['homedir'].'/include/functions_tags.php'; +require_once $config['homedir'].'/include/php_to_js_values.php'; enterprise_include_once('include/functions_agents.php'); check_login(); @@ -55,6 +56,12 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent); $label = db_get_value('nombre', 'tagente_modulo', 'id_agente_modulo', $id); // $agent = agents_get_agent_with_ip ("192.168.50.31"); // $label = rawurldecode(urldecode(base64_decode(get_parameter('label', '')))); +ui_require_css_file('register', 'include/styles/', true); +// Connection lost alert. +$conn_title = __('Connection with server has been lost'); +$conn_text = __('Connection to the server has been lost. Please check your internet connection or contact with administrator.'); +ui_print_message_dialog($conn_title, $conn_text, 'connection', '/images/error_1.png'); + ?>