typo and strict php warning fixe
This commit is contained in:
parent
ab51102cd0
commit
91c826322e
@ -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"))));
|
||||
|
@ -29,7 +29,7 @@ function materio_user_register_submit(){
|
||||
}else{
|
||||
$messages = drupal_get_messages('status');
|
||||
// $return['messages'] = $messages;
|
||||
drupal_set_message(t("Congratulation, you juste created your free materiO' account, welcome !"), 'status');
|
||||
drupal_set_message(t("Congratulations, you juste created your free materiO' account, welcome !"), 'status');
|
||||
foreach ($messages['status'] as $msg) {
|
||||
drupal_set_message($msg, 'status');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user