You are here

function theme_privatemsg_list_field__participants in Privatemsg 7

Same name and namespace in other branches
  1. 7.2 privatemsg.theme.inc \theme_privatemsg_list_field__participants()

Theme the participants field.

See also

theme_privatemsg_list_field()

Related topics

File

./privatemsg.theme.inc, line 78
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;
}