]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Invitation markup and style
authorsarven <csarven@plantard.controlezvous.ca>
Sat, 24 Jan 2009 03:18:34 +0000 (03:18 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Sat, 24 Jan 2009 03:18:34 +0000 (03:18 +0000)
actions/invite.php
theme/base/css/display.css

index f4ad2f7c551200fea86b436ba3cc2d8149058158..df6e3b7147c145c6559da824ee08f77912de8e6b 100644 (file)
@@ -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');
     }
 
index 17700e64e345b3214b70a0012f254e4fcc984ae5..bee8d829a29e829dc9b41531e4723707aec2dc95 100644 (file)
@@ -152,7 +152,8 @@ font-weight:bold;
 #form_tag_user legend,
 #form_remote_subscribe legend,
 #form_openid_login legend,
-#form_search legend {
+#form_search legend,
+#form_invite legend {
 display:none;
 }