We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 4450f335 authored by Eric Helgeson's avatar Eric Helgeson

Needed the else. Tested logged in/out ; site closed/inviteonly/both

parent acff6d4b
......@@ -173,9 +173,11 @@ class PublicAction extends Action
if (common_logged_in()) {
$message .= _('Be the first to post!');
}
if (! (common_config('site','closed') || common_config('site','inviteonly'))) {
$message .= _('Why not [register an account](%%action.register%%) and be the first to post!');
}
else {
if (! (common_config('site','closed') || common_config('site','inviteonly'))) {
$message .= _('Why not [register an account](%%action.register%%) and be the first to post!');
}
}
$this->elementStart('div', 'guide');
$this->raw(common_markup_to_html($message));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment