array( 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => read_user_setting('preview_graphs_per_page') ), 'page' => array( 'filter' => FILTER_VALIDATE_INT, 'default' => '1' ), 'graph_template_id' => array( 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '0' ), 'columns' => array( 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => read_user_setting('num_columns') ), 'host_id' => array( 'filter' => FILTER_VALIDATE_INT, 'pageset' => true, 'default' => '-1' ), 'filter' => array( 'filter' => FILTER_CALLBACK, 'pageset' => true, 'default' => '', 'options' => array('options' => 'sanitize_search_string') ), 'thumbnails' => array( 'filter' => FILTER_VALIDATE_REGEXP, 'options' => array('options' => array('regexp' => '(true|false)')), 'pageset' => true, 'default' => read_user_setting('thumbnail_section_preview') == 'on' ? 'true':'false' ), 'graph_list' => array( 'filter' => FILTER_VALIDATE_REGEXP, 'options' => array('options' => array('regexp' => '/^([\,0-9]+)$/')), 'pageset' => true, 'default' => read_user_setting('thumbnail_section_preview') == 'on' ? 'true':'false' ), 'graph_add' => array( 'filter' => FILTER_VALIDATE_REGEXP, 'options' => array('options' => array('regexp' => '/^([\,0-9]+)$/')), 'pageset' => true, 'default' => read_user_setting('thumbnail_section_preview') == 'on' ? 'true':'false' ), 'graph_remove' => array( 'filter' => FILTER_VALIDATE_REGEXP, 'options' => array('options' => array('regexp' => '/^([\,0-9]+)$/')), 'pageset' => true, 'default' => read_user_setting('thumbnail_section_preview') == 'on' ? 'true':'false' ), 'style' => array( 'filter' => FILTER_DEFAULT, 'default' => '' ) ); validate_store_request_vars($filters, 'sess_grview'); /* ================= input validation ================= */ } function html_graph_preview_filter($page, $action, $devices_where = '', $templates_where = '') { global $graphs_per_page, $realtime_window, $realtime_refresh, $graph_timeshifts, $graph_timespans, $config; ?>
Template
Search ' onChange='applyGraphFilter()'> Graphs Columns >
Presets From '> To '>