Zebra Pagination Versions Save

A generic, Twitter Bootstrap compatible, pagination library for automatically generating navigation links

2.4.7

4 months ago
  • minor amendments to previous release; see #38

2.4.6

4 months ago
  • changed private methods to protected; see #38; thanks Bilge!

2.4.5

11 months ago
  • fixed an issue when the library was in condensed mode and there were no records available

2.4.3

2 years ago
  • fixed a bug when having arrays in the URL (like select-products?&example[family]=MyFamily&example[subfamily]=Mysubfamily&other_param=Other); see #36; thanks Franck Dupont!

2.4.2

2 years ago
  • fixed a bug where encoded ampersands in pre-existing URL parameters were incorrectly handled; see #34; thanks Tom-Lovatt!

2.4.1

2 years ago

fixed a bug where running the script on a server's home would cause the link to the first page to be incorrect; see #25; thanks Robert!

2.4.0

3 years ago
  • fixed compatilibty issues with PHP 8 and updated examples to work with latest versions of MariaDB
  • fixed bug where the library was not working correctly for method being url, variable being an empty string and last segment of an URL being a numerical value; see #25; thanks Bilge!
  • preg_quote-d user variables used in preg_replace; see #26; thanks Bilge!
  • removed rel="next" and rel="prev" as these are not an indexing signal anymore; see #21; thanks Bilge!
  • pagination links are now in an ordered list instead of an unordered list` making the output semantically correct since the order of elements is imperative; see #24; thanks Bilge!
  • fixed bug where when method was set to url, the library would not respect the value of avoid_duplicate_content when this was set to false; see #27; thanks Bilge!
  • fixed bug where having always_show_navigation set to TRUE would still not display pagination if there was a single page to be shown (see #6)
  • added a condensed mode which removes pagination links leaving only the next and previous buttons, links to the first and last pages, as well as a label showing the current page and the total available pages
  • updated examples

2.3.1

5 years ago
  • fixed a typo in the previous release

2.3

5 years ago
  • a new css_classes method was added for setting the CSS classes used in the markup; additionally, the library is now also compatible with Twitter Bootstrap 4
  • updated example to use the mysqli extension instead of the mysql extension, fixing #6 - thank you Elra Ghifary
  • fixed some typos in the examples (see #9)

2.2.3

7 years ago
  • unnecessary files are no more included when downloading from GitHub or via Composer