]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ConfirmRegistrationForm includes the code
authorEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 08:30:13 +0000 (04:30 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 18 Apr 2011 08:30:13 +0000 (04:30 -0400)
plugins/EmailRegistration/emailregister.php

index 85ab762bb3a9012e0496e32f4d4cdc6e6fd09691..0811554f490dde281481041e640566a9c65720e5 100644 (file)
@@ -477,11 +477,13 @@ class ConfirmRegistrationForm extends Form
     function formData()
     {
         $this->out->element('p', 'instructions',
-                            _('Enter a password to confirm your account.'));
+                            sprintf(_('Enter a password to confirm your account.')));
                             
         $this->out->elementStart('fieldset', array('id' => 'new_bookmark_data'));
         $this->out->elementStart('ul', 'form_data');
 
+        $this->hidden('code', $this->code);
+
         $this->elementStart('li');
         // TRANS: Field label on account registration page.
         $this->password('password', _('Password'),