aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/internalaltmail.php
diff options
context:
space:
mode:
authorStephen Colebrook <scolebrook@mac.com>2014-10-10 09:29:38 -0400
committerMorris Jobke <hey@morrisjobke.de>2015-10-29 10:24:24 +0100
commit6feb31bf96215101e314ce2f0c03644495ad095c (patch)
tree7e5666d8a92ed1e0aab05315283b916649f5effa /core/templates/internalaltmail.php
parent5bf476efd07d8f6b771f3cbf8ff10e617536263b (diff)
downloadnextcloud-server-6feb31bf96215101e314ce2f0c03644495ad095c.tar.gz
nextcloud-server-6feb31bf96215101e314ce2f0c03644495ad095c.zip
Allow separate templates for internal and external share notifications
Diffstat (limited to 'core/templates/internalaltmail.php')
-rw-r--r--core/templates/internalaltmail.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/templates/internalaltmail.php b/core/templates/internalaltmail.php
new file mode 100644
index 00000000000..38531d109b7
--- /dev/null
+++ b/core/templates/internalaltmail.php
@@ -0,0 +1,13 @@
+<?php
+print_unescaped($l->t("Hey there,\n\njust letting you know that %s shared %s with you.\nView it: %s\n\n", array($_['user_displayname'], $_['filename'], $_['link'])));
+if ( isset($_['expiration']) ) {
+ print_unescaped($l->t("The share will expire on %s.", array($_['expiration'])));
+ print_unescaped("\n\n");
+}
+// TRANSLATORS term at the end of a mail
+p($l->t("Cheers!"));
+?>
+
+--
+<?php p($theme->getName() . ' - ' . $theme->getSlogan()); ?>
+<?php print_unescaped("\n".$theme->getBaseUrl());