summaryrefslogtreecommitdiffstats
path: root/core/templates/mail.php
diff options
context:
space:
mode:
authorStephan Arts <stephan@xfce.org>2013-06-14 17:38:56 +0200
committerStephan Arts <stephan@xfce.org>2013-06-14 17:38:56 +0200
commit3cd7747e7b9c10449f986e5f696a01cf4e50c318 (patch)
tree8678cbbbb63de71dd9bce2990dd7d536b2de8d91 /core/templates/mail.php
parent23446542360fa930614735a426eb4273a202e9ae (diff)
downloadnextcloud-server-3cd7747e7b9c10449f986e5f696a01cf4e50c318.tar.gz
nextcloud-server-3cd7747e7b9c10449f986e5f696a01cf4e50c318.zip
Use templates to theme share e-mails (#3683)
Diffstat (limited to 'core/templates/mail.php')
-rw-r--r--core/templates/mail.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/core/templates/mail.php b/core/templates/mail.php
new file mode 100644
index 00000000000..060e007d339
--- /dev/null
+++ b/core/templates/mail.php
@@ -0,0 +1,33 @@
+<table cellspacing="0" cellpadding="0" border="0" width="100%">
+<tr><td>
+<table cellspacing="0" cellpadding="0" border="0" width="600px">
+<tr>
+<td bgcolor="#1d2d44" width="20px">&nbsp;</td>
+<td bgcolor="#1d2d44">
+<img src="<?php print_unescaped(OC_Helper::makeURLAbsolute(image_path('', 'logo-mail.gif'))); ?>" alt="ownCloud"/>
+</td>
+</tr>
+<tr><td bgcolor="#f8f8f8" colspan="2">&nbsp;</td></tr>
+<tr>
+<td bgcolor="#f8f8f8" width="20px">&nbsp;</td>
+<td bgcolor="#f8f8f8" style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
+<?php
+print_unescaped($l->t('Hey there,<br><br>just letting you know that %s shared »%s« with you.<br><a href="%s">View it!</a><br><br>Cheers!', array($_['user_displayname'], $_['filename'], $_['link'])));
+?>
+</td>
+</tr>
+<tr><td bgcolor="#f8f8f8" colspan="2">&nbsp;</td></tr>
+<tr>
+<td bgcolor="#f8f8f8" width="20px">&nbsp;</td>
+<td bgcolor="#f8f8f8" style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">--<br>
+<?php
+print_unescaped($l->t('ownCloud - web services under your control'));
+?>
+<br><a href="http://owncloud.org">http://ownCloud.org</a></td>
+</tr>
+<tr>
+<td bgcolor="#f8f8f8" colspan="2">&nbsp;</td>
+</tr>
+</table>
+</td></tr>
+</table>