From ff477e2400ab44a8cbcc44f3732deca4db4e6055 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 21 May 2008 17:36:41 +0000 Subject: [PATCH] Add theme paging for those who can't bear to pare down their huge theme collection. You know who you are. see #5486 git-svn-id: https://develop.svn.wordpress.org/trunk@7972 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/themes.php | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 008a0a4d37..f50361dba2 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -29,6 +29,28 @@ require_once('admin-header.php'); add_query_arg( 'pagenum', '%#%' ) . '#themenav', + 'format' => '', + 'total' => ceil($theme_total / $per_page), + 'current' => $page +)); + +$themes = array_slice( $themes, $start, $per_page ); + ?>
@@ -50,7 +72,17 @@ $ct = current_theme_info();

- +
+ + +
+$page_links
"; ?> +
+ +
+ + + $theme_name ) {
+
+ + +
+$page_links
"; ?> +
+ + + +
+