/** * Extra controls to be displayed between bulk actions and pagination * * @since 3.1.0 * @access protected */ public function extra_tablenav($which) { $current_type = filter_input(INPUT_GET, 'type'); ?> <div class="alignleft actions"><?php if ('top' == $which) { ?> <select name="type"> <option value=""><?php _e('Show all actions', 'domainmap'); ?> </option> <?php foreach (Domainmap_Reseller::get_request_types() as $type => $label) { printf('<option%s value="%s">%s</option>', selected($type, $current_type, false), esc_attr($type), esc_html($label)); } ?> </select><?php submit_button(__('Filter'), 'button', false, false, array('id' => 'post-query-submit')); } ?> </div><?php }