Commit ee1223e9 authored by Richard Mansfield's avatar Richard Mansfield

Use sitename on login page

parent adf3f027
......@@ -449,6 +449,7 @@ function auth_draw_login_page($message=null, Form $form=null) {
}
$smarty = smarty();
$smarty->assign('login_form', $loginform);
$smarty->assign('loginmessage', get_string('loginto', 'mahara', get_config('sitename')));
$smarty->display('login.tpl');
exit;
}
......
......@@ -42,6 +42,7 @@ $string['confirmpassword'] = 'Confirm password';
$string['loggedoutok'] = 'You have been logged out successfully';
$string['login'] = 'Log In';
$string['loginfailed'] = 'You have not provided the correct credentials to log in. Please check your username and password are correct.';
$string['loginto'] = 'Log in to %s';
$string['newpassword'] = 'New Password';
$string['password'] = 'Password';
$string['passworddesc'] = 'Your password';
......
{include file="header.tpl"}
<h2>Log in to Mahara</h2>
<h2>{$loginmessage}</h2>
<div id="loginbox"></div>
{$login_form}
......
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