summaryrefslogtreecommitdiffstats
path: root/lib/class/album.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-06 20:17:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-06 20:17:21 +0000
commit22beb1a65d65c9c61fb5d7e181df681fb1a8849e (patch)
treefcc595461f72ca424bbe2cea557b574849c1c997 /lib/class/album.class.php
parent1d12186dba5259dfcf2d0306bb3e34d84dda5304 (diff)
downloadampache-22beb1a65d65c9c61fb5d7e181df681fb1a8849e.tar.gz
ampache-22beb1a65d65c9c61fb5d7e181df681fb1a8849e.tar.bz2
ampache-22beb1a65d65c9c61fb5d7e181df681fb1a8849e.zip
added paging to genre sub views, and added missing fields to the song single view
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r--lib/class/album.class.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php
index d0beedce..ca6f1b10 100644
--- a/lib/class/album.class.php
+++ b/lib/class/album.class.php
@@ -211,14 +211,14 @@ class Album {
/* Truncate the string if it's to long */
$this->f_name = truncate_with_ellipsis($this->full_name,Config::get('ellipsis_threshold_album'));
- $this->f_name_link = "<a href=\"$web_path/albums.php?action=show&amp;album=" . scrub_out($this->id) . "\" title=\"" . scrub_out($this->full_name) . "\">" . $this->f_name;
+ $this->f_name_link = "<a href=\"$web_path/albums.php?action=show&amp;album=" . scrub_out($this->id) . "\" title=\"" . scrub_out($this->full_name) . "\">" . $this->f_name;
// If we've got a disk append it
if ($this->disk) {
$this->f_name_link .= " <span class=\"discnb disc" .$this->disk. "\">[" . _('Disk') . " " . $this->disk . "]</span>";
}
$this->f_name_link .="</a>";
- $this->f_link = $this->f_name_link;
+ $this->f_link = $this->f_name_link;
$this->f_title = $full_name;
if ($this->artist_count == '1') {
$artist = scrub_out(truncate_with_ellipsis(trim($this->artist_prefix . ' ' . $this->artist_name),Config::get('ellipsis_threshold_album')));
@@ -234,6 +234,9 @@ class Album {
$this->year = "N/A";
}
+ // Format the artist name to include the prefix
+ $this->f_artist_name = trim($this->artist_prefix . ' ' . $this->artist_name);
+
} // format
/**