+ $action_name = $this->action->trimmed('action');
+
+ $this->action->elementStart('ul', array('class' => 'nav'));
+
+ if (Event::handle('StartLoginGroupNav', array($this->action))) {
+
+ $this->action->menuItem(common_local_url('login'),
+ // TRANS: Menu item for logging in to the StatusNet site.
+ _m('MENU','Login'),
+ // TRANS: Title for menu item for logging in to the StatusNet site.
+ _('Login with a username and password'),
+ $action_name === 'login');