summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-27 15:12:25 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-27 15:12:25 +0000
commit49ad05da3ef7b7d0ee54e2385d8391343e30108b (patch)
treecf7f77809302c7f5260941483e9d06b810de6973
parent384e42bf81635832cc5a033b84e8350b6409b444 (diff)
downloadampache-49ad05da3ef7b7d0ee54e2385d8391343e30108b.tar.gz
ampache-49ad05da3ef7b7d0ee54e2385d8391343e30108b.tar.bz2
ampache-49ad05da3ef7b7d0ee54e2385d8391343e30108b.zip
fix wording and clean up syntax a tiny bit thx peder for noticing
-rw-r--r--templates/show_artist.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_artist.inc.php b/templates/show_artist.inc.php
index 4b949b21..1e8b88fe 100644
--- a/templates/show_artist.inc.php
+++ b/templates/show_artist.inc.php
@@ -22,13 +22,13 @@ $web_path = Config::get('web_path');
$title = _('Albums by') . " " . $artist->full_name;
?>
<?php
-show_box_top(_('Albums by') . ' ' . $artist->f_name,'info-box');
+show_box_top(_(ucfirst($object_type) . 's by') . ' ' . $artist->f_name,'info-box');
if (Config::get('ratings')) {
- echo "<div id=\"rating_" . $artist->id . "_artist\" style=\"display:inline;\">";
- show_rating($artist->id, 'artist');
- echo "</div>";
-} // end if ratings ?>
-
+?>
+<div id="rating_"<?php echo intval($artist->id); ?>"_artist" style="display:inline;">
+ <?php show_rating($artist->id, 'artist'); ?>
+</div>
+<?php } ?>
<div id="information_actions">
<ul>
<li>