Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
ce45f3bc
Commit
ce45f3bc
authored
Jul 17, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Jul 17, 2015
Browse files
Merge "Remove | from "Lost username/password" (Bug 1467248)"
parents
95d0bdf2
4bc4c257
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
ce45f3bc
...
...
@@ -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
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment