2013-04-05 Ramon Novoa <rnovoa@artica.es>

* include/functions_events.php: Display the event text properly.
	  Fixes bug #3609638.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2013-04-05 12:24:36 +00:00
parent 05e7462829
commit a12dbe5a88
2 changed files with 24 additions and 18 deletions

View File

@ -1,3 +1,8 @@
2013-04-05 Ramon Novoa <rnovoa@artica.es>
* include/functions_events.php: Display the event text properly.
Fixes bug #3609638.
2013-04-05 Mario Pulido <mario.pulido@artica.es>
* godmode/events/event_edit_filter.php: Added help tip in event editor.

View File

@ -867,10 +867,10 @@ function events_print_event_table ($filter = "", $limit = 10, $width = 440, $ret
/* Event type */
$data[2] = events_print_type_img ($event["event_type"], true);
if($agent_id == 0) {
/* Event text */
$data[3] = ui_print_string_substr (io_safe_output($event["evento"]), 75, true, '9');
}
if($agent_id == 0) {
if ($event["id_agente"] > 0) {
// Agent name
// Get class name, for the link color...
@ -887,6 +887,7 @@ function events_print_event_table ($filter = "", $limit = 10, $width = 440, $ret
else {
$data[4] = __('Alert')."SNMP";
}
}
// Timestamp
$data[5] = ui_print_timestamp ($event["timestamp"], true, array('style' => 'font-size: 7px'));