summaryrefslogtreecommitdiffstats
path: root/templates/show_now_playing_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-15 21:37:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-15 21:37:42 +0000
commit4979ca79f67ae1328c14b186617b8cca5ce5e364 (patch)
treea0770934f2108f4345a1869b6adb865ae297f3f6 /templates/show_now_playing_row.inc.php
parentfdb7c58cb160c5f8f0f0327c11cba93226e062f6 (diff)
downloadampache-4979ca79f67ae1328c14b186617b8cca5ce5e364.tar.gz
ampache-4979ca79f67ae1328c14b186617b8cca5ce5e364.tar.bz2
ampache-4979ca79f67ae1328c14b186617b8cca5ce5e364.zip
revert to old random methods for now
Diffstat (limited to 'templates/show_now_playing_row.inc.php')
-rw-r--r--templates/show_now_playing_row.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php
index 1bdc164f..f3cfc842 100644
--- a/templates/show_now_playing_row.inc.php
+++ b/templates/show_now_playing_row.inc.php
@@ -43,21 +43,21 @@ $artist = scrub_out(truncate_with_ellipsis($media->f_artist_full));
<div class="np_group">
<div class="np_cell cel_song">
<label><?php echo _('Song'); ?></label>
- <a title="<?php echo scrub_out($media->title); ?>" href="<?php echo $web_path; ?>/stream.php?action=single_song&amp;song_id=<?php echo $song->id; ?>">
+ <a title="<?php echo scrub_out($media->title); ?>" href="<?php echo $web_path; ?>/stream.php?action=single_song&amp;song_id=<?php echo $media->id; ?>">
<?php echo $title; ?>
</a>
</div>
<div class="np_cell cel_album">
<label><?php echo _('Album'); ?></label>
- <a title="<?php echo scrub_out($media->f_album_full); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&amp;album=<?php echo $song->album; ?>">
+ <a title="<?php echo scrub_out($media->f_album_full); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&amp;album=<?php echo $media->album; ?>">
<?php echo $album; ?>
</a>
</div>
<div class="np_cell cel_artist">
<label><?php echo _('Artist'); ?></label>
- <a title="<?php echo scrub_out($media->f_artist_full); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&amp;artist=<?php echo $song->artist; ?>">
+ <a title="<?php echo scrub_out($media->f_artist_full); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&amp;artist=<?php echo $media->artist; ?>">
<?php echo $artist; ?>
</a>
</div>
@@ -66,8 +66,8 @@ $artist = scrub_out(truncate_with_ellipsis($media->f_artist_full));
<?php if (Config::get('show_album_art')) { ?>
<div class="np_group">
<div class="np_cell cel_albumart">
- <a target="_blank" href="<?php echo $web_path; ?>/image.php?id=<?php echo $media->album; ?>&amp;type=popup&amp;sid=<?php echo session_id(); ?>" onclick="popup_art('<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&amp;type=popup&amp;sid=<?php echo session_id(); ?>'); return false;">
- <img align="middle" src="<?php echo $web_path; ?>/image.php?id=<?php echo $media->album; ?>&amp;thumb=1&amp;sid=<?php echo session_id(); ?>" alt="<?php echo scrub_out($song->f_album_full); ?>" title="<?php echo scrub_out($song->f_album_full); ?>" height="75" width="75" />
+ <a target="_blank" href="<?php echo $web_path; ?>/image.php?id=<?php echo $media->album; ?>&amp;type=popup&amp;sid=<?php echo session_id(); ?>" onclick="popup_art('<?php echo $web_path; ?>/image.php?id=<?php echo $media->album; ?>&amp;type=popup&amp;sid=<?php echo session_id(); ?>'); return false;">
+ <img align="middle" src="<?php echo $web_path; ?>/image.php?id=<?php echo $media->album; ?>&amp;thumb=1&amp;sid=<?php echo session_id(); ?>" alt="<?php echo scrub_out($media->f_album_full); ?>" title="<?php echo scrub_out($media->f_album_full); ?>" height="75" width="75" />
</a>
</div>
</div>