mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/10397] Pagination inconsistency fix
Fixing topic_generate_pagination() PHPBB3-10397
This commit is contained in:
parent
12882084d4
commit
b38fbc6d25
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ function topic_generate_pagination($replies, $url)
|
||||||
$pagination .= '<a href="' . $url . ($j == 0 ? '' : '&start=' . $j) . '">' . $times . '</a>';
|
$pagination .= '<a href="' . $url . ($j == 0 ? '' : '&start=' . $j) . '">' . $times . '</a>';
|
||||||
if ($times == 1 && $total_pages > 5)
|
if ($times == 1 && $total_pages > 5)
|
||||||
{
|
{
|
||||||
$pagination .= ' ... ';
|
$pagination .= '<span class="page-dots"> ... </span>';
|
||||||
|
|
||||||
// Display the last three pages
|
// Display the last three pages
|
||||||
$times = $total_pages - 3;
|
$times = $total_pages - 3;
|
||||||
|
|
Loading…
Add table
Reference in a new issue