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

Commit db7b8c05 authored by Mike Sheldon's avatar Mike Sheldon

Add neighbours block to user profiles

parent 55af9a55
......@@ -81,8 +81,13 @@ if(isset($user->name)) {
)
));
$submenu = user_menu($user, 'Overview');
$neighbours = $user->getNeighbours(9);
if(!empty($neighbours)) {
$smarty->assign('neighbours', $neighbours);
$smarty->assign('sideblocks', array('sidebar-neighbours.tpl'));
}
$submenu = user_menu($user, 'Overview');
$smarty->assign('submenu', $submenu);
$smarty->assign('headerfile', 'maxiprofile.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