|
@@ -54,7 +54,7 @@ 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'] = '<h3>'. t('Login') . '</h3>';
|
|
|
$block['content'] .= drupal_render(drupal_get_form('user_login'));
|
|
|
- $block['content'] .= '<h3>'. t('or create your materiO\' account') . '</h3>';
|
|
|
+ $block['content'] .= '<h3>'. t('<span>or </span>create your materiO\' account') . '</h3>';
|
|
|
$block['content'] .= drupal_render(drupal_get_form('user_register_form'));
|
|
|
|
|
|
|
|
@@ -210,7 +210,7 @@ function materio_user_block_view_alter(&$data, $block) {
|
|
|
if( $block->module == "user" && $block->delta == 'login' && isset($data['subject']) ){
|
|
|
// dsm($block, 'block');
|
|
|
// dsm($data, 'data');
|
|
|
- $data['subject'] = '<i class="icon-user"></i>' . $data['subject'];
|
|
|
+ $data['subject'] = '<i class="icon-user"></i>' . '<span class="login">' . $data['subject'] . '</span>';
|
|
|
}
|
|
|
}
|
|
|
|