From 8e361b723c76cf5c71ee5cbbad886afa48c10833 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 30 Nov 2016 08:51:50 +0100 Subject: [PATCH] Fix minor mail issues * a nextcloud * Strong username & url Signed-off-by: Roeland Jago Douma --- settings/templates/email.new_user.php | 2 +- settings/templates/email.new_user_plain_text.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/templates/email.new_user.php b/settings/templates/email.new_user.php index 054992532d2..bd2d4249d9a 100644 --- a/settings/templates/email.new_user.php +++ b/settings/templates/email.new_user.php @@ -11,7 +11,7 @@   t('Hey there,

just letting you know that you now have an %s account.

Your username: %s
Access it: %s

', array($theme->getName(), $_['username'], $_['url'], $_['url']))); + print_unescaped($l->t('Hey there,

just letting you know that you now have a %s account.

Your username: %s
Access it: %s

', array($theme->getName(), $_['username'], $_['url'], $_['url']))); // TRANSLATORS term at the end of a mail p($l->t('Cheers!')); diff --git a/settings/templates/email.new_user_plain_text.php b/settings/templates/email.new_user_plain_text.php index 79559a87020..2cc70ddfa2f 100644 --- a/settings/templates/email.new_user_plain_text.php +++ b/settings/templates/email.new_user_plain_text.php @@ -1,5 +1,5 @@ t("Hey there,\n\njust letting you know that you now have an %s account.\n\nYour username: %s\nAccess it: %s\n\n", array($theme->getName(), $_['username'], $_['url']))); +print_unescaped($l->t("Hey there,\n\njust letting you know that you now have a %s account.\n\nYour username: %s\nAccess it: %s\n\n", array($theme->getName(), $_['username'], $_['url']))); // TRANSLATORS term at the end of a mail p($l->t("Cheers!"));