summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2008-04-18 22:50:44 +0000
committerspocky <spocky@ampache>2008-04-18 22:50:44 +0000
commit50424ceaa9800d9ac1cc94f3541e9e0e68484e4c (patch)
tree56e6caeac8bc2deca4e126dd46a6757620bb8602 /templates
parent9a9bfdf981df2c0911526c0b633ec142702b56c5 (diff)
downloadampache-50424ceaa9800d9ac1cc94f3541e9e0e68484e4c.tar.gz
ampache-50424ceaa9800d9ac1cc94f3541e9e0e68484e4c.tar.bz2
ampache-50424ceaa9800d9ac1cc94f3541e9e0e68484e4c.zip
added disc number information on album page
Diffstat (limited to 'templates')
-rw-r--r--templates/show_album.inc.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php
index adc175a5..96539167 100644
--- a/templates/show_album.inc.php
+++ b/templates/show_album.inc.php
@@ -23,7 +23,11 @@ $web_path = Config::get('web_path');
$ajax_url = Config::get('ajax_url');
// Title for this album
-$title = scrub_out($album->name) . '&nbsp;(' . $album->year . ')&nbsp;--&nbsp;' . $album->f_artist_link;
+if ($album->disk)
+{
+ $disk = "<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;
?>
<?php show_box_top($title,'info-box'); ?>
<div class="album_art">