aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/tabsheet.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/tabsheet.tpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/template/yoga/admin/tabsheet.tpl b/template/yoga/admin/tabsheet.tpl
index 6daafb506..930771916 100644
--- a/template/yoga/admin/tabsheet.tpl
+++ b/template/yoga/admin/tabsheet.tpl
@@ -1,7 +1,8 @@
-<!-- DEV TAG: not smarty migrated -->
-<!-- $Id$ -->
+{* $Id$ *}
+{if isset($tabsheet) and count($tabsheet)}
<ul class="tabsheet">
-<!-- BEGIN tab -->
- <li class="{tab.CLASSNAME}"><a href="{tab.URL}">{tab.CAPTION}</a></li>
-<!-- END tab -->
+{foreach from=$tabsheet item=tab}
+ <li class="{if isset($tab.selected) and $tab.selected}selected_tab{else}normal_tab{/if}"><a href="{$tab.url}">{$tab.caption}</a></li>
+{/foreach}
</ul>
+{/if} \ No newline at end of file