Pagination arrow replacement, fixes #8363

git-svn-id: http://svn.automattic.com/wordpress/trunk@9914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2008-11-27 00:28:24 +00:00
parent febd8bd0f1
commit f36c6cf666
10 changed files with 20 additions and 20 deletions

View File

@ -165,8 +165,8 @@ if( ! isset( $catsperpage ) || $catsperpage < 0 )
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil(wp_count_terms('category') / $catsperpage),
'current' => $pagenum
));

View File

@ -177,8 +177,8 @@ $extra_comments = array_slice($_comments, $comments_per_page);
$page_links = paginate_links( array(
'base' => add_query_arg( 'apage', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil($total / $comments_per_page),
'current' => $page
));

View File

@ -94,8 +94,8 @@ if( ! isset( $catsperpage ) || $catsperpage < 0 )
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil(wp_count_terms('link_category') / $catsperpage),
'current' => $pagenum
));

View File

@ -181,8 +181,8 @@ $num_pages = ceil($wp_query->post_count / $per_page);
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => $num_pages,
'current' => $pagenum
));

View File

@ -162,8 +162,8 @@ $tagsperpage = apply_filters("tagsperpage",20);
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil(wp_count_terms('post_tag') / $tagsperpage),
'current' => $pagenum
));

View File

@ -168,8 +168,8 @@ endif;
$page_links = paginate_links( array(
'base' => add_query_arg( 'paged', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => $wp_query->max_num_pages,
'current' => $_GET['paged']
));

View File

@ -1678,8 +1678,8 @@ unset($type_links);
$page_links = paginate_links( array(
'base' => add_query_arg( 'paged', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil($wp_query->found_posts / 10),
'current' => $_GET['paged']
));

View File

@ -271,8 +271,8 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
$page_links = paginate_links( array(
'base' => add_query_arg('paged', '%#%', $url),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => $totalpages,
'current' => $page
));

View File

@ -53,8 +53,8 @@ $start = $offset = ( $page - 1 ) * $per_page;
$page_links = paginate_links( array(
'base' => add_query_arg( 'pagenum', '%#%' ) . '#themenav',
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => ceil($theme_total / $per_page),
'current' => $page
));

View File

@ -221,8 +221,8 @@ if ( ! isset($page_links_total) )
$page_links = paginate_links( array(
'base' => add_query_arg( 'paged', '%#%' ),
'format' => '',
'prev_text' => __('&larr;'),
'next_text' => __('&rarr;'),
'prev_text' => __('&laquo;'),
'next_text' => __('&raquo;'),
'total' => $page_links_total,
'current' => $_GET['paged']
));