sforkowany z mirror/friendica
Restore correct highlighted contact tabs
rodzic
c2233e3416
commit
c23543f463
|
@ -136,7 +136,7 @@ function common_content(App $a)
|
|||
$title = '';
|
||||
$tab_str = '';
|
||||
if ($cmd === 'loc' && $cid && local_user() == $uid) {
|
||||
$tab_str = Module\Contact::getTabsHTML($a, $contact, 4);
|
||||
$tab_str = Module\Contact::getTabsHTML($a, $contact, 5);
|
||||
} else {
|
||||
$title = L10n::t('Common Friends');
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ function crepair_content(App $a)
|
|||
|
||||
$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');
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
|
|
Ładowanie…
Reference in New Issue