\$config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from output and export."); } else { print_error("WARNING, \$config['snmp']['hide_auth'] is set to FALSE, snmp community and snmp v3 auth NOT hidden from output and export."); } $form = ['type' => 'rows', 'space' => '10px', 'url' => generate_url($vars)]; // Filename $form['row'][0]['filename'] = [ 'type' => 'text', 'name' => 'Filename', 'value' => $device['hostname'] . '.json.txt.gz', //'div_class' => 'col-md-8', 'width' => '100%', 'placeholder' => TRUE]; // Compress //$form['row'][0]['compress'] = array( // 'type' => 'switch', // 'value' => 1); // Search button $form['row'][0]['saveas'] = [ 'type' => 'submit', 'name' => 'Export', 'icon' => 'icon-save', 'right' => TRUE, 'value' => 'yes' ]; print_form($form); r($export_device); } unset($export_device, $params, $param); // EOF