diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-04-11 17:52:10 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-04-11 17:52:10 +0000 |
| commit | 543b80d0134582ee584d1bd4be99fb57c852109d (patch) | |
| tree | 0cadc4945cf4e4e5332547421f24b7651d93ec6c /templates | |
| parent | c1672c2cf3cb8b0410b2784837030502a6731a56 (diff) | |
| download | stats-543b80d0134582ee584d1bd4be99fb57c852109d.tar.gz stats-543b80d0134582ee584d1bd4be99fb57c852109d.tar.bz2 stats-543b80d0134582ee584d1bd4be99fb57c852109d.zip | |
more permissions housekeeping and tidyup
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/menu_stats.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/menu_stats.tpl b/templates/menu_stats.tpl index 4be2be2..9adc9db 100644 --- a/templates/menu_stats.tpl +++ b/templates/menu_stats.tpl @@ -1,10 +1,10 @@ {strip} <ul> - {if $gBitUser->hasPermission( 'bit_p_view_site_stats' )} + {if $gBitUser->hasPermission( 'p_stats_view' )} <li><a class="item" href="{$smarty.const.STATS_PKG_URL}index.php">{tr}Site Stats{/tr}</a></li> - {/if} - {if $gBitUser->hasPermission( 'p_stats_view' ) and $gBitSystem->mDb->mType eq 'postgres'} - <li><a class="item" href="{$smarty.const.STATS_PKG_URL}users.php">{tr}User Stats{/tr}</a></li> + {if $gBitSystem->mDb->mType eq 'postgres'} + <li><a class="item" href="{$smarty.const.STATS_PKG_URL}users.php">{tr}User Stats{/tr}</a></li> + {/if} {/if} {if $gBitSystem->isFeatureActive( 'referer_stats' ) and $gBitUser->hasPermission( 'p_stats_view_referer' )} <li><a class="item" href="{$smarty.const.STATS_PKG_URL}referer_stats.php">{tr}Referrer Stats{/tr}</a></li> |
