]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Register.php
Changes:
[friendica.git] / src / Module / Register.php
index e5c5840d22dc2a30dfc1bf01b74d383d44d765fe..def750b3a8bb1bcb78d2739caf09a996bb42fd67 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -150,12 +150,12 @@ class Register extends BaseModule
                        '$invite_label' => DI::l10n()->t('Your invitation code: '),
                        '$invite_id'    => $invite_id,
                        '$regtitle'     => DI::l10n()->t('Registration'),
-                       '$registertext' => BBCode::convert(DI::config()->get('config', 'register_text', '')),
+                       '$registertext' => BBCode::convertForUriId(User::getSystemUriId(), DI::config()->get('config', 'register_text', '')),
                        '$fillwith'     => $fillwith,
                        '$fillext'      => $fillext,
                        '$oidlabel'     => $oidlabel,
                        '$openid'       => $openid_url,
-                       '$namelabel'    => DI::l10n()->t('Your Full Name (e.g. Joe Smith, real or real-looking): '),
+                       '$namelabel'    => DI::l10n()->t('Your Display Name (as you would like it to be displayed on this system'),
                        '$addrlabel'    => DI::l10n()->t('Your Email Address: (Initial information will be send there, so this has to be an existing address.)'),
                        '$addrlabel2'   => DI::l10n()->t('Please repeat your e-mail address:'),
                        '$ask_password' => $ask_password,
@@ -298,7 +298,7 @@ class Register extends BaseModule
 
                $user = $result['user'];
 
-               $base_url = DI::baseUrl();
+               $base_url = (string)DI::baseUrl();
 
                if ($netpublish && intval(DI::config()->get('config', 'register_policy')) !== self::APPROVE) {
                        $url = $base_url . '/profile/' . $user['nickname'];