aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-10-27 17:54:43 +0100
committerWilly Micieli <micieli@laposte.net>2019-10-27 17:56:21 +0100
commita0f61644e6ef476d0334b8ecf1fa9fd3236af45a (patch)
treed233f6daf297533140699055819735e2bd127f76
parent7ae599856bdc54eb3bb9a498fcff193fc33f1ef4 (diff)
downloadimperium-a0f61644e6ef476d0334b8ecf1fa9fd3236af45a.zip
imperium-a0f61644e6ef476d0334b8ecf1fa9fd3236af45a.tar.gz
fix pagination bugs10.5.5
-rw-r--r--README.md4
-rw-r--r--imperium/Html/Pagination/Pagination.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index a5e2331..fd7e6cb 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ It's a library written to be useful for everybody, in order to manage dbs and to
`composer require imperium/imperium`
* [**Source code**](https://git.fumseck.eu/cgit/imperium)
- * [**Download**](https://git.fumseck.eu/cgit/imperium/snapshot/imperium-10.5.4.zip)
+ * [**Download**](https://git.fumseck.eu/cgit/imperium/snapshot/imperium-10.5.5.zip)
* [**Report a bug**](mailto:bugzilla@laposte.net)
- * [**Show diff**](https://git.fumseck.eu/cgit/imperium/diff/?id=10.5.4&id2=10.5.3&dt=2)
+ * [**Show diff**](https://git.fumseck.eu/cgit/imperium/diff/?id=10.5.5&id2=10.5.4&dt=2)
diff --git a/imperium/Html/Pagination/Pagination.php b/imperium/Html/Pagination/Pagination.php
index 5ee303e..7c4be22 100644
--- a/imperium/Html/Pagination/Pagination.php
+++ b/imperium/Html/Pagination/Pagination.php
@@ -73,11 +73,11 @@
if (superior_or_equal($this->limit,$this->total))
return '';
- $html = '<nav aria-label="Page navigation"><ul class="' . config('pagination', 'ul_class') . '">';
+ $html = '<ul class="' . config('pagination', 'ul_class') . '">';
for($i = 1; $i != $this->pages; $i++)
$i === $this->current_page ? append($html, '<li class="' . config('pagination', 'li_class') . ' active"><a href="' . $this->url . $i . '" class="' . config('pagination', 'link_class') . '">' . $i . '</a></li>') : append($html, '<li class="' . config('pagination', 'li_class') . '"><a href="' . $this->url . $i . '" class="' . config('pagination', 'link_class') . '">' . $i . '</a></li>');
- append($html, '</ul></nav>');
+ append($html, '</ul>');
return $html;
}