Header removed in the contact area

This commit is contained in:
Michael Vogel 2015-12-01 18:21:05 +01:00
parent fe900ac576
commit 06a4b0dc5e
7 changed files with 14 additions and 12 deletions

View file

@ -129,13 +129,15 @@ function common_content(&$a) {
$entries[] = $entry;
}
if($cmd === 'loc' && $cid && $uid == local_user())
if($cmd === 'loc' && $cid && $uid == local_user()) {
$tab_str = contacts_tab($a, $cid, 4);
} else
$title = t('Common Friends');
$tpl = get_markup_template('viewcontact_template.tpl');
$o .= replace_macros($tpl,array(
'$title' => t('Common Friends'),
'$title' => $title,
'$tab_str' => $tab_str,
'$contacts' => $entries,
));