fix quotes

This commit is contained in:
Philipp Holzer 2019-05-04 21:25:16 +02:00
parent bacf9825ff
commit 15d0913226
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -38,7 +38,7 @@ class Invite extends BaseModule
}
$recipients = !empty($_POST['recipients']) ? explode('\n', $_POST['recipients']) : [];
$recipients = !empty($_POST['recipients']) ? explode("\n", $_POST['recipients']) : [];
$message = !empty($_POST['message']) ? Strings::escapeTags(trim($_POST['message'])) : '';
$total = 0;
@ -101,7 +101,7 @@ class Invite extends BaseModule
}
}
notice(L10n::tt("%d message sent.", "%d messages sent.", $total) . EOL);
notice(L10n::tt('%d message sent.', '%d messages sent.', $total) . EOL);
}
public static function content()
@ -142,7 +142,7 @@ class Invite extends BaseModule
$tpl = Renderer::getMarkupTemplate('invite.tpl');
return Renderer::replaceMacros($tpl, [
'$form_security_token' => self::getFormSecurityToken("send_invite"),
'$form_security_token' => self::getFormSecurityToken('send_invite'),
'$title' => L10n::t('Send invitations'),
'$recipients' => ['recipients', L10n::t('Enter email addresses, one per line:')],
'$message' => [