diff options
| author | Christian Fowler <spider@viovio.com> | 2009-05-25 17:28:03 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2009-05-25 17:28:03 +0000 |
| commit | dca1927a1c23099d0b62ddd3fd38f6ce229a4698 (patch) | |
| tree | 2c695eae3dd524896f5583bab5ba8edbd0a9af01 /templates/top_bar.tpl | |
| parent | f352390f60acf9cb4c6c020eec283c75d538e6e0 (diff) | |
| download | kernel-dca1927a1c23099d0b62ddd3fd38f6ce229a4698.tar.gz kernel-dca1927a1c23099d0b62ddd3fd38f6ce229a4698.tar.bz2 kernel-dca1927a1c23099d0b62ddd3fd38f6ce229a4698.zip | |
wrap link to kernel admin in gBitUser->isAdmin since package admin menus will show for non-global admins now
Diffstat (limited to 'templates/top_bar.tpl')
| -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} |
