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
674dbe36
Commit
674dbe36
authored
Nov 16, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 16, 2006
Browse files
Put noscript tags inside the login blocks, where they should be when
javascript is not enabled.
parent
1308c6af
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/index.tpl
View file @
674dbe36
{
include
file
=
"header.tpl"
}
{
if
!
$USER
}
<div
class=
"sidebar"
id=
"loginbox"
></div>
<div
class=
"sidebar"
id=
"loginbox"
>
<noscript><p>
{
str
tag
=
"javascriptnotenabled"
}
</p></noscript>
</div>
{
$login_form
}
{/
if
}
...
...
htdocs/theme/default/templates/login.tpl
View file @
674dbe36
...
...
@@ -2,7 +2,9 @@
<h2>
{
$loginmessage
}
</h2>
<div
id=
"loginbox"
></div>
<div
id=
"loginbox"
>
<noscript><p>
{
str
tag
=
"javascriptnotenabled"
}
</p></noscript>
</div>
{
$login_form
}
{
include
file
=
"footer.tpl"
}
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