From f9ed08d4c8711dc2b20eb14ec9974b87eab250bc Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 5 Jun 2003 21:47:18 +0000 Subject: [PATCH] $post conflict. git-svn-id: http://svn.automattic.com/wordpress/trunk@173 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2edit.showposts.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-admin/b2edit.showposts.php b/wp-admin/b2edit.showposts.php index 853dc80ca7..088d283ffd 100644 --- a/wp-admin/b2edit.showposts.php +++ b/wp-admin/b2edit.showposts.php @@ -3,12 +3,12 @@ require_once('../b2config.php'); -if (!$posts) { +if (!$showposts) { if ($posts_per_page) { - $posts=$posts_per_page; + $showposts=$posts_per_page; } else { - $posts=10; - $posts_per_page=$posts; + $showposts=10; + $posts_per_page=$showposts; } } @@ -20,17 +20,17 @@ if ((!empty($poststart)) && (!empty($postend)) && ($poststart == $postend)) { if (!$poststart) { $poststart=0; - $postend=$posts; + $postend=$showposts; } $nextXstart=$postend; -$nextXend=$postend+$posts; +$nextXend=$postend+$showposts; -$previousXstart=($poststart-$posts); +$previousXstart=($poststart-$showposts); $previousXend=$poststart; if ($previousXstart < 0) { $previousXstart=0; - $previousXend=$posts; + $previousXend=$showposts; } ?> @@ -50,7 +50,7 @@ if ($previousXstart > 0) { ?> - + @@ -60,7 +60,7 @@ if ($previousXstart > 0) {
- +
@@ -70,7 +70,7 @@ if ($previousXstart > 0) {
- + -1) { ?> - " />
@@ -345,7 +345,7 @@ if ($previousXstart > -1) {
- +
@@ -355,7 +355,7 @@ if ($previousXstart > -1) {
- +