summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-19 05:34:59 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-19 05:34:59 +0000
commit17244cee94c89c4dcdc7fc58001790165ca2d7f1 (patch)
tree80b0e1d3980eb941c7195a90ea35f6f23ff6d5ee /lib/class/song.class.php
parentaf2ca647bdd38611982354e16aa56bda4a87d8ef (diff)
downloadampache-17244cee94c89c4dcdc7fc58001790165ca2d7f1.tar.gz
ampache-17244cee94c89c4dcdc7fc58001790165ca2d7f1.tar.bz2
ampache-17244cee94c89c4dcdc7fc58001790165ca2d7f1.zip
add the title back in to the links and be a little more violent with the charset setting...
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 012aac38..f53e39f6 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -695,9 +695,9 @@ class Song {
$this->f_title = truncate_with_ellipsis($this->title,Config::get('ellipse_threshold_title'));
// Create Links for the different objects
- $this->f_link = "<a href=\"" . Config::get('web_path') . "/song.php?action=show_song&amp;song_id=" . $this->id . "\"> " . scrub_out($this->f_title) . "</a>";
- $this->f_album_link = "<a href=\"" . Config::get('web_path') . "/albums.php?action=show&amp;album=" . $this->album . "\"> " . scrub_out($this->f_album) . "</a>";
- $this->f_artist_link = "<a href=\"" . Config::get('web_path') . "/artists.php?action=show&amp;artist=" . $this->artist . "\"> " . scrub_out($this->f_artist) . "</a>";
+ $this->f_link = "<a href=\"" . Config::get('web_path') . "/song.php?action=show_song&amp;song_id=" . $this->id . "\" title=\"" . scrub_out($this->title) . "\"> " . scrub_out($this->f_title) . "</a>";
+ $this->f_album_link = "<a href=\"" . Config::get('web_path') . "/albums.php?action=show&amp;album=" . $this->album . "\" title=\"" . scrub_out($this->f_album_full) . "\"> " . scrub_out($this->f_album) . "</a>";
+ $this->f_artist_link = "<a href=\"" . Config::get('web_path') . "/artists.php?action=show&amp;artist=" . $this->artist . "\" title=\"" . scrub_out($this->f_artist_full) . "\"> " . scrub_out($this->f_artist) . "</a>";
// Format the Bitrate
$this->f_bitrate = intval($this->bitrate/1000) . "-" . strtoupper($this->mode);