diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-09 14:34:06 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-09 14:34:06 +0000 |
commit | ab9aec092c66f090eb77ac6a53e37a02a9aecbbf (patch) | |
tree | def7403f8336574be54346bfb81c0c8127f60a62 /lib/class/album.class.php | |
parent | 699a85cb82f5b8cec9439a29c2f3312ae84b77e0 (diff) | |
download | ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.tar.gz ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.tar.bz2 ampache-ab9aec092c66f090eb77ac6a53e37a02a9aecbbf.zip |
tweaked get_newest to operate a little different, tweaked lastfm (currently broken)
Diffstat (limited to 'lib/class/album.class.php')
-rw-r--r-- | lib/class/album.class.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/class/album.class.php b/lib/class/album.class.php index b47e6b03..25e720f8 100644 --- a/lib/class/album.class.php +++ b/lib/class/album.class.php @@ -208,9 +208,10 @@ class Album { foreach ($data as $key=>$value) { $this->$key = $value; } /* Truncate the string if it's to long */ - $this->f_name = scrub_out(truncate_with_ellipsis($this->name,Config::get('ellipsis_threshold_album'))); + $this->f_name = truncate_with_ellipsis($this->name,Config::get('ellipsis_threshold_album')); $this->f_name_link = "<a href=\"$web_path/albums.php?action=show&album=" . scrub_out($this->id) . "\" title=\"" . scrub_out($this->name) . "\">" . $this->f_name . "</a>"; - $this->f_title = $name; + $this->f_link = $this->f_name_link; + $this->f_title = $name; if ($this->artist_count == '1') { $artist = scrub_out(truncate_with_ellipsis(trim($this->artist_prefix . ' ' . $this->artist_name),Config::get('ellipsis_threshold_album'))); $this->f_artist = "<a href=\"$web_path/artists.php?action=show&artist=" . $this->artist_id . "\">" . $artist . "</a>"; |