Changed the mode of obtain the title

This commit is contained in:
Jose Gonzalez 2019-09-19 13:17:29 +02:00
parent c81cb1d222
commit 3c609b4d6d
1 changed files with 5 additions and 6 deletions

View File

@ -49,11 +49,11 @@ if (file_exists('../../include/languages/'.$user_language.'.mo')) {
echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/css"/>';
$label = get_parameter('label');
$label = base64_decode($label);
$id = get_parameter('id');
$id_agent = db_get_value('id_agente', 'tagente_modulo', 'id_agente_modulo', $id);
$alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
$label = db_get_value('nombre', 'tagente_modulo', 'id_agente_modulo', $id);
$label_graph = $label;
// $agent = agents_get_agent_with_ip ("192.168.50.31");
// $label = rawurldecode(urldecode(base64_decode(get_parameter('label', ''))));
?>
@ -118,7 +118,6 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent);
$period = get_parameter('period');
$id = get_parameter('id', 0);
$label = get_parameter('label', '');
$label_graph = base64_decode(get_parameter('label', ''));
$start_date = get_parameter('start_date', date('Y/m/d'));
$start_time = get_parameter('start_time', date('H:i:s'));
$draw_events = get_parameter('draw_events', 0);