summaryrefslogtreecommitdiffstats
path: root/templates/show_users.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-10-13 07:13:51 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-10-13 07:13:51 +0000
commitf011ec33913765de57e7e24ec479f2c9f42d3da0 (patch)
treea11973287135e3b1430a71426912f92035ca8e58 /templates/show_users.inc
parent1a83ac5ab345473e7c0707745f1ca6b3d8c84e53 (diff)
downloadampache-f011ec33913765de57e7e24ec479f2c9f42d3da0.tar.gz
ampache-f011ec33913765de57e7e24ec479f2c9f42d3da0.tar.bz2
ampache-f011ec33913765de57e7e24ec479f2c9f42d3da0.zip
added ability to view other users stats as a full admin
Diffstat (limited to 'templates/show_users.inc')
-rw-r--r--templates/show_users.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/show_users.inc b/templates/show_users.inc
index 759ba458..aaebf778 100644
--- a/templates/show_users.inc
+++ b/templates/show_users.inc
@@ -54,6 +54,9 @@ $admin_menu = "admin/";
<td align="center">
<b><?php echo _("Prefs"); ?></b>
</td>
+ <td align="center">
+ <b><?php echo _("Stats"); ?></b>
+ </td>
<td align="center">
<b><?php echo _("Access"); ?></b>
</td>
@@ -91,6 +94,11 @@ while ( $results = mysql_fetch_object($db_result) ) {
<?php echo _("Prefs"); ?>
</a>
</td>
+ <td>
+ <a href="<?php echo conf('web_path'); ?>/stats.php?user_id=<?php echo $user->username; ?>">
+ <?php echo _("Stats"); ?>
+ </a>
+ </td>
<?php
//FIXME: Fix this for the extra permission levels
if ($user->disabled == '1') {