added some spans
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
7c486da7c5
commit
afd4de26e7
@ -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>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user