summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-12-06 15:32:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-12-06 15:32:42 +0000
commita2c8bf9d481376f7fbfeecee4db174d1f7e6bd52 (patch)
treed295e516562b14767ae1aebff27b878235fe5bef /lib/class/song.class.php
parent809bbe1f97b47852b6154e4487aaef23d79850e9 (diff)
downloadampache-a2c8bf9d481376f7fbfeecee4db174d1f7e6bd52.tar.gz
ampache-a2c8bf9d481376f7fbfeecee4db174d1f7e6bd52.tar.bz2
ampache-a2c8bf9d481376f7fbfeecee4db174d1f7e6bd52.zip
make a slight change to the song display, the title is now the direct link. The info page is now an icon, this is based on watching a few ampache newbies try to use it and get confused as to how play stuff
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index aa3c2f86..86f4d43e 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -669,7 +669,8 @@ class Song extends database_object {
$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 . "\" title=\"" . scrub_out($this->title) . "\"> " . scrub_out($this->f_title) . "</a>";
+ $this->link = Config::get('web_path') . "/song.php?action=show_song&amp;song_id=" . $this->id;
+ $this->f_link = "<a href=\"" . $this->link . "\" 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>";