aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/admin/cat_options.tpl2
-rw-r--r--template/yoga/admin/tabsheet.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/yoga/admin/cat_options.tpl b/template/yoga/admin/cat_options.tpl
index 356e66223..f9087648a 100644
--- a/template/yoga/admin/cat_options.tpl
+++ b/template/yoga/admin/cat_options.tpl
@@ -4,7 +4,7 @@
<li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li>
</ul>
<h2>{'cat_options_title'|@translate} {$TABSHEET_TITLE}</h2>
- {include file='admin/tabsheet.tpl'}
+ {$TABSHEET}
</div>
<form method="post" action="{$F_ACTION}" id="cat_options">
diff --git a/template/yoga/admin/tabsheet.tpl b/template/yoga/admin/tabsheet.tpl
index 930771916..a89adfd8d 100644
--- a/template/yoga/admin/tabsheet.tpl
+++ b/template/yoga/admin/tabsheet.tpl
@@ -1,8 +1,8 @@
{* $Id$ *}
{if isset($tabsheet) and count($tabsheet)}
<ul class="tabsheet">
-{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 from=$tabsheet key=name item=sheet}
+ <li class="{if ($name == $tabsheet_selected)}selected_tab{else}normal_tab{/if}"><a href="{$sheet.url}">{$sheet.caption}</a></li>
{/foreach}
</ul>
{/if} \ No newline at end of file