mirror of
https://github.com/friendica/friendica
synced 2024-11-14 07:02:53 +00:00
Merge pull request #7948 from MrPetovan/bug/7946-frio-contact-tab
Restore correct highlighted contact tabs
This commit is contained in:
commit
dc1c9386db
2 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ function common_content(App $a)
|
||||||
$title = '';
|
$title = '';
|
||||||
$tab_str = '';
|
$tab_str = '';
|
||||||
if ($cmd === 'loc' && $cid && local_user() == $uid) {
|
if ($cmd === 'loc' && $cid && local_user() == $uid) {
|
||||||
$tab_str = Module\Contact::getTabsHTML($a, $contact, 4);
|
$tab_str = Module\Contact::getTabsHTML($a, $contact, 5);
|
||||||
} else {
|
} else {
|
||||||
$title = L10n::t('Common Friends');
|
$title = L10n::t('Common Friends');
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,7 +134,7 @@ function crepair_content(App $a)
|
||||||
|
|
||||||
$update_profile = in_array($contact['network'], Protocol::FEDERATED);
|
$update_profile = in_array($contact['network'], Protocol::FEDERATED);
|
||||||
|
|
||||||
$tab_str = Module\Contact::getTabsHTML($a, $contact, 5);
|
$tab_str = Module\Contact::getTabsHTML($a, $contact, 6);
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('crepair.tpl');
|
$tpl = Renderer::getMarkupTemplate('crepair.tpl');
|
||||||
$o = Renderer::replaceMacros($tpl, [
|
$o = Renderer::replaceMacros($tpl, [
|
||||||
|
|
Loading…
Reference in a new issue