Same name and namespace in other branches
- 4.6.x modules/user.module \theme_user_list()
- 5.x modules/user/user.module \theme_user_list()
- 6.x modules/user/user.module \theme_user_list()
- 7.x modules/user/user.module \theme_user_list()
Make a list of users.
Parameters
$items an array with user objects. Should contain at least the name and uid:
Related topics
File
- modules/
user.module, line 701 - Enables the user registration and login system.
Code
function theme_user_list($users, $title = NULL) {
if (!empty($users)) {
foreach ($users as $user) {
$items[] = theme('username', $user);
}
}
return theme('item_list', $items, $title);
}