X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fprimarynav.php;h=f765938903e6b9d5c622d848f3a4c6aef4091bb5;hb=2c5460eb0e140655c30639c5bc909ddb80732a91;hp=fc9f3c72035fceeac3c23a06eb1b57e4006bf8f9;hpb=894ef352591fe581909c01c46047bf530e59a984;p=quix0rs-gnu-social.git diff --git a/lib/primarynav.php b/lib/primarynav.php index fc9f3c7203..f765938903 100644 --- a/lib/primarynav.php +++ b/lib/primarynav.php @@ -57,7 +57,7 @@ class PrimaryNav extends Menu // TRANS: Menu item in primary navigation panel. _m('MENU','Settings'), // TRANS: Menu item title in primary navigation panel. - _('Change your personal settings'), + _('Change your personal settings.'), false, 'nav_account'); if ($user->hasRight(Right::CONFIGURESITE)) { @@ -65,14 +65,15 @@ class PrimaryNav extends Menu // TRANS: Menu item in primary navigation panel. _m('MENU','Admin'), // TRANS: Menu item title in primary navigation panel. - _('Site configuration'), + _('Site configuration.'), false, 'nav_admin'); } $this->action->menuItem(common_local_url('logout'), // TRANS: Menu item in primary navigation panel. _m('MENU','Logout'), - _('Logout from the site'), + // TRANS: Menu item title in primary navigation panel. + _('Logout from the site.'), false, 'nav_logout'); } else { @@ -80,21 +81,11 @@ class PrimaryNav extends Menu // TRANS: Menu item in primary navigation panel. _m('MENU','Login'), // TRANS: Menu item title in primary navigation panel. - _('Login to the site'), + _('Login to the site.'), false, 'nav_login'); } - if (!empty($user) || !common_config('site', 'private')) { - $this->action->menuItem(common_local_url('noticesearch'), - // TRANS: Menu item in primary navigation panel. - _m('MENU','Search'), - // TRANS: Menu item title in primary navigation panel. - _('Search the site'), - false, - 'nav_search'); - } - Event::handle('EndPrimaryNav', array($this->action)); }