summaryrefslogtreecommitdiffstats
path: root/templates/show_album.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-18 02:51:59 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-18 02:51:59 +0000
commit781d77e558dda2739550b90bbfed9be89fb03ab3 (patch)
tree8c282fb7b2867bba2e6147abc50871142362ae59 /templates/show_album.inc.php
parente912d72ed4470f1d99fcf7c0ca3efc96d5cc4093 (diff)
downloadampache-781d77e558dda2739550b90bbfed9be89fb03ab3.tar.gz
ampache-781d77e558dda2739550b90bbfed9be89fb03ab3.tar.bz2
ampache-781d77e558dda2739550b90bbfed9be89fb03ab3.zip
bunch of fixes, and some breaks for the browsing
Diffstat (limited to 'templates/show_album.inc.php')
-rw-r--r--templates/show_album.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php
index 59ebe83a..e2f2e069 100644
--- a/templates/show_album.inc.php
+++ b/templates/show_album.inc.php
@@ -23,9 +23,8 @@ $web_path = Config::get('web_path');
$ajax_url = Config::get('ajax_url');
// Title for this album
-if ($album->disk)
-{
- $disk = "<span class=\"discnb disc" .$album->disk. "\">, " . _('Disk') . " " . $album->disk . "</span>";
+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;
?>
@@ -86,6 +85,7 @@ $title = scrub_out($album->name) . '&nbsp;(' . $album->year . ')' . $disk .'&nb
</div>
<?php
Browse::set_type('song');
+ Browse::set_simple_browse(1);
Browse::set_filter('album', $album->id);
Browse::set_sort('track','ASC');
Browse::get_objects();