diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 6dfc28185..540caf47b 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -525,6 +525,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);; function pageList($pageNumber, $totalPages, $baseURI, $params) { /* {{{ */ + $maxpages = 20; // skip pages when more than this is shown + $range = 5; // pages left and right of current page if (!is_numeric($pageNumber) || !is_numeric($totalPages) || $totalPages<2) { return; } @@ -554,9 +556,29 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo "