]> git.mxchange.org Git - friendica.git/blobdiff - mod/register.php
Added response active support to smoothly
[friendica.git] / mod / register.php
index f8e970855edfea1286ce2e5632f42632bb3f9587..6fc5887ef5c32734d27ad3900c3037cfd82016e2 100644 (file)
@@ -64,7 +64,7 @@ function register_post(&$a) {
 
        if($netpublish && $a->config['register_policy'] != REGISTER_APPROVE) {
                $url = $a->get_baseurl() . '/profile/' . $user['nickname'];
-               proc_run('php',"include/directory.php","$url");
+               proc_run(PRIORITY_LOW, "include/directory.php", $url);
        }
 
        $using_invites = get_config('system','invitation_only');
@@ -100,6 +100,9 @@ function register_post(&$a) {
                                                 ). EOL
                                );
                        }
+               } else {
+                       info( t('Registration successful.') . EOL ) ;
+                       goaway(z_root());
                }
        }
        elseif($a->config['register_policy'] == REGISTER_APPROVE) {
@@ -265,10 +268,10 @@ function register_content(&$a) {
                '$fillext'   => $fillext,
                '$oidlabel'  => $oidlabel,
                '$openid'    => $openid_url,
-               '$namelabel' => t('Your Full Name ' . "\x28" . 'e.g. Joe Smith' . "\x29" . ': '),
+               '$namelabel' => t('Your Full Name ' . "\x28" . 'e.g. Joe Smith, real or real-looking' . "\x29" . ': '),
                '$addrlabel' => t('Your Email Address: '),
                '$passwords' => $passwords,
-               '$password1' => array('password1', t('New Password:'), '', ''),
+               '$password1' => array('password1', t('New Password:'), '', t('Leave empty for an auto generated password.')),
                '$password2' => array('confirm', t('Confirm:'), '', ''),
                '$nickdesc'  => str_replace('$sitename',$a->get_hostname(),t('Choose a profile nickname. This must begin with a text character. Your profile address on this site will then be \'<strong>nickname@$sitename</strong>\'.')),
                '$nicklabel' => t('Choose a nickname: '),