aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 08:44:24 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 08:44:24 +0000
commit204d65983454b5c79fb5a38d4eaa16b3c63a1332 (patch)
treeceea9231a82ee2336324da7ba49ca4555969c7fa /views/default/navigation
parentc30756313219419b6dd0c919896dc0210b19714f (diff)
downloadelgg-204d65983454b5c79fb5a38d4eaa16b3c63a1332.tar.gz
elgg-204d65983454b5c79fb5a38d4eaa16b3c63a1332.tar.bz2
pagination display tweaked
git-svn-id: https://code.elgg.org/elgg/trunk@1849 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/pagination.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/views/default/navigation/pagination.php b/views/default/navigation/pagination.php
index 123150cd7..12bf5ec20 100644
--- a/views/default/navigation/pagination.php
+++ b/views/default/navigation/pagination.php
@@ -44,23 +44,13 @@
$baseurl = preg_replace('/[\&\?]'.$word.'\=[0-9]*/',"",$vars['baseurl']);
//only display if there is content to paginate through or if we already have an offset
- if ($count >= $limit || $offset > 0){
+ if ($count > $limit || $offset > 0){
?>
<div class="pagination">
<?php
- //if ($count == 0) {
-
- // static $notfounddisplayed;
- // if (!isset($notfounddisplayed) && $nonefound) {
- // echo elgg_echo("notfound");
- // $notfounddisplayed = true;
- // }
-
- //}
-
if ($offset > 0) {
$prevoffset = $offset - $limit;