change register-block title (more explicit)

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2013-02-11 13:08:40 +01:00
parent ca2ebbf0c8
commit 83fbaa4669

View File

@ -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;