]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/primarynav.php
If there's no Happening, we can't use the RSVP.
[quix0rs-gnu-social.git] / lib / primarynav.php
index fc9f3c72035fceeac3c23a06eb1b57e4006bf8f9..f765938903e6b9d5c622d848f3a4c6aef4091bb5 100644 (file)
@@ -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));
         }