- 'action' => common_local_url('login')));
- common_element('label', array('for' => 'username'),
- _t('Name'));
- common_element('input', array('name' => 'username',
- 'type' => 'text',
- 'id' => 'username'));
- common_element('label', array('for' => 'password'),
- _t('Password'));
- common_element('input', array('name' => 'password',
- 'type' => 'password',
- 'id' => 'password'));
- common_element('label', array('for' => 'confirm'),
- _t('Confirm'));
- common_element('input', array('name' => 'confirm',
- 'type' => 'password',
- 'id' => 'confirm'));
- common_element('label', array('for' => 'email'),
- _t('Email'));
- common_element('input', array('name' => 'email',
- 'type' => 'text',
- 'id' => 'email'));
- common_element('input', array('name' => 'submit',
- 'type' => 'submit',
- 'id' => 'submit'),
- _t('Login'));
- common_element('input', array('name' => 'cancel',
- 'type' => 'button',
- 'id' => 'cancel'),
- _t('Cancel'));
+ 'action' => common_local_url('register')));
+ common_input('nickname', _t('Nickname'));
+ common_password('password', _t('Password'));
+ common_password('confirm', _t('Confirm'));
+ common_input('email', _t('Email'));
+ common_element_start('p');
+ 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');
+ common_show_footer();