<ul class="nav">
	{foreach from=$list item=item}
		{if !empty($item.children)}
			<li class="{$item.class|escape|default:null}{if !empty($item.selected)} active{/if}">
				<a href="#menu_option{$item.optionId|escape}" class="collapse-toggle" data-toggle="collapse">
					{tr}{$item.name}{/tr}
					<span class="caret"></span>
				</a>
				<ul id="menu_option{$item.optionId|escape}" class="nav collapse">
					{foreach from=$item.children item=sub}
						<li class="{$sub.class|escape|default:null}{if !empty($sub.selected)} active{/if}">
							<a href="{$sub.sefurl|escape}">{icon name="menuitem"} {tr}{$sub.name}{/tr}</a>
						</li>
					{/foreach}
				</ul>
			</li>
		{else}
			<li class="{$item.class|escape|default:null}{if !empty($item.selected)}active{/if}">
				<a href="{$item.sefurl|escape}">{tr}{$item.name}{/tr}</a>
			</li>
		{/if}
	{/foreach}
</ul>

<ul class="nav">
	{foreach from=$list item=item}
		{if !empty($item.children)}
			<li class="{$item.class|escape|default:null}{if !empty($item.selected)} active{/if}">
				<a href="#menu_option{$item.optionId|escape}" class="collapse-toggle" data-toggle="collapse">
					{tr}{$item.name}{/tr}
					<span class="caret"></span>
				</a>
				<ul id="menu_option{$item.optionId|escape}" class="nav collapse">
					{foreach from=$item.children item=sub}
						<li class="{$sub.class|escape|default:null}{if !empty($sub.selected)} active{/if}">
							<a href="{$sub.sefurl|escape}">{icon name="menuitem"} {tr}{$sub.name}{/tr}</a>
						</li>
					{/foreach}
				</ul>
			</li>
		{else}
			<li class="{$item.class|escape|default:null}{if !empty($item.selected)} active{/if}">
				<a href="{$item.sefurl|escape}">{tr}{$item.name}{/tr}</a>
			</li>
		{/if}
	{/foreach}
</ul>

Add a space between item.class and "active" class Not sure if this fixes anything (I don't see any rule for active), but this makes all cases consistent.
Add a space between item.class and "active" class
Not sure if this fixes anything (I don't see any rule for active), but this makes all cases consistent.

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@62889 b456876b-0849-0410-b77d-98878d47e9d5
