|
@@ -21,7 +21,6 @@ function materio_user_menu_alter(&$items) {
|
|
|
$items['user/%user']['access arguments'] = array('view own user profile');
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Implements hook_block_info().
|
|
|
*/
|
|
@@ -85,7 +84,6 @@ function materio_user_block_view($delta = '') {
|
|
|
return $block;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Implements hook_form_alter().
|
|
|
*/
|
|
@@ -143,7 +141,6 @@ function materio_user_form_alter(&$form, &$form_state, $form_id) {
|
|
|
// );
|
|
|
// }
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Expand a password_confirm field into two text boxes.
|
|
|
*/
|
|
@@ -281,7 +278,7 @@ function materio_user_help($path, $arg) {
|
|
|
// dsm($user, 'user');
|
|
|
|
|
|
if(isset($user->roles[1])){ // anonyme
|
|
|
- $message = t('Please create an account and join materio, then we\'ll provide you the membership form.');
|
|
|
+ $message = t('Please create first a free account and join materio or log in with your existing account,<br />then we\'ll provide you our membership form.', array());
|
|
|
$content = '<p>' . $message . '</p>';
|
|
|
return $content;
|
|
|
}else if(isset($user->roles[2])){ // authentificated user (not utilisateur)
|