diff options
author | Vjacheslav Trushkin <arty@phpbb.com> | 2011-10-04 11:55:25 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <arty@phpbb.com> | 2011-10-04 11:55:25 +0300 |
commit | 12882084d4ce686fe43f3935f16078c4e818cde3 (patch) | |
tree | 6a91da178620017be437d0d2b62ae71b6e9dfdde | |
parent | 86f8851c403bb9f31b43a9656e844e5c925da19a (diff) | |
download | forums-12882084d4ce686fe43f3935f16078c4e818cde3.tar forums-12882084d4ce686fe43f3935f16078c4e818cde3.tar.gz forums-12882084d4ce686fe43f3935f16078c4e818cde3.tar.bz2 forums-12882084d4ce686fe43f3935f16078c4e818cde3.tar.xz forums-12882084d4ce686fe43f3935f16078c4e818cde3.zip |
[ticket/10397] Pagination inconsistency fix
Fixing inconsistency in code generated by generate_pagination()
PHPBB3-10397
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 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 { |