|
@@ -115,7 +115,8 @@ function materio_user_block_view($delta = '') {
|
|
|
if(isset($user->roles[1])){
|
|
|
$block['subject'] = '';//drupal_is_front_page() ? t('Your projects will born from here') : t('Create your materiO\' account');
|
|
|
$block['content'] = '<h3>'. t('Login') . '</h3>';
|
|
|
- $block['content'] .= drupal_render(drupal_get_form('user_login'));
|
|
|
+ $ulog_form = drupal_get_form('user_login');
|
|
|
+ $block['content'] .= drupal_render($ulog_form);
|
|
|
if (drupal_is_front_page()) {
|
|
|
$block['content'] .= '<h3>'. t('<span>or </span>create your materiO\' account') . '</h3>';
|
|
|
$block['content'] .= l(t('Join us'), 'node/11187', array("attributes"=>array("class"=>array("join"))));
|