X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Finvite.php;h=5dcc836526317e7b124dd4c03ea2bca6606cdb2f;hb=03d31911e18f8ca0ba2f8425943b4c244114a066;hp=62609f56641cf33794e4c2e8a3d4acd6ad24b14c;hpb=03ce6aee2eb228aaf32c0b095284b95722d661b2;p=quix0rs-gnu-social.git diff --git a/actions/invite.php b/actions/invite.php index 62609f5664..5dcc836526 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -1,7 +1,7 @@ elementStart('form', array('method' => 'post', - 'id' => 'invite', + 'id' => 'form_invite', + 'class' => 'form_settings', 'action' => common_local_url('invite'))); + $this->elementStart('fieldset'); + $this->element('legend', null, 'Send an invitation'); $this->hidden('token', common_session_token()); + $this->elementStart('ul', 'form_data'); + $this->elementStart('li'); $this->textarea('addresses', _('Email addresses'), $this->trimmed('addresses'), _('Addresses of friends to invite (one per line)')); - + $this->elementEnd('li'); + $this->elementStart('li'); $this->textarea('personal', _('Personal message'), $this->trimmed('personal'), _('Optionally add a personal message to the invitation.')); - + $this->elementEnd('li'); + $this->elementEnd('ul'); $this->submit('send', _('Send')); - + $this->elementEnd('fieldset'); $this->elementEnd('form'); } @@ -227,4 +238,9 @@ class InviteAction extends Action mail_send($recipients, $headers, $body); } + function showLocalNav() + { + $nav = new SubGroupNav($this, common_current_user()); + $nav->show(); + } }