summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2008-06-14 21:43:49 +0000
committerlaetzer <laetzer@users.sourceforge.net>2008-06-14 21:43:49 +0000
commit60c0a21ac8fcbef0f8890f1809b7385b313fcfa4 (patch)
tree7aebe2cc8635dd4ddf9b0ac102ce4bea6e742546 /templates
parenta74d4a5c67c68700b1101015f819e4ed1d3796da (diff)
downloadstats-60c0a21ac8fcbef0f8890f1809b7385b313fcfa4.tar.gz
stats-60c0a21ac8fcbef0f8890f1809b7385b313fcfa4.tar.bz2
stats-60c0a21ac8fcbef0f8890f1809b7385b313fcfa4.zip
show stat links also in admin menu
Diffstat (limited to 'templates')
-rw-r--r--templates/menu_stats_admin.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/menu_stats_admin.tpl b/templates/menu_stats_admin.tpl
index 1033436..6610ba9 100644
--- a/templates/menu_stats_admin.tpl
+++ b/templates/menu_stats_admin.tpl
@@ -1,5 +1,12 @@
{strip}
<ul>
<li><a class="item" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=stats">{tr}Stats Settings{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.STATS_PKG_URL}index.php">{tr}Site 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 $gBitSystem->isFeatureActive( 'stats_referers' ) and $gBitUser->hasPermission( 'p_stats_view_referer' )}
+ <li><a class="item" href="{$smarty.const.STATS_PKG_URL}referer_stats.php">{tr}Referer Stats{/tr}</a></li>
+ {/if}
</ul>
{/strip}