mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
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
1e6f8e514a
commit
b8613f181c
@ -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>
|
2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* godmode/snmpconsole/snmp_alert.php: Added 'None' value to trap
|
* godmode/snmpconsole/snmp_alert.php: Added 'None' value to trap
|
||||||
|
@ -1037,6 +1037,23 @@ foreach ($result as $event) {
|
|||||||
$string .= '</td></tr><tr>';
|
$string .= '</td></tr><tr>';
|
||||||
$odd = ($odd == '')? 'rowOdd' : '';
|
$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 .= '</td></tr>';
|
||||||
$string .= '</table>';
|
$string .= '</table>';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user