diff options
Diffstat (limited to 'view/tpl/common_tabs.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/common_tabs.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/common_tabs.tpl b/view/tpl/common_tabs.tpl index 97b771e7a..3d34d7c57 100644..100755 --- a/view/tpl/common_tabs.tpl +++ b/view/tpl/common_tabs.tpl @@ -1,6 +1,6 @@ <ul class="tabs"> - {{ for $tabs as $tab }} - <li {{ if $tab.id }}id="$tab.id"{{ endif }}><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li> - {{ endfor }} + {{foreach $tabs as $tab}} + <li {{if $tab.id}}id="{{$tab.id}}"{{/if}}><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li> + {{/foreach}} </ul> -<div class="tabs-end"></div>
\ No newline at end of file +<div class="tabs-end"></div> |