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

* godmode/snmpconsole/snmp_alert.php: OID field moved from conf.
	part of the view to filter part.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-09 17:01:07 +00:00
parent b8613f181c
commit b1e298cd69
1 changed files with 5 additions and 6 deletions

View File

@ -192,6 +192,11 @@ if (isset ($_GET["update_alert"])) {
echo '<tr><td class="datos"><b>' . __('Alert filters') . ui_print_help_icon("snmp_alert_filters", true) . '</b></td></tr>';
// OID
echo '<tr id="tr-oid"><td class="datos2">'.__('OID').'</td><td class="datos2">';
html_print_input_text ("oid", $oid, '', 50, 255);
echo '</td></tr>';
// Custom
echo '<tr id="tr-custom_value"><td class="datos" valign="top">'.__('Custom Value/OID');
echo ui_print_help_icon ("snmp_alert_custom", true);
@ -260,12 +265,6 @@ if (isset ($_GET["update_alert"])) {
html_print_input_text ("description", $description, '', 60);
echo '</td></tr>';
// OID
echo '<tr id="tr-oid"><td class="datos2">'.__('OID').'</td><td class="datos2">';
html_print_input_text ("oid", $oid, '', 50);
echo '</td></tr>';
// Custom OID/Data #1
echo '<tr id="tr-custom_value"><td class="datos" valign="top">'.__('Field #1 Match');
echo ui_print_help_icon ("field_match_snmp", true);