Skip to content
GitLab
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
9fcc4392
Commit
9fcc4392
authored
Sep 13, 2010
by
Richard Mansfield
Browse files
Bring back missing language selector (bug #636737)
Signed-off-by:
Richard Mansfield
<
richard.mansfield@catalyst.net.nz
>
parent
6b3a8885
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/header/topright.tpl
View file @
9fcc4392
<div
id=
"header-right"
>
{
if
$RIGHTNAV
}
<div
id=
"right-nav"
>
<ul>
{
strip
}
{
if
$RIGHTNAV
}
{
foreach
from
=
$RIGHTNAV
item
=
item
}
<li
{
if
$item.selected
}{
assign
var
=
MAINNAVSELECTED
value
=
$item
}
class=
"selected"
{/
if
}
><a
href=
"
{
if
$item.wwwroot
}{
$item.wwwroot
}{
else
}{
$WWWROOT
}{/
if
}{
$item.url
}
"
>
{
if
$item.title
}{
$item.title
}{/
if
}{
if
$item.icon
}
<img
src=
"
{
$item.icon
}
"
alt=
"
{
$item.alt
}
"
>
{
if
isset
(
$item.count
)
}
<span
class=
"navcount
{
if
$item.countclass
}
{
$item.countclass
}{/
if
}
"
>
{
$item.count
}
</span>
{/
if
}
</a>
|
</li>
{/
foreach
}
<li
class=
"btn-logout"
><a
href=
"
{
$WWWROOT
}
?logout"
accesskey=
"l"
>
{
str
tag
=
"logout"
}
</a></li>
{/
if
}
{/
strip
}
{
if
!
$nosearch
&&
!
$LOGGEDIN
&&
(
count
(
$LANGUAGES
)
>
1
)
}
<li>
...
...
@@ -23,7 +24,6 @@
{/
if
}
</ul>
</div>
{/
if
}
{
if
!
$nosearch
&&
$LOGGEDIN
}
{
user_search_form
}{/
if
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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