diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index c255266d..f738b69d 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -1,4 +1,5 @@ ' . _("Please sign up, if you want to help us!") . '

', + buttons(array( + button(page_link_to('register'), register_title() . ' »') + )) + )); + } else { + $register_hint = join('', array( + error(_('Registration is disabled.'), true) + )); + } + return page_with_title(login_title(), array( msg(), '
', @@ -268,10 +282,7 @@ function guest_login() { '
', '
', '

' . register_title() . '

', - '

' . _("Please sign up, if you want to help us!") . '

', - buttons(array( - button(page_link_to('register'), register_title() . ' »') - )), + $register_hint, '

' . _("What can I do?") . '

', '

' . _("Please read about the jobs you can do to help us.") . '

', buttons(array(