aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates/email.new_user_plain_text.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-16 09:08:38 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-16 09:10:22 +0100
commit3b61f76ca0eb9ad9487fa2ab64dda97e51f9df57 (patch)
tree2eede9268660f3b32646ae375e37cd542d4f36a2 /settings/templates/email.new_user_plain_text.php
parent5b9c453071fe900529cd26b88fbc681d8b153b43 (diff)
downloadnextcloud-server-3b61f76ca0eb9ad9487fa2ab64dda97e51f9df57.tar.gz
nextcloud-server-3b61f76ca0eb9ad9487fa2ab64dda97e51f9df57.zip
Send mail for new users
* supply mail address * send mail with username and URL to that mail address * option to temporary enable this feature
Diffstat (limited to 'settings/templates/email.new_user_plain_text.php')
-rw-r--r--settings/templates/email.new_user_plain_text.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/settings/templates/email.new_user_plain_text.php b/settings/templates/email.new_user_plain_text.php
new file mode 100644
index 00000000000..79559a87020
--- /dev/null
+++ b/settings/templates/email.new_user_plain_text.php
@@ -0,0 +1,10 @@
+<?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'])));
+
+// TRANSLATORS term at the end of a mail
+p($l->t("Cheers!"));
+?>
+
+ --
+<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?>
+<?php print_unescaped("\n".$theme->getBaseUrl());