X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fprimarynav.php;h=f765938903e6b9d5c622d848f3a4c6aef4091bb5;hb=586fb5a5175d7a10f5f78dd026434e48202e5451;hp=fc9f3c72035fceeac3c23a06eb1b57e4006bf8f9;hpb=7abecb61bdbcecfbaa264af900ccf71fe18ec0f5;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)); }