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
f1bd4df8
Commit
f1bd4df8
authored
May 11, 2011
by
Richard Mansfield
Committed by
Gerrit Code Review
May 11, 2011
Browse files
Merge "Add login link for convenience of logged out visitors"
parents
46c7e115
cf19709a
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
f1bd4df8
...
...
@@ -983,6 +983,7 @@ function auth_draw_login_page($message=null, Pieform $form=null) {
$smarty
=
smarty
(
array
(),
array
(),
array
(),
array
(
'pagehelp'
=>
false
,
'sidebars'
=>
false
));
$smarty
->
assign
(
'login_form'
,
$loginform
);
$smarty
->
assign
(
'PAGEHEADING'
,
get_string
(
'loginto'
,
'mahara'
,
get_config
(
'sitename'
)));
$smarty
->
assign
(
'LOGINPAGE'
,
true
);
$smarty
->
display
(
'login.tpl'
);
exit
;
}
...
...
htdocs/theme/raw/templates/header/topright.tpl
View file @
f1bd4df8
...
...
@@ -22,6 +22,7 @@
</form>
</li>
{/
if
}
{
if
!
$LOGGEDIN
&&
!
$SIDEBARS
&&
!
$LOGINPAGE
}
<li><a
href=
"
{
$WWWROOT
}
?login"
accesskey=
"l"
>
{
str
tag
=
"login"
}
</a></li>
{/
if
}
</ul>
</div>
...
...
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