Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeraste <neraste.herr10@gmail.com>2018-09-06 16:50:50 +0300
committerPellaeon Lin <pellaeon@hs.ntnu.edu.tw>2018-09-30 10:27:17 +0300
commitea7a4d1e753535d98673b1f19a7e3262149869b8 (patch)
tree67ba30dea64fd412a77ab4f09aa034ce5812cee3 /templates
parent7341c68b20128cc0bf297fab87179f5fc0faec45 (diff)
Add link to users settings page in admin notification email
Diffstat (limited to 'templates')
-rw-r--r--templates/email.newuser.disabled_html.php1
-rw-r--r--templates/email.newuser.disabled_plaintext.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/email.newuser.disabled_html.php b/templates/email.newuser.disabled_html.php
index 6407ffb..8670e62 100644
--- a/templates/email.newuser.disabled_html.php
+++ b/templates/email.newuser.disabled_html.php
@@ -1,2 +1,3 @@
<?php
echo $l->t('A new user "%s" has created an account on %s and awaits admin approbation', [$_['user'], $_['sitename']]);
+echo str_replace('{link}', $_['link'], '<br/><br/><a href="{link}">{link}</a>');
diff --git a/templates/email.newuser.disabled_plaintext.php b/templates/email.newuser.disabled_plaintext.php
index 6407ffb..3b16a8d 100644
--- a/templates/email.newuser.disabled_plaintext.php
+++ b/templates/email.newuser.disabled_plaintext.php
@@ -1,2 +1,3 @@
<?php
echo $l->t('A new user "%s" has created an account on %s and awaits admin approbation', [$_['user'], $_['sitename']]);
+echo "\n\n".$_['link'];