Commit 0a418dc7 authored by Nigel McNie's avatar Nigel McNie
Browse files

Bring back the subnav div when there's no elements in it.

Needed for some themes it seems.
parent 6341158a
......@@ -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}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment