Commit Graph

22 Commits

Author SHA1 Message Date
bb8a8bad27 GenericTable: refactor order and pagination initalisation 2024-12-19 15:00:00 +01:00
06c95853f5 GenericTable: drop $tableIsSortable property 2024-12-19 12:01:00 +01:00
e57289eeb6 GenericTable: drop support for get_count_params, get_data_params 2024-12-19 11:56:00 +01:00
6930c0a06a Misc: use the correct copyright headers 2023-04-08 21:32:38 +02:00
f9eefe7b41 Replace generic alert, form and table templates with new Bootstrap equivalents 2023-03-11 13:20:59 +01:00
7897172256 Address dynamic class property deprecation warnings 2022-12-25 13:56:42 +01:00
3de87809bb GenericTable: prevent passing NULL to strtotime 2022-07-14 16:45:32 +02:00
c763967463 Prevent current page from being 0 if no items are present 2022-07-14 16:45:17 +02:00
0ec0de4414 Replace deprecated strftime calls 2022-05-07 13:25:19 +02:00
237f4005bd Apply htmlspecialchars to basic values. 2021-02-17 22:44:26 +01:00
4bf4641428 Minor refactor of generateColumnHeaders function 2021-02-17 20:45:58 +01:00
ff808ba18d Refactor processing of raw rows and their cell data. 2021-02-17 20:45:22 +01:00
6c662481bc Remove a few obscure, unused features.
* Removed support for row classification. Use of CSS is preferred.
* Removed support for disabling/enabling columns via a property. Unset as needed.
* Removed support for passing and inheriting a cell width by column. Header width suffices.
2021-02-17 20:45:22 +01:00
af73f00701 Restrict access to GenericTable, Pagination class members. 2021-02-17 20:45:21 +01:00
681af07985 Pass builder function for custom pagination link generation.
This makes pagination for GenericTables work properly again.
2021-02-17 20:43:30 +01:00
cba42a9129 Refactor GenericTable to use PageIndex rather than inherit from it
This has on my todo list for years... I'm glad to finally get around to it.
2021-02-17 20:43:30 +01:00
96937b6952 Use null-coalescing operator where appropriate 2021-02-17 20:43:29 +01:00
5c55e45c3c Use splat operator instead of call_user_func_array 2021-02-17 20:43:29 +01:00
c48ba786c1 Refactor leftover old-style arrays into new-style arrays. 2019-09-29 14:47:56 +02:00
1a15e347f2 Merges from upstream Kabuki. 2017-11-09 17:00:36 +01:00
df7655e00b Allow jumping to random pages through pagination fillers. 2017-11-09 17:00:34 +01:00
ab0e4efbcb Initial commit.
This is to be the new HashRU website based on the Aaronweb.net/Kabuki CMS.
2017-11-09 17:00:22 +01:00