summaryrefslogtreecommitdiffstats
path: root/templates/show_users.inc
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2006-10-11 20:59:54 +0000
committerpb1dft <pb1dft@ampache>2006-10-11 20:59:54 +0000
commit4ae5f5c7f57ad94653616d11dc2a69ad0a990d19 (patch)
tree2e00b21f37838145b8a3469f2712fa354f35e0ec /templates/show_users.inc
parent59aa296e9ba0717f11e73802b8d4b01ea77cf94c (diff)
downloadampache-4ae5f5c7f57ad94653616d11dc2a69ad0a990d19.tar.gz
ampache-4ae5f5c7f57ad94653616d11dc2a69ad0a990d19.tar.bz2
ampache-4ae5f5c7f57ad94653616d11dc2a69ad0a990d19.zip
fixed delay error in XSPF playlist, added activity column to admin/users
Diffstat (limited to 'templates/show_users.inc')
-rw-r--r--templates/show_users.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/show_users.inc b/templates/show_users.inc
index dd0d7b0a..3c0931e3 100644
--- a/templates/show_users.inc
+++ b/templates/show_users.inc
@@ -54,6 +54,10 @@ $admin_menu = "admin/";
<b><?php echo _("Registration Date"); ?></b>
</a>
</td>
+ <td align="center">
+ <b><?php echo _("Activity"); ?></b>
+ </td>
+
<td colspan="5">&nbsp;</td>
<!--
<td align="center">
@@ -82,6 +86,7 @@ while ($results = mysql_fetch_object($db_result)) {
$last_seen = date("m\/d\/Y - H:i",$user->last_seen);
if (!$user->last_seen) { $last_seen = "Never"; }
$create_date = date("m\/d\/Y - H:i",$user->create_date);
+ $user->format_user();
if (!$user->create_date) { $create_date = "Unknown"; }
?>
@@ -99,6 +104,11 @@ while ($results = mysql_fetch_object($db_result)) {
</td>
<td>
+ <?php echo $user->f_useage; ?>
+ </td>
+
+
+ <td>
<a href="<?php echo $web_path; ?>/admin/users.php?action=edit&amp;user=<?php echo $user->username; ?>">
<?php echo get_user_icon('edit'); ?>
</a>