mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Code deduplication/tidying
- Move default pagination/sort/search query variable mapping to pagination_head.php - Remove user_logs.php
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
<?php
|
||||
/*
|
||||
* Pagination Body/Footer
|
||||
* Displays page number buttons
|
||||
*
|
||||
* Should not be accessed directly, but called from other pages
|
||||
* Relies upon the $num_rows variable being set correctly
|
||||
*/
|
||||
|
||||
$total_found_rows = $num_rows[0];
|
||||
$total_pages = ceil($total_found_rows / $_SESSION['records_per_page']);
|
||||
|
||||
Reference in New Issue
Block a user