aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/altmail.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-09-25 11:51:28 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-09-25 11:51:28 +0200
commit883d1c0df32a942d3bb07f242e8ffcd871418f60 (patch)
tree9ddfaec99ea2886d997bdcb90842a7ae9b0029fd /core/templates/altmail.php
parentca47fc5f18178c88f8a4eff3de35f02b580bc6b1 (diff)
downloadnextcloud-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.php6
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());