From 3508380e994d80c6df1a287606a969c218d81694 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sat, 24 Nov 2007 19:51:11 +0000 Subject: democratic play on its way to being fixed, can add songs to a playlist, and view them ca not play it or delete/vote yet... --- templates/show_democratic_playlist.inc.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/show_democratic_playlist.inc.php b/templates/show_democratic_playlist.inc.php index 4838457b..eba142f4 100644 --- a/templates/show_democratic_playlist.inc.php +++ b/templates/show_democratic_playlist.inc.php @@ -30,7 +30,7 @@ base_playlist); ?> @@ -57,17 +57,14 @@ else { $song_id) { - $song = new Song($song_id); - $song->format_song(); +foreach($objects as $row_id=>$object_data) { + $song = new Song($object_data['0']); + $song->format(); ?> has_vote($song_id)) { ?> - - get_vote($row_id)); ?> @@ -75,9 +72,6 @@ foreach($songs as $row_id=>$song_id) { f_time; ?> has_access(100)) { ?> - - - -- cgit