From bba188eae3f1286910e8c57d304f72eab8e0ea14 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 30 Oct 2013 18:49:14 -0700 Subject: if registration is disabled, send the site register link to pubsites --- boot.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index c7af5147e..e97d59f87 100755 --- a/boot.php +++ b/boot.php @@ -1410,14 +1410,12 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) { $reglink = get_config('system','register_link'); if(! strlen($reglink)) $reglink = 'register'; - - if ($register) { - $reg = array( - 'title' => t('Create a New Account'), - 'desc' => t('Register'), - 'link' => $reglink - ); - } + + $reg = array( + 'title' => t('Create an account to access services and applications within the Red Matrix'), + 'desc' => t('Register'), + 'link' => (($register) ? $reglink : 'pubsites') + ); $dest_url = $a->get_baseurl(true) . '/' . $a->query_string; -- cgit v1.2.3