X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fregister.php;h=d2e54b634596e8ecf3f5077910fafbba65c32d60;hb=74517da3f545d9659f58af8fa273ca4fafa9ff50;hp=fbff26af03efb93bdff7f630cc206081bb4e318f;hpb=0bc94b14c445b16d634b69759bffba20e819e23d;p=quix0rs-gnu-social.git diff --git a/actions/register.php b/actions/register.php index fbff26af03..d2e54b6345 100644 --- a/actions/register.php +++ b/actions/register.php @@ -117,8 +117,11 @@ class RegisterAction extends Action { function show_form($error=NULL) { global $config; - + common_show_header(_t('Register')); + if ($error) { + common_element('div', 'error', $error); + } common_element_start('form', array('method' => 'POST', 'id' => 'login', 'action' => common_local_url('register'))); @@ -127,16 +130,14 @@ class RegisterAction extends Action { common_password('confirm', _t('Confirm')); common_input('email', _t('Email')); common_element_start('p'); - common_element_start('label', array('for' => 'license')); - common_text(_t('My text and files are available under ')); - common_element('a', array(href => $config['license']['url']), - $config['license']['title']); - common_text(_t(' except this private data: password, email address, IM address, phone number.')); - common_element_end('label'); common_element('input', array('type' => 'checkbox', 'id' => 'license', 'name' => 'license', 'value' => 'true')); + common_text(_t('My text and files are available under ')); + common_element('a', array(href => $config['license']['url']), + $config['license']['title']); + common_text(_t(' except this private data: password, email address, IM address, phone number.')); common_element_end('p'); common_submit('submit', _t('Register')); common_element_end('form');