summaryrefslogtreecommitdiffstats
path: root/templates/show_artist.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_artist.inc.php')
-rw-r--r--templates/show_artist.inc.php17
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();
?>