New API to display pagination links
The new Source_View_Pagination() function removes redundant code from
the search and list pages, and improves it by

- using a closure instead of create_function()
- use MantisBT standard "first/prev/next/last" instead of "<</>>"
- print fewer page links, increasing the gap between them depending on
  total number of changesets (total / 10 rounded to nearest 10)
1 parent 96d0555 commit 385156590d4fda8497092655217fd31040f382d6
@Damien Regad Damien Regad authored on 25 Jun 2014
Showing 3 changed files
View
Source/Source.ViewAPI.php
View
Source/pages/list.php
View
Source/pages/search.php