|
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) |
|---|
|
|
| Source/Source.ViewAPI.php |
|---|
| Source/pages/list.php |
|---|
| Source/pages/search.php |
|---|