Merge branch 'pandora_5.1' of https://github.com/pandorafms/pandorafms into pandora_5.1

This commit is contained in:
m-lopez-f 2015-01-21 13:12:58 +01:00
commit 770a6d4528
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'));