Commit e13ab2cc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More informative strings on post-registration change username/password page

parent 1877e57d
......@@ -838,6 +838,7 @@ function auth_check_required_fields() {
'<a href="' . get_config('wwwroot') . '?loginanyway">', '</a>'));
$smarty->assign('changepassword', $changepassword);
$smarty->assign('changeusername', $SESSION->get('resetusername'));
$smarty->assign('form', $form);
......@@ -262,6 +262,8 @@ $string['youraccounthasbeensuspended'] = 'Your account has been suspeneded';
$string['youraccounthasbeenunsuspended'] = 'Your account has been unsuspeneded';
$string['changepassword'] = 'Change Password';
$string['changepasswordinfo'] = 'You are required to change your password before you can proceed.';
$string['chooseusernamepassword'] = 'Choose your username and password';
$string['chooseusernamepasswordinfo'] = 'You need a username and password to log in to %s. Please choose them now.';
$string['confirmpassword'] = 'Confirm password';
$string['javascriptnotenabled'] = 'Your browser does not have javascript enabled for this site. Mahara requires javascript to be enabled before you can log in';
$string['cookiesnotenabled'] = 'Your browser does not have cookies enabled, or is blocking cookies from this site. Mahara requires cookies to be enabled before you can log in';
{include file="header.tpl"}
{if $changepassword}
{if $changeusername}
<h1>{str tag="chooseusernamepassword"}</h1>
<p>{str tag="chooseusernamepasswordinfo" arg1=$sitename|escape}</p>
<h1>{str tag="changepassword"}</h1>
<p>{str tag="changepasswordinfo"}</p>
{if $loginasoverridepasswordchange}<div class="message">{$loginasoverridepasswordchange}</div>{/if}
<h1>{str tag='requiredfields' section='auth'}</h1>
Supports Markdown
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