diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-19 18:05:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-19 18:05:40 +0000 |
commit | 0c0262b8a7326d1e2effbce5d422fd672300d114 (patch) | |
tree | e84c501cccbb2e7d3d9655685020fd7a266a7170 /templates/show_now_playing.inc | |
parent | 49f48af532c2d3196d94b444c3514bdb1a499436 (diff) | |
download | ampache-0c0262b8a7326d1e2effbce5d422fd672300d114.tar.gz ampache-0c0262b8a7326d1e2effbce5d422fd672300d114.tar.bz2 ampache-0c0262b8a7326d1e2effbce5d422fd672300d114.zip |
mother of all commits...
Diffstat (limited to 'templates/show_now_playing.inc')
-rw-r--r-- | templates/show_now_playing.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc index 875b1771..c4c39be2 100644 --- a/templates/show_now_playing.inc +++ b/templates/show_now_playing.inc @@ -43,13 +43,13 @@ if (conf('use_auth')) { echo "\t<td valign=\"center\">$np_user->fullname</td>\n"; } - echo "\t<td><a title=\"$song->title\" href=\"$web_path/song.php?action=m3u&song=$song->id\">$text</a></td>\n"; - echo "\t<td><a title=\"$song->f_artist\" href=\"$web_path/artists.php?action=show&artist=$song->artist\">$song->f_artist</a> / "; - echo "\t<a title=\"$album\" href=\"$web_path/albums.php?action=show&album=$song->album\">$song->f_album</a></td>"; + echo "\t<td><a title=\"" . htmlspecialchars($song->title) . "\" href=\"$web_path/song.php?action=m3u&song=$song->id\">$text</a></td>\n"; + echo "\t<td><a title=\"" . htmlspecialchars($song->f_artist) . "\" href=\"$web_path/artists.php?action=show&artist=$song->artist\">$song->f_artist</a> / "; + echo "\t<a title=\"" . htmlspecialchars($album) . "\" href=\"$web_path/albums.php?action=show&album=$song->album\">$song->f_album</a></td>"; if (conf('play_album_art')) { echo "\t<td align=\"center\">"; echo "<a target=\"_blank\" href=\"" . conf('web_path') . "/albumart.php?id=" . $song->album . "\">"; - echo "<img align=\"center\" border=\"0\" src=\"" . conf('web_path') . "/albumart.php?id=" . $song->album . "&fast=1\" alt=\"Album Art\" height=\"75\">"; + echo "<img align=\"middle\" border=\"0\" src=\"" . conf('web_path') . "/albumart.php?id=" . $song->album . "&fast=1\" alt=\"Album Art\" height=\"75\" />"; echo "</a>\n"; echo "\t</td>\n"; echo "</tr>\n"; @@ -60,6 +60,5 @@ } // if it's a song } // while we're getting songs ?> - </tr> </table> <? } ?> |