$result)); return; } if ($delete_snmp_translation) { $oid = get_parameter('oid', ''); $result = snmp_delete_translation($oid); echo json_encode(array('correct' => $result)); return; } if ($update_snmp_translation) { $oid = get_parameter('oid', ''); $new_oid = get_parameter('new_oid', ''); $description = get_parameter('description', ''); $post_process = get_parameter('post_process', ''); $result = snmp_update_translation($oid, $new_oid, $description, $post_process); echo json_encode(array('correct' => $result)); return; } if ($delete_snmp_filter) { $filter_id = get_parameter('filter_id'); db_process_sql_delete('tsnmp_filter', array('id_snmp_filter' => $filter_id)); return; } ?>