From 047bae73731623a4d1a07c2ce0431df854094f10 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 23 Aug 2005 15:54:18 +0100 Subject: [PATCH] improved headlinesList look --- backend.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/backend.php b/backend.php index 6529c6b39..9697c0e01 100644 --- a/backend.php +++ b/backend.php @@ -260,9 +260,15 @@ if ($lnum == 0) { print "No entries found."; - } + while ($lnum < HEADLINES_PER_PAGE) { + ++$lnum; + print " "; + } + + // start unholy navbar block + print ""; $next_skip = $skip + HEADLINES_PER_PAGE; @@ -278,9 +284,6 @@ } print " "; - // start unholy navbar block - - if ($next_skip < $total_entries) { print "Next Page"; @@ -303,6 +306,7 @@ print ""; // end unholy navbar block + print "";