guid] = $friend->name; } if (!array_key_exists($recipient_guid, $recipients_options)) { $recipient = get_entity($recipient_guid); if (elgg_instanceof($recipient, 'user')) { $recipients_options[$recipient_guid] = $recipient->name; } } $recipient_drop_down = elgg_view('input/dropdown', array( 'name' => 'recipient_guid', 'value' => $recipient_guid, 'options_values' => $recipients_options, )); ?>
'subject', 'value' => $subject, )); ?>
'body', 'value' => $body, )); ?>
elgg_echo('messages:send'))); ?>