summaryrefslogtreecommitdiffstats
path: root/lib/class/genre.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-08 03:27:55 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-08 03:27:55 +0000
commit9a92a34e2c15942aae49b0928543079b23e9f874 (patch)
tree475f6f0af1afbed760433d67fa15f849f8ae40b7 /lib/class/genre.class.php
parent3460950693c609876022a02eb5f42a59c768029e (diff)
downloadampache-9a92a34e2c15942aae49b0928543079b23e9f874.tar.gz
ampache-9a92a34e2c15942aae49b0928543079b23e9f874.tar.bz2
ampache-9a92a34e2c15942aae49b0928543079b23e9f874.zip
* New Play/Random icons (last ones I swear)
* Fixed up missing actions/icons on genre browse * Fixed batch logic to show access denied, rather then redirecting * Fixed a minor css issue on classic that caused the album art to float around
Diffstat (limited to 'lib/class/genre.class.php')
-rw-r--r--lib/class/genre.class.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/class/genre.class.php b/lib/class/genre.class.php
index b7772679..3d193be2 100644
--- a/lib/class/genre.class.php
+++ b/lib/class/genre.class.php
@@ -71,10 +71,11 @@ class Genre {
*/
function format_genre() {
- $this->link = "<a href=\"" . conf('web_path') . "/genre.php?action=show_genre&amp;genre_id=" . $this->id . "\">" . $this->name . "</a>";
+ $this->link = "<a href=\"" . conf('web_path') . "/genre.php?action=show_genre&amp;genre_id=" . $this->id . "\">" . scrub_out($this->name) . "</a>";
- $this->play_link = conf('web_path') . "/song.php?action=genre&amp;genre=" . $this->id;
- $this->random_link = conf('web_path') . "/song.php?action=random_genre&amp;genre=" . $this->id;
+ $this->play_link = conf('web_path') . '/song.php?action=genre&amp;genre=' . $this->id;
+ $this->random_link = conf('web_path') . '/song.php?action=random_genre&amp;genre=' . $this->id;
+ $this->download_link = conf('web_path') . '/batch.php?action=genre&amp;id=' . $this->id;
} // format_genre