diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-13 03:15:09 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-13 03:15:09 +0000 |
commit | b92109a64fe2fca1520be0536f8092e2f50ef8f4 (patch) | |
tree | 9157861555c44e2135cd42e1aec3d0da28d390cd /templates/show_democratic_playlist.inc.php | |
parent | 8398183bf5a383cee7da656fd116457c799678f7 (diff) | |
download | ampache-b92109a64fe2fca1520be0536f8092e2f50ef8f4.tar.gz ampache-b92109a64fe2fca1520be0536f8092e2f50ef8f4.tar.bz2 ampache-b92109a64fe2fca1520be0536f8092e2f50ef8f4.zip |
put supplemental object support back into the browse object for now, replace later
Diffstat (limited to 'templates/show_democratic_playlist.inc.php')
-rw-r--r-- | templates/show_democratic_playlist.inc.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/templates/show_democratic_playlist.inc.php b/templates/show_democratic_playlist.inc.php index 5bd34434..d19b0dba 100644 --- a/templates/show_democratic_playlist.inc.php +++ b/templates/show_democratic_playlist.inc.php @@ -67,13 +67,6 @@ $democratic->set_parent(); foreach($object_ids as $row_id=>$data) { $media = new $data['object_type']($data['object_id']); $media->format(); - $voters = $democratic->get_voters($row_id); - $voters_string = ''; - foreach ($voters as $client_id) { - $client = new User($client_id); - $voters_string .= $client->fullname . ','; - } - $voters_string = rtrim($voters_string,','); ?> <tr class="<?php echo flip_class(); ?>"> <td class="cel_action"> @@ -83,7 +76,7 @@ foreach($object_ids as $row_id=>$data) { <?php echo Ajax::button('?page=democratic&action=add_vote&object_id=' . $media->id . '&type=' . scrub_out($data['object_type']),'tick',_('Add Vote'),'remove_vote_' . $row_id); ?> <?php } ?> </td> - <td class="cel_votes" >(<?php echo scrub_out($democratic->get_vote($row_id)); ?>) <span class="information"><?php echo scrub_out($voters_string); ?></span></td> + <td class="cel_votes" >(<?php echo scrub_out($democratic->get_vote($row_id)); ?>)</td> <td class="cel_title"><?php echo $media->f_link; ?></td> <td class="cel_album"><?php echo $media->f_album_link; ?></td> <td class="cel_artist"><?php echo $media->f_artist_link; ?></td> |