diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-31 07:50:45 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-12-31 07:50:45 +0000 |
commit | fe4774127f292ce94ab79771bc72cbb7ca4db371 (patch) | |
tree | d8cba0fe9520260c86f8a7cbe9b06bc077780ce8 /templates/show_artist.inc | |
parent | 9e5afd340f0fd74c0da852be1f24cfe5285e38e8 (diff) | |
download | ampache-fe4774127f292ce94ab79771bc72cbb7ca4db371.tar.gz ampache-fe4774127f292ce94ab79771bc72cbb7ca4db371.tar.bz2 ampache-fe4774127f292ce94ab79771bc72cbb7ca4db371.zip |
fixed a mistake on the ratings, added it to artist and fixed location detection
Diffstat (limited to 'templates/show_artist.inc')
-rw-r--r-- | templates/show_artist.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show_artist.inc b/templates/show_artist.inc index bb3f6f51..8e125740 100644 --- a/templates/show_artist.inc +++ b/templates/show_artist.inc @@ -31,6 +31,12 @@ $web_path = conf('web_path'); <td> <span class="header1"><?php print _("Albums by") . " " . $artist->full_name; ?></span> <ul> + <?php + if (conf('ratings')) { + show_rating($artist->id,'artist'); + } // end if ratings + echo "<br />\n"; + ?> <li><a href="<?php print $web_path; ?>/artists.php?action=show_all_songs&artist=<?php print $artist_id; ?>"><?php print _("Show All Songs By") . " " . $artist->full_name; ?></a></li> <li><a href="<?php print $web_path; ?>/song.php?action=m3u&artist=<?php print $artist_id; ?>"><?php print _("Play All Songs By") . " " . $artist->full_name; ?></a></li> <li><a href="<?php print $web_path; ?>/song.php?action=m3u&artist_random=<?php print $artist_id; ?>"><?php print _("Play Random Songs By") . " " . $artist->full_name; ?></a></li> |