' . html_print_image ("images/lupa.png", true, array ("title" => __('View'))) . ''; $buttons['edit'] = '' . html_print_image ("images/edit.png", true, array ("title" => __('Filter list'))) . ''; $buttons['add'] = '' . html_print_image ("images/add.png", true, array ("title" => __('Add filter'))) . ''; //Header ui_print_page_header (__('Netflow Manager'), "images/networkmap/so_cisco_new.png", false, "", true, $buttons); $update = (bool) get_parameter ("update"); if ($update) { $config['netflow_path'] = (string)get_parameter('netflow_path'); if (db_get_value('token', 'tconfig', 'token', 'netflow_path') === false) { config_create_value('netflow_path', $config['netflow_path']); } else { db_process_sql_update ('tconfig', array ('value' => $config['netflow_path']), array ('token' => 'netflow_path')); } } $table->width = '70%'; $table->border = 0; $table->cellspacing = 3; $table->cellpadding = 5; $table->class = "databox_color"; $table->style[0] = 'vertical-align: top;'; $table->data = array (); $table->data[0][0] = ''.__('Path').''. ui_print_help_tip (__("Read input from a sequence of files in the same directory."), true); $table->data[0][1] = html_print_input_text ('netflow_path', $config['netflow_path'], false, 50, 200, true); echo '
'; html_print_table ($table); // Update button echo '
'; html_print_input_hidden ('update', 1); html_print_submit_button (__('Update'), 'upd_button', false, 'class="sub upd"'); echo '
'; ?>