You are here

function phptemplate_privatemsg_list_field__participants in Privatemsg 6

Same name and namespace in other branches
  1. 6.2 privatemsg.theme.inc \phptemplate_privatemsg_list_field__participants()

Theme the participants field.

See also

theme_privatemsg_list_field()

Related topics

File

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

Code

function phptemplate_privatemsg_list_field__participants($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;
}