X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FNav.php;h=470882b0757db3a83dce55f9f90bc46075b6ccbc;hb=493e4ed9fb24ab82632e0aac1214c33362e793b4;hp=9684b77ce94b85dd50da3ce4159c6afffb11a424;hpb=d0648b10ef107d0442cbabf55045333963e794fa;p=friendica.git diff --git a/src/Content/Nav.php b/src/Content/Nav.php index 9684b77ce9..470882b075 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -184,8 +184,6 @@ class Nav */ private function getInfo(): array { - $ssl_state = (bool) $this->session->getLocalUserId(); - /* * Our network is distributed, and as you visit friends some * sites look exactly the same - it isn't always easy to know where you are. @@ -194,7 +192,7 @@ class Nav $myident = !empty($this->session->getLocalUserNickname()) ? $this->session->getLocalUserNickname() . '@' : ''; - $sitelocation = $myident . substr($this->baseUrl->get($ssl_state), strpos($this->baseUrl->get($ssl_state), '//') + 2); + $sitelocation = $myident . substr($this->baseUrl, strpos($this->baseUrl, '//') + 2); $nav = [ 'admin' => null, @@ -226,7 +224,7 @@ class Nav if ($this->session->isAuthenticated()) { // user menu - $nav['usermenu'][] = ['profile/' . $this->session->getLocalUserNickname(), $this->l10n->t('Status'), '', $this->l10n->t('Your posts and conversations')]; + $nav['usermenu'][] = ['profile/' . $this->session->getLocalUserNickname(), $this->l10n->t('Conversations'), '', $this->l10n->t('Conversations you started')]; $nav['usermenu'][] = ['profile/' . $this->session->getLocalUserNickname() . '/profile', $this->l10n->t('Profile'), '', $this->l10n->t('Your profile page')]; $nav['usermenu'][] = ['profile/' . $this->session->getLocalUserNickname() . '/photos', $this->l10n->t('Photos'), '', $this->l10n->t('Your photos')]; $nav['usermenu'][] = ['profile/' . $this->session->getLocalUserNickname() . '/media', $this->l10n->t('Media'), '', $this->l10n->t('Your postings with media')];