summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-14 06:51:38 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-14 06:51:38 +0000
commitdf2f009920f2ed128eea364870f4df94d9b89486 (patch)
tree73bb6560cb3db510f64141a0f826a51db420224b /templates
parent6983cb8e0cdb661053c9f6336518f2549cfb13a5 (diff)
downloadampache-df2f009920f2ed128eea364870f4df94d9b89486.tar.gz
ampache-df2f009920f2ed128eea364870f4df94d9b89486.tar.bz2
ampache-df2f009920f2ed128eea364870f4df94d9b89486.zip
fixed lastfm for reals this time, I think also fixed not being able to re-enable users
Diffstat (limited to 'templates')
-rw-r--r--templates/show_users.inc.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/show_users.inc.php b/templates/show_users.inc.php
index bc9dadb4..d2571cbe 100644
--- a/templates/show_users.inc.php
+++ b/templates/show_users.inc.php
@@ -25,7 +25,7 @@ $web_path = Config::get('web_path');
<table class="tabledata" cellpadding="0" cellspacing="0" border="0">
<tr class="table-header" align="center">
<td colspan="11">
- <?php if ($view->offset_limit) { require Config::get('prefix') . '/templates/list_header.inc'; } ?>
+ <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?>
</td>
</tr>
<tr class="table-header">
@@ -86,13 +86,9 @@ foreach ($object_ids as $user_id) {
<a href="<?php echo $web_path; ?>/admin/users.php?action=show_edit&amp;user_id=<?php echo $client->id; ?>">
<?php echo get_user_icon('edit'); ?>
</a>
-<!-- <a href="<?php echo $web_path; ?>/preferences.php?action=user&amp;user_id=<?php echo $client->id; ?>">
- <?php echo get_user_icon('preferences'); ?>
- </a>
--->
<?php
//FIXME: Fix this for the extra permission levels
- if ($working_user->disabled == '1') {
+ if ($client->disabled == '1') {
echo "<a href=\"".$web_path."/admin/users.php?action=enable&amp;user_id=$client->id\">" . get_user_icon('enable') . "</a>";
}
else {