Commit 4bc4c257 authored by Kristina Hoeppner's avatar Kristina Hoeppner Committed by Robert Lyon
Browse files

Remove | from "Lost username/password" (Bug 1467248)



There was a "|" before the "Lost username /
password" link on the homepage which is now
removed.

Change-Id: I56a65594ecde795420e584cdeb10439f517f4bb6
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent e4902c53
......@@ -1244,7 +1244,7 @@ function auth_get_login_form() {
function auth_get_login_form_elements() {
// See if user can register
if (count_records('institution', 'registerallowed', 1, 'suspended', 0)) {
$registerlink = '<a class="btn btn-primary btn-xs" href="' . get_config('wwwroot') . 'register.php">' . get_string('register') . '</a>';
$registerlink = '<span class="mrm"><a class="btn btn-primary btn-xs" href="' . get_config('wwwroot') . 'register.php">' . get_string('register') . '</a></span>';
}
else {
$registerlink = '';
......@@ -1277,7 +1277,7 @@ function auth_get_login_form_elements() {
'register' => array(
'type' => 'markup',
'value' => '<div id="login-helplinks" class="panel-footer"><small>' . $registerlink
. ' | <a href="' . get_config('wwwroot') . 'forgotpass.php">' . get_string('lostusernamepassword') . '</a></small></div>'
. '<a href="' . get_config('wwwroot') . 'forgotpass.php">' . get_string('lostusernamepassword') . '</a></small></div>'
),
);
$elements = array(
......
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