function theme_user_list


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 user.module theme_user_list($variables)
cle7 user.module theme_user_list($variables)
elmsmedia7 user.module theme_user_list($variables)
icor7 user.module theme_user_list($variables)
meedjum_blog7 user.module theme_user_list($variables)
mooc7 user.module theme_user_list($variables)

Returns HTML for a list of users.


$variables: An associative array containing:

  • users: An array with user objects. Should contain at least the name and uid.
  • title: (optional) Title to pass on to theme_item_list().

Related topics

1 theme call to theme_user_list()
user_block_view in modules/user/user.module
Implements hook_block_view().
2 string references to the theme hook from theme_user_list()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

user_block_view in modules/user/user.module
Implements hook_block_view().
user_theme in modules/user/user.module
Implements hook_theme().


modules/user/user.module, line 1514
Enables the user registration and login system.


function theme_user_list($variables) {
  $users = $variables['users'];
  $title = $variables['title'];
  $items = array();

  if (!empty($users)) {
    foreach ($users as $user) {
      $items[] = theme('username', array('account' => $user));
  return theme('item_list', array('items' => $items, 'title' => $title));



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.