Commit d49ad8e5 authored by Jonas Haraldsson's avatar Jonas Haraldsson

Add tagcloud to track.php

parent 1c000bb2
......@@ -82,7 +82,15 @@ $smarty->assign('extra_head_links', array(
'title' => 'Track Metadata',
'href' => $base_url . '/rdf.php?fmt=xml&page=' . urlencode(str_replace($base_url, '', $track->getURL()))
)
));
));
try {
$tagCloud = TagCloud::generateTagCloud('Tags', 'tag', 10, $track->name, 'track');
} catch ( Exception $e) {
$tagCloud = array();
}
$smarty->assign('tagcloud', $tagCloud);
$submenu = track_menu($track, 'Overview');
$smarty->assign('submenu', $submenu);
$smarty->assign('headerfile', 'track-header.tpl');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment