X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Finvite.php;h=7e52cdbcc6af6d20b88be1944f038a306d999c0c;hb=69a656af2210acf9211aa4fcb1c05bfd5c5a2e1f;hp=bb74d68e442ccef20f6577cff492905113a9c266;hpb=2fe16b39ba3be58acf14441d54751a8088069cb5;p=quix0rs-gnu-social.git diff --git a/actions/invite.php b/actions/invite.php index bb74d68e44..7e52cdbcc6 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -22,8 +22,12 @@ if (!defined('LACONICA')) { exit(1); } class InviteAction extends Action { var $mode = null; + var $error = null; + var $already = null; + var $subbed = null; + var $sent = null; - function isReadOnly() + function isReadOnly($args) { return false; } @@ -163,20 +167,27 @@ class InviteAction extends Action function showInviteForm() { $this->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'); }