summaryrefslogtreecommitdiffstats
path: root/templates/show_users.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-06 20:59:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-06 20:59:26 +0000
commite73e55333452ce5615c21f27f323cc94bb8654bc (patch)
treec7b6dd77684623d2461a77055f2b9608885f5570 /templates/show_users.inc
parentdb638040c7d6ee38187ffa9a99d083449e9669a3 (diff)
downloadampache-e73e55333452ce5615c21f27f323cc94bb8654bc.tar.gz
ampache-e73e55333452ce5615c21f27f323cc94bb8654bc.tar.bz2
ampache-e73e55333452ce5615c21f27f323cc94bb8654bc.zip
* Fixed display issues on TV page relating to
now playing Post AJAX and floating issues * Fixed display of Last IP if tracking disabled * Fixed play issue with invalid songs when using Democratic Play
Diffstat (limited to 'templates/show_users.inc')
-rw-r--r--templates/show_users.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/show_users.inc b/templates/show_users.inc
index 6b7d3e14..b92afb11 100644
--- a/templates/show_users.inc
+++ b/templates/show_users.inc
@@ -56,10 +56,11 @@ $admin_menu = "admin/";
<td align="center">
<b><?php echo _('Activity'); ?></b>
</td>
+ <?php if (conf('track_user_ip')) { ?>
<td align="center">
<b><?php echo _('Last Ip'); ?></b>
</td>
-
+ <?php } ?>
<td colspan="5">&nbsp;</td>
<td align="center">
<b><?php echo _('On-line'); ?></b>
@@ -91,13 +92,13 @@ while ($results = mysql_fetch_object($db_result)) {
<td>
<?php echo $user->f_useage; ?>
</td>
+ <?php if (conf('track_user_ip')) { ?>
<td>
<a href="<?php echo $web_path; ?>/admin/users.php?action=show_ip_history&amp;user_id=<?php echo $user->id; ?>">
<?php echo $user->ip_history; ?>
</a>
</td>
-
-
+ <?php } ?>
<td>
<a href="<?php echo $web_path; ?>/admin/users.php?action=edit&amp;user=<?php echo $user->id; ?>">
<?php echo get_user_icon('edit'); ?>