diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-21 07:13:44 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-06-21 07:13:44 +0000 |
commit | 68a94efc6ad1ce1b4f9a103a05267316806eb7e7 (patch) | |
tree | c70b61cc3566cb3b7e87794df3531e206b5ec494 /lib/class/song.class.php | |
parent | 73edf3f55bf19c2581e0c1346632ea5112b473a1 (diff) | |
download | ampache-68a94efc6ad1ce1b4f9a103a05267316806eb7e7.tar.gz ampache-68a94efc6ad1ce1b4f9a103a05267316806eb7e7.tar.bz2 ampache-68a94efc6ad1ce1b4f9a103a05267316806eb7e7.zip |
added genre link to show songs stuff, made the single album view do ajaxie stuff for its additions and removed some extra code from he basketcases that did not need to be there
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r-- | lib/class/song.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index 81b1bd01..4200ff2a 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -647,7 +647,9 @@ class Song { $this->f_bitrate = intval($this->bitrate/1000) . "-" . strtoupper($this->mode); // Format Genre - $this->f_genre_link = $this->get_genre_name(); + $this->f_genre = $this->get_genre_name(); + $this->f_genre_link = "<a href=\"" . Config::get('web_path') . "/genre.php?action=show_genre&genre_id=" . $this->genre . "\">$this->f_genre</a>"; + // Format the Time $min = floor($this->time/60); |