2012-02-09 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: show 'source' and 'extra id' fields in event view when the value is empty. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0d0026fcfd
commit
a5ce8e4d08
|
@ -1,3 +1,7 @@
|
|||
2012-02-09 Vanessa Gil <vanessa.gil@artica.es>
|
||||
* operation/events/events_list.php: show 'source' and 'extra id' fields
|
||||
in event view when the value is empty.
|
||||
|
||||
2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/snmpconsole/snmp_alert.php: Added 'None' value to trap
|
||||
|
|
|
@ -1037,6 +1037,23 @@ foreach ($result as $event) {
|
|||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Source') . '</td><td align="left">';
|
||||
if ($event["source"] != '') {
|
||||
$string .= $event["source"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
} else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
}
|
||||
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Extra id') . '</td><td align="left">';
|
||||
if ($event["id_extra"] != '') {
|
||||
$string .= $event["id_extra"];
|
||||
$string .= '</td></tr><tr>';
|
||||
$odd = ($odd == '')? 'rowOdd' : '';
|
||||
} else {
|
||||
$string .= '<i>- ' . __('Empty') . ' -</i>';
|
||||
}
|
||||
$string .= '</td></tr>';
|
||||
$string .= '</table>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue