summaryrefslogtreecommitdiffstats
path: root/templates/show_artist.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-31 07:50:45 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-31 07:50:45 +0000
commitfe4774127f292ce94ab79771bc72cbb7ca4db371 (patch)
treed8cba0fe9520260c86f8a7cbe9b06bc077780ce8 /templates/show_artist.inc
parent9e5afd340f0fd74c0da852be1f24cfe5285e38e8 (diff)
downloadampache-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.inc6
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&amp;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&amp;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&amp;artist_random=<?php print $artist_id; ?>"><?php print _("Play Random Songs By") . " " . $artist->full_name; ?></a></li>