mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-02-02 06:31:56 +00:00
show 3 pages left and right of current page in pager
This commit is contained in:
parent
16c5f8cc8c
commit
7e6ceb83e3
|
|
@ -1049,7 +1049,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
function pageList($pageNumber, $totalPages, $baseURI, $params, $dataparams=[]) { /* {{{ */
|
||||
|
||||
$maxpages = 25; // skip pages when more than this is shown
|
||||
$range = 2; // pages left and right of current page
|
||||
$range = 3; // pages left and right of current page
|
||||
if (!is_numeric($pageNumber) || !is_numeric($totalPages) || $totalPages<2) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user