Uploaded lost change from yesterday. Added the text in the snmp console view

This commit is contained in:
mdtrooper 2015-01-21 12:45:48 +01:00
parent f4692a12d5
commit a7c386b258
1 changed files with 7 additions and 0 deletions

View File

@ -580,6 +580,13 @@ if ($traps !== false) {
</tr>';
}
if ($trap["text"] != "") {
$string .= '<tr>
<td align="left" valign="top">' . '<b>' . __('Text:') . '</td>
<td align="left">' . $trap['text'] . '</td>
</tr>';
}
if ($trap["type"] != "") {
$trap_types = array(-1 => __('None'), 0 => __('Cold start (0)'), 1 => __('Warm start (1)'), 2 => __('Link down (2)'), 3 => __('Link up (3)'), 4 => __('Authentication failure (4)'), 5 => __('Other'));