[*] BO : Enable current subtab active class

This commit is contained in:
gRoussac
2013-06-17 18:27:07 +02:00
parent 8fabee091b
commit aea53e034a
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -204,7 +204,7 @@
<ul class="submenu">
{foreach from=$t.sub_tabs item=t2}
{if $t2.active}
<li><a href="{$t2.href|escape:'htmlall':'UTF-8'}">{if $t2.name eq ''}{$t2.class_name}{else}{$t2.name|escape:'htmlall':'UTF-8'}{/if}</a></li>
<li{if $t2.current} class="active"{/if}><a href="{$t2.href|escape:'htmlall':'UTF-8'}">{if $t2.name eq ''}{$t2.class_name}{else}{$t2.name|escape:'htmlall':'UTF-8'}{/if}</a></li>
{/if}
{/foreach}
</ul>