bouton partout

This commit is contained in:
2024-06-18 16:03:47 +02:00
parent ba0aa60f67
commit ec78b24e7a
3 changed files with 4 additions and 1 deletions

View File

@@ -23,6 +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 "</ul>";
echo "</article></div>";