diff --git a/htdocs/auth/lib.php b/htdocs/auth/lib.php index 7b03d50f6601a7744eb36d3031a527bd438e0c25..32d06df84ac1cc554043b8c8cbac4b4ee2b93091 100644 --- a/htdocs/auth/lib.php +++ b/htdocs/auth/lib.php @@ -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; } diff --git a/htdocs/lang/en.utf8/mahara.php b/htdocs/lang/en.utf8/mahara.php index 35adcc6a99543e73f9127c12359e4603970b54a8..dd082cd697b3473fab2649812c75825b2494ea9c 100644 --- a/htdocs/lang/en.utf8/mahara.php +++ b/htdocs/lang/en.utf8/mahara.php @@ -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'; diff --git a/htdocs/theme/default/templates/login.tpl b/htdocs/theme/default/templates/login.tpl index 5220e7eec1ead9cbf76e662d59cc9a0b1d4f7e71..d309af8e07c77445dddff30144bc015a8c1464fc 100644 --- a/htdocs/theme/default/templates/login.tpl +++ b/htdocs/theme/default/templates/login.tpl @@ -1,6 +1,6 @@ {include file="header.tpl"} -