2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/snmpconsole/snmp_alert.php: Added 'None' value to trap 
	type filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-09 16:24:08 +00:00
parent 21401d8b3b
commit 1e6f8e514a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_alert.php: Added 'None' value to trap
type filter.
2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/snmpconsole/snmp_alert.php: Changed position of tables

View File

@ -208,7 +208,7 @@ if (isset ($_GET["update_alert"])) {
// Trap type
echo '<tr><td class="datos">'.__('Trap type').'</td><td class="datos">';
$trap_types = array(0 => 'Cold start (0)', 1 => 'Warm start (1)', 2 => 'Link down (2)', 3 => 'Link up (3)', 4 => 'Authentication failure (4)', -1 => 'Other');
$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'));
echo html_print_select ($trap_types, 'trap_type', $trap_type, '', '', '', false, false, false);
echo '</td></tr>';