From: Brion Vibber Date: Mon, 19 Apr 2010 16:47:56 +0000 (+0200) Subject: Merge branch 'testing' into 0.9.x X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fee6b78e2896705b831fc98025581405e3e21e27;p=quix0rs-gnu-social.git Merge branch 'testing' into 0.9.x --- fee6b78e2896705b831fc98025581405e3e21e27 diff --cc lib/action.php index 4296ae7dea,c4d9fd5cbf..98e5ec2c94 --- a/lib/action.php +++ b/lib/action.php @@@ -467,11 -464,11 +467,11 @@@ class Action extends HTMLOutputter // l _m('MENU', 'Logout'), $tooltip, false, 'nav_logout'); } else { - if (!common_config('site', 'closed')) { + if (!common_config('site', 'closed') && !common_config('site', 'inviteonly')) { // TRANS: Tooltip for main menu option "Register" $tooltip = _m('TOOLTIP', 'Create an account'); - // TRANS: Main menu option when not logged in to register a new account $this->menuItem(common_local_url('register'), + // TRANS: Main menu option when not logged in to register a new account _m('MENU', 'Register'), $tooltip, false, 'nav_register'); } // TRANS: Tooltip for main menu option "Login"