Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add filter in Manage Users page to show/hide disabled users
This is a port of the following 1.2.x commits: - a21374a, Original patch written by David Newcomb. Fixed issue with new filter not specified on the multi-page navigation links. Also made minor cosmetic changes: whitespace, coding guidelines. - 129a8e5 Simplify code by using a for loop to print the column headers instead of manually building the table cells one by one. Note that this actually changes the label of the 'Protected' column from the padlock icon to a text description. Rename 'hide' variable to 'hide_inactive'. With the addition of the new filter option 'show_disabled', using just 'hide' was potentially confusing. - e28fa43 The filter in managed_user_page.php is not persistent The filter values stored in the cookie whenever the criteria change, were restored to the form variables instead of the sanitized ($c_) variables, and were therefore not taken into account when building the page. Fixes #11726, #14216
- Loading branch information
Showing
3 changed files
with
76 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$t_hide_filter is undefined