- $this->elementStart('form', array('method' => 'post',
- 'id' => 'form_invite',
- 'class' => 'form_settings',
- 'action' => common_local_url('invite')));
- $this->elementStart('fieldset');
- // TRANS: Form legend.
- $this->element('legend', null, 'Send an invitation');
- $this->hidden('token', common_session_token());
-
- $this->elementStart('ul', 'form_data');
- $this->elementStart('li');
- // TRANS: Field label for a list of e-mail addresses.
- $this->textarea('addresses', _('Email addresses'),
- $this->trimmed('addresses'),
- // TRANS: Tooltip for field label for a list of e-mail addresses.
- _('Addresses of friends to invite (one per line).'));
- $this->elementEnd('li');
- $this->elementStart('li');
- // TRANS: Field label for a personal message to send to invitees.
- $this->textarea('personal', _('Personal message'),
- $this->trimmed('personal'),
- // TRANS: Tooltip for field label for a personal message to send to invitees.
- _('Optionally add a personal message to the invitation.'));
- $this->elementEnd('li');
- $this->elementEnd('ul');
- // TRANS: Send button for inviting friends
- $this->submit('send', _m('BUTTON', 'Send'));
- $this->elementEnd('fieldset');
- $this->elementEnd('form');