mirror of
https://github.com/friendica/friendica
synced 2025-04-21 22:30:11 +00:00
deindent calls
implement function in new class
This commit is contained in:
parent
916b3e551e
commit
b73af72deb
4 changed files with 12 additions and 11 deletions
|
@ -693,7 +693,7 @@ class User
|
|||
*/
|
||||
public static function sendRegisterPendingEmail($user, $sitename, $siteurl, $password)
|
||||
{
|
||||
$body = deindent(L10n::t('
|
||||
$body = Strings::deindent(L10n::t('
|
||||
Dear %1$s,
|
||||
Thank you for registering at %2$s. Your account is pending for approval by the administrator.
|
||||
|
||||
|
@ -728,13 +728,13 @@ class User
|
|||
*/
|
||||
public static function sendRegisterOpenEmail($user, $sitename, $siteurl, $password)
|
||||
{
|
||||
$preamble = deindent(L10n::t('
|
||||
$preamble = Strings::deindent(L10n::t('
|
||||
Dear %1$s,
|
||||
Thank you for registering at %2$s. Your account has been created.
|
||||
',
|
||||
$preamble, $user['username'], $sitename
|
||||
));
|
||||
$body = deindent(L10n::t('
|
||||
$body = Strings::deindent(L10n::t('
|
||||
The login details are as follows:
|
||||
|
||||
Site Location: %3$s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue