1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

Add links on tags to show related item types with the same tag (fix #27)

This commit is contained in:
Afterster 2014-06-15 09:16:32 +02:00
parent 50b95d18da
commit f55a0969a5
12 changed files with 57 additions and 12 deletions

View file

@ -78,7 +78,8 @@ switch ($_REQUEST['action']) {
Tag::build_cache($keys);
UI::show_box_top(T_('Tag Cloud'), 'box box_tag_cloud');
$browse2 = new Browse();
$browse2->set_type('song');
$browse_type = isset($_GET['type']) ? $_GET['type'] : 'song';
$browse2->set_type($browse_type);
$browse2->store();
require_once AmpConfig::get('prefix') . '/templates/show_tagcloud.inc.php';
UI::show_box_bottom();