X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FBaseProfile.php;h=5510b94112e54328b3d0b9dd4099d7aeb9f55c47;hb=fd7c1d766c2c922909b858f7af6aa440fbc697aa;hp=7ab7b8b7ce7eaf64afd02709cbfabab5e45b475b;hpb=4495e83eca67986ecbd5e083509c782116d77c6c;p=friendica.git diff --git a/src/Module/BaseProfile.php b/src/Module/BaseProfile.php index 7ab7b8b7ce..5510b94112 100644 --- a/src/Module/BaseProfile.php +++ b/src/Module/BaseProfile.php @@ -68,15 +68,14 @@ class BaseProfile extends BaseModule 'id' => 'photo-tab', 'accesskey' => 'h', ], -// @todo Currently deactivated since it doesn't really work -// [ -// 'label' => DI::l10n()->t('Videos'), -// 'url' => DI::baseUrl() . '/videos/' . $nickname, -// 'sel' => $current == 'videos' ? 'active' : '', -// 'title' => DI::l10n()->t('Videos'), -// 'id' => 'video-tab', -// 'accesskey' => 'v', -// ], + [ + 'label' => DI::l10n()->t('Media'), + 'url' => $baseProfileUrl . '/media', + 'sel' => $current == 'media' ? 'active' : '', + 'title' => DI::l10n()->t('Media'), + 'id' => 'media-tab', + 'accesskey' => 'd', + ], ]; // the calendar link for the full featured events calendar