summaryrefslogtreecommitdiff
path: root/actions/invite.php
diff options
context:
space:
mode:
authorEvan Prodromou <git@evanprodromou.name>2009-01-24 10:38:11 +0100
committerEvan Prodromou <git@evanprodromou.name>2009-01-24 10:38:11 +0100
commit1b07e65277fafde9e8b9e1809e012d4e954fc2c2 (patch)
treefe701d0998fb59cd26f0ea160b659d3f03ee37e8 /actions/invite.php
parent8638479cb6287a4c22e485ba71fab4b12a6fc40f (diff)
parentcf7908a9715fe91836aa41d5bcf9f32e33be8644 (diff)
Merge branch 'master' of evan@dev.controlyourself.ca:/var/www/trunk
Diffstat (limited to 'actions/invite.php')
-rw-r--r--actions/invite.php15
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');
}