2013-11-12 Sergio Martin <sergio.martin@artica.es>

* operation/events/events.build_table.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php: Fixed old link in 
	module name in events list. Incident #369



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-11-12 15:04:46 +00:00
parent 25fe10bfd6
commit 98f89b5e49
4 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2013-11-12 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.build_table.php
operation/agentes/estado_monitores.php
operation/agentes/ver_agente.php: Fixed old link in
module name in events list. Incident #369
2013-11-12 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/alerts_status.php: Fixed bug displaying

View File

@ -656,6 +656,12 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1,
$form_text .= '';
ui_toggle($form_text, __('Form filter'), __('Form filter'));
$filter_hidden = false;
if ($status_filter_monitor == -1 && $status_text_monitor == '') {
$filter_hidden = true;
}
ui_toggle($form_text, __('Form filter'), __('Form filter'), $filter_hidden);
}
?>

View File

@ -943,8 +943,11 @@ switch ($tab) {
break;
case "main":
require ("estado_generalagente.php");
echo "<a name='monitors'></a>";
require ("estado_monitores.php");
echo "<a name='alerts'></a>";
require ("alerts_status.php");
echo "<a name='events'></a>";
require ("status_events.php");
break;
case "data_view":

View File

@ -397,8 +397,9 @@ foreach ($result as $event) {
}
}
else {
$data[$i] = '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$event["id_agente"].'&amp;tab=data">'
. db_get_value('nombre', 'tagente_modulo', 'id_agente_modulo', $event["id_agentmodule"]).'</a>';
$module_name = db_get_value('nombre', 'tagente_modulo', 'id_agente_modulo', $event["id_agentmodule"]);
$data[$i] = '<a href="index.php?sec=estado&amp;sec2=operation/agentes/ver_agente&amp;id_agente='.$event["id_agente"].'&amp;status_text_monitor=' . io_safe_output($module_name) . '#monitors">'
. $module_name . '</a>';
}
$table->cellclass[count($table->data)][$i] = $myclass;
$i++;