From 4b7014d367370f93be0c511fac68aa9e4b17dd57 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 3 Apr 2018 16:33:10 +0200 Subject: [PATCH] move the tos module to src/Module --- mod/tos.php | 59 ---------------------------------------------- src/Module/Tos.php | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 59 deletions(-) delete mode 100644 mod/tos.php create mode 100644 src/Module/Tos.php 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; + } + } +}