diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2011-10-13 14:37:45 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2011-10-13 14:37:45 +0200 |
commit | b515f5462eb91189781170015165d3327e5385a6 (patch) | |
tree | 97b9a742394051b4955cf77ab645f6bdd15ebb2b | |
parent | 86f8851c403bb9f31b43a9656e844e5c925da19a (diff) | |
parent | b38fbc6d25d1f76683acec83627238ed5b5dbf8c (diff) | |
download | forums-b515f5462eb91189781170015165d3327e5385a6.tar forums-b515f5462eb91189781170015165d3327e5385a6.tar.gz forums-b515f5462eb91189781170015165d3327e5385a6.tar.bz2 forums-b515f5462eb91189781170015165d3327e5385a6.tar.xz forums-b515f5462eb91189781170015165d3327e5385a6.zip |
Merge remote-tracking branch 'remotes/cyberalien/ticket/10397' into develop-olympus
-rw-r--r-- | phpBB/includes/functions.php | 4 | ||||
-rw-r--r-- | phpBB/includes/functions_display.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index c2b099d48a..8017c379f3 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2127,7 +2127,7 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add $start_cnt = min(max(1, $on_page - 4), $total_pages - 5); $end_cnt = max(min($total_pages, $on_page + 4), 6); - $page_string .= ($start_cnt > 1) ? ' ... ' : $seperator; + $page_string .= ($start_cnt > 1) ? '<span class="page-dots"> ... </span>' : $seperator; for ($i = $start_cnt + 1; $i < $end_cnt; $i++) { @@ -2138,7 +2138,7 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add } } - $page_string .= ($end_cnt < $total_pages) ? ' ... ' : $seperator; + $page_string .= ($end_cnt < $total_pages) ? '<span class="page-dots"> ... </span>' : $seperator; } else { diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 14d0c44dcf..86eabc419c 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -674,7 +674,7 @@ function topic_generate_pagination($replies, $url) $pagination .= '<a href="' . $url . ($j == 0 ? '' : '&start=' . $j) . '">' . $times . '</a>'; if ($times == 1 && $total_pages > 5) { - $pagination .= ' ... '; + $pagination .= '<span class="page-dots"> ... </span>'; // Display the last three pages $times = $total_pages - 3; |