]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Welcome.php
Merge pull request #11411 from annando/creation-date
[friendica.git] / src / Module / Welcome.php
index 7f102c13d3de8b511c8e5b67e7c7e7f9f09ad2fc..02008a4a8673a9ae8319d86792dc5b4b9422f0ca 100644 (file)
@@ -1,4 +1,23 @@
 <?php
+/**
+ * @copyright Copyright (C) 2010-2022, the Friendica project
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
 
 namespace Friendica\Module;
 
@@ -11,7 +30,7 @@ use Friendica\DI;
  */
 class Welcome extends BaseModule
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
                $config = DI::config();
 
@@ -41,7 +60,7 @@ class Welcome extends BaseModule
                        '$profiles_link'          => DI::l10n()->t('Edit Your Profile'),
                        '$profiles_txt'           => DI::l10n()->t('Edit your <strong>default</strong> profile to your liking. Review the settings for hiding your list of friends and hiding the profile from unknown visitors.'),
                        '$profiles_keywords_link' => DI::l10n()->t('Profile Keywords'),
-                       '$profiles_keywords_txt'  => DI::l10n()->t('Set some public keywords for your default profile which describe your interests. We may be able to find other people with similar interests and suggest friendships.'),
+                       '$profiles_keywords_txt'  => DI::l10n()->t('Set some public keywords for your profile which describe your interests. We may be able to find other people with similar interests and suggest friendships.'),
 
                        '$connecting'       => DI::l10n()->t('Connecting'),
                        '$mail_disabled'    => $mail_disabled,