diff options
author | friendica <info@friendica.com> | 2013-10-30 18:49:14 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-30 18:49:14 -0700 |
commit | bba188eae3f1286910e8c57d304f72eab8e0ea14 (patch) | |
tree | a7d71dbb5a191ec66ad870c5b9d5d2be123538c1 /boot.php | |
parent | 400753b6ccfce66d6d88cefa7a7677016152a415 (diff) | |
download | volse-hubzilla-bba188eae3f1286910e8c57d304f72eab8e0ea14.tar.gz volse-hubzilla-bba188eae3f1286910e8c57d304f72eab8e0ea14.tar.bz2 volse-hubzilla-bba188eae3f1286910e8c57d304f72eab8e0ea14.zip |
if registration is disabled, send the site register link to pubsites
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -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; |