mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Add Module\Profile\Common class
- Add Common tab in profile contacts templates - Add routing to new module
This commit is contained in:
parent
1723903219
commit
71db6ab613
5 changed files with 123 additions and 0 deletions
|
@ -115,11 +115,13 @@ class Contacts extends Module\BaseProfile
|
|||
'$desc' => $desc,
|
||||
'$nickname' => $nickname,
|
||||
'$type' => $type,
|
||||
'$displayCommonTab' => Session::isAuthenticated() && $a->profile['uid'] != local_user(),
|
||||
|
||||
'$all_label' => DI::l10n()->t('All contacts'),
|
||||
'$followers_label' => DI::l10n()->t('Followers'),
|
||||
'$following_label' => DI::l10n()->t('Following'),
|
||||
'$mutuals_label' => DI::l10n()->t('Mutual friends'),
|
||||
'$common_label' => DI::l10n()->t('Common'),
|
||||
'$noresult_label' => DI::l10n()->t('No contacts.'),
|
||||
|
||||
'$contacts' => $contacts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue