git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit b8ad6666 authored by Mike Sheldon's avatar Mike Sheldon

Add recommended artists tag cloud to user profiles

parent 1f749a6f
......@@ -50,6 +50,10 @@ if(isset($user->name)) {
$aUserNowPlaying = $user->getNowPlaying(10);
$smarty->assign('nowplaying', $aUserNowPlaying);
} catch (exception $e) {}
if($user->hasLoved()) {
$recommendedArtists = $user->getRecommended(10);
$smarty->assign('recommendedArtists', $recommendedArtists);
}
$smarty->assign('isme', ($this_user->name == $user->name));
$smarty->assign('me', $user);
$smarty->assign('pagetitle', $user->name);
......
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