Put license text inside label to align it with "Remember me" label above it. Improve sentence.

This commit is contained in:
Zach Copley 2009-01-29 13:18:10 -08:00
parent 5543cd21c6
commit 733b3543d0

View File

@ -426,11 +426,13 @@ class RegisterAction extends Action
} }
$this->elementStart('li'); $this->elementStart('li');
$this->element('input', $attrs); $this->element('input', $attrs);
$this->elementStart('label', array('class' => 'checkbox', 'for' => 'license'));
$this->text(_('My text and files are available under ')); $this->text(_('My text and files are available under '));
$this->element('a', array('href' => common_config('license', 'url')), $this->element('a', array('href' => common_config('license', 'url')),
common_config('license', 'title'), _("Creative Commons Attribution 3.0")); common_config('license', 'title'), _("Creative Commons Attribution 3.0"));
$this->text(_(' except this private data: password, '. $this->text(_(' except this private data: password, '.
'email address, IM address, phone number.')); 'email address, IM address, and phone number.'));
$this->elementEnd('label');
$this->elementEnd('li'); $this->elementEnd('li');
$this->elementEnd('ul'); $this->elementEnd('ul');
$this->submit('submit', _('Register')); $this->submit('submit', _('Register'));