From 17244cee94c89c4dcdc7fc58001790165ca2d7f1 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 19 Mar 2008 05:34:59 +0000 Subject: add the title back in to the links and be a little more violent with the charset setting... --- lib/class/album.class.php | 4 ++-- lib/class/artist.class.php | 2 +- lib/class/dba.class.php | 12 +++++++++++- lib/class/song.class.php | 6 +++--- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/lib/class/album.class.php b/lib/class/album.class.php index c74bd800..1fae7fd0 100644 --- a/lib/class/album.class.php +++ b/lib/class/album.class.php @@ -1,7 +1,7 @@ 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_artist'))); - $this->f_artist_link = "artist_id . "\">" . $artist . ""; + $this->f_artist_link = "artist_id . "\" title=\"" . scrub_out($this->artist_name) . "\">" . $artist . ""; $this->f_artist = $artist; } else { diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php index 70af97e2..057ec549 100644 --- a/lib/class/artist.class.php +++ b/lib/class/artist.class.php @@ -1,7 +1,7 @@ f_title = truncate_with_ellipsis($this->title,Config::get('ellipse_threshold_title')); // Create Links for the different objects - $this->f_link = "id . "\"> " . scrub_out($this->f_title) . ""; - $this->f_album_link = "album . "\"> " . scrub_out($this->f_album) . ""; - $this->f_artist_link = "artist . "\"> " . scrub_out($this->f_artist) . ""; + $this->f_link = "id . "\" title=\"" . scrub_out($this->title) . "\"> " . scrub_out($this->f_title) . ""; + $this->f_album_link = "album . "\" title=\"" . scrub_out($this->f_album_full) . "\"> " . scrub_out($this->f_album) . ""; + $this->f_artist_link = "artist . "\" title=\"" . scrub_out($this->f_artist_full) . "\"> " . scrub_out($this->f_artist) . ""; // Format the Bitrate $this->f_bitrate = intval($this->bitrate/1000) . "-" . strtoupper($this->mode); -- cgit