注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Widget:TabList"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly><div role="tabpanel"><ul class="nav nav-tabs" role="tablist"> | <includeonly><div class="tabby" role="tabpanel"><ul class="nav nav-tabs" role="tablist"> | ||
<!--{foreach from=$tab key=key item=item}--> | <!--{foreach from=$tab key=key item=item}--> | ||
<!--{if isset($active) and $active eq $key}--> | <!--{if isset($active) and $active eq $key}--> | ||
<li role="presentation" class="active"><a href="#<!--{$key|escape:'html'}-->" aria-controls="profile" role="tab" data-toggle="tab"><!--{$item|escape:'html'}--></a></li> | <li role="presentation" class="tabby" lass="active"><a href="#<!--{$key|escape:'html'}-->" aria-controls="profile" role="tab" data-toggle="tab"><!--{$item|escape:'html'}--></a></li> | ||
<!--{else}--> | <!--{else}--> | ||
<li role="presentation"><a href="#<!--{$key|escape:'html'}-->" aria-controls="profile" role="tab" data-toggle="tab"><!--{$item|escape:'html'}--></a></li><!--{/if}--><!--{/foreach}--></ul><div class="tab-content"></includeonly> | <li class="tabby" role="presentation"><a href="#<!--{$key|escape:'html'}-->" aria-controls="profile" role="tab" data-toggle="tab"><!--{$item|escape:'html'}--></a></li><!--{/if}--><!--{/foreach}--></ul><div class="tab-content"></includeonly> |