diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-25 11:51:28 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-25 11:51:28 +0200 |
commit | 883d1c0df32a942d3bb07f242e8ffcd871418f60 (patch) | |
tree | 9ddfaec99ea2886d997bdcb90842a7ae9b0029fd /core/templates/altmail.php | |
parent | ca47fc5f18178c88f8a4eff3de35f02b580bc6b1 (diff) | |
download | nextcloud-server-883d1c0df32a942d3bb07f242e8ffcd871418f60.tar.gz nextcloud-server-883d1c0df32a942d3bb07f242e8ffcd871418f60.zip |
use template for txt and html mails to send notification mails
Diffstat (limited to 'core/templates/altmail.php')
-rw-r--r-- | core/templates/altmail.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/altmail.php b/core/templates/altmail.php index 2551473c6f0..f7159a021a8 100644 --- a/core/templates/altmail.php +++ b/core/templates/altmail.php @@ -1,7 +1,7 @@ <?php -print_unescaped($l->t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\nCheers!", array($_['user_displayname'], $_['filename'], $_['link']))); +$expiration = isset($_['expiration']) ? $_['expiration'] : null; +print_unescaped($theme->getShareNotificationTextAlt($_['user_displayname'], $_['filename'], $_['link'], $expiration)); ?> -- -<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?> -<?php print_unescaped("\n".$theme->getBaseUrl()); +<?php print_unescaped($theme->getMailFooterAlt()); |