From 1f9bef33b9db072faa0b1dab4efc256c0b5eacc1 Mon Sep 17 00:00:00 2001 From: bachy Date: Fri, 8 Feb 2013 18:28:25 +0100 Subject: [PATCH] terms of service Signed-off-by: bachy --- materio_user.module | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/materio_user.module b/materio_user.module index 7ce9a2e3..102f689d 100644 --- a/materio_user.module +++ b/materio_user.module @@ -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, + ); + } }