Parcourir la source

Fix minor mail issues

* a nextcloud
* Strong username & url

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v11.0RC2
Roeland Jago Douma il y a 7 ans
Parent
révision
8e361b723c
Aucun compte lié à l'adresse e-mail de l'auteur

+ 1
- 1
settings/templates/email.new_user.php Voir le fichier

@@ -11,7 +11,7 @@
<td width="20px">&nbsp;</td>
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
<?php
print_unescaped($l->t('Hey there,<br><br>just letting you know that you now have an %s account.<br><br>Your username: %s<br>Access it: <a href="%s">%s</a><br><br>', array($theme->getName(), $_['username'], $_['url'], $_['url'])));
print_unescaped($l->t('Hey there,<br><br>just letting you know that you now have a %s account.<br><br>Your username: <strong>%s</strong><br>Access it: <strong><a href="%s">%s</a></strong><br><br>', array($theme->getName(), $_['username'], $_['url'], $_['url'])));

// TRANSLATORS term at the end of a mail
p($l->t('Cheers!'));

+ 1
- 1
settings/templates/email.new_user_plain_text.php Voir le fichier

@@ -1,5 +1,5 @@
<?php
print_unescaped($l->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!"));

Chargement…
Annuler
Enregistrer