From: Tobias Diekershoff Date: Tue, 3 Apr 2018 14:33:10 +0000 (+0200) Subject: move the tos module to src/Module X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b7014d367370f93be0c511fac68aa9e4b17dd57;p=friendica.git move the tos module to src/Module --- diff --git a/mod/tos.php b/mod/tos.php deleted file mode 100644 index 13f64c6f9f..0000000000 --- a/mod/tos.php +++ /dev/null @@ -1,59 +0,0 @@ - L10n::t("Terms of Service"), - '$tostext' => BBCode::convert(Config::get('system', 'tostext')), - '$displayprivstatement' => Config::get('system', 'tosprivstatement'), - '$privstatementtitle' => L10n::t("Privacy Statement"), - '$privoperate' => L10n::t('At the time of registration, and for providing communications between the user account and their contacts, the user has to provide a display name (pen name), an username (nickname) and a working email address. The names will be accessible on the profile page of the account by any visitor of the page, even if other profile details are not displayed. The email address will only be used to send the user notifications about interactions, but wont be visibly displayed. The listing of an account in the node\'s user directory or the global user directory is optional and can be controlled in the user settings, it is not necessary for communication.'), - '$privdelete' => L10n::t('At any point in time a logged in user can export their account data from the account settings. If the user wants to delete their account they can do so at %1$s/removeme. The deletion of the account will be permanent.', System::baseurl()) - ]); - } else { - return; - } - -} diff --git a/src/Module/Tos.php b/src/Module/Tos.php new file mode 100644 index 0000000000..a5ace51950 --- /dev/null +++ b/src/Module/Tos.php @@ -0,0 +1,59 @@ + L10n::t("Terms of Service"), + '$tostext' => BBCode::convert(Config::get('system', 'tostext')), + '$displayprivstatement' => Config::get('system', 'tosprivstatement'), + '$privstatementtitle' => L10n::t("Privacy Statement"), + '$privoperate' => L10n::t('At the time of registration, and for providing communications between the user account and their contacts, the user has to provide a display name (pen name), an username (nickname) and a working email address. The names will be accessible on the profile page of the account by any visitor of the page, even if other profile details are not displayed. The email address will only be used to send the user notifications about interactions, but wont be visibly displayed. The listing of an account in the node\'s user directory or the global user directory is optional and can be controlled in the user settings, it is not necessary for communication.'), + '$privdelete' => L10n::t('At any point in time a logged in user can export their account data from the account settings. If the user wants to delete their account they can do so at %1$s/removeme. The deletion of the account will be permanent.', System::baseurl()) + ]); + } else { + return; + } + } +}