Archived
1
0
This commit is contained in:
Marcel 2019-01-05 17:19:15 +01:00
parent ebd1d4a227
commit 885ea1eb5d

View File

@ -3,11 +3,16 @@
?>
<script>
$(() => {
const queries = parseQueryString();
if(!queries.page) {
window.location.search = '?page=1';
}
});
const pages = Math.ceil(parseFloat(<?= $pageCount ?>));
$('.pagination').twbsPagination({
visiblePages: 10,
// prevText: '<span aria-hidden="true">&laquo;</span>',
// nextText: '<span aria-hidden="true">&raquo;</span>',
totalPages: pages,
first: '<i class="fa fa-angle-double-left"></i>',
prev: '<i class="fa fa-angle-left"></i>',