change register-block title (more explicit)
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
ca2ebbf0c8
commit
83fbaa4669
@ -47,7 +47,7 @@ function materio_user_block_view($delta = '') {
|
||||
switch ($delta) {
|
||||
case 'user_register':
|
||||
if(isset($user->roles[1])){
|
||||
$block['subject'] = drupal_is_front_page() ? t('Your projects will born from here') : t('Create your materiO\' account');
|
||||
$block['subject'] = t('Create your materiO\' account');//drupal_is_front_page() ? t('Your projects will born from here') : t('Create your materiO\' account');
|
||||
$block['content'] = drupal_render(drupal_get_form('user_register_form'));
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user