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
20a955aa
Commit
20a955aa
authored
Oct 06, 2015
by
Robert Lyon
Committed by
Gerrit Code Review
Oct 06, 2015
Browse files
Merge "Add class to body tag for styling (bug: 1465107)"
parents
f4a13633
33fa81f1
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/index.php
View file @
20a955aa
...
...
@@ -103,8 +103,7 @@ $urls = array(
'topics'
=>
$wwwroot
.
'group/topics.php'
,
'share'
=>
$wwwroot
.
'view/share.php'
,
);
$smarty
->
assign
(
'pagename'
,
$pagename
);
$smarty
->
assign
(
'url'
,
$urls
);
$smarty
->
assign
(
'page_content'
,
get_site_page_content
(
$pagename
));
$smarty
->
display
(
'index.tpl'
);
htdocs/theme/raw/templates/header.tpl
View file @
20a955aa
...
...
@@ -3,7 +3,7 @@
<!--[if IE 9 ]><html
{
if
$LANGDIRECTION
==
'rtl'
}
dir="rtl"
{/
if
}
lang="
{
$LANGUAGE
}
" class="ie ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html
{
if
$LANGDIRECTION
==
'rtl'
}
dir=
"rtl"
{/
if
}
lang=
"
{
$LANGUAGE
}
"
>
<!--<![endif]-->
{
include
file
=
"header/head.tpl"
}
<body
data-usethemedjs=
"true"
class=
"no-js
{
if
$ADMIN
||
$INSTITUTIONALADMIN
||
$STAFF
||
$INSTITUTIONALSTAFF
}
admin
{/
if
}
{
if
$loggedout
}
loggedout
{/
if
}
"
>
<body
data-usethemedjs=
"true"
class=
"no-js
{
if
$ADMIN
||
$INSTITUTIONALADMIN
||
$STAFF
||
$INSTITUTIONALSTAFF
}
admin
{/
if
}
{
if
$loggedout
}
loggedout
{/
if
}
{
if
$pagename
}{
$pagename
}{/
if
}
"
>
<div
class=
"skiplink btn-group btn-group-top"
>
<a
class=
"sr-only sr-only-focusable btn btn-default"
href=
"#main"
>
{
str
tag
=
skipmenu
}
</a>
</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