diff options
| -rw-r--r-- | templates/top_bar.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/top_bar.tpl b/templates/top_bar.tpl index f121569..23e1945 100644 --- a/templates/top_bar.tpl +++ b/templates/top_bar.tpl @@ -8,9 +8,9 @@ {if $adminMenu} <li class="m-admin{if $smarty.const.ACTIVE_PACKAGE eq 'kernel'} current{/if}"> - <a accesskey="A" class="{if $gBitSystem->isFeatureActive( 'site_top_bar_dropdown' )}head{else}item{/if}{if $smarty.const.ACTIVE_PACKAGE eq 'kernel'} selected{/if}" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php"> + {if $gBitUser->isAdmin()}<a accesskey="A" class="{if $gBitSystem->isFeatureActive( 'site_top_bar_dropdown' )}head{else}item{/if}{if $smarty.const.ACTIVE_PACKAGE eq 'kernel'} selected{/if}" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php">{/if} <strong>{tr}Administration{/tr}</strong> - </a> + {if $gBitUser->isAdmin()}</a>{/if} {if $gBitSystem->isFeatureActive( 'site_top_bar_dropdown' )} <ul> {foreach key=key item=menu from=$adminMenu} |
