function theme_privatemsg_list_field__participants

7-1 privatemsg.theme.inc theme_privatemsg_list_field__participants($variables)
7-2 privatemsg.theme.inc theme_privatemsg_list_field__participants($variables)

Theme the participants field.

Related topics

File

./privatemsg.theme.inc, line 49
Theme functions for privatemsg.

Code

function theme_privatemsg_list_field__participants($variables) {
  $thread = $variables['thread'];
  $participants = _privatemsg_generate_user_array($thread['participants'], -4);
  $field = array();
  $field['data'] = _privatemsg_format_participants($participants, 3, TRUE);
  $field['class'][] = 'privatemsg-list-participants';
  return $field;
}