__('Fade', 'wpv-views'), 'fadefast' => __('Fade fast', 'wpv-views'), 'fadeslow' => __('Fade slow', 'wpv-views'), 'slideleft' => __('Slide Left', 'wpv-views'), 'slideright' => __('Slide Right', 'wpv-views'), 'slideup' => __('Slide Up', 'wpv-views'), 'slidedown' => __('Slide Down', 'wpv-views'), ); wp_nonce_field('wpv_pagination_nonce', 'wpv_pagination_nonce'); ?>

all items. Pagination is disabled.', 'wpv-views'); } else { echo sprintf(__('Show %s items per page.', 'wpv-views'), $view_settings['posts_per_page']); $controls = ''; if (isset($view_settings['include_page_selector_control']) && $view_settings['include_page_selector_control']) { switch ($view_settings['pagination']['page_selector_control_type']) { case 'drop_down': $controls .= __('Show page selector drop down ', 'wpv-views'); break; case 'link': $controls .= __('Show page selector links ', 'wpv-views'); break; } } if (isset($view_settings['include_prev_next_page_controls']) && $view_settings['include_prev_next_page_controls']) { if ($controls == '') { $controls .= __('Show previous and next page controls.', 'wpv-views'); } else { $controls .= __('and previous and next page controls.', 'wpv-views'); } } if ($view_settings['ajax_pagination'][0] == 'enable') { if (isset($view_settings['ajax_pagination']['style'])) { $effect = array('fade' => __('Fade', 'wpv-views'), 'fadefast' => __('Fade fast', 'wpv-views'), 'fadeslow' => __('Fade slow', 'wpv-views'), 'slideh' => __('Slide horizontally', 'wpv-views'), 'slidev' => __('Slide vertically', 'wpv-views')); $effect = isset($effect[$view_settings['ajax_pagination']['style']]) ? $effect[$view_settings['ajax_pagination']['style']] : $effect['fade']; $controls .= sprintf(__(' Use AJAX to update page content using %s transition effect.', 'wpv-views'), $effect); } else { $controls .= __(' Use AJAX to update page content.', 'wpv-views'); } } echo ' ' . $controls; } } else if ($view_settings['pagination']['mode'] == 'rollover') { echo sprintf(__('Auto transition: Display %s items per page for %s seconds and then %s to the next items.', 'wpv-views'), strval($view_settings['rollover']['posts_per_page']), strval($view_settings['rollover']['speed']), $rollover_effects[strval($view_settings['rollover']['effect'])] ); } ?>

post_mime_type, 'image/') !== false) ? 'image' : 'file'; $form_fields['wpcf_fields_file'] = array( 'label' => __('Views Pagination', 'wpv-views'), 'input' => 'html', 'html' => '' . __('Use as spinner image', 'wpv-views') . '

', ); return $form_fields; } /** * Filters media TABs. * * @param type $tabs * @return type */ function wpv_pagination_spinner_media_upload_tabs_filter($tabs) { unset($tabs['type_url']); return $tabs; }