We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

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