Commit af21a332 authored by Dave Lane's avatar Dave Lane

add messages to registration and enrol forms to alert learner they are opting...

add messages to registration and enrol forms to alert learner they are opting in to receive course email
parent 56f957fb
......@@ -712,7 +712,7 @@ class OREMain extends OREBase {
unset($current->data->user_pass);
} else {
if (!($current = get_userdata($user_id))){
$this->log('There is no user associated with user_id: '.$user_id);
//$this->log('There is no user associated with user_id: '.$user_id);
return false;
}
}
......
......@@ -163,7 +163,7 @@ static $modals = array(
'default' => array(
'label' => 'Register',
'class' => 'submit',
'detail' => 'Register a new user account with the details entered above.',
'detail' => 'Register a new user account with the details entered above.<br/><strong>By registering, you opt in to receive course instructions via email.</strong>',
'success' => 'successful_registration',
'failed' => 'failed_registration',
),
......@@ -329,7 +329,7 @@ static $modals = array(
'default' => array(
'label' => 'Enrol',
'class' => 'submit',
'detail' => '<strong>By enrolling you can post comments on this site and opt-in to receive course instructions via email</strong>.',
'detail' => '<strong>By enrolling you opt in to receive course instructions via email and you can post comments on this course site</strong>.',
'success' => 'successfully_enrolled',
'failed' => 'failed_to_enrol',
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment