summaryrefslogtreecommitdiffstats
path: root/templates/show_album.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_album.inc.php')
-rw-r--r--templates/show_album.inc.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php
index 928ffbb3..3c49a3d1 100644
--- a/templates/show_album.inc.php
+++ b/templates/show_album.inc.php
@@ -24,15 +24,16 @@ $web_path = Config::get('web_path');
$ajax_url = Config::get('ajax_url');
// Title for this album
+$title = scrub_out($album->name) . ' (' . $album->year . ')';
if ($album->disk) {
- $disk = "<span class=\"discnb disc" .$album->disk. "\">, " . _('Disk') . " " . $album->disk . "</span>";
+ $title .= "<span class=\"discnb disc" . $album->disk . "\">, " . _('Disk') . " " . $album->disk . "</span>";
}
-$title = scrub_out($album->name) . '&nbsp;(' . $album->year . ')' . $disk .'&nbsp;-&nbsp;' . $album->f_artist_link;
+$title .= '&nbsp;-&nbsp;' . $album->f_artist_link;
?>
<?php show_box_top($title,'info-box'); ?>
<div class="album_art">
<?php
- if ($album_name != _('Unknown (Orphaned)')) {
+ if ($album->name != _('Unknown (Orphaned)')) {
$name = '[' . $album->f_artist . '] ' . scrub_out($album->full_name);
$aa_url = $web_path . "/image.php?id=" . $album->id . "&amp;type=popup&amp;sid=" . session_id();