Gestions playlist ++

This commit is contained in:
2024-06-18 18:58:04 +02:00
parent ea4ced0442
commit 9357b68c5d
8 changed files with 96 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ foreach ($artistAlbums as $artistName => $albums) {
echo "<ul>";
foreach ($albums as $album) {
echo "<li>" . anchor("music/view/{$album['albumId']}", $album['albumName']) . " - " . $album['year'] . "</li>";
echo "<button onclick=\"location.href='" . site_url("playlist/add_track/{$album['albumId']}") . "'\">Ajouter à la Playlist</button>";
echo "<button onclick=\"location.href='" . site_url("playlist/choix_playlist/{$album['albumId']}") . "'\">Ajouter toutes les chansons à la Playlist</button>";
}
echo "</ul>";
echo "</article></div>";