diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-12 02:52:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-12 02:52:50 +0000 |
commit | 693e26e2ad074f8cc9d37098a0568cd93ae30f52 (patch) | |
tree | 8588523335a337d0971df768da0456e325bb6b66 /templates/show_artist.inc.php | |
parent | 003619c52c0370f03b9edb466addaaebac13ce41 (diff) | |
download | ampache-693e26e2ad074f8cc9d37098a0568cd93ae30f52.tar.gz ampache-693e26e2ad074f8cc9d37098a0568cd93ae30f52.tar.bz2 ampache-693e26e2ad074f8cc9d37098a0568cd93ae30f52.zip |
commit of the patches from codeoverload to implement tagging, will not work without manual modification of database, yes.. this commit breaks things cope
Diffstat (limited to 'templates/show_artist.inc.php')
-rw-r--r-- | templates/show_artist.inc.php | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/templates/show_artist.inc.php b/templates/show_artist.inc.php index 2bbb9cf5..cbb38ce0 100644 --- a/templates/show_artist.inc.php +++ b/templates/show_artist.inc.php @@ -22,12 +22,19 @@ $web_path = Config::get('web_path'); require Config::get('prefix') . '/templates/show_artist_box.inc.php'; - +//require Config::get('prefix') . '/templates/show_artist_tagcloud.inc.php'; ?> -<?php +<?php Browse::reset_filters(); Browse::set_type('album'); - Browse::set_static_content(1); - Browse::save_objects($albums); - Browse::show_objects($albums); + //Browse::set_filter('artist', $artist->id); + Browse::set_filter_from_request($_REQUEST); + $objs = Browse::get_objects(); + if (sizeof($objs)) { + $tagcloudHead = _('Tags for albums of') . ' ' . $artist->f_name; + $taglist = TagCloud::get_tags('album', $objs); + $tagcloudList = TagCloud::filter_with_prefs($taglist); + require Config::get('prefix') . '/templates/show_tagcloud.inc.php'; + } + Browse::show_objects(); ?> |