We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit fc89006e authored by Evan Prodromou's avatar Evan Prodromou

better output for registration confirmation

parent 2019d32b
......@@ -62,12 +62,36 @@ class ConfirmRegistrationForm extends Form
function formData()
$this->out->element('p', 'instructions',
sprintf(_('Enter a password to confirm your account.')));
sprintf(_('Enter a password to confirm your new account.')));
$this->hidden('code', $this->code);
$this->out->elementStart('ul', 'form_data');
$this->element('label', array('for' => 'nickname-ignore'), _('User name'));
$this->element('input', array('name' => 'nickname-ignore',
'type' => 'text',
'id' => 'nickname-ignore',
'disabled' => 'true',
'value' => $this->nickname));
$this->element('label', array('for' => 'email-ignore'), _('Email'));
$this->element('input', array('name' => 'email-ignore',
'type' => 'text',
'id' => 'email-ignore',
'disabled' => 'true',
'value' => $this->email));
// TRANS: Field label on account registration page.
$this->password('password', _('Password'),
......@@ -96,8 +120,8 @@ class ConfirmRegistrationForm extends Form
$this->raw(sprintf(_('I agree to the <a href="%1$s">Terms of service</a> and '.
'<a href="%1$s">Privacy policy</a> of this site.'),
common_local_url('doc', 'tos'),
common_local_url('doc', 'privacy')));
common_local_url('doc', array('title' => 'tos')),
common_local_url('doc', array('title' => 'privacy'))));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment