From 876a64bc36709cde049c81f57d29a3d248b344fb Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 5 Jun 2003 21:47:18 +0000 Subject: [PATCH] $post conflict. git-svn-id: https://develop.svn.wordpress.org/trunk@173 602fd350-edb4-49c9-b593-d223f7449a82 --- 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) {
- +