terms of service

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2013-02-08 18:28:25 +01:00
parent 1e40a74e1a
commit 1f9bef33b9

View File

@ -79,10 +79,16 @@ function materio_user_form_alter(&$form, &$form_state, $form_id) {
// dsm($form);
$form['account']['pass']['#type'] = 'password';
$form['account']['pass']['#title'] = t('Password');
$form['actions']['#type'] = "container";
$form['actions']['submit']['#value'] = t('Join');
// $form['submit'] = $form['actions']['submit'];
// unset($form['actions']);
$form['termsofservices'] = array(
'#type' => 'checkbox',
'#title' => t('I red and accept') .' '. l('the materiO terms of services', 'node/11178'),
'#required' => true,
);
}
}