break;
}
- $body .= elgg_view('profile/profile_contents/sidebar');
+ $body .= elgg_view('profile/profile_contents/sidebar', array('section' => $section));
return $body;
}
?>
<div id="profile_sidebar">
<?php
- echo elgg_view('profile/profile_ownerblock', array('smallicon' => true));
+ $section = $vars['section'];
+ echo elgg_view('profile/profile_ownerblock', array('section' => $section));
?>
</div>
\ No newline at end of file
$more_info = '';
//set some variables
$location = elgg_view("output/tags",array('value' => $user->location));
-if($vars['smallicon'] != true){
+$section = $vars['section'];
+if($section == 'details'){
$icon = elgg_view("profile/icon",array('entity' => $user, 'size' => 'large', 'override' => 'true'));
$icon_class = "large";
}else{