diff options
author | Stephan Arts <stephan@xfce.org> | 2013-06-14 17:38:56 +0200 |
---|---|---|
committer | Stephan Arts <stephan@xfce.org> | 2013-06-14 17:38:56 +0200 |
commit | 3cd7747e7b9c10449f986e5f696a01cf4e50c318 (patch) | |
tree | 8678cbbbb63de71dd9bce2990dd7d536b2de8d91 /core/templates/mail.php | |
parent | 23446542360fa930614735a426eb4273a202e9ae (diff) | |
download | nextcloud-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.php | 33 |
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"> </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"> </td></tr> +<tr> +<td bgcolor="#f8f8f8" width="20px"> </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"> </td></tr> +<tr> +<td bgcolor="#f8f8f8" width="20px"> </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"> </td> +</tr> +</table> +</td></tr> +</table> |