...
|
...
|
@@ -2,9 +2,9 @@ |
|
|
<div class="panel-heading">
|
|
|
{:build_heading(null,FALSE)}
|
|
|
<ul class="nav nav-tabs" data-field="{%field%}">
|
|
|
<li class="{:input('get.{%field%}') ? '' : 'active'}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
|
|
|
<li class="{:$Think.get.{%field%} === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
|
|
|
{foreach name="{%fieldName%}List" item="vo"}
|
|
|
<li class="{:input('get.{%field%}') == $key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
|
|
|
<li class="{:$Think.get.{%field%} === (string)$key ? 'active' : ''}"><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
|
|
|
{/foreach}
|
|
|
</ul>
|
|
|
</div> |
...
|
...
|
|