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
0a418dc7
Commit
0a418dc7
authored
Jun 27, 2009
by
Nigel McNie
Browse files
Bring back the subnav div when there's no elements in it.
Needed for some themes it seems.
parent
6341158a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/header/navigation.tpl
View file @
0a418dc7
...
...
@@ -17,13 +17,13 @@
{/
if
}
{/
strip
}
</ul>
</div>
{
if
$MAINNAVSELECTED.submenu
}
<div
id=
"sub-nav"
>
{
if
$MAINNAVSELECTED.submenu
}
<ul>
{
strip
}
{
foreach
from
=
$MAINNAVSELECTED.submenu
item
=
item
}
<li
{
if
$item.selected
}
class=
"selected"
{/
if
}
><a
href=
"
{
$WWWROOT
}{
$item.url
|
escape
}
"
>
{
$item.title
|
escape
}
</a></li>
{/
foreach
}
{/
strip
}
</ul>
</div>
{/
if
}
</div>
{/
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