Commit 779e0090 authored by Mike Sheldon's avatar Mike Sheldon

Add neighbours block to user profiles

parent 5dadff61
......@@ -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