]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/register.php
fixup for new theme design in public.php
[quix0rs-gnu-social.git] / actions / register.php
index 8ed5706f99d9c02ae7e05df8f4951ecff7450b99..d2e54b634596e8ecf3f5077910fafbba65c32d60 100644 (file)
@@ -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')));
@@ -131,12 +134,10 @@ class RegisterAction extends Action {
                                                                          'id' => 'license',
                                                                          'name' => 'license',
                                                                          'value' => 'true'));
-               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_end('p');
                common_submit('submit', _t('Register'));
                common_element_end('form');