Commit 1ab0a149 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Use site name in registration email

parent 009fa91f
......@@ -57,7 +57,7 @@ $string['yournewpassword'] = 'Your new password';
$string['yournewpasswordagain'] = 'Your new password again';
// Registration
$string['registeredemailsubject'] = 'You have registered at Mahara';
$string['registeredemailsubject'] = 'You have registered at %s';
$string['registeredemailmessagetext'] = 'Congratulations!
You have successfully registered an account! Please follow this link to
......
......@@ -236,7 +236,7 @@ function register_submit($values) {
$user =(object) $values;
email_user($user, null,
get_string('registeredemailsubject'),
get_string('registeredemailsubject', 'mahara', get_config('sitename')),
get_string('registeredemailmessagetext', 'mahara', $values['key']),
get_string('registeredemailmessagehtml', 'mahara', $values['key'], $values['key']));
}
......
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