diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-24 03:18:34 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-24 03:18:34 +0000 |
commit | 0cdaf3e155db84f8b6319406038cc889357fd5d7 (patch) | |
tree | 68f68be52bd3c2d0099c3dcb2f8f4c74b3b363b6 /actions/invite.php | |
parent | 4980f654a8bfc7118a927993107a7de41d42863a (diff) |
Invitation markup and style
Diffstat (limited to 'actions/invite.php')
-rw-r--r-- | actions/invite.php | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/actions/invite.php b/actions/invite.php index f4ad2f7c5..df6e3b714 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -167,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'); } |