diff --git a/materio_user.module b/materio_user.module index c314502a..a3972366 100755 --- a/materio_user.module +++ b/materio_user.module @@ -54,10 +54,13 @@ function materio_user_block_view($delta = '') { $block['subject'] = '';//drupal_is_front_page() ? t('Your projects will born from here') : t('Create your materiO\' account'); $block['content'] = '

'. t('Login') . '

'; $block['content'] .= drupal_render(drupal_get_form('user_login')); - $block['content'] .= '

'. t('or create your materiO\' account') . '

'; - $block['content'] .= drupal_render(drupal_get_form('user_register_form')); - - + if (drupal_is_front_page()) { + $block['content'] .= '

'. t('or create your materiO\' account') . '

'; + $block['content'] .= l(t('Join us'), 'node/11187', array("attributes"=>array("class"=>array("join")))); + }else{ + $block['content'] .= '

'. t('or create your materiO\' account') . '

'; + $block['content'] .= drupal_render(drupal_get_form('user_register_form')); + } // $block['content'] .= l(t('Pricing'), 'node/11187', array('attributes' => array('class' => 'pricing'),)); } break;