width = '70%'; $table->border = 0; $table->cellspacing = 3; $table->cellpadding = 5; $table->class = "databox_color"; $table->data = array (); $table->data[0][0] = '' . __('Data storage path') . '' . ui_print_help_tip (__("Directory where netflow data will be stored."), true); $table->data[0][1] = html_print_input_text ('netflow_path', $config['netflow_path'], false, 50, 200, true); $table->data[1][0] = '' . __('Daemon interval') . ''; $table->data[1][1] = html_print_input_text ('netflow_interval', $config['netflow_interval'], false, 50, 200, true); $table->data[2][0] = '' . __('Daemon binary path') . ''; $table->data[2][1] = html_print_input_text ('netflow_daemon', $config['netflow_daemon'], false, 50, 200, true); $table->data[3][0] = '' . __('Nfdump binary path') . ''; $table->data[3][1] = html_print_input_text ('netflow_nfdump', $config['netflow_nfdump'], false, 50, 200, true); $table->data[4][0] = '' . __('Nfexpire binary path') . ''; $table->data[4][1] = html_print_input_text ('netflow_nfexpire', $config['netflow_nfexpire'], false, 50, 200, true); $table->data[5][0] = '' . __('Maximum chart resolution') . '' . ui_print_help_tip (__("Maximum number of points that a netflow area chart will display. The higher the resolution the performance. Values between 50 and 100 are recommended."), true); $table->data[5][1] = html_print_input_text ('netflow_max_resolution', $config['netflow_max_resolution'], false, 50, 200, true); $table->data[6][0] = '' . __('Disable custom live view filters') . '' . ui_print_help_tip (__("Disable the definition of custom filters in the live view. Only existing filters can be used."), true); $table->data[6][1] = __('Yes').' '.html_print_radio_button ('netflow_disable_custom_lvfilters', 1, '', $config["netflow_disable_custom_lvfilters"], true).' '; $table->data[6][1] .= __('No').' '.html_print_radio_button ('netflow_disable_custom_lvfilters', 0, '', $config["netflow_disable_custom_lvfilters"], true).' '; $table->data[7][0] = '' . __('Netflow max lifetime') . ''.ui_print_help_tip (__("Sets the maximum lifetime for netflow data in days."), true); $table->data[7][1] = html_print_input_text ('netflow_max_lifetime', $config['netflow_max_lifetime'], false, 50, 200, true); echo '
'; ?>