MDL-30548 support user suspended flag in admin UI

This patch includes:
* user management suspend UI tweaks and other coding style improvements
* suspended info in user profiles
* suspend option in advanced edit form
* suspended user filtering
* hidden user fields option for suspended field

Thanks Sam Hemelryk for valuable feedback.
This commit is contained in:
Petr Skoda
2012-01-04 10:51:04 +13:00
committed by Sam Hemelryk
parent 10357af3ef
commit dc49c2d461
11 changed files with 150 additions and 54 deletions
+3 -1
View File
@@ -127,7 +127,9 @@ if ($hassiteconfig
'firstaccess' => get_string('firstaccess'),
'lastaccess' => get_string('lastaccess'),
'mycourses' => get_string('mycourses'),
'groups' => get_string('groups'))));
'groups' => get_string('groups'),
'suspended' => get_string('suspended', 'auth'),
)));
// Select fields to display as part of user identity (only to those
// with moodle/site:viewuseridentity).