diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-02 04:57:56 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-02 04:57:56 +0000 |
commit | 9457b75fb16f05347c08b484db6fe2b848efba15 (patch) | |
tree | 18245ab1b8a2fc7953c9fc04e541d46791737ec8 /genre.php | |
parent | d54efca7bd1ee28683506b452f58742f8a8f678f (diff) | |
download | ampache-9457b75fb16f05347c08b484db6fe2b848efba15.tar.gz ampache-9457b75fb16f05347c08b484db6fe2b848efba15.tar.bz2 ampache-9457b75fb16f05347c08b484db6fe2b848efba15.zip |
fixed some catalog update issues, fixed some genre pages and made the sql sort stuff for show songs work
Diffstat (limited to 'genre.php')
-rw-r--r-- | genre.php | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -34,7 +34,10 @@ switch($_REQUEST['action']) { case 'show_songs': $genre = new Genre($_REQUEST['genre_id']); show_genre($_REQUEST['genre_id']); - $songs = $genre->get_songs(); + $object_ids = $genre->get_songs(); + show_box_top(_('Songs')); + require_once Config::get('prefix') . '/templates/show_songs.inc.php'; + show_box_bottom(); break; case 'show_genre': default: @@ -49,8 +52,10 @@ switch($_REQUEST['action']) { case 'show_artists': $genre = new Genre($_REQUEST['genre_id']); show_genre($_REQUEST['genre_id']); - $artists = $genre->get_artists(); - require (conf('prefix') . '/templates/show_artists.inc'); + $object_ids = $genre->get_artists(); + show_box_top(_('Artists')); + require_once Config::get('prefix') . '/templates/show_artists.inc.php'; + show_box_bottom(); break; } // action |